/* ════════════════════════════════════════
   eSignClub.in — Corporate Stylesheet
   Brand: #0C1E4A #1A56DB #FF6B2B #138808 #60A5FA
   ════════════════════════════════════════ */

:root {
    --navy: #0C1E4A;
    --blue: #1A56DB;
    --orange: #FF6B2B;
    --green: #138808;
    --sky: #60A5FA;
    --navy-light: #1a2f5e;
    --bg: #F8FAFC;
    --bg2: #F1F5F9;
    --border: #E2E8F0;
    --text: #1E293B;
    --muted: #64748B;
    --white: #FFFFFF;
    --font-head: sans-serif;
    --font-body: sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(12, 30, 74, 0.08);
    --shadow-lg: 0 8px 40px rgba(12, 30, 74, 0.14);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 3px;
}

/* ════════════ NAVBAR ════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-e {
    color: var(--blue);
}

.logo-sign {
    color: var(--navy);
}

.logo-club {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--navy);
    background: var(--bg);
}

/* ── Nav dropdown: "Our Services" ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
    color: var(--navy);
    background: var(--bg);
}

.nav-caret {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 260px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li + li {
    margin-top: 2px;
}

.nav-dropdown-menu a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--bg);
}

.nav-dropdown-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
}

.nav-dropdown-item-sub {
    font-size: 11.5px;
    color: var(--muted);
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-ghost {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    border: 1.5px solid var(--border);
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-primary {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--blue);
    color: white;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.3s;
}

/* ════════════ HERO ════════════ */
.hero {
    min-height: 100vh;
    padding: 100px 24px 60px;
    background: linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 40%, #FFF8F5 100%);
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 2100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--blue) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.04;
    animation: patternDrift 30s linear infinite;
}

@keyframes patternDrift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 80px 80px;
    }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
    animation: blobDrift 14s ease-in-out infinite;
}

.hero-blob-1 {
    width: 340px;
    height: 340px;
    background: rgba(26, 86, 219, 0.16);
    top: -80px;
    left: -60px;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 43, 0.14);
    bottom: -100px;
    right: 10%;
    animation-delay: -6s;
}

@keyframes blobDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -20px) scale(1.12);
    }
}

.hero-container {
    flex: 1;
    z-index: 1;
    margin-left: 9%;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3)
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 26px;
    animation: fadeUp 0.6s ease both;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(44px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--navy);
    margin-bottom: 20px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-accent-multi {
    background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 55%, var(--green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.3);
}

.btn-hero-cta-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.4);
}

.btn-hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--blue);
    padding: 16px 30px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    border: 1.5px solid var(--blue);
    background: transparent;
    transition: all 0.2s;
}

.btn-hero-cta-ghost:hover {
    background: #EFF6FF;
    transform: translateY(-2px);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
    animation: fadeUp 0.6s 0.4s ease both;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

/* hero visual — animated Aadhaar / digital-signature live preview */
.hero-visual {
    flex: 1;
    position: relative;
    min-height: 460px;
    z-index: 1;
    animation: fadeUp 0.8s 0.2s ease both;
    margin-right: 2%;
}

.visual-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.16), rgba(255, 107, 43, 0.10) 55%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .7
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1
    }
}

.doc-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    position: absolute;
    border: 1px solid var(--border);
    z-index: 1;
}

.doc-card-1 {
    width: 290px;
    top: 4px;
    left: 6px;
    animation: float 6s ease-in-out infinite;
}

