/* =====================================================================
   GRAM PANCHAYAT ADACHIWADI — PUBLIC PORTAL THEME
   Indigo & saffron, with liquid glass over the dark surfaces.
   ---------------------------------------------------------------------
   Matches the Parivar Olakhpatra portal: deep indigo field, saffron
   action colour, white cards, soft rounded geometry.

   Glass is used only where there is something behind it worth seeing —
   the sticky header, the hero panel, the seal band and overlays. Light
   content areas stay on solid surfaces so text never loses contrast.

   Loaded AFTER each page's inline <style>, so it restyles the public
   pages without touching markup or JavaScript.

   Quantox Technologies Pvt. Ltd.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------ */
:root {
    /* Indigo field */
    --indigo-900: #1B1745;
    --indigo-800: #241E5C;
    --indigo-700: #2E2A6E;
    --indigo-600: #3A3A8C;
    --indigo-500: #4A4BA6;

    /* Saffron — the action colour */
    --saffron-700: #C85604;
    --saffron-600: #E4690A;
    --saffron:     #F07C12;
    --saffron-400: #FF9A3C;
    --saffron-100: #FFEEDD;

    /* Light surfaces */
    --surface:   #FFFFFF;
    --surface-2: #FBFAFD;
    --surface-3: #F3F2F9;

    /* Ink on light */
    --ink:     #1E1B4B;
    --ink-2:   #4A4770;
    --ink-3:   #7B7899;
    --hairline: #E7E5F2;

    /* Ink on dark */
    --on-dark:    #FFFFFF;
    --on-dark-2:  #C9C6E8;
    --on-dark-3:  #9A96C4;

    /* Status */
    --success: #17936B;
    --success-bg: #E4F6EF;
    --warning: #B87503;

    /* Liquid glass */
    --glass:        rgba(255, 255, 255, 0.09);
    --glass-strong: rgba(255, 255, 255, 0.14);
    --glass-line:   rgba(255, 255, 255, 0.22);
    --glass-blur:   saturate(170%) blur(20px);
    --glass-shadow: 0 18px 46px rgba(11, 8, 40, 0.34);

    /* Geometry */
    --r-sm:  10px;
    --r:     14px;
    --r-lg:  20px;
    --r-xl:  26px;
    --pill:  999px;

    /* Elevation on light */
    --lift-1: 0 2px 10px rgba(30, 27, 75, 0.05);
    --lift-2: 0 10px 30px rgba(30, 27, 75, 0.09);
    --lift-3: 0 18px 44px rgba(30, 27, 75, 0.14);
    --glow:   0 10px 26px rgba(224, 105, 10, 0.32);

    /* Type */
    --face-display: 'Anek Devanagari', 'Mukta', 'Plus Jakarta Sans', sans-serif;
    --face-body:    'Plus Jakarta Sans', 'Mukta', 'Anek Devanagari', sans-serif;

    /* Legacy names the original stylesheets still reference */
    --primary:   #2E2A6E;
    --accent:    #F07C12;
    --white:     #FFFFFF;
    --light-bg:  #F3F2F9;
    --gray:      #7B7899;
    --dark-gray: #4A4770;
}

