/* ============================================================
   Sonali QR Validation — Landing Page
   Palette: Navy #170e57 · Gold #f4d036 · Teal accents
   ============================================================ */

:root {
    --navy: #170e57;
    --navy-deep: #0d0838;
    --navy-soft: #241a6e;
    --gold: #f4d036;
    --gold-soft: #ffe97a;
    --teal: #128c7e;
    --green: #25d366;
    --ink: #0f0d2a;
    --muted: #6b6890;
    --line: rgba(23, 14, 87, 0.1);
    --white: #ffffff;
    --bg-soft: #f6f5fc;
    --radius: 18px;
    --shadow-lg: 0 30px 60px -20px rgba(23, 14, 87, 0.35);
    --shadow-sm: 0 10px 30px -12px rgba(23, 14, 87, 0.18);
    --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.d-none {
    display: none;
}   

.d-flex{
    display: flex;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--navy-deep);
    box-shadow: 0 12px 30px -10px rgba(244, 208, 54, 0.55);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -12px rgba(244, 208, 54, 0.65);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ---------- Navbar ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    background: linear-gradient(180deg, rgba(9, 5, 38, 0.55), rgba(9, 5, 38, 0));
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.nav.scrolled {
    background: linear-gradient(120deg, var(--navy), var(--navy));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 11px 0;
    box-shadow:
        0 14px 34px -16px rgba(0, 0, 0, 0.55),
        inset 0 -1px 0 rgba(244, 208, 54, 0.3);
}

.nav.nav-hidden {
    transform: translateY(-110%);
}

body.menu-open {
    overflow: hidden;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.brand img {
    height: 42px;
    width: auto;
    background: var(--white);
    border-radius: 10px;
    padding: 4px 8px;
}

.brand small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    transition: color 0.25s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 11px 24px;
    font-size: 0.9rem;
    color: var(--navy)!important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    color: var(--white);
    background:
        radial-gradient(1100px 600px at 85% -10%, rgba(244, 208, 54, 0.16), transparent 60%),
        radial-gradient(900px 700px at -15% 110%, rgba(37, 211, 102, 0.12), transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, #090526 100%);
    overflow: hidden;
}

/* faint QR-grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: float 9s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 340px;
    height: 340px;
    background: rgba(244, 208, 54, 0.22);
    top: -80px;
    right: 8%;
}

.orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(37, 211, 102, 0.16);
    bottom: -60px;
    left: -40px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-26px) scale(1.05); }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(244, 208, 54, 0.12);
    border: 1px solid rgba(244, 208, 54, 0.35);
    color: var(--gold-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.7rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.hero h1 .grad {
    background: linear-gradient(120deg, var(--gold) 10%, var(--gold-soft) 55%, #fff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 1.13rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

.hero-trust .avatars {
    display: flex;
}

.hero-trust .avatars span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--navy-deep);
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-left: -10px;
}

.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .avatars span:nth-child(1) { background: #ffe97a; }
.hero-trust .avatars span:nth-child(2) { background: #9be7c4; }
.hero-trust .avatars span:nth-child(3) { background: #b9c6ff; }
.hero-trust .avatars span:nth-child(4) { background: #ffc7a8; }

/* ---------- Hero visual: statement card ---------- */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.statement-card {
    position: relative;
    width: min(400px, 100%);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    backdrop-filter: blur(18px);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    animation: cardFloat 7s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50% { transform: translateY(-16px) rotate(0.6deg); }
}

.statement-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.statement-card .card-top h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.4px;
}

.statement-card .card-top span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 211, 102, 0.16);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #7cf5b0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 999px;
}

.verified-chip svg {
    width: 14px;
    height: 14px;
}

.qr-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 20px;
}

.qr-graphic {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.qr-graphic::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    animation: scan 2.6s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { top: 10%; opacity: 0; }
    15% { opacity: 1; }
    50% { top: 86%; }
    85% { opacity: 1; }
}

.qr-graphic svg {
    width: 100%;
    height: 100%;
}

.qr-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.qr-meta strong {
    display: block;
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.card-rows {
    display: grid;
    gap: 11px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.card-row b {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.skeleton {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.2), rgba(255,255,255,0.08));
    background-size: 200% 100%;
    animation: shimmer 2.2s linear infinite;
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

/* floating mini badges around the card */
.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-deep);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45);
    animation: chipFloat 6s ease-in-out infinite;
}

.float-chip svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.chip-a { top: 6%; left: -30px; animation-delay: -1s; }
.chip-b { bottom: 10%; right: -26px; animation-delay: -3.5s; }

.chip-a svg { color: var(--green); }
.chip-b svg { color: #b8860b; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- Trust strip ---------- */

.trust-strip {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 0;
    overflow: hidden;
}

.trust-track {
    display: flex;
    gap: 70px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.trust-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trust-track svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
}

/* ---------- Sections ---------- */

.section {
    padding: 110px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(18, 140, 126, 0.09);
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--navy-deep);
    margin-bottom: 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ---------- Features ---------- */

.features {
    background: var(--bg-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(23, 14, 87, 0.08), rgba(23, 14, 87, 0.04));
    color: var(--navy);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.93rem;
    color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    counter-reset: step;
    position: relative;
}

.step {
    text-align: center;
    padding: 0 18px;
    position: relative;
}

.step-num {
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-deep);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 14px 30px -12px rgba(244, 208, 54, 0.55);
    position: relative;
    z-index: 1;
}