.doc-card-2 {
    width: 262px;
    top: 246px;
    left: 176px;
    animation: float 6s 1.2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-12px)
    }
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.doc-icon {
    font-size: 20px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon.aadhaar-ic {
    background: #EFF6FF;
}

.doc-icon.p12-ic {
    background: #FFF7ED;
}

.doc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.doc-sub {
    font-size: 11px;
    color: var(--muted);
}

.doc-status-stack {
    position: relative;
    margin-left: auto;
    width: 76px;
    height: 22px;
    flex-shrink: 0;
}

.doc-status {
    position: absolute;
    inset: 0;
    margin: auto;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 0;
    border-radius: 100px;
    text-align: center;
    white-space: nowrap;
}

.doc-status.pending {
    background: #FFF7ED;
    color: #C2410C;
    animation: crossfadeOut 8s ease infinite;
}

.doc-status.signed {
    background: #F0FDF4;
    color: #15803D;
    animation: crossfadeIn 8s ease infinite;
}

@keyframes crossfadeOut {
    0%, 42% {
        opacity: 1
    }
    50%, 100% {
        opacity: 0
    }
}

@keyframes crossfadeIn {
    0%, 42% {
        opacity: 0
    }
    50%, 100% {
        opacity: 1
    }
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.doc-line {
    height: 6px;
    border-radius: 3px;
    background: var(--bg2);
}

.w80 {
    width: 80%;
}

.w60 {
    width: 60%;
}

.w90 {
    width: 90%;
}

.otp-row {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.otp-box {
    width: 28px;
    height: 32px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    background: var(--bg2);
    opacity: 0;
    transform: translateY(6px) scale(0.8);
    animation: otpFill 8s ease infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

@keyframes otpFill {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.8);
        border-color: var(--border);
        background: var(--bg2);
    }
    6%, 40% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-color: var(--border);
        background: var(--bg2);
    }
    48%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-color: #86EFAC;
        background: #F0FDF4;
    }
}

.doc-sig-area {
    border-top: 1px dashed var(--border);
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 36px;
}

.sig-draw path {
    fill: none;
    stroke: #FF6B2B;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawSig 8s ease infinite;
}

@keyframes drawSig {
    0%, 52% {
        stroke-dashoffset: 150;
    }
    74%, 100% {
        stroke-dashoffset: 0;
    }
}

.sig-label {
    font-size: 10px;
    color: var(--muted);
    opacity: 0;
    animation: fadeInLabel 8s ease infinite;
}

@keyframes fadeInLabel {
    0%, 70% {
        opacity: 0
    }
    80%, 100% {
        opacity: 1
    }
}

.doc-footer-badge {
    display: flex;
    justify-content: flex-end;
}

.badge-verified {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    background: #F0FDF4;
    padding: 3px 10px;
    border-radius: 100px;
    opacity: 0;
    animation: fadeInLabel 8s ease infinite;
}

.cert-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 14px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 12px;
}

.cert-lock {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lock-shackle {
    transform-origin: 12px 11px;
    animation: lockClose 8s ease infinite;
}

@keyframes lockClose {
    0%, 16% {
        transform: rotate(-16deg) translateY(-1px);
    }
    36%, 100% {
        transform: rotate(0) translateY(0);
    }
}

.cert-status-stack {
    position: relative;
    height: 18px;
    flex: 1;
}

.cert-status {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.cert-status.verifying {
    color: var(--muted);
    animation: crossfadeOut2 8s ease infinite;
}

.cert-status.verified {
    color: var(--green);
    animation: crossfadeIn2 8s ease infinite;
}

@keyframes crossfadeOut2 {
    0%, 38% {
        opacity: 1
    }
    46%, 100% {
        opacity: 0
    }
}

@keyframes crossfadeIn2 {
    0%, 38% {
        opacity: 0
    }
    46%, 100% {
        opacity: 1
    }
}

.signers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signer-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending-av {
    background: var(--bg2);
    color: var(--muted);
}

.signer-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.signer-ts {
    font-size: 11px;
    color: var(--muted);
}

.floating-pill {
    position: absolute;
    background: white;
    border-radius: 100px;
    padding: 8px 16px;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid var(--border);
    color: var(--navy);
    z-index: 2;
}

.pill-1 {
    top: -14px;
    right: 20px;
    animation: floatPill 4s ease-in-out infinite;
}

.pill-2 {
    top: 150px;
    right: -18px;
    animation: floatPill 4s 1.5s ease-in-out infinite;
}

.pill-3 {
    bottom: 90px;
    left: -22px;
    animation: floatPill 4s 0.8s ease-in-out infinite;
}

.pill-4 {
    bottom: -10px;
    right: 60px;
    animation: floatPill 4s 2.2s ease-in-out infinite;
}

@keyframes floatPill {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-8px)
    }
}

