/* ==========================================================================
   HEALTHVAULT FAMILY — homenew.html stylesheet
   Single theme: Platinum Cyber-Clinical (baked into :root — no container,
   no data-theme switch, no cycleTheme button)
   Merged from: style-luxury.css + Home.css + nav-menu-polish.css + inline
   <style> blocks in Home.aspx — duplicates consolidated.
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. THEME TOKENS (baked Platinum Cyber-Clinical + legacy palette)   */
/* ------------------------------------------------------------------ */
:root {
    /* --- Luxury tokens (formerly body[data-theme="platinum-clinical"]) */
    --bg-primary: #0b1320;
    --bg-secondary: #131f33;
    --bg-card: rgba(19, 31, 51, 0.78);
    --accent-seal: #0284c7;
    --accent-seal-glow: rgba(2, 132, 199, 0.4);
    --accent-seal-dark: #8F2E29;
    --accent-gold: #38bdf8;
    --accent-gold-light: #bae6fd;
    --accent-emerald: #10b981;
    --accent-teal: #3a7d8c;
    --particle-rgb: 56, 189, 248;
    --ecg-stroke: rgba(56, 189, 248, 0.6);
    --laser-color: #38bdf8;
    --laser-glow: rgba(56, 189, 248, 0.85);
    --glass-border: rgba(56, 189, 248, 0.25);
    --glass-border-hover: rgba(56, 189, 248, 0.65);
    --glass-glow: rgba(56, 189, 248, 0.18);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #6a8ba8;
    --shadow-luxury: 0 30px 80px rgba(0, 0, 0, 0.6);
    /* --- Legacy "paper / ink" palette (used by classic sections) --- */
    --paper: #FAF8F3;
    --paper-dim: #F1EEE5;
    --ink: #17293D;
    --ink-soft: #4A5A6B;
    --seal: #B23A34;
    --seal-dark: #8F2E29;
    --sage: #6B8F71;
    --sage-dim: #E4EBDF;
    --line: #DEDACD;
    --card: #FFFFFF;
    --gold: #C99A3D;
    --gold-dim: #F6EAD1;
    --teal: #3A7D8C;
    --teal-dim: #D4E8ED;
    --shadow: 0 20px 60px rgba(23, 41, 61, 0.12);
    --shadow-hover: 0 30px 80px rgba(23, 41, 61, 0.18);
}

/* ------------------------------------------------------------------ */
/* 2. RESET & BASE                                                    */
/* ------------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(56, 189, 248, 0.55) transparent;
    scrollbar-width: thin;
}

body {
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding-top: 45px;
    /* ← no overflow-x, no overflow-y, no overflow shorthand */
}

    html.home-scroll-locked,
    body.home-scroll-locked {
        overflow: hidden !important;
        touch-action: none;
    }

#form1 {
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
}
/* AI FAQ answer formatting */
.faq-item .ai-faq-answer {
    line-height: 1.65;
}

    .faq-item .ai-faq-answer .ai-faq-intro {
        margin: 0 0 12px;
    }

    .faq-item .ai-faq-answer .ai-faq-list {
        margin: 0 0 16px;
        padding-left: 22px;
        list-style: disc;
    }

        .faq-item .ai-faq-answer .ai-faq-list li {
            margin-bottom: 8px;
        }

    .faq-item .ai-faq-answer .ai-faq-block {
        margin: 0 0 14px;
    }

    .faq-item .ai-faq-answer .ai-faq-warning {
        margin-top: 18px;
        padding: 12px 16px;
        border-left: 3px solid #38bdf8;
        background: rgba(56, 189, 248, 0.08);
        border-radius: 6px;
    }
.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg, video, canvas {
    max-width: 100%;
}

.wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--paper-dim);
}

::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.55);
    border-radius: 3px;
}

/* ------------------------------------------------------------------ */
/* 3. CURSOR + CANVAS + AMBIENT GLOWS (from style-luxury.css)         */
/* ------------------------------------------------------------------ */
#ecg-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-gold);
    transition: transform 0.05s ease-out, background 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    background: rgba(56, 189, 248, 0.04);
    backdrop-filter: blur(1px);
}

body:hover .cursor-follower.active {
    width: 58px;
    height: 58px;
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-seal);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-top-left {
    top: -150px;
    left: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent-seal-glow), transparent 70%);
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.glow-bottom-right {
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glass-glow), transparent 70%);
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% {
        transform: translate(0,0) scale(1);
    }

    100% {
        transform: translate(40px,30px) scale(1.15);
    }
}

/* ------------------------------------------------------------------ */
/* 4. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-seal), #8f2e29);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--accent-seal-glow);
    border: 1px solid var(--accent-seal);
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: skewX(-20deg);
    }

    .btn-primary:hover::before {
        animation: shine 0.8s ease forwards;
    }

@keyframes shine {
    to {
        left: 130%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--accent-seal-glow);
    border-color: var(--accent-gold);
}

.btn-ghost {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
    padding: 14px 26px;
    font-size: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

    .btn-ghost:hover {
        background: rgba(56, 189, 248, 0.15);
        border-color: var(--accent-gold);
        color: var(--accent-gold-light);
        transform: translateY(-3px);
    }

.btn-outline {
    border: 2px solid var(--line);
    background: transparent;
    color: var(--ink);
}

    .btn-outline:hover {
        border-color: var(--seal);
        color: var(--seal);
    }

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

    .btn-gold:hover {
        background: #B0882E;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(201,154,61,0.35);
    }

/* ------------------------------------------------------------------ */
/* 5. COMING-SOON BAR (fixed at very top)                             */
/* ------------------------------------------------------------------ */
.coming-soon-bar {
    background: linear-gradient(90deg, #070d17, #131f33, #070d17);
    border-bottom: 1px solid rgba(56,189,248,0.3);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.csb-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.csb-cta {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(56,189,248,0.4);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

    .csb-cta:hover {
        background: rgba(56,189,248,0.1);
        border-color: #38bdf8;
    }

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    animation: pulseGlow 2s infinite;
    display: inline-block;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(56,189,248,0.7);
    }

    70% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(56,189,248,0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(56,189,248,0);
    }
}

/* ------------------------------------------------------------------ */
/* 6. NAVIGATION                                                       */
/* ------------------------------------------------------------------ */
.nav {
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 9, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

    .nav.scrolled {
        box-shadow: 0 2px 24px rgba(0,0,0,0.4);
    }

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--text-primary);
}

    .logo .fam {
        color: var(--accent-seal);
        font-style: italic;
        margin-left: 5px;
    }

.logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-seal), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    box-shadow: 0 0 15px var(--accent-seal-glow);
    overflow: hidden;
    flex: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .logo-mark:hover {
        box-shadow: 0 0 0 4px var(--glass-glow), 0 6px 18px rgba(0,0,0,0.22);
        transform: scale(1.04);
    }

    .logo-mark img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

    .nav-links a {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-secondary);
        transition: color 0.2s;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 100%;
            height: 2px;
            background: var(--accent-seal);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--accent-gold);
        }

            .nav-links a:hover::after {
                transform: scaleX(1);
            }

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.account-dropdown {
    position: relative;
}

.account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

    .account-trigger:hover {
        color: var(--accent-gold);
    }

    .account-trigger .caret {
        font-size: 11px;
        transition: transform 0.25s ease;
    }

.account-dropdown.open .account-trigger .caret {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-luxury);
    min-width: 170px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.account-dropdown.open .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 8px;
    transition: background 0.2s;
}

    .account-menu a:hover {
        background: rgba(56,189,248,0.08);
        color: var(--accent-gold);
    }

    .account-menu a.nav-disabled {
        opacity: 0.45;
        cursor: not-allowed;
        pointer-events: none;
        position: relative;
    }

        .account-menu a.nav-disabled .soon-tag {
            margin-left: 8px;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent-gold-light);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            padding: 1px 6px;
            font-family: 'IBM Plex Mono', monospace;
        }

.account-menu.align-left {
    right: auto;
    left: 0;
}

.account-menu.nudge-left {
    transform: translateY(0) !important;
    left: 8px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px;
    color: var(--text-secondary);
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-more {
    display: none;
}

.download-dropdown {
    display: none;
}

/* Hamburger polish (nav-menu-polish.css) */
.hvf-hamburger {
    display: inline-flex;
    position: relative;
    width: 22px;
    height: 16px;
}

.hvf-hamburger-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--text-secondary);
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease, background 0.25s ease;
}

    .hvf-hamburger-bar:nth-child(1) {
        top: 0;
    }

    .hvf-hamburger-bar:nth-child(2) {
        top: 7px;
    }

    .hvf-hamburger-bar:nth-child(3) {
        top: 14px;
    }

.nav-toggle[aria-expanded="true"] .hvf-hamburger-bar {
    background: var(--accent-gold);
}

    .nav-toggle[aria-expanded="true"] .hvf-hamburger-bar:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .hvf-hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .hvf-hamburger-bar:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }

.hvf-mobile-divider, .hvf-mobile-cta {
    display: none;
}