.step::before {
    content: '';
    position: absolute;
    top: 37px;
    left: calc(50% + 48px);
    width: calc(100% - 96px);
    border-top: 2px dashed rgba(23, 14, 87, 0.18);
}

.step:last-child::before {
    display: none;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 10px;
}

.step p {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ---------- Validate CTA ---------- */

.validate {
    background:
        radial-gradient(700px 400px at 90% 0%, rgba(244, 208, 54, 0.14), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.validate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.validate h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 16px;
}

.validate p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.validate-points {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.validate-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
}

.validate-points svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--green);
    margin-top: 2px;
}

.validate-form-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    padding: 38px;
    box-shadow: var(--shadow-lg);
}

.validate-form-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.validate-form-card > p {
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s, background 0.25s;
}

.field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.field input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.validate-form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.or-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.scan-hint {
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.scan-hint svg {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin-right: 6px;
    color: var(--gold);
}

/* ---------- Stats ---------- */

.stats {
    background: var(--bg-soft);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    text-align: center;
}

.stat h3 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(120deg, var(--navy), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat p {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 4px;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 0 30px 30px;       
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 46px;
}

.footer .brand {
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.9rem;
    max-width: 320px;
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.footer ul a {
    font-size: 0.9rem;
    transition: color 0.25s;
}

.footer ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .hero-grid,
    .validate-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-visual {
        order: 2;
    }

    .feature-grid,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .step::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 82vw);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        background: rgba(13, 8, 56, 0.97);
        backdrop-filter: blur(18px);
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 110;
    }

    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .float-chip {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Verification portal ---------- */

.verify-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    background:
        radial-gradient(700px 400px at 90% -5%, rgba(244, 208, 54, 0.14), transparent 60%),
        radial-gradient(600px 420px at -10% 105%, rgba(18, 140, 126, 0.09), transparent 55%),
        var(--bg-soft);
}

/* nav text is white — keep the solid navy bar over the light page */
body:has(.verify-page) .nav,
body:has(.scan-page) .nav {
    background: linear-gradient(120deg, rgba(13, 8, 56, 0.96), rgba(36, 26, 110, 0.92));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 -1px 0 rgba(244, 208, 54, 0.3);
}

.verify-card {
    width: min(480px, 100%);
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.verify-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.verify-icon svg {
    width: 34px;
    height: 34px;
}

.verify-ok {
    background: rgba(37, 211, 102, 0.14);
    color: #1da851;
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.08);
}

.verify-warn {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.08);
}

.verify-bad {
    background: rgba(220, 53, 69, 0.12);
    color: var(--danger-color);
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.07);
}

.verify-muted {
    background: rgba(23, 14, 87, 0.08);
    color: var(--navy);
    box-shadow: 0 0 0 8px rgba(23, 14, 87, 0.05);
}

.doc-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(18, 140, 126, 0.1);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.verify-card h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.verify-title-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1da851;
    white-space: nowrap;
}

.verify-title-ok svg {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.verify-sub {
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 420px;
    margin: 0 auto;
}

.verify-fields {
    margin: 20px 0 6px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.verify-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    font-size: 0.87rem;
    color: var(--muted);
}

.verify-row:nth-child(odd) {
    background: var(--bg-soft);
}

.verify-row + .verify-row {
    border-top: 1px solid var(--line);
}

.verify-row b {
    color: var(--navy-deep);
    font-weight: 700;
    text-align: right;
}

.verify-row b .verify-date {
    display: block;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.verified-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 11px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.12));
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #147a3f;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.verified-banner svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.verify-meta {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--muted);
}

.verify-actions {
    margin-top: 18px;
}

/* form state reuses .field but on a light card */
.verify-form {
    margin-top: 18px;
    text-align: left;
}

.verify-form .field {
    margin-bottom: 14px;
}

.verify-form .field label {
    color: var(--muted);
}

.verify-form .field input {
    background: var(--white);
    border: 1.5px solid rgba(23, 14, 87, 0.18);
    color: var(--ink);
    padding: 12px 16px;
}

.verify-form .field input::placeholder {
    color: rgba(23, 14, 87, 0.3);
}

.verify-form .field input:focus {
    border-color: var(--teal);
    background: var(--white);
}

.verify-form .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
}

.verify-form-card .scan-hint {
    color: var(--muted);
    font-size: 0.82rem;
}

.verify-form-card .scan-hint svg {
    color: var(--teal);
}

@media (max-width: 720px) {
    .verify-page {
        padding: 104px 0 56px;
    }

    .verify-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .verify-card h1 {
        font-size: 1.25rem;
    }

    .verify-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .verify-row b {
        text-align: left;
    }
}

/* ---------- Simple scan landing ---------- */

.scan-page {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 0px;
    background: var(--bg-soft);
}

.scan-card {
    width: min(344px, 100%);
    background: var(--white);
    border-radius: 4px;
    padding: 20px 20px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.scan-logo img {
    height: 56px;
    margin: 0 auto 24px;
}

.scan-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.scan-card > p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.scan-qr {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    background: var(--bg-soft);
    border: 2px dashed rgba(23, 14, 87, 0.2);
    border-radius: 1px;
    display: grid;
    place-items: center;
    padding: 14px;
    position: relative;
}

.scan-qr svg {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.scan-qr::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    animation: scan 2.6s ease-in-out infinite;
}

.scan-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.scan-foot {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.5px;
}