/* The indigo field, reused by hero / footer / glass bands */
.hero, .footer, .blockchain-section, .top-info-bar {
    --field: radial-gradient(1100px 520px at 12% -10%, #3F3F97 0%, transparent 62%),
             radial-gradient(900px 480px at 88% 8%, #45489E 0%, transparent 58%),
             linear-gradient(158deg, #2E2A6E 0%, #241E5C 52%, #1B1745 100%);
    /* faint blueprint grid, as on the Parivar portal */
    --mesh: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px,
            linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px;
}

/* ---------------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------------ */
body {
    font-family: var(--face-body);
    background: var(--surface-2);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .section-title, .header-text h1 {
    font-family: var(--face-display);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.25;
}

.stat-number, .price-tag, .price-badge, .free-badge,
.visitor-count, .crop-price, .crop-rate, .info-value {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

a { color: var(--indigo-600); text-decoration: none; }
a:hover { color: var(--saffron-600); }

::selection { background: var(--saffron); color: #fff; }

:focus-visible {
    outline: 3px solid var(--saffron-400);
    outline-offset: 2px;
    border-radius: 6px;
}

img { max-width: 100%; }

/* ---------------------------------------------------------------------
   3. TOP BAR + HEADER — liquid glass, sticky
   ------------------------------------------------------------------ */
.top-info-bar {
    background: var(--indigo-900);
    color: var(--on-dark-2);
    border: 0;
    padding: 8px 0;
    font-size: 12.5px;
    font-weight: 500;
}
.top-info-bar a, .top-info-bar span, .top-info-bar i { color: var(--on-dark-2); }
.top-info-bar a:hover { color: #fff; }

.header {
    background: linear-gradient(180deg, rgba(46,42,110,.92) 0%, rgba(36,30,92,.88) 100%);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    color: var(--on-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-line);
    box-shadow: 0 10px 34px rgba(11, 8, 40, .26);
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* specular highlight along the top edge — the tell of real glass */
.header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    pointer-events: none;
}

.header-content { align-items: center; gap: 16px; }

/* Logo sits in a white rounded tile, as on the Parivar portal */
.header .logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--r-sm);
    padding: 5px;
    box-shadow: 0 6px 18px rgba(11, 8, 40, .28);
}

.header-text h1, .header-text h2 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(17px, 2.6vw, 23px);
    margin: 0;
}
.header-text p {
    color: var(--on-dark-2);
    font-size: 12.5px;
    font-weight: 500;
    margin: 2px 0 0;
}

.nav-links a {
    color: var(--on-dark-2);
    font-family: var(--face-body);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: var(--pill);
    transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible {
    background: var(--glass-strong);
    color: #fff;
}

.mobile-toggle, .accessibility-icon-btn {
    color: #fff;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-sm);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.mobile-toggle:hover, .accessibility-icon-btn:hover { background: var(--glass-strong); }

/* ---------------------------------------------------------------------
   4. HERO — indigo field, glass panel
   ------------------------------------------------------------------ */
.hero {
    background: var(--field);
    color: var(--on-dark);
    padding: 68px 20px 76px;
    text-align: center;
    border: 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mesh);
    opacity: .85;
    pointer-events: none;
}
/* soft saffron bloom, low and off-centre */
.hero::after {
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    right: -180px; bottom: -300px;
    background: radial-gradient(circle, rgba(240,124,18,.30) 0%, transparent 62%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-content h2 {
    color: #fff;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}
.hero-content p {
    color: var(--on-dark-2);
    font-size: clamp(14.5px, 1.7vw, 16.5px);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* Stats become glass pills */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 34px auto 30px;
    max-width: 820px;
}
.stat-item {
    flex: 1 1 180px;
    background: var(--glass);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-lg);
    padding: 18px 16px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.stat-number {
    color: #fff;
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.stat-label {
    color: var(--on-dark-2);
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 6px;
}

/* Hero search — a floating glass field */
.hero-search-container { max-width: 640px; margin: 0 auto; position: relative; z-index: 3; }
.hero-search-box {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: var(--pill);
    box-shadow: var(--glass-shadow);
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-search-input {
    font-family: var(--face-body);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: 0;
}
.hero-search-input::placeholder { color: var(--ink-3); font-weight: 400; }
.hero-search-btn {
    background: linear-gradient(135deg, var(--saffron-400) 0%, var(--saffron-600) 100%);
    color: #fff;
    border: 0;
    border-radius: var(--pill);
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: var(--glow);
}
.hero-search-btn:hover { filter: brightness(1.06); }
.hero-voice-btn {
    background: var(--surface-3);
    color: var(--indigo-600);
    border: 0;
    border-radius: var(--pill);
}
.hero-voice-btn:hover { background: var(--saffron-100); color: var(--saffron-600); }

/* ---------------------------------------------------------------------
   5. SECTIONS
   ------------------------------------------------------------------ */
.section { padding: 68px 20px; background: var(--surface-2); }
#services, #contact { background: var(--surface-2); }
#status, #about { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
/* saffron underscore, centred */
.section-title::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    border-radius: var(--pill);
    background: linear-gradient(90deg, var(--saffron-400), var(--saffron-600));
    margin: 14px auto 0;
}
.section-subtitle {
    color: var(--ink-3);
    font-size: 15.5px;
    max-width: 62ch;
    margin: 0 auto;
}

/* ---------------------------------------------------------------------
   6. SERVICE CARDS
   ------------------------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--lift-1);
    padding: 28px 24px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform .26s cubic-bezier(.2,.7,.3,1),
                box-shadow .26s, border-color .26s;
}
/* saffron wash that rises on hover */
.service-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(240,124,18,.07) 100%);
    opacity: 0;
    transition: opacity .26s;
    pointer-events: none;
    width: 100%;
    top: auto;
}
.service-card:hover, .service-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--lift-3);
    border-color: rgba(240,124,18,.42);
}
.service-card:hover::before { opacity: 1; }

/* Icon: rounded saffron tile, not a circle */
.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--saffron-400) 0%, var(--saffron-600) 100%);
    color: #fff;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    box-shadow: var(--glow);
    transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.service-card:hover .service-icon { transform: scale(1.06) rotate(-4deg); }

.service-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 7px;
}
.service-card p {
    font-size: 14px;
    color: var(--ink-3);
    margin: 0 0 18px;
    line-height: 1.55;
}

.service-card .price-badge,
.service-card .price-tag {
    position: static;
    display: inline-flex;
    align-items: center;
    background: var(--surface-3);
    color: var(--indigo-600);
    border: 1px solid var(--hairline);
    border-radius: var(--pill);
    padding: 6px 14px;
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
}
.service-card .free-badge {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(23,147,107,.24);
}

/* ---------------------------------------------------------------------
   7. FORMS
   ------------------------------------------------------------------ */
.checker-box, .about-content {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--lift-2);
    padding: 34px 30px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 8px;
    display: block;
}

.form-group input, .form-group select, .form-group textarea,
.blockchain-form input {
    font-family: var(--face-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    background: var(--surface-2);
    border: 1.5px solid var(--hairline);
    border-radius: var(--r);
    padding: 13px 16px;
    width: 100%;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input::placeholder, .blockchain-form input::placeholder { color: var(--ink-3); }
.form-group input:focus, .form-group select:focus,
.form-group textarea:focus, .blockchain-form input:focus {
    outline: none;
    background: #fff;
    border-color: var(--saffron-400);
    box-shadow: 0 0 0 4px rgba(240,124,18,.14);
}

/* ---------------------------------------------------------------------
   8. BUTTONS
   ------------------------------------------------------------------ */
.btn, .blockchain-form button, button[type="submit"], .cookie-btn {
    background: linear-gradient(135deg, var(--saffron-400) 0%, var(--saffron-600) 100%);
    color: #fff;
    border: 0;
    border-radius: var(--r);
    font-family: var(--face-body);
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 0.005em;
    padding: 14px 26px;
    cursor: pointer;
    box-shadow: var(--glow);
    transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, filter .2s;
}
.btn:hover, .blockchain-form button:hover,
button[type="submit"]:hover, .cookie-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 32px rgba(224,105,10,.38);
}
.btn:active, button[type="submit"]:active { transform: translateY(0); }

/* ---------------------------------------------------------------------
   9. VERIFICATION BAND — the fullest glass moment
   ------------------------------------------------------------------ */
.blockchain-section {
    background: var(--field);
    color: var(--on-dark);
    padding: 72px 20px;
    position: relative;
    overflow: hidden;
}
.blockchain-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mesh);
    opacity: .8;
    pointer-events: none;
}
.blockchain-section .section-title { color: #fff; }
.blockchain-section .section-subtitle { color: var(--on-dark-2); }

.blockchain-verify-box {
    position: relative;
    z-index: 2;
    background: var(--glass);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-xl);
    box-shadow: var(--glass-shadow);
    padding: 36px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}