/* ════════════ TRUST BAR ════════════ */
.trust-bar {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
}

.trust-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-logo {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: -0.3px;
}

/* ════════════ SECTIONS ════════════ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.how-it-works {
    padding: 96px 0;
}

.sign-methods {
    padding: 96px 0;
    background: var(--bg);
}

.benefits {
    padding: 96px 0;
}

.dashboard-preview {
    padding: 96px 0;
    background: var(--navy);
}

.testimonials {
    padding: 96px 0;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    background: #EFF6FF;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
}

.text-accent {
    color: var(--blue);
}

/* ════════════ HOW IT WORKS — auto-playing step tour ════════════ */
.hiw-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hiw-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: hiwPulseDot 1.8s ease-in-out infinite;
}

@keyframes hiwPulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(1.5);
    }
}

.hiw-lede {
    font-size: 15.5px;
    color: var(--muted);
    max-width: 560px;
    margin: -32px 0 40px;
}

:root {
    --hiw-ease: cubic-bezier(.22, 1, .36, 1);
    --hiw-seal-red: #B23A2A;
}

.workflow__tabs {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.workflow__tab {
    background: #EFF6FF;
    border: 1.5px solid var(--border);
    color: var(--muted);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .25s var(--hiw-ease);
}

.workflow__tab:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.workflow__tab.is-active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.workflow__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    text-align: left;
}

.workflow__panel.is-active {
    display: grid;
}

.workflow__panel[hidden] {
    display: none;
}

.workflow__steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.workflow__step {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 16px 14px 16px 0;
    border-radius: 10px;
    opacity: .45;
    transition: opacity .4s var(--hiw-ease), background .4s var(--hiw-ease);
}

.workflow__step.is-active {
    opacity: 1;
    background: #EFF6FF;
}

.workflow__step[data-step="1"].is-active {
    background: rgba(26, 86, 219, .08);
}

.workflow__step[data-step="2"].is-active {
    background: rgba(255, 107, 43, .10);
}

.workflow__step[data-step="3"].is-active {
    background: rgba(178, 58, 42, .08);
}

.workflow__step[data-step="4"].is-active {
    background: rgba(19, 136, 8, .10);
}

.workflow__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 46px;
    bottom: -12px;
    width: 2px;
    background: var(--border);
}

.workflow__step-num {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    z-index: 1;
    transition: all .35s var(--hiw-ease);
}

.workflow__step.is-active .workflow__step-num {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    box-shadow: 0 0 0 5px rgba(26, 86, 219, .14);
}

.workflow__step[data-step="1"].is-active .workflow__step-num {
    background: var(--sky);
    border-color: var(--sky);
    box-shadow: 0 0 0 5px rgba(96, 165, 250, .18);
}

.workflow__step[data-step="2"].is-active .workflow__step-num {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 0 5px rgba(255, 107, 43, .2);
}

.workflow__step[data-step="3"].is-active .workflow__step-num {
    background: var(--hiw-seal-red);
    border-color: var(--hiw-seal-red);
    box-shadow: 0 0 0 5px rgba(178, 58, 42, .16);
}

.workflow__step[data-step="4"].is-active .workflow__step-num {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 0 5px rgba(19, 136, 8, .18);
}

.workflow__step-icon {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .35s var(--hiw-ease), transform .35s var(--hiw-ease);
}

.workflow__step.is-active .workflow__step-icon {
    opacity: 1;
    transform: translateX(0);
}

.workflow__step[data-step="1"] .workflow__step-icon {
    border-color: rgba(96, 165, 250, .35);
}

.workflow__step[data-step="2"] .workflow__step-icon {
    border-color: rgba(255, 107, 43, .4);
}

.workflow__step[data-step="3"] .workflow__step-icon {
    border-color: rgba(178, 58, 42, .35);
}