@media (max-width: 920px) {
    .hvf-mobile-divider {
        display: block;
        height: 1px;
        margin: 12px 4px 14px;
        background: rgba(56,189,248,0.18);
    }

    #navLinks a.hvf-mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 4px 4px 6px;
        padding: 12px 20px;
        border-radius: 999px;
        background: var(--seal);
        color: #ffffff !important;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(178, 58, 52, 0.28);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        #navLinks a.hvf-mobile-cta:hover {
            transform: translateY(-1px);
        }
}

@media (min-width: 921px) {
    .hvf-mobile-divider, .hvf-mobile-cta {
        display: none !important;
    }
}

/* ------------------------------------------------------------------ */
/* 7. HERO + 3D DOC STAGE + FAMILY SWITCHER                            */
/* ------------------------------------------------------------------ */
.hero {
    position: relative;
    z-index: 1;
    padding: 170px 0 110px;
    overflow: hidden;
    background: transparent;
}

    .hero::before, .hero::after {
        display: none;
    }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 34px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-seal);
    margin-bottom: 20px;
}

.hero-eyebrow-container {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.luxury-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid var(--accent-seal);
    border-radius: 30px;
    color: var(--accent-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'IBM Plex Mono', monospace;
    box-shadow: 0 0 20px var(--accent-seal-glow);
}

.hero-content h1 {
    font-size: clamp(40px, 5.5vw, 66px);
    color: #ffffff;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 760px;
}

    .hero-content h1 em {
        font-style: italic;
        background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold), var(--accent-seal));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
    }

.hero-content p.lead-text {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 540px;
}

    .hero-content p.lead-text b {
        color: var(--accent-gold-light);
    }

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 36px;
    display: flex;
    gap: 40px;
}

    .hero-stats .stat .num {
        font-family: 'Fraunces', serif;
        font-size: 32px;
        font-weight: 700;
        color: var(--accent-gold-light);
        text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
        display: inline-flex;
        align-items: center;
        min-height: 34px;
    }

        .hero-stats .stat .num i {
            font-size: 30px;
        }

    .hero-stats .stat .label {
        font-size: 13px;
        color: var(--text-muted);
        margin-top: 4px;
    }

.demo-note {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.hero-demo-note {
    max-width: 360px;
}

/* Family profile switcher */
.family-switcher-wrapper {
    margin-top: 30px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    max-width: 540px;
    box-shadow: var(--shadow-luxury);
    transition: border-color 0.3s;
}

    .family-switcher-wrapper:hover {
        border-color: var(--glass-border-hover);
    }

.switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.switcher-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.switcher-status {
    font-size: 11px;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

    .switcher-status::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent-emerald);
        box-shadow: 0 0 8px var(--accent-emerald);
    }

.family-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.family-tab-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

    .family-tab-btn .avatar {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        line-height: 1;
        color: var(--accent-gold-light);
    }

        .family-tab-btn .avatar i {
            font-size: 20px;
            font-family: 'remixicon' !important;
            font-style: normal;
            line-height: 1;
        }

    .family-tab-btn .member-name {
        font-size: 12px;
        font-weight: 600;
    }

    .family-tab-btn .records-count {
        font-size: 10px;
        color: var(--text-muted);
        font-family: 'IBM Plex Mono', monospace;
    }

    .family-tab-btn:hover {
        background: rgba(56,189,248,0.1);
        border-color: var(--accent-gold);
        color: #fff;
        transform: translateY(-2px);
    }

    .family-tab-btn.active {
        background: linear-gradient(135deg, rgba(2,132,199,0.3), rgba(56,189,248,0.2));
        border-color: var(--accent-gold);
        color: #fff;
        box-shadow: 0 0 15px rgba(56,189,248,0.25);
    }

        .family-tab-btn.active .records-count {
            color: var(--accent-gold-light);
        }

/* 3D doc stage */
.doc-stage {
    position: relative;
    height: 520px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-center-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-80px);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: radial-gradient(circle, var(--glass-glow), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: rotateEmblem 25s linear infinite;
    box-shadow: inset 0 0 50px rgba(56, 189, 248, 0.08);
}

    .stage-center-emblem::before {
        content: '';
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        border: 1px dashed var(--accent-gold);
        opacity: 0.4;
        animation: rotateEmblemReverse 18s linear infinite;
    }

    .stage-center-emblem .emblem-icon {
        font-size: 48px;
        color: var(--accent-gold);
        opacity: 0.6;
        text-shadow: 0 0 25px var(--accent-gold);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .stage-center-emblem .emblem-icon i {
            font-size: 48px;
            font-family: 'remixicon' !important;
        }

@keyframes rotateEmblem {
    from {
        transform: translate(-50%, -50%) translateZ(-80px) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) translateZ(-80px) rotate(360deg);
    }
}

@keyframes rotateEmblemReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.doc-card {
    position: absolute;
    width: 250px;
    height: 180px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 25px var(--glass-glow);
    padding: 20px;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.5s ease;
    overflow: hidden;
}

    .doc-card:hover {
        transform: scale(1.08) translateZ(40px);
        border-color: var(--accent-gold);
        box-shadow: 0 30px 70px rgba(0,0,0,0.75), 0 0 35px var(--accent-gold);
        z-index: 50;
    }

.laser-scan-line {
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--laser-color), transparent);
    box-shadow: 0 0 15px var(--laser-glow), 0 0 30px var(--laser-glow);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.doc-card:hover .laser-scan-line,
.doc-card.scanning .laser-scan-line {
    opacity: 1;
    animation: laserSweep 2s ease-in-out infinite alternate;
}

@keyframes laserSweep {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

.ocr-hud-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(6, 9, 17, 0.95);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--accent-gold-light);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    z-index: 100;
}

.doc-card:hover .ocr-hud-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.doc-card .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--accent-seal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px var(--accent-seal-glow);
}

.doc-card.sage .tag {
    background: var(--accent-emerald);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.doc-card.gold .tag {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 4px 12px rgba(56,189,248,0.3);
}

.doc-card.teal .tag {
    background: var(--accent-teal);
    box-shadow: 0 4px 12px rgba(58,125,140,0.3);
}

.doc-card .doc-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.doc-card .line {
    height: 5px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    margin-bottom: 8px;
}

    .doc-card .line.w80 {
        width: 80%;
    }

    .doc-card .line.w60 {
        width: 60%;
    }

    .doc-card .line.w40 {
        width: 40%;
    }

.doc-card .stamp {
    position: absolute;
    bottom: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    color: var(--accent-gold-light);
    transform: rotate(-12deg);
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.doc-card.settled {
    opacity: 1;
}

.doc-card.floaty {
    animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
    0%,100% {
        margin-top: 0;
    }

    50% {
        margin-top: -12px;
    }
}

/* ------------------------------------------------------------------ */
/* 8. SECTION GENERIC                                                  */
/* ------------------------------------------------------------------ */
section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin: 0 auto 56px;
}

    .section-head .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        font-weight: 600;
        color: var(--accent-seal);
        margin-bottom: 14px;
        justify-content: center;
    }

    .section-head h2 {
        font-size: clamp(28px, 3.4vw, 42px);
        max-width: 1200px;
        margin: 0 auto;
        color: var(--text-primary);
    }

    .section-head p {
        margin-top: 16px;
        font-size: 16.5px;
        color: var(--text-secondary);
        line-height: 1.65;
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

/* ------------------------------------------------------------------ */
/* 9. FEATURES                                                         */
/* ------------------------------------------------------------------ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-seal), var(--accent-gold));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-luxury);
        border-color: var(--glass-border-hover);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-seal);
    transform: rotate(-6deg) scale(1.1);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 1.6;
    transition: stroke 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------------ */
/* 10. DISCOVERY                                                       */
/* ------------------------------------------------------------------ */
.discovery-section {
    background: rgba(19, 31, 51, 0.35);
    position: relative;
    overflow: hidden;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.discovery-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

    .discovery-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .discovery-card:nth-child(1)::before {
        background: var(--accent-seal);
    }

    .discovery-card:nth-child(2)::before {
        background: var(--accent-emerald);
    }

    .discovery-card:nth-child(3)::before {
        background: var(--accent-gold);
    }

    .discovery-card:nth-child(4)::before {
        background: var(--accent-teal);
    }

    .discovery-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-luxury);
        border-color: var(--glass-border-hover);
    }

        .discovery-card:hover::before {
            transform: scaleX(1);
        }

.discovery-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discovery-card:nth-child(1) .discovery-icon {
    background: rgba(2, 132, 199, 0.15);
}

.discovery-card:nth-child(2) .discovery-icon {
    background: rgba(16, 185, 129, 0.15);
}

.discovery-card:nth-child(3) .discovery-icon {
    background: rgba(56, 189, 248, 0.15);
}

.discovery-card:nth-child(4) .discovery-icon {
    background: rgba(58, 125, 140, 0.15);
}

.discovery-card:hover .discovery-icon {
    transform: rotate(-8deg) scale(1.12);
}