.blockchain-verify-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
}

.blockchain-icon-large {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    font-size: 38px;
    color: #fff;
    background: linear-gradient(135deg, var(--saffron-400) 0%, var(--saffron-600) 100%);
    box-shadow: 0 16px 38px rgba(224,105,10,.42);
    animation: seal-in .6s cubic-bezier(.2,1.2,.35,1) both .2s;
}
@keyframes seal-in {
    0%   { transform: scale(.7) rotate(-10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0);       opacity: 1; }
}

.blockchain-content { flex: 1 1 320px; }
.blockchain-content h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.blockchain-content p { color: var(--on-dark-2); font-size: 15px; }

.blockchain-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.blockchain-form input {
    flex: 1 1 240px;
    width: auto;
    background: rgba(255,255,255,.12);
    border: 1px solid var(--glass-line);
    color: #fff;
}
.blockchain-form input::placeholder { color: var(--on-dark-3); }
.blockchain-form input:focus {
    background: rgba(255,255,255,.2);
    border-color: var(--saffron-400);
}

.blockchain-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bf-item {
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: var(--pill);
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--on-dark-2);
}

/* ---------------------------------------------------------------------
   10. CONTACT
   ------------------------------------------------------------------ */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--lift-1);
    padding: 28px 24px;
    transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--lift-3); }