.workflow__step[data-step="4"] .workflow__step-icon {
    border-color: rgba(19, 136, 8, .35);
}

.workflow__step h3 {
    font-family: var(--font-head);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 2px;
}

.workflow__step p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.workflow__stage {
    position: relative;
    background: #EFF6FF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.workflow__stage::before, .workflow__stage::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: .5;
    animation: hiwBlobDrift 8s ease-in-out infinite;
}

.workflow__stage::before {
    width: 180px;
    height: 180px;
    background: var(--orange);
    top: -40px;
    left: -30px;
}

.workflow__stage::after {
    width: 200px;
    height: 200px;
    background: var(--green);
    bottom: -50px;
    right: -40px;
    animation-delay: 2s;
}

@keyframes hiwBlobDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -14px) scale(1.12);
    }
}

.stage-doc {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-height: 300px;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 28px 24px;
    z-index: 1;
}

.stage-doc::before, .stage-doc::after {
    content: '';
    display: block;
    height: 9px;
    border-radius: 5px;
    background: #DCE8FF;
    margin-bottom: 14px;
}

.stage-doc::after {
    width: 65%;
}

.stage-doc__box {
    height: 60px;
    border: 2px dashed var(--sky);
    border-radius: 8px;
    margin-block: 18px;
    background: linear-gradient(90deg, rgba(96, 165, 250, .08), rgba(255, 107, 43, .08), rgba(19, 136, 8, .08));
    background-size: 300% 100%;
    opacity: 0;
    transform: scale(.9);
    transition: opacity .5s var(--hiw-ease), transform .5s var(--hiw-ease);
}

.stage-doc__box.show {
    opacity: 1;
    transform: scale(1);
    animation: hiwBoxShimmer 3s linear infinite;
}

@keyframes hiwBoxShimmer {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 300% 0;
    }
}

.stage-doc__field {
    font-family: 'Courier New', monospace;
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 600;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 8px;
    margin-top: 10px;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 1s steps(20), opacity .3s var(--hiw-ease);
}

.stage-doc__field.show {
    max-width: 240px;
    opacity: 1;
}

.stage-doc__otp {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.stage-doc__otp span {
    width: 38px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--hiw-ease), transform .35s var(--hiw-ease), border-color .3s var(--hiw-ease);
}

.stage-doc__otp.show span {
    opacity: 1;
    transform: translateY(0);
}

.stage-doc__otp.show span:nth-child(1) {
    transition-delay: 0s;
    border-color: var(--sky);
    color: var(--blue);
}

.stage-doc__otp.show span:nth-child(2) {
    transition-delay: .08s;
    border-color: var(--orange);
    color: #B8681C;
}

.stage-doc__otp.show span:nth-child(3) {
    transition-delay: .16s;
    border-color: var(--hiw-seal-red);
    color: var(--hiw-seal-red);
}

.stage-doc__otp.show span:nth-child(4) {
    transition-delay: .24s;
    border-color: var(--green);
    color: var(--green);
}

.stage-doc__signature-slot {
    margin-top: 20px;
    opacity: 0;
    transition: opacity .4s var(--hiw-ease);
}

.stage-doc__signature-slot.show {
    opacity: 1;
}

.sig-path--draw path {
    animation: none;
    stroke-dashoffset: 240;
}

.stage-doc__signature-slot.show .sig-path--draw path {
    animation: hiwDrawSigOnce 1.4s var(--hiw-ease) forwards;
}

@keyframes hiwDrawSigOnce {
    to {
        stroke-dashoffset: 0;
    }
}

.stage-doc__token, .stage-doc__cert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 11.5px;
    color: var(--navy);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s var(--hiw-ease), transform .4s var(--hiw-ease);
    border-radius: 999px;
    padding: 8px 14px;
    width: fit-content;
}

.stage-doc__token.show, .stage-doc__cert.show {
    opacity: 1;
    transform: translateY(0);
}

.stage-doc__token--saffron {
    background: rgba(255, 107, 43, .12);
    color: #B8681C;
}