.discovery-card:nth-child(1):hover .discovery-icon {
    background: var(--accent-seal);
}

.discovery-card:nth-child(2):hover .discovery-icon {
    background: var(--accent-emerald);
}

.discovery-card:nth-child(3):hover .discovery-icon {
    background: var(--accent-gold);
}

.discovery-card:nth-child(4):hover .discovery-icon {
    background: var(--accent-teal);
}

.discovery-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 1.8;
    transition: stroke 0.3s ease;
}

.discovery-card:hover .discovery-icon svg {
    stroke: #fff;
}

.discovery-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

.discovery-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.discovery-card .tag {
    display: inline-block;
    margin-top: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.discovery-card:hover .tag {
    background: var(--accent-seal);
    color: #fff;
}

.discovery-card:nth-child(2):hover .tag {
    background: var(--accent-emerald);
}

.discovery-card:nth-child(3):hover .tag {
    background: var(--accent-gold);
}

.discovery-card:nth-child(4):hover .tag {
    background: var(--accent-teal);
}

.discovery-float {
    animation: discoveryFloat 4s ease-in-out infinite;
}

    .discovery-float:nth-child(2) {
        animation-delay: 0.8s;
    }

    .discovery-float:nth-child(3) {
        animation-delay: 1.6s;
    }

    .discovery-float:nth-child(4) {
        animation-delay: 2.4s;
    }

@keyframes discoveryFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.search-mockup {
    max-width: 720px;
    margin: 40px auto 0;
    background: var(--bg-card);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .search-mockup:hover {
        box-shadow: 0 16px 48px rgba(0,0,0,0.5);
        transform: translateY(-2px);
    }

    .search-mockup svg {
        width: 20px;
        height: 20px;
        stroke: var(--text-secondary);
        fill: none;
        stroke-width: 2;
        flex: none;
    }

    .search-mockup input {
        flex: 1;
        border: none;
        padding: 14px 0;
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        color: var(--text-primary);
        background: transparent;
        outline: none;
    }

        .search-mockup input::placeholder {
            color: var(--text-muted);
            font-weight: 400;
        }

    .search-mockup .search-btn {
        padding: 12px 28px;
        border-radius: 40px;
        background: var(--accent-seal);
        color: #fff;
        border: none;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: background 0.3s ease;
        font-family: 'Inter', sans-serif;
    }

        .search-mockup .search-btn:hover {
            background: #026fa8;
        }

.search-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

    .search-tags span {
        font-size: 12px;
        padding: 6px 16px;
        border-radius: 20px;
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        color: var(--text-secondary);
        transition: all 0.3s ease;
        cursor: default;
    }

        .search-tags span:hover {
            border-color: var(--accent-gold);
            color: var(--accent-gold);
            transform: translateY(-2px);
        }

        .search-tags span .highlight {
            color: var(--accent-gold);
            font-weight: 600;
        }

/* ------------------------------------------------------------------ */
/* 11. HOW IT WORKS (flow)                                             */
/* ------------------------------------------------------------------ */
.flow-section {
    background: transparent;
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

    .flow-section .section-head p {
        color: #B7C2CE;
    }

    .flow-section .eyebrow {
        color: var(--accent-gold-light);
    }

    .flow-section .section-head h2 {
        color: #fff;
    }

.flow-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10px 40px;
    z-index: 1;
    gap: 0;
}

.flow-step {
    text-align: center;
    flex: 1;
    padding: 0 8px;
    min-width: 0;
}

    .flow-step .ring {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        border: 3px solid rgba(255,255,255,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 14px;
        background: rgba(255,255,255,0.04);
        transition: all 0.4s ease;
    }

    .flow-step:hover .ring {
        border-color: var(--accent-seal);
        transform: scale(1.08);
    }

    .flow-step .ring svg {
        width: 30px;
        height: 30px;
        stroke: #CBD5DF;
        fill: none;
        stroke-width: 1.5;
    }

    .flow-step.active .ring {
        border-color: var(--accent-seal);
        background: rgba(2, 132, 199, 0.12);
        animation: ringPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

        .flow-step.active .ring svg {
            stroke: var(--accent-gold-light);
        }

@keyframes ringPop {
    0% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.flow-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.flow-step p {
    font-size: 13px;
    color: #A9B6C2;
    max-width: 170px;
    margin: 0 auto;
    line-height: 1.5;
}

.flow-arrow {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

    .flow-arrow svg {
        width: 22px;
        height: 22px;
        stroke: rgba(255,255,255,0.25);
        fill: none;
        stroke-width: 2;
        animation: arrowPulse 1.6s ease-in-out infinite;
    }

@keyframes arrowPulse {
    0%,100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(6px);
        opacity: 1;
    }
}

.flow-steps-indicator {
    display: flex;
    justify-content: space-between;
    padding: 0 30px 16px;
    position: relative;
    z-index: 1;
}

    .flow-steps-indicator span {
        font-size: 11px;
        font-weight: 600;
        color: rgba(255,255,255,0.4);
        font-family: 'IBM Plex Mono', monospace;
        letter-spacing: 0.04em;
        transition: color 0.4s ease;
        padding: 0 4px;
        text-align: center;
        flex: 1;
    }

        .flow-steps-indicator span.active {
            color: var(--accent-gold-light);
        }

        .flow-steps-indicator span::before {
            content: '○ ';
            font-weight: 400;
        }

        .flow-steps-indicator span.active::before {
            content: '● ';
            font-weight: 700;
        }

.flying-doc {
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
    animation: flyDocStages 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

    .flying-doc svg {
        width: 20px;
        height: 20px;
        stroke: var(--accent-seal);
        fill: none;
        stroke-width: 1.7;
    }

    .flying-doc span {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 8px;
        font-weight: 600;
        color: var(--text-secondary);
    }

@keyframes flyDocStages {
    0%,4% {
        left: 5%;
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    5% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    10%,15% {
        left: 14%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    16% {
        left: 14%;
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    17% {
        left: 14%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    20% {
        left: 30%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    25%,30% {
        left: 38%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    31% {
        left: 38%;
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    32% {
        left: 38%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    35% {
        left: 54%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    40%,45% {
        left: 62%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    46% {
        left: 62%;
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    47% {
        left: 62%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        left: 78%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    55%,60% {
        left: 86%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    61% {
        left: 86%;
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    62%,70% {
        left: 86%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    85% {
        left: 90%;
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }

    100% {
        left: 95%;
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

.flow-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

    .flow-lock .core {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--accent-emerald);
        border: 4px solid var(--bg-primary);
        box-shadow: 0 10px 26px rgba(16, 185, 129, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        animation: lockPulse 2.2s ease-in-out infinite;
    }

    .flow-lock svg {
        width: 22px;
        height: 22px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
    }

@keyframes lockPulse {
    0%,100% {
        box-shadow: 0 10px 26px rgba(16,185,129,0.4), 0 0 0 0 rgba(16,185,129,0.3);
    }

    50% {
        box-shadow: 0 10px 26px rgba(16,185,129,0.4), 0 0 0 12px rgba(16,185,129,0);
    }
}

/* ------------------------------------------------------------------ */
/* 12. TOGGLE COMPARISON (Before/After)                                */
/* ------------------------------------------------------------------ */
.toggle-comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(19, 31, 51, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.toggle-switch-wrapper {
    display: inline-flex;
    background: rgba(7, 13, 23, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 40px;
    padding: 8px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

    .toggle-btn.active {
        color: #ffffff;
        background: linear-gradient(135deg, #0284c7, #38bdf8);
        box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
    }

.panel-stage {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .toggle-panel.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .toggle-panel.exit-left {
        transform: translateX(-30px);
        opacity: 0;
    }

    .toggle-panel img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        border: 1px solid rgba(56, 189, 248, 0.3);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        display: block;
    }

.toggle-info h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Fraunces', serif;
}

.toggle-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toggle-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #cbd5e1;
}

/* ------------------------------------------------------------------ */
/* 13. LIVE PREVIEW                                                    */
/* ------------------------------------------------------------------ */
.preview-wrap {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    perspective: 1600px;
}

.preview-ring {
    display: none;
}

.preview-frame {
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 90px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .preview-frame:hover {
        transform: translateY(-4px);
    }

.preview-laser {
    display: none;
}

.demo-frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--glass-border);
}

    .demo-frame-bar .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

        .demo-frame-bar .dot:nth-child(1) {
            background: #E5A2A2;
        }

        .demo-frame-bar .dot:nth-child(2) {
            background: #E8CB9A;
        }

        .demo-frame-bar .dot:nth-child(3) {
            background: #A9C9A6;
        }

    .demo-frame-bar .url {
        margin-left: 14px;
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        padding: 5px 14px;
        border-radius: 6px;
        border: 1px solid var(--glass-border);
        flex: 1;
        max-width: 320px;
    }

.live-rec {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px #ef4444;
    animation: pulseGlow 1.4s infinite;
}

.preview-body {
    padding: 30px 34px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.preview-profile {
    background: var(--bg-primary) !important;
    color: #fff !important;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .preview-profile .who {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
    }

        .preview-profile .who .av {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--accent-seal);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Fraunces', serif;
            font-weight: 600;
        }

        .preview-profile .who .name {
            font-weight: 600;
            font-size: 14.5px;
            color: #fff;
        }

        .preview-profile .who .status {
            font-size: 12px;
            color: var(--accent-emerald);
        }

.preview-stat-row {
    display: flex;
    justify-content: space-between;
    background: var(--bg-primary) !important;
    color: #fff !important;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 8px;
}

    .preview-stat-row b {
        color: #fff !important;
    }

.preview-activity {
    background: var(--bg-primary) !important;
    color: #fff !important;
    border-radius: 14px;
    padding: 22px;
}

    .preview-activity h4 {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-secondary) !important;
        font-family: 'IBM Plex Mono', monospace;
        font-weight: 500;
        margin-bottom: 14px;
    }

.live-tag {
    color: var(--accent-emerald);
    font-size: 10px;
    margin-left: 8px;
}

.preview-act-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-primary) !important;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 9px;
    font-size: 13px;
    transition: background 0.4s ease;
}

    .preview-act-row.new-update {
        background: rgba(56, 189, 248, 0.15) !important;
    }

    .preview-act-row svg {
        width: 16px;
        height: 16px;
        stroke: var(--accent-gold);
        fill: none;
        stroke-width: 1.8;
        flex: none;
    }

    .preview-act-row .txt {
        flex: 1;
        color: #fff !important;
    }

    .preview-act-row .time {
        font-size: 11.5px;
        color: var(--text-secondary) !important;
        white-space: nowrap;
    }

    .preview-act-row.incoming {
        transform: translateY(-12px);
        opacity: 0;
    }

.float-badge {
    position: absolute;
    background: rgba(13, 19, 34, 0.9);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 11px 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    animation: floaty 5s ease-in-out infinite;
    z-index: 2;
    backdrop-filter: blur(16px);
}

.fb-1 {
    top: -24px;
    left: -24px;
    animation-delay: 0s;
}

.fb-2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 1.4s;
}

.fb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    animation: pulseGlow 1.4s ease-in-out infinite;
    display: inline-block;
}

.fb-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-emerald);
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

/* ------------------------------------------------------------------ */
/* 14. FAMILY / REMINDERS                                              */
/* ------------------------------------------------------------------ */
.family-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.family-profile {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.family-member {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
    cursor: default;
}

    .family-member:last-child {
        border-bottom: none;
    }

    .family-member:hover {
        transform: translateX(6px);
    }

.family-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    flex: none;
    transition: transform 0.3s ease;
}

.family-member:hover .family-avatar {
    transform: scale(1.12) rotate(-4deg);
}

.family-info {
    flex: 1;
}

    .family-info .name {
        font-weight: 600;
        font-size: 15px;
        color: var(--text-primary);
    }

    .family-info .role {
        font-size: 13px;
        color: var(--text-secondary);
    }

.family-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent-gold);
    background: rgba(56, 189, 248, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ------------------------------------------------------------------ */
/* 15. GET THE APP — sync stage                                        */
/* ------------------------------------------------------------------ */
.app-download-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.sync-stage {
    position: relative;
    height: 340px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.sync-glow {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(ellipse, var(--glass-glow) 0%, transparent 72%);
    z-index: 0;
    animation: glowBreathe 6s ease-in-out infinite;
}

@keyframes glowBreathe {
    0%,100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.sync-device {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
}

.sync-label {
    margin-top: 12px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
}

.sync-computer {
    width: 230px;
}

.computer-screen {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px 10px 3px 3px;
    box-shadow: var(--shadow-luxury);
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.sync-stage:hover .computer-screen {
    border-color: var(--glass-border-hover);
}

.computer-topbar {
    display: flex;
    gap: 5px;
    padding: 9px 12px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
}

    .computer-topbar .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
    }

        .computer-topbar .dot:nth-child(1) {
            background: var(--accent-seal);
        }

        .computer-topbar .dot:nth-child(2) {
            background: var(--accent-gold);
        }

        .computer-topbar .dot:nth-child(3) {
            background: var(--accent-emerald);
        }

.computer-body {
    padding: 16px;
}

.computer-stand {
    width: 46px;
    height: 16px;
    background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
    margin: 0 auto;
    border-radius: 0 0 6px 6px;
    border: 1px solid var(--glass-border);
    border-top: none;
}

.computer-base {
    width: 110px;
    height: 7px;
    background: var(--bg-secondary);
    margin: 3px auto 0;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

.mini-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-seal), var(--accent-gold));
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    box-shadow: 0 0 12px var(--accent-seal-glow);
}

.mini-header-lines {
    flex: 1;
}

.mini-name-line {
    width: 70%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.22);
    margin-bottom: 6px;
}

.mini-sub-line {
    width: 45%;
    height: 6px;
    border-radius: 3px;
    background: var(--accent-gold);
    opacity: 0.55;
}

.mini-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.mini-card-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(56,189,248,0.15);
    flex: none;
}

    .mini-card-icon.gold {
        background: rgba(56,189,248,0.22);
    }

.mini-card-lines {
    flex: 1;
}

.mini-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 5px;
}

    .mini-line.w80 {
        width: 80%;
    }

    .mini-line.w60 {
        width: 60%;
    }

    .mini-line.w40 {
        width: 40%;
    }

.sync-phone {
    width: 130px;
}

.phone-mockup {
    position: relative;
    width: 130px;
    height: 260px;
    background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
    border-radius: 24px;
    padding: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-luxury);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 5px;
    border-radius: 3px;
    background: rgba(0,0,0,0.5);
    z-index: 3;
}

.phone-home-bar {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    overflow: hidden;
    padding: 20px 10px 0;
}

    .phone-screen .mini-avatar {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .phone-screen .mini-card-row {
        padding: 7px 8px;
        border-radius: 8px;
    }

.sync-track {
    position: relative;
    flex: 1;
    height: 2px;
    align-self: center;
    margin-bottom: 90px;
    background: repeating-linear-gradient(90deg, var(--glass-border) 0 8px, transparent 8px 16px);
    z-index: 1;
}

.sync-ping {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 14px var(--glass-glow);
    opacity: 0;
}

.ping-left {
    left: -8px;
    animation: pingLeft 8s ease-out infinite;
}

.ping-right {
    right: -8px;
    animation: pingRight 8s ease-out infinite;
}

@keyframes pingLeft {
    0%,92% {
        transform: scale(0.6);
        opacity: 0;
    }

    96% {
        transform: scale(1.6);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@keyframes pingRight {
    0%,42% {
        transform: scale(0.6);
        opacity: 0;
    }

    46% {
        transform: scale(1.6);
        opacity: 0.6;
    }

    50% {
        transform: scale(2.4);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.sync-doc-travel {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 108px;
    padding: 9px 11px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px var(--glass-glow);
    backdrop-filter: blur(18px);
    transform: translate(-8%, -50%) scale(0.7);
    opacity: 0;
    z-index: 3;
    animation: docTravel 8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

    .sync-doc-travel .tag {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 8px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #fff;
        background: var(--accent-seal);
        display: inline-block;
        padding: 2px 6px;
        border-radius: 2px;
        margin-bottom: 6px;
        box-shadow: 0 4px 10px var(--accent-seal-glow);
    }

    .sync-doc-travel .mini-line {
        background: rgba(255,255,255,0.18);
    }

@keyframes docTravel {
    0%,4% {
        left: 0%;
        top: 50%;
        opacity: 0;
        transform: translate(-8%, -50%) scale(0.6) rotate(0deg);
    }

    12% {
        opacity: 1;
        transform: translate(-8%, -50%) scale(0.85) rotate(-3deg);
    }

    22% {
        top: 8%;
        transform: translate(-40%, -50%) scale(1) rotate(0deg);
    }

    32% {
        left: 50%;
        top: -18%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02) rotate(2deg);
    }

    42% {
        left: 100%;
        top: 8%;
        opacity: 1;
        transform: translate(-60%, -50%) scale(0.9) rotate(3deg);
    }

    48%,50% {
        left: 100%;
        top: 50%;
        opacity: 0;
        transform: translate(-92%, -50%) scale(0.6) rotate(0deg);
    }

    50.01%,54% {
        left: 100%;
        top: 50%;
        opacity: 0;
        transform: translate(-92%, -50%) scale(0.6) rotate(0deg);
    }

    62% {
        opacity: 1;
        transform: translate(-92%, -50%) scale(0.85) rotate(3deg);
    }

    72% {
        top: 8%;
        transform: translate(-60%, -50%) scale(1) rotate(0deg);
    }

    82% {
        left: 50%;
        top: -18%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02) rotate(-2deg);
    }

    92% {
        left: 0%;
        top: 8%;
        opacity: 1;
        transform: translate(-40%, -50%) scale(0.9) rotate(-3deg);
    }

    98%,100% {
        left: 0%;
        top: 50%;
        opacity: 0;
        transform: translate(-8%, -50%) scale(0.6) rotate(0deg);
    }
}

.app-download-info h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-top: 14px;
    color: var(--text-primary);
}

.app-download-info p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.store-badge-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .store-badge:hover {
        transform: translateY(-3px);
        background: rgba(56, 189, 248, 0.15);
        border-color: var(--accent-gold);
        box-shadow: 0 15px 40px var(--accent-seal-glow);
    }

    .store-badge span {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .store-badge small {
        font-size: 9px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 500;
    }

    .store-badge .store-badge-soon {
        position: absolute;
        top: -9px;
        right: -8px;
        background: var(--accent-seal);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 2px 7px;
        border-radius: 10px;
        font-family: 'IBM Plex Mono', monospace;
        box-shadow: 0 0 10px var(--accent-seal-glow);
        pointer-events: none;
    }

/* ------------------------------------------------------------------ */
/* 16. ROADMAP — vertical timeline                                     */
/* ------------------------------------------------------------------ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.08);
    transform: translateX(-50%);
}

.timeline-spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-seal), var(--accent-gold));
    transition: height 0.2s linear;
    box-shadow: 0 0 12px var(--accent-seal-glow);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 48px;
    min-height: 100px;
}

.timeline-node {
    grid-column: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--glass-border);
    margin: 0 auto;
    transition: all 0.4s ease;
}

    .timeline-node .node-num {
        font-size: 12px;
        font-weight: 700;
        color: var(--accent-gold);
        font-family: 'IBM Plex Mono', monospace;
    }

    .timeline-node .node-pulse {
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid var(--accent-seal);
        opacity: 0;
        animation: nodePulse 2s ease-out infinite;
    }

@keyframes nodePulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.timeline-item.active .timeline-node {
    background: var(--accent-seal);
    border-color: var(--accent-gold);
    box-shadow: 0 0 25px var(--accent-seal-glow);
}

    .timeline-item.active .timeline-node .node-num {
        color: #fff;
    }

.timeline-item.now .timeline-node {
    background: var(--accent-seal);
    border-color: var(--accent-gold);
}

    .timeline-item.now .timeline-node .node-num {
        color: #fff;
    }

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 26px;
    backdrop-filter: blur(14px);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-card {
    grid-column: 3;
    grid-row: 1;
}

.timeline-item.active .timeline-card {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px var(--glass-glow);
}

.timeline-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent-seal);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

    .timeline-card .badge .liveDot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #fff;
        animation: dotBeat 1.6s ease-in-out infinite;
    }

@keyframes dotBeat {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.timeline-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-card .obj {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 14px;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
}

    .timeline-card ul li {
        font-size: 13px;
        color: var(--text-primary);
        padding-left: 17px;
        position: relative;
        margin-bottom: 8px;
        line-height: 1.5;
    }

        .timeline-card ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 7px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--accent-gold);
        }

.timeline-item:nth-child(odd) .timeline-card ul li {
    padding-left: 0;
    padding-right: 17px;
    text-align: right;
}

    .timeline-item:nth-child(odd) .timeline-card ul li::before {
        left: auto;
        right: 0;
    }

/* ------------------------------------------------------------------ */
/* 17. PRICING                                                         */
/* ------------------------------------------------------------------ */
.pricing-country-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 24px;
}

    .pricing-country-select label {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-secondary);
    }

.country-dropdown {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 10px 16px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 30px;
    cursor: pointer;
    min-width: 220px;
    text-align: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .country-dropdown:focus {
        outline: none;
        border-color: var(--accent-seal);
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    }

.currency-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 36px 30px;
    text-align: center;
    transition: all 0.35s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-luxury);
        border-color: var(--glass-border-hover);
    }

    .pricing-card.featured {
        border-color: var(--accent-seal);
        background: linear-gradient(180deg, rgba(19,31,51,0.95), rgba(2,132,199,0.08));
        position: relative;
    }

        .pricing-card.featured::before {
            content: 'Most Popular';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            background: var(--accent-seal);
            color: #fff;
            padding: 4px 16px;
            border-radius: 20px;
            letter-spacing: 0.06em;
        }

    .pricing-card .plan {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        color: var(--text-secondary);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pricing-card .price {
        font-family: 'Fraunces', serif;
        font-weight: 700;
        color: var(--text-primary);
    }

    .pricing-card .description {
        font-size: 14px;
        color: var(--text-secondary);
        margin: 12px 0 24px;
        line-height: 1.5;
    }

    .pricing-card ul {
        list-style: none;
        text-align: left;
        margin-bottom: 28px;
    }

        .pricing-card ul li {
            padding: 8px 0;
            font-size: 14px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

            .pricing-card ul li:last-child {
                border-bottom: none;
            }

            .pricing-card ul li::before {
                content: '✓';
                color: var(--accent-emerald);
                font-weight: 700;
            }

            .pricing-card ul li.unavailable {
                opacity: 0.5;
            }

                .pricing-card ul li.unavailable::before {
                    content: '✕';
                    color: var(--text-muted);
                    font-weight: 700;
                }

.savings-badge {
    display: inline-block;
    margin-left: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.18);
    color: var(--accent-emerald);
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
}

    .savings-badge:empty {
        display: none;
    }

/* Baked price display rules */
.price-current, .price-strikethrough, .free-text {
    font-size: 44px;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
    color: var(--text-primary);
}

.price-strikethrough {
    text-decoration: line-through;
    opacity: 0.35;
}

.price-period {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text-secondary);
    display: inline-block;
    margin-left: 2px;
}

.founding-member-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    padding: 0;
    margin-top: 2px;
    margin-left: 8px;
    display: inline-block;
}

.pricing-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.pricing-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------ */
/* 18. PARTNER SPOTLIGHT                                               */
/* ------------------------------------------------------------------ */
.partner-spotlight-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    color: #eef7ff;
    background: transparent;
    border-top: 1px solid rgba(91,190,232,0.18);
    border-bottom: 1px solid rgba(91,190,232,0.14);
}

    .partner-spotlight-section > .wrap {
        position: relative;
        z-index: 1;
    }

.partner-spotlight-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

    .partner-spotlight-track::-webkit-scrollbar {
        display: none;
    }

.partner-spotlight-card {
    flex: 0 0 min(370px, calc(100vw - 80px));
    min-height: 312px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    color: #edf7ff;
    background: linear-gradient(145deg, rgba(22, 52, 79, 0.28), rgba(7, 24, 43, 0.16));
    backdrop-filter: blur(14px) saturate(125%);
    border: 1px solid rgba(91,190,232,0.34);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(235, 250, 255, 0.10), 0 18px 42px rgba(0,0,0,0.20);
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .partner-spotlight-card:hover {
        transform: translateY(-6px);
        border-color: var(--accent-gold);
        background: linear-gradient(145deg, rgba(26, 77, 106, 0.34), rgba(8, 32, 53, 0.22));
        box-shadow: inset 0 1px 0 rgba(235, 250, 255, 0.14), 0 22px 54px rgba(19, 167, 218, 0.19), 0 16px 40px rgba(0,0,0,0.22);
    }

.partner-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.partner-card-logo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #2b5d7c;
    border-radius: 15px;
    background: #f7fbff;
}

    .partner-card-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
    }

.partner-card-logo-fallback {
    color: #31d3bf;
    font-size: 1.9rem;
}

.partner-card-type {
    display: block;
    margin-bottom: 6px;
    color: #8fdcf7;
    font: 600 10px 'IBM Plex Mono', monospace;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.partner-spotlight-card h3 {
    margin: 0;
    color: #f7fbff;
    font-size: 1.5rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.partner-card-tagline {
    min-height: 48px;
    margin: 22px 0 18px;
    color: #b3c4d7;
    line-height: 1.55;
}

.partner-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: auto;
    color: #9fb3c8;
    font-size: 12px;
}

    .partner-card-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .partner-card-meta i {
        color: #35c4ed;
    }

.partner-referrals {
    font-weight: 700;
    color: #77ead0;
}

.partner-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #98e4ff;
    font-size: 13px;
    font-weight: 700;
}

    .partner-card-link:hover {
        color: #fff;
    }

/* ------------------------------------------------------------------ */
/* 19. SOCIAL PROOF + BETA CTA                                         */
/* ------------------------------------------------------------------ */
.beta-cta {
    background: rgba(19, 31, 51, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

    .beta-cta h3 {
        color: #fff !important;
        margin-bottom: 10px;
    }

    .beta-cta p {
        color: #94a3b8 !important;
        margin-bottom: 20px;
    }

/* ------------------------------------------------------------------ */
/* 20. TRUST / COMPLIANCE + SECURITY BAND                              */
/* ------------------------------------------------------------------ */
.trust-section {
    padding: 60px 0;
}

    .trust-section h3 {
        text-align: center;
        color: var(--text-primary);
        margin-bottom: 40px;
        font-size: 26px;
    }

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.compliance-badge {
    background: rgba(19, 31, 51, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

    .compliance-badge:hover {
        border-color: var(--accent-gold);
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    }

    .compliance-badge .badge-icon {
        width: 48px;
        height: 48px;
        background: rgba(56, 189, 248, 0.1);
        border: 1px solid rgba(56, 189, 248, 0.3);
        border-radius: 12px;
        margin: 0 auto 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-gold);
        font-size: 20px;
    }

    .compliance-badge strong {
        color: #fff;
        display: block;
        margin-bottom: 8px;
    }

    .compliance-badge p {
        color: #94a3b8;
        font-size: 13px;
        line-height: 1.55;
    }

.security-footer-band {
    background: #070d17;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    padding: 40px 0;
    text-align: center;
}

.security-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

    .security-info h3 {
        font-size: 22px;
        margin: 0;
        color: #fff;
        font-family: 'Fraunces', serif;
        width: 100%;
        text-align: center;
    }

.security-items {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
}

    .security-item i {
        font-size: 20px;
        color: var(--accent-gold);
    }

    .security-item strong {
        color: #fff;
    }

/* ------------------------------------------------------------------ */
/* 21. MOBILE EXPERIENCE — carousel                                    */
/* ------------------------------------------------------------------ */
.mobile-experience-section {
    overflow-x: hidden;
}

.mobile-showcase-section {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.mobile-showcase-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    padding-top: 24px;
    text-align: center;
}

.mobile-showcase-copy {
    width: 100%;
    margin: 0;
    text-align: center;
}

    .mobile-showcase-copy h2 {
        width: 100%;
        margin: 12px auto 0;
        font-size: clamp(28px, 3.25vw, 52px);
        line-height: 1.08;
        letter-spacing: -0.04em;
        color: var(--text-primary);
    }

    .mobile-showcase-copy > p:not(.eyebrow) {
        width: 100%;
        margin: 24px auto 0;
        color: var(--text-secondary);
        font-size: clamp(14px, 1.2vw, 16px);
        line-height: 1.55;
        text-wrap: balance;
    }

.mobile-gallery-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.035em;
}

    .mobile-gallery-inline-note i {
        font-size: 17px;
    }

.mobile-carousel-shell {
    position: relative;
    min-width: 0;
    margin-top: 64px;
    isolation: isolate;
    perspective: 1200px;
    background: transparent;
}

.mobile-carousel-viewport {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Allow native horizontal swipes while still permitting vertical page
       scrolling when the gesture starts outside the carousel. */
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
    cursor: grab;
}

    .mobile-carousel-viewport.is-dragging {
        cursor: grabbing;
        user-select: none;
    }

    .mobile-carousel-viewport::-webkit-scrollbar {
        display: none;
    }

.mobile-carousel-track {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2.2vw, 32px);
    width: max-content;
    min-width: 100%;
    padding: 36px max(5vw, 34px) 46px;
    transform-style: preserve-3d;
}

.mobile-carousel-card {
    --carousel-rotation: 0deg;
    --carousel-depth: 0px;
    position: relative;
    flex: 0 0 clamp(200px, 23vw, 300px);
    min-width: 0;
    opacity: 0.66;
    scroll-snap-align: center;
    cursor: grab;
    transform: translateY(18px) translateZ(var(--carousel-depth)) rotateY(var(--carousel-rotation)) scale(0.96);
    transform-style: preserve-3d;
    transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.24, 1), filter 0.5s ease;
}

    .mobile-carousel-card.is-in-view {
        opacity: 1;
        transform: translateY(0) translateZ(var(--carousel-depth)) rotateY(var(--carousel-rotation)) scale(1);
        animation: galleryCardRise 0.72s cubic-bezier(0.22, 0.8, 0.24, 1) both;
    }

    .mobile-carousel-card.is-active {
        opacity: 1;
        filter: saturate(1.04);
        transform: translateY(-10px) translateZ(var(--carousel-depth)) rotateY(var(--carousel-rotation)) scale(1.04);
    }

    .mobile-carousel-card:active {
        cursor: grabbing;
    }

.mobile-carousel-index {
    position: absolute;
    top: -22px;
    left: 3px;
    z-index: 5;
    color: var(--accent-gold);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.mobile-screenshot {
    --gallery-rotation: 0deg;
    --gallery-depth: 0px;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
    transform: translateZ(var(--gallery-depth)) rotateY(var(--gallery-rotation));
    transform-style: preserve-3d;
    transition: border-color 0.5s ease, box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1);
}

    .mobile-screenshot img {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.75s cubic-bezier(0.22, 0.8, 0.24, 1), filter 0.5s ease;
    }

.mobile-carousel-card.is-active .mobile-screenshot {
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 64px rgba(0,0,0,0.55), 0 0 0 8px rgba(56, 189, 248, 0.10);
}

@keyframes galleryCardRise {
    0% {
        opacity: 0;
        transform: translateY(26px) scale(0.93);
    }

    70% {
        opacity: 1;
        transform: translateY(-3px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mobile-carousel-footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 max(5vw, 34px);
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.mobile-carousel-controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 360px;
    margin: -4px auto 0;
    padding: 0 4px;
}

.mobile-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--accent-gold-light);
    background: rgba(19, 31, 51, 0.78);
    box-shadow: 0 8px 20px rgba(0,0,0,0.28);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .mobile-carousel-arrow:hover,
    .mobile-carousel-arrow:focus-visible {
        border-color: var(--accent-gold);
        background: rgba(56, 189, 248, 0.18);
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.10), 0 10px 24px rgba(0,0,0,0.32);
        transform: translateY(-2px);
        outline: none;
    }

    .mobile-carousel-arrow:active {
        transform: scale(.94);
    }

.mobile-carousel-progress-rail {
    flex: 1 1 auto;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255,255,255,0.10);
}

#mobile-carousel-progress-fill {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-seal), var(--accent-gold));
    box-shadow: 0 0 12px var(--accent-seal-glow);
    transition: width .45s cubic-bezier(.22,.8,.24,1);
}

.mobile-carousel-caption {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.mobile-carousel-kicker {
    color: var(--accent-gold);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-carousel-caption h3 {
    margin-top: 8px;
    font-size: clamp(25px, 3vw, 40px);
    color: var(--text-primary);
}

.mobile-carousel-caption p {
    max-width: 620px;
    margin: 7px auto 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.mobile-carousel-progress {
    flex: 0 0 auto;
    margin: 0 auto;
    color: var(--accent-gold);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.mobile-carousel-divider {
    padding: 0 7px;
    color: var(--text-muted);
}

.mobile-cta {
    text-align: center;
}

#mobile-experience .mobile-cta p {
    margin-bottom: 28px;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------------ */
/* 22. FAQ                                                             */
/* ------------------------------------------------------------------ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 4px 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .faq-item[open] {
        border-color: var(--accent-gold);
        box-shadow: var(--shadow-luxury);
    }

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--text-primary);
    cursor: pointer;
}

    .faq-question::-webkit-details-marker {
        display: none;
    }

    .faq-question .faq-icon {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(56, 189, 248, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: var(--accent-gold);
        transition: transform 0.3s ease, background 0.3s ease;
    }

.faq-item[open] .faq-question .faq-icon {
    background: var(--accent-seal);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 24px;
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 700px;
}

    .faq-answer a {
        color: var(--accent-gold);
        text-decoration: underline;
    }

.faq-objections {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ------------------------------------------------------------------ */
/* 23. WAITLIST                                                        */
/* ------------------------------------------------------------------ */
.waitlist-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: transparent;
}

    .waitlist-section .section-head {
        margin-bottom: 60px;
        text-align: center;
    }

        .waitlist-section .section-head h2 {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text-primary);
        }

        .waitlist-section .section-head p {
            font-size: 17px;
            line-height: 1.7;
            color: var(--text-secondary);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

.waitlist-features {
    display: flex;
    justify-content: center;
    gap: 12px 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding: 0 20px;
}

.wg-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

    .wg-feature i {
        font-size: 22px;
        color: var(--accent-seal);
        text-shadow: 0 0 12px var(--accent-seal-glow);
    }

.waitlist-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-luxury);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .waitlist-card:hover {
        border-color: var(--glass-border-hover);
        box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 50px var(--accent-seal-glow);
    }

.waitlist-form {
    display: flex;
    gap: 12px;
    background: rgba(6, 9, 17, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 8px 8px 8px 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
}

    .waitlist-form:focus-within {
        border-color: var(--accent-seal);
        box-shadow: 0 0 0 6px var(--accent-seal-glow), 0 15px 40px var(--accent-seal-glow);
    }

.wg-form-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    .wg-form-group i {
        color: var(--accent-gold);
        font-size: 20px;
        flex: none;
    }

.wg-email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
    width: 100%;
}

    .wg-email-input::placeholder {
        color: var(--text-muted);
        font-weight: 400;
    }

.wg-submit-btn {
    flex: none;
    padding: 14px 32px;
    border-radius: 40px;
    background: var(--accent-seal);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 20px var(--accent-seal-glow), 0 8px 24px rgba(0,0,0,0.4);
    animation: sealGlowLuxe 2.4s ease-in-out infinite;
}

@keyframes sealGlowLuxe {
    0%,100% {
        box-shadow: 0 0 20px var(--accent-seal-glow), 0 8px 24px rgba(0,0,0,0.4);
    }

    50% {
        box-shadow: 0 0 28px var(--accent-seal-glow), 0 12px 32px rgba(0,0,0,0.5);
    }
}

.wg-submit-btn:hover {
    background: #026fa8;
    transform: translateY(-2px);
    animation-play-state: paused;
}

.wg-form-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-align: center;
}

.wg-message {
    display: block;
    margin-top: 16px;
    font-size: 15px;
    text-align: center;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------------ */
/* 24. THANK YOU MODAL + LOADER                                        */
/* ------------------------------------------------------------------ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 17, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

    .modal-overlay.active {
        display: flex;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    animation: modalSlide 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalSlide {
    from {
        transform: translateY(30px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}

    .modal-close:hover {
        color: var(--accent-gold);
        transform: rotate(90deg);
    }

.thank-you-modal {
    z-index: 10001;
}

.thank-you-modal-content {
    max-width: 520px;
    padding: 48px 40px 40px;
    text-align: center;
    animation: thankYouSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes thankYouSlideUp {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.thank-you-modal-content .modal-close {
    top: 12px;
    right: 16px;
    font-size: 22px;
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-seal), var(--accent-seal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.4);
}

    .thank-you-icon i {
        font-size: 32px;
        color: #fff;
    }

.thank-you-modal-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.thank-you-message {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.thank-you-email-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(56, 189, 248, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--text-secondary);
}

    .thank-you-email-confirm i {
        font-size: 20px;
        color: var(--accent-gold);
    }

    .thank-you-email-confirm strong {
        color: var(--text-primary);
    }

.thank-you-whats-next {
    text-align: left;
    background: rgba(6, 9, 17, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

    .thank-you-whats-next h4 {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 12px;
    }

    .thank-you-whats-next ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .thank-you-whats-next ul li {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 0;
            font-size: 14px;
            color: var(--text-secondary);
        }

            .thank-you-whats-next ul li i {
                font-size: 18px;
                color: var(--accent-gold);
                flex: none;
                width: 24px;
            }

.thank-you-continue {
    width: 100%;
    justify-content: center;
    padding: 14px;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 17, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

    .loader-overlay.show {
        display: flex;
    }

.loader-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-gold);
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 30px var(--glass-glow);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-overlay p {
    color: #e8edf5;
    font-size: 15px;
    font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* 25. CONTACT                                                         */
/* ------------------------------------------------------------------ */
.contact-panel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
}

.contact-panel-info {
    padding: 44px;
}

    .contact-panel-info h3 {
        font-size: 22px;
        margin-bottom: 12px;
        color: var(--text-primary);
    }

    .contact-panel-info > p {
        font-size: 14.5px;
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 20px;
    }

.response-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

    .contact-row:not(.no-hover):hover {
        background: rgba(56, 189, 248, 0.06);
        border-color: var(--glass-border);
        transform: translateX(4px);
    }

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex: none;
}

    .contact-icon svg {
        stroke: currentColor;
        fill: none;
    }

.contact-row-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .contact-row-text strong {
        font-size: 13px;
        color: var(--text-primary);
        font-weight: 600;
    }

    .contact-row-text span {
        font-size: 13.5px;
        color: var(--text-secondary);
        overflow-wrap: anywhere;
    }

.contact-arrow {
    color: var(--accent-gold);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.contact-row:hover .contact-arrow {
    opacity: 1;
}

.contact-panel-divider {
    width: 1px;
    background: var(--glass-border);
}

.contact-panel-form {
    padding: 44px;
}

    .contact-panel-form h3 {
        font-size: 22px;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .contact-panel-form > p {
        font-size: 14.5px;
        color: var(--text-secondary);
        margin-bottom: 22px;
    }

.form-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(6, 9, 17, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .form-field:focus-within {
        border-color: var(--accent-seal);
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    }

    .form-field svg {
        stroke: var(--accent-gold);
        fill: none;
        flex: none;
        margin-top: 3px;
    }

    .form-field input, .form-field textarea {
        flex: 1;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        outline: none;
        resize: vertical;
        min-width: 0;
    }

        .form-field input::placeholder, .form-field textarea::placeholder {
            color: var(--text-muted);
        }

.form-field-textarea {
    align-items: flex-start;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    margin-top: 6px;
}

.contact-success {
    display: none;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

    .contact-success.is-visible {
        display: block;
        background: rgba(255,255,255,0.04);
    }

/* ------------------------------------------------------------------ */
/* 26. FOOTER                                                          */
/* ------------------------------------------------------------------ */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(6, 9, 17, 0.5);
}

.footer-logo-prominent {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 0 32px;
}

    .footer-logo-prominent img {
        width: 180px;
        height: auto;
        object-fit: contain;
    }

.footer-heartbeat-logo {
    animation: footerHeartbeat 1.8s ease-in-out infinite;
}

@keyframes footerHeartbeat {
    0%,100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.18);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12);
    }

    60% {
        transform: scale(1);
    }
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

    .footer-links a {
        font-size: 13.5px;
        color: var(--text-secondary);
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--accent-gold);
        }

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-meta {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12.5px;
}

.footer-brand-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-brand-link:hover {
        color: var(--accent-gold);
    }

.footer-copyright {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-left: auto;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--glass-border);
        color: var(--text-secondary);
        font-size: 16px;
        transition: color 0.2s, border-color 0.2s, transform 0.2s;
    }

        .footer-social a:hover {
            color: var(--accent-gold);
            border-color: var(--accent-gold);
            transform: translateY(-2px);
        }

.footer-attribution {
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 12.5px;
    color: var(--text-secondary);
}

    .footer-attribution a {
        color: var(--text-primary);
        font-weight: 700;
        text-decoration: none;
    }

        .footer-attribution a:hover {
            color: var(--accent-gold);
        }

/* ------------------------------------------------------------------ */
/* 27. BACK TO TOP                                                     */
/* ------------------------------------------------------------------ */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--accent-gold);
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--glass-border);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .back-to-top:hover {
        background: var(--accent-seal);
        color: #fff;
        transform: translateY(-3px) scale(1.04);
    }

/* ------------------------------------------------------------------ */
/* 28. COOKIE BANNER                                                   */
/* ------------------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: -100px;
    width: min(900px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    background: rgba(19, 31, 51, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 2147483000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

    .cookie-banner:not(.show) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .cookie-banner.show {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        bottom: 30px;
    }

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: center;
    flex: 1 1 0%;
    min-width: 0;
}

.cookie-icon {
    font-size: 24px;
    color: var(--accent-gold);
    background: rgba(56, 189, 248, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-text {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

    .cookie-text a {
        color: var(--accent-gold);
        text-decoration: none;
        font-weight: 600;
    }

.cookie-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

    .btn-cookie-accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    }

/* ------------------------------------------------------------------ */
/* 29. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doc-stage {
        height: 420px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discovery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .family-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-download-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sync-stage {
        height: 300px;
    }

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(6, 9, 17, 0.98);
    }

    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--bg-primary);
        padding: 12px 16px 20px;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 12px 28px rgba(0,0,0,0.5);
        z-index: 2001;
        visibility: visible;
        opacity: 1;
    }

        .nav-links.open a {
            display: block;
            width: 100%;
            padding: 12px 4px;
            font-size: 16px;
            color: var(--text-primary) !important;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

            .nav-links.open a:hover {
                color: var(--accent-gold) !important;
            }

    .nav-more {
        display: block;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 8px;
    }

    .account-dropdown {
        display: none;
    }
}

@media (min-width: 921px) {
    .nav-toggle {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    html, body {
        touch-action: pan-y;
    }

    .wrap {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .nav-inner {
        padding: 14px 16px;
    }

    .logo {
        min-width: 0;
        max-width: calc(100vw - 32px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .coming-soon-bar {
        padding: 8px 12px;
        gap: 8px;
        flex-wrap: wrap;
        max-width: 100vw;
    }

    .csb-text {
        min-width: 0;
        max-width: 100%;
        text-align: center;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

        .hero-stats .stat .num {
            font-size: 22px;
        }

    .family-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .discovery-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .flow-container {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .flying-doc, .flow-lock, .flow-steps-indicator {
        display: none;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .float-badge {
        display: none;
    }

    .sync-stage {
        height: 220px;
        gap: 4px;
    }

    .sync-computer {
        width: 150px;
    }

    .computer-body {
        padding: 10px;
    }

    .sync-phone {
        width: 90px;
    }

    .phone-mockup {
        width: 90px;
        height: 180px;
        padding: 6px;
        border-radius: 18px;
    }

    .phone-screen {
        padding: 14px 6px 0;
        border-radius: 13px;
    }

    .sync-track {
        min-width: 30px;
        margin-bottom: 46px;
    }

    .sync-doc-travel {
        width: 78px;
        padding: 6px 8px;
    }

    .sync-label {
        font-size: 9px;
    }

    .store-badge-row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-panel-divider {
        display: none;
    }

    .contact-panel-info, .contact-panel-form {
        padding: 32px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-left: 0;
    }

    .waitlist-card {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .waitlist-section .section-head h2 {
        font-size: 32px;
    }

    .waitlist-form {
        flex-direction: column;
        background: rgba(6,9,17,0.5);
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
    }

    .wg-form-group {
        border: 1px solid var(--glass-border);
        border-radius: 40px;
        padding: 0 16px;
        background: rgba(6,9,17,0.6);
    }

    .wg-email-input {
        padding: 12px 0;
        font-size: 15px;
    }

    .wg-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }

    .waitlist-features {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .toggle-comparison-container {
        width: 100%;
        max-width: 100%;
        padding: 24px 16px;
        border-radius: 20px;
    }

    .toggle-switch-wrapper {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .toggle-btn {
        min-width: 0;
        flex: 1 1 50%;
        padding: 10px 8px;
        font-size: 13px;
    }

    .panel-stage {
        min-height: 0;
        display: block;
    }

    .toggle-panel {
        position: relative;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

        .toggle-panel img {
            width: 100%;
            max-width: 100%;
        }

    .mobile-showcase-copy h2 {
        font-size: clamp(28px, 7.5vw, 42px);
        white-space: normal;
    }

    .mobile-showcase-copy > p:not(.eyebrow) {
        font-size: 15px;
    }

    .mobile-gallery-inline-note {
        font-size: 11px;
    }

    .mobile-carousel-viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .mobile-carousel-shell {
        margin-top: 46px;
    }

    .mobile-carousel-track {
        gap: 16px;
        padding-left: 12vw;
        padding-right: 12vw;
    }

    .mobile-carousel-card {
        flex-basis: min(74vw, 310px);
    }

    .mobile-carousel-footer {
        align-items: center;
        margin: 0 12vw;
        gap: 12px;
        text-align: center;
    }

    .mobile-carousel-progress {
        font-size: 15px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
    }

        .timeline-item:nth-child(odd) .timeline-card,
        .timeline-item:nth-child(even) .timeline-card {
            grid-column: 2;
            grid-row: 1;
            text-align: left;
        }

    .timeline-node {
        grid-column: 1;
    }

    .timeline-item:nth-child(odd) .timeline-card ul li {
        padding-left: 17px;
        padding-right: 0;
        text-align: left;
    }

        .timeline-item:nth-child(odd) .timeline-card ul li::before {
            left: 0;
            right: auto;
        }

    .price-current, .price-strikethrough, .free-text {
        font-size: 32px;
    }

    .price-period {
        font-size: 14px;
    }

    .founding-member-label {
        font-size: 8px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    .cookie-banner, .cookie-banner.show {
        left: 12px !important;
        right: 12px !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
        transform: none !important;
        flex-direction: column;
        padding: 14px;
        gap: 12px;
        align-items: stretch;
    }

    .cookie-content {
        flex-direction: row;
        text-align: left;
    }

    .cookie-actions {
        width: 100%;
    }

    .btn-cookie-accept {
        width: 100%;
    }

    .thank-you-modal-content {
        padding: 32px 20px 28px;
    }

        .thank-you-modal-content h2 {
            font-size: 22px;
        }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            justify-content: center;
        }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .waitlist-card {
        padding: 28px 16px;
    }

    .waitlist-section .section-head h2 {
        font-size: 26px;
    }

    .wg-form-group i {
        display: none;
    }

    .price-current, .price-strikethrough, .free-text {
        font-size: 28px;
    }

    .price-period {
        font-size: 12px;
    }

    .founding-member-label {
        font-size: 7px;
    }

    .security-items {
        flex-direction: column;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .sync-glow, .sync-doc-travel, .ping-left, .ping-right {
        animation: none;
    }

    .sync-doc-travel, .sync-ping {
        display: none;
    }

    .back-to-top {
        transition: opacity 0.15s linear, visibility 0.15s linear;
        transform: none !important;
    }

    .mobile-carousel-card, .mobile-carousel-card.is-in-view, .mobile-carousel-card.is-active,
    .mobile-carousel-viewport, .mobile-carousel-card .mobile-screenshot,
    .mobile-carousel-card .mobile-screenshot img {
        animation: none;
        transition: none;
    }
}

/* Touch / coarse pointer performance */
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-follower, #ecg-particle-canvas, .ambient-glow {
        display: none !important;
    }

    .hero::before, .hero::after, .stage-center-emblem, .stage-center-emblem::before {
        animation: none !important;
    }

    .nav, .doc-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

html.touch-device .cursor-dot,
html.touch-device .cursor-follower,
html.touch-device #ecg-particle-canvas,
html.touch-device .ambient-glow {
    display: none !important;
}

/* ------------------------------------------------------------------ */
/* 30. MOBILE FALLBACK / CACHE-SAFE LAYOUT                             */
/*                                                                    */
/* These rules intentionally repeat the critical shell values with    */
/* !important. They protect the landing page when an older cached     */
/* mobile stylesheet is still present during deployment.              */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
        background: var(--bg-primary) !important;
        color: var(--text-primary) !important;
    }

    #form1,
    .hero,
    section,
    .coming-soon-bar,
    .nav,
    .nav-inner,
    .wrap {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        background: transparent !important;
        padding-top: 130px;
    }

    .hero-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hero-content,
    .hero-content h1,
    .hero-content p.lead-text {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-content h1,
    .hero-content p,
    .section-head h2,
    .section-head p {
        color: var(--text-primary);
    }

    .hero-content p.lead-text,
    section p,
    .section-head p {
        color: var(--text-secondary);
    }

    .doc-stage {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* Keep the Before/After component compact on phones. The desktop panel
       uses an absolute, 450px stage for animation; that reserved height is
       unnecessary on a one-column mobile layout and creates a large blank
       area above the selected image. */
    #before-after {
        padding: 48px 0 36px !important;
    }

    .toggle-comparison-container {
        padding: 20px 14px;
        border-radius: 24px;
    }

    .toggle-switch-wrapper {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
        padding: 6px;
    }

    .toggle-btn {
        flex: 1 1 50%;
        min-width: 0;
        padding: 11px 8px;
        font-size: 14px;
        white-space: nowrap;
    }

    .panel-stage {
        min-height: 0 !important;
        display: block;
    }

    .toggle-panel {
        position: relative;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .toggle-panel:not(.active) {
        display: none;
    }

    .toggle-panel img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* ------------------------------------------------------------------ */
/* 31. 3D CARD STACK GALLERY                                            */
/* ------------------------------------------------------------------ */
.mobile-carousel-viewport.card-stack-mode {
    height: clamp(540px, 48vw, 650px);
    overflow: hidden;
    scroll-snap-type: none;
    touch-action: pan-y;
    cursor: grab;
    -webkit-mask-image: none;
    mask-image: none;
}

.mobile-carousel-viewport.card-stack-mode.is-dragging {
    cursor: grabbing;
}

.mobile-carousel-viewport.card-stack-mode .mobile-carousel-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    transform-style: preserve-3d;
}

.mobile-carousel-viewport.card-stack-mode .mobile-carousel-card {
    position: absolute;
    top: 18px;
    left: 50%;
    width: clamp(240px, 27vw, 360px);
    flex: none;
    opacity: 0;
    scroll-snap-align: none;
    cursor: pointer;
    transform-origin: center center;
    transition: transform .45s cubic-bezier(.22,.8,.24,1), opacity .35s ease, filter .35s ease;
    animation: none !important;
    will-change: transform, opacity;
}

.mobile-carousel-viewport.card-stack-mode .mobile-carousel-card.is-active {
    filter: saturate(1.08) brightness(1.03);
}

.mobile-carousel-viewport.card-stack-mode .mobile-carousel-card.is-active .mobile-screenshot {
    box-shadow: 0 34px 76px rgba(0,0,0,.60), 0 0 0 8px rgba(56,189,248,.12), 0 0 42px rgba(56,189,248,.16);
}

.mobile-carousel-viewport.card-stack-mode .mobile-screenshot {
    margin-bottom: 0;
}

.mobile-carousel-viewport.card-stack-mode .mobile-carousel-index {
    top: -20px;
    left: 5px;
}

@media (max-width: 768px) {
    .mobile-carousel-viewport.card-stack-mode {
        height: 580px;
    }

    .mobile-carousel-viewport.card-stack-mode .mobile-carousel-card {
        width: min(74vw, 310px);
        top: 14px;
    }

    .mobile-carousel-controls {
        max-width: 330px;
        margin-top: -2px;
    }
}

@media (max-width: 480px) {
    .mobile-carousel-viewport.card-stack-mode {
        height: 560px;
    }

    .mobile-carousel-viewport.card-stack-mode .mobile-carousel-card {
        width: min(78vw, 300px);
    }
}