.contact-icon {
    width: 50px; height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--saffron-400), var(--saffron-600));
    color: #fff;
    font-size: 21px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--glow);
}
.info-item {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--hairline);
}
.info-label { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.info-value { color: var(--ink); font-size: 14.5px; font-weight: 600; }

/* ---------------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------------ */
.footer {
    background: var(--field);
    color: var(--on-dark-2);
    padding: 60px 20px 28px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-line);
}
.footer::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--mesh);
    opacity: .7;
    pointer-events: none;
}
.footer-content, .footer-bottom, .footer-links-grid { position: relative; z-index: 2; }
.footer h3, .footer h4 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer a, .footer p, .footer li { color: var(--on-dark-2); font-size: 14.5px; }
.footer a:hover { color: var(--saffron-400); }
.footer-bottom {
    border-top: 1px solid var(--glass-line);
    padding-top: 20px;
    color: var(--on-dark-3);
    font-size: 13.5px;
}
.social-link {
    width: 42px; height: 42px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-sm);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .2s, background .2s;
}
.social-link:hover {
    background: linear-gradient(135deg, var(--saffron-400), var(--saffron-600));
    border-color: transparent;
    transform: translateY(-3px);
}
.visitor-counter {
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: var(--pill);
    padding: 8px 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.visitor-count { color: #fff; font-weight: 700; }
.visitor-label { color: var(--on-dark-3); font-size: 12.5px; }

/* ---------------------------------------------------------------------
   12. OVERLAYS — glass panels
   ------------------------------------------------------------------ */
.search-results-modal, .market-modal-content, .policy-content, .accessibility-menu {
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    backdrop-filter: saturate(180%) blur(26px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: var(--r-lg);
    box-shadow: 0 24px 64px rgba(20, 16, 60, .26);
}
.search-results-overlay { background: rgba(27, 23, 69, .5); }
.search-results-header, .market-modal-header, .policy-header, .access-menu-header {
    background: linear-gradient(135deg, var(--indigo-700), var(--indigo-800));
    color: #fff;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.search-result-item { border-bottom: 1px solid var(--hairline); }
.search-result-item:hover { background: var(--saffron-100); }
.search-result-icon {
    background: linear-gradient(135deg, var(--saffron-400), var(--saffron-600));
    color: #fff;
    border-radius: var(--r-sm);
}
.search-result-arrow { color: var(--ink-3); }

.cookie-consent {
    background: rgba(255,255,255,.9);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border-top: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 -14px 44px rgba(20,16,60,.18);
}

.access-menu-btn {
    background: var(--surface-3);
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    color: var(--ink-2);
    font-family: var(--face-body);
    font-weight: 600;
}
.access-menu-btn:hover, .access-menu-btn.active {
    background: linear-gradient(135deg, var(--saffron-400), var(--saffron-600));
    border-color: transparent;
    color: #fff;
}

.market-ticker {
    background: var(--indigo-900);
    color: var(--on-dark-2);
    font-size: 13.5px;
    font-weight: 500;
    border: 0;
}
.market-ticker-label {
    background: linear-gradient(135deg, var(--saffron-400), var(--saffron-600));
    color: #fff;
    font-weight: 700;
    border-radius: 0;
}
.market-table th {
    background: var(--surface-3);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 13.5px;
}
.market-table td { border-bottom: 1px solid var(--hairline); }

.mobile-nav {
    background: linear-gradient(170deg, var(--indigo-700), var(--indigo-900));
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.mobile-nav a {
    color: var(--on-dark-2);
    border-bottom: 1px solid var(--glass-line);
    font-weight: 600;
}
.mobile-nav a:hover { color: #fff; background: var(--glass); }
.mobile-close { color: #fff; }

/* ---------------------------------------------------------------------
   13. FALLBACK — no backdrop-filter (older Android WebView)
   ------------------------------------------------------------------ */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header { background: linear-gradient(180deg, #2E2A6E, #241E5C); }
    .stat-item, .blockchain-verify-box, .bf-item,
    .social-link, .visitor-counter { background: rgba(255,255,255,.16); }
    .search-results-modal, .market-modal-content,
    .policy-content, .accessibility-menu, .cookie-consent { background: #fff; }
}

/* ---------------------------------------------------------------------
   14. HIGH CONTRAST — keep the accessibility mode usable
   ------------------------------------------------------------------ */
body.high-contrast .hero,
body.high-contrast .footer,
body.high-contrast .blockchain-section {
    background: #000;
    color: #fff;
}
body.high-contrast .hero::before, body.high-contrast .hero::after,
body.high-contrast .footer::before, body.high-contrast .blockchain-section::before {
    display: none;
}
body.high-contrast .stat-item,
body.high-contrast .blockchain-verify-box {
    background: #000;
    border: 2px solid #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.high-contrast .service-card,
body.high-contrast .checker-box,
body.high-contrast .contact-card { border: 2px solid #000; box-shadow: none; }
body.high-contrast .btn, body.high-contrast button[type="submit"] {
    background: #000; color: #fff; box-shadow: none;
}

/* ---------------------------------------------------------------------
   15. RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
    .hero { padding: 44px 16px 52px; }
    .section { padding: 46px 16px; }
    .section-header { margin-bottom: 28px; }
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 22px 20px; border-radius: var(--r-lg); }
    .service-icon { width: 46px; height: 46px; font-size: 20px; border-radius: 14px; }
    .stats { gap: 10px; }
    .stat-item { flex: 1 1 calc(50% - 10px); padding: 14px 12px; border-radius: var(--r); }
    .hero-search-box { padding: 5px 5px 5px 16px; }
    .hero-search-btn { padding: 11px 18px; }
    .checker-box { padding: 24px 20px; border-radius: var(--r-lg); }
    .blockchain-verify-box { padding: 26px 20px; gap: 20px; border-radius: var(--r-lg); }
    .blockchain-icon-large { flex-basis: 72px; width: 72px; height: 72px; font-size: 29px; border-radius: 22px; }
    .header .logo { width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------------
   16. MOTION & PRINT
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .blockchain-icon-large { animation: none; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .service-card:hover, .contact-card:hover, .btn:hover { transform: none; }
}

@media print {
    .header, .footer, .top-info-bar, .market-ticker,
    .cookie-consent, .accessibility-dropdown, .mobile-toggle { display: none; }
    body { background: #fff; }
    .hero, .blockchain-section { background: #fff; color: #000; }
    .service-card { break-inside: avoid; box-shadow: none; border: 1px solid #999; }
}