.stage-doc__cert {
    margin-top: 16px;
    background: rgba(178, 58, 42, .1);
    color: var(--hiw-seal-red);
}

.stage-doc__done {
    position: absolute;
    right: -14px;
    bottom: -14px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    transform: scale(.4) rotate(-30deg);
    transition: opacity .45s var(--hiw-ease), transform .45s var(--hiw-ease);
}

.stage-doc__done.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
}

.stage-doc__done.show .confetti {
    animation: hiwConfettiBurst .9s var(--hiw-ease) forwards;
}

.confetti--1 {
    background: var(--orange);
    animation-delay: .05s !important;
    --tx: -46px;
    --ty: -34px;
}

.confetti--2 {
    background: var(--green);
    animation-delay: .09s !important;
    --tx: 40px;
    --ty: -40px;
}

.confetti--3 {
    background: var(--sky);
    animation-delay: .02s !important;
    --tx: -34px;
    --ty: 30px;
}

.confetti--4 {
    background: var(--hiw-seal-red);
    animation-delay: .12s !important;
    --tx: 44px;
    --ty: 22px;
}

.confetti--5 {
    background: var(--orange);
    animation-delay: .16s !important;
    --tx: 6px;
    --ty: -48px;
}

.confetti--6 {
    background: var(--green);
    animation-delay: .2s !important;
    --tx: -6px;
    --ty: 46px;
}

@keyframes hiwConfettiBurst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(220deg) scale(.4);
    }
}

@media (max-width: 860px) {
    .workflow__panel.is-active {
        display: flex;
        flex-direction: column-reverse;
        gap: 32px;
    }

    .workflow__stage {
        min-height: 320px;
    }

    .hiw-lede {
        margin-top: -24px;
    }
}

/* Methods */
.methods-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.method-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.method-featured {
    border-color: var(--blue);
    border-width: 2px;
}

.method-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

.method-icon-bg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.method-icon-bg.aadhaar {
    background: var(--blue);
}

.method-icon-bg.draw {
    background: var(--orange);
}

.method-icon-bg.p12 {
    background: var(--navy);
}

.method-card h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.method-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.method-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.method-features li {
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.check {
    color: var(--green);
    font-weight: 700;
}

.method-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

.method-link:hover {
    color: var(--navy);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* Dashboard Preview */
.dashboard-preview .section-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.dp-text {
    flex: 1;
}

.dashboard-preview .section-tag {
    background: rgba(96, 165, 250, 0.15);
    color: var(--sky);
}

.dashboard-preview .section-title {
    color: white;
}

.dashboard-preview p {
    color: #94A3B8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.dp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dp-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-size: 14px;
}

.dp-check {
    color: var(--sky);
    font-weight: 700;
}

.dp-visual {
    flex: 1;
}

/* Dashboard mock */
.dash-mock {
    background: #1a2440;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    overflow: hidden;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dash-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.dash-btn {
    background: var(--blue);
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dash-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
}

.ds-num {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
}

.ds-lbl {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

.dash-table {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.dash-row {
    display: grid;
    grid-template-columns: 2fr 0.7fr 1fr 0.8fr;
    gap: 8px;
    padding: 10px 12px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: #94A3B8;
}

.dash-row.header {
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748B;
}

.dash-row:last-child {
    border: none;
}

.dash-row span:first-child {
    color: #E2E8F0;
    font-weight: 500;
}

.pill-done {
    background: rgba(19, 136, 8, 0.2);
    color: #4ADE80;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    text-align: center;
}

.pill-pend {
    background: rgba(26, 86, 219, 0.2);
    color: var(--sky);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    text-align: center;
}

/* Testimonials */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testi-stars {
    color: #FBBF24;
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testi-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-author strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.testi-author span {
    font-size: 12px;
    color: var(--muted);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    padding: 96px 24px;
    text-align: center;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-family: var(--font-head);
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--orange);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(255, 107, 43, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 107, 43, 0.5);
}

.btn-cta-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
}

.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ════════════ FOOTER ════════════ */
.footer {
    background: var(--navy);
    padding: 64px 0 0;
    color: #94A3B8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 60px;
}

.footer-brand {
    flex: 1.5;
}

.footer-brand .nav-logo .logo-sign {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
    max-width: 300px;
}

.footer-india {
    font-size: 13px;
    font-weight: 600;
    color: var(--sky);
}

.footer-links {
    flex: 2;
    display: flex;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h5 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: #64748B;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--sky);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #475569;
}

/* ════════════ AUTH PAGES ════════════ */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(150deg, var(--navy) 0%, #0c1e4a 60%, #0a1d3d 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-left-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(96, 165, 250, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
}

.auth-left-content {
    position: relative;
    z-index: 1;
}

.auth-left h2 {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin: 40px 0 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.auth-left p {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.auth-feature span {
    font-size: 14px;
    color: #CBD5E1;
}

.auth-left-bottom {
    margin-top: auto;
}

.auth-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748B;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    background: white;
}

.auth-form-wrap {
    width: 100%;
    max-width: 420px;
}

.auth-form-wrap h1 {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-form-wrap .auth-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
}

.auth-form-wrap .auth-sub a {
    color: var(--blue);
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: white;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-input::placeholder {
    color: #CBD5E1;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #CBD5E1;
}

.input-with-icon .form-input {
    padding-left: 38px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn-form-primary {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    background: var(--blue);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-form-primary:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

.divider-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.divider-or::before, .divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider-or span {
    font-size: 12px;
    color: var(--muted);
}

.btn-oauth {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: white;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* .btn-oauth's own display:flex (author CSS) beats the browser's default
   [hidden] { display:none } (UA CSS) at equal specificity — this compound
   selector restores it, so the hidden attribute actually hides the button. */
.btn-oauth[hidden] {
    display: none;
}

.btn-oauth:hover {
    border-color: var(--blue);
    background: var(--bg);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: var(--blue);
}

.form-checkbox label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.form-checkbox label a {
    color: var(--blue);
}

/* ════════════ INNER PAGES ════════════ */
.page-hero {
    background: linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 100%);
    padding: 120px 24px 72px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero-tag {
    display: inline-block;
    background: #EFF6FF;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Aadhaar page specifics */
.aadhaar-details {
    padding: 96px 0;
}

.aadhaar-intro {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.aadhaar-intro-text {
    flex: 1;
}

.aadhaar-intro-text h2 {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.aadhaar-intro-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.aadhaar-visual {
    flex: 1;
}

.aadhaar-card {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f5e 100%);
    border-radius: 20px;
    padding: 32px;
    color: white;
}

.aadhaar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.aadhaar-card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
}

.aadhaar-card-sub {
    font-size: 12px;
    color: #60A5FA;
    margin-top: 3px;
}

.aadhaar-seal {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 107, 43, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.otp-display {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.otp-box {
    width: 48px;
    height: 56px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
}

.otp-box.filled {
    background: rgba(26, 86, 219, 0.4);
    border-color: var(--sky);
    color: white;
}

.aadhaar-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    font-size: 12px;
    color: #94A3B8;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.legal-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
}

.legal-card h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.legal-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ════════════ DASHBOARD PAGE ════════════ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar-user-plan {
    font-size: 11px;
    color: #64748B;
}

.dash-main {
    margin-left: 240px;
    flex: 1;
    background: var(--bg);
    min-height: 100vh;
}

.dash-topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dash-topbar-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
}

.dash-search input {
    border: none;
    background: none;
    font-size: 13px;
    outline: none;
    width: 180px;
    font-family: var(--font-body);
    color: var(--text);
}

.dash-notif {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    position: absolute;
    top: 7px;
    right: 7px;
    border: 1.5px solid white;
}

.dash-content {
    padding: 28px;
}

.dash-welcome {
    margin-bottom: 28px;
}

.dash-welcome h2 {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.dash-welcome p {
    font-size: 14px;
    color: var(--muted);
}

.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.kpi-value {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.kpi-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.kpi-change {
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.kpi-up {
    color: var(--green);
}

.kpi-down {
    color: #EF4444;
}

.dash-grid-2 {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dash-panel {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
}

.dash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dash-panel-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.dash-panel-action {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
    cursor: pointer;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
}

.docs-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    font-weight: 700;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.docs-table td {
    padding: 11px 10px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--bg);
}

.docs-table tr:last-child td {
    border: none;
}

.docs-table tr:hover td {
    background: var(--bg);
}

.doc-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-file-icon {
    width: 28px;
    height-min: 28px;
    border-radius: 6px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
    white-space: nowrap;
}

.status-completed {
    background: #F0FDF4;
    color: #15803D;
}

.status-pending {
    background: #FFF7ED;
    color: #C2410C;
}

.status-progress {
    background: #EFF6FF;
    color: #1D4ED8;
}

.status-expired {
    background: #FEF2F2;
    color: #DC2626;
}

.signer-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}

.sig-avatars {
    display: flex;
}

.sig-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -6px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Activity feed */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bg);
}

.activity-item:last-child {
    border: none;
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

.activity-time {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.btn-new-doc {
    background: var(--blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.btn-new-doc:hover {
    background: var(--navy);
}

/* ════════════ PRICING PAGE ════════════ */
.pricing-section {
    padding: 96px 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
    font-size: 14px;
    color: var(--muted);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--blue);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
}

.toggle-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: 0.2s;
}

.save-badge {
    background: #F0FDF4;
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 36px;
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-featured {
    border-color: var(--blue);
    border-width: 2px;
}

.plan-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 24px;
}

.plan-amount {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.plan-period {
    font-size: 14px;
    color: var(--muted);
}

.plan-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.feat-check {
    color: var(--green);
    font-weight: 700;
}

.feat-cross {
    color: #CBD5E1;
}

.btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-plan-primary {
    background: var(--blue);
    color: white;
}

.btn-plan-primary:hover {
    background: var(--navy);
}

.btn-plan-ghost {
    background: white;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

.btn-plan-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ════════════ ANIMATIONS ════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
    }

    .hero-visual {
        min-height: 500px;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-preview .section-container {
        flex-direction: column;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-grid-2 {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 200px;
    }

    .dash-main {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu: dropdown becomes a tap-to-expand accordion inline in the flyout,
       instead of an absolutely-positioned hover panel. */
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: auto;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: var(--bg);
        margin: 4px 0 6px;
        transition: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .sidebar {
        display: none;
    }

    .dash-main {
        margin-left: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .aadhaar-intro {
        flex-direction: column;
    }

    .doc-card-1 {
        width: 250px;
        top: 0;
        left: 0;
    }

    .doc-card-2 {
        width: 230px;
        top: 240px;
        left: 130px;
    }

    .pill-1, .pill-2, .pill-3, .pill-4 {
        font-size: 12px;
        padding: 6px 12px;
    }

    .pill-1 {
        top: -20px;
    }

    .pill-2 {
        right: -8px;
    }

    .pill-3 {
        display: none;
    }

    .pill-4 {
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        min-height: 480px;
    }

    .doc-card-1 {
        width: 220px;
        top: 10px;
    }

    .doc-card-2 {
        width: 200px;
        top: 230px;
        left: 90px;
    }

    .pill-1, .pill-2, .pill-4 {
        display: none;
    }
}

.about-hero {
    background: linear-gradient(150deg, #0C1E4A 0%, #0e2558 55%, #0a1d3d 100%);
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(96, 165, 250, 0.1) 1px, transparent 1px);
    background-size: 36px 36px;
}

.about-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.about-hero-content .page-hero-tag {
    background: rgba(96, 165, 250, 0.15);
    color: #60A5FA;
}

.about-hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.about-hero-content h1 span {
    color: #FF6B2B;
}

.about-hero-content p {
    font-size: 18px;
    color: #94A3B8;
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

/* Tricolor underline */
.tricolor-line {
    display: flex;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    width: 80px;
    margin: 24px auto 0;
}

.tricolor-line span:nth-child(1) {
    flex: 1;
    background: #FF6B2B;
}

.tricolor-line span:nth-child(2) {
    flex: 1;
    background: white;
}

.tricolor-line span:nth-child(3) {
    flex: 1;
    background: #138808;
}

/* Mission */
.mission-section {
    padding: 96px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.mission-text h2 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.mission-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.mission-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.mission-pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pillar-text h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.pillar-text p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* Mission visual */
.mission-visual {
    position: relative;
}

.mission-card-stack {
    position: relative;
    height: 380px;
}

.mc {
    position: absolute;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border);
}

.mc-back {
    width: 300px;
    top: 20px;
    left: 20px;
    background: var(--bg);
    transform: rotate(-3deg);
}

.mc-front {
    width: 320px;
    top: 40px;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
}

.mc-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.mc-stat-row {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.mc-stat {
    flex: 1;
    background: var(--bg);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.mc-stat-num {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.mc-stat-lbl {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.mc-sig-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #F0FDF4;
    border-radius: 10px;
    margin-top: 14px;
}

.mc-sig-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

.mc-sig-text {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

/* Stats banner */
.stats-banner {
    background: var(--navy);
    padding: 64px 0;
}

.stats-banner .section-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.banner-stat {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.banner-stat + .banner-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.banner-stat-num {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.banner-stat-num span {
    color: var(--orange);
}

.banner-stat-lbl {
    font-size: 14px;
    color: #64748B;
}

/* Story / Timeline */
.story-section {
    padding: 96px 0;
    background: var(--bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--orange));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .tl-content {
    text-align: right;
}

.tl-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.2);
    top: 6px;
    z-index: 1;
    flex-shrink: 0;
}

.tl-content {
    flex: 1;
}

.tl-year {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.tl-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.tl-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.tl-spacer {
    flex: 1;
}

/* Team */
.team-section {
    padding: 96px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    color: white;
}

.team-name {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.team-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.2s;
    font-size: 13px;
}

.team-link:hover {
    background: var(--blue);
    color: white;
}

/* Values */
.values-section {
    padding: 96px 0;
    background: var(--navy);
}

.values-section .section-tag {
    background: rgba(96, 165, 250, 0.15);
    color: var(--sky);
}

.values-section .section-title {
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-3px);
}

.value-emoji {
    font-size: 36px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.7;
}

/* Awards / Recognition */
.recognition-section {
    padding: 80px 0;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rec-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    transition: all 0.3s;
}

.rec-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--blue);
}

.rec-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.rec-card h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.rec-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* Contact strip */
.contact-strip {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}

.contact-strip .section-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.contact-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recognition-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner .section-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .banner-stat + .banner-stat::before {
        display: none;
    }

    .contact-strip .section-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-card-stack {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 44px;
    }

    .timeline-item:nth-child(even) .tl-content {
        text-align: left;
    }

    .tl-dot {
        left: 16px;
    }

    .tl-spacer {
        display: none;
    }

    .stats-banner .section-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 37, 64, .5);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px
}

.modal.open {
    display: flex;
    animation: mIn .25s ease
}

@keyframes mIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.mbox {
    background: #fff;
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-lg);
    animation: mbIn .3s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes mbIn {
    from {
        opacity: 0;
        transform: scale(.9) translateY(20px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.mhdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--g2);
    background: linear-gradient(135deg, rgba(0, 109, 119, .03), transparent)
}

.mhdr h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--navy)
}

.mclose {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--g1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy);
    transition: background .2s, transform .2s
}

.mclose:hover {
    background: var(--g2);
    transform: rotate(90deg)
}

.mbody {
    padding: 28px 32px;
    overflow-y: auto;
    flex: 1
}

.mbody h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 8px
}

.mbody h3:first-child {
    margin-top: 0
}

.mbody p {
    font-size: .9rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 8px
}

.mbody ul {
    list-style: disc;
    margin: 8px 0 12px 20px
}

.mbody ul li {
    font-size: .9rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 4px
}

/* ── Accessibility utility ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
