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

        :root {
            --bg: #070b14;
            --bg-elevated: #0d1321;
            --bg-card: #111827;
            --surface: #1a2236;
            --border: rgba(136, 196, 255, 0.08);
            --border-hover: rgba(136, 196, 255, 0.2);
            --text-primary: #e8f0fe;
            --text-secondary: rgba(200, 220, 255, 0.6);
            --text-muted: rgba(200, 220, 255, 0.35);
            --accent: #4f8fff;
            --accent-glow: rgba(79, 143, 255, 0.15);
            --accent-warm: #ff6b4a;
            --accent-green: #34d399;
            --accent-purple: #a78bfa;
            --grain-opacity: 0.03;
            --font-display: 'Syne', sans-serif;
            --font-body: 'DM Sans', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

        html { scroll-behavior: smooth; }

        html { overflow-x: hidden; }
        body {
            font-family: var(--font-body);
            background: var(--bg);
            color: var(--text-primary);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            line-height: 1.6;
        }
        /* Hide root scrollbar UI while keeping page scroll behavior */
        html, body {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        html::-webkit-scrollbar,
        body::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

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

        /* ========== GRAIN OVERLAY ========== */
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 9999;
            opacity: var(--grain-opacity);
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            background-size: 200px;
        }

        /* ========== TYPOGRAPHY ========== */
        h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
        .font-mono { font-family: var(--font-mono); }
        .text-gradient {
            background: linear-gradient(135deg, #4f8fff 0%, #a78bfa 40%, #ff6b4a 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .text-gradient-subtle {
            background: linear-gradient(135deg, #c8dcff 0%, #fff 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* ========== MESH GRADIENTS ========== */
        .mesh-bg {
            position: fixed;
            inset: 0;
            z-index: -2;
            background:
                radial-gradient(ellipse 80% 60% at 10% 20%, rgba(79, 143, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 90% 80%, rgba(167, 139, 250, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 107, 74, 0.04) 0%, transparent 60%),
                var(--bg);
        }

        /* ========== NAVIGATION ========== */
        nav.site-nav {
            position: fixed;
            top: 0.75rem;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 2rem);
            max-width: 1280px;
            z-index: 100;
            padding: 0 1.5rem;
            border-radius: 60px;
            background: rgba(7, 11, 20, 0.35);
            backdrop-filter: blur(24px) saturate(1.4);
            -webkit-backdrop-filter: blur(24px) saturate(1.4);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        nav.site-nav .nav-inner {
            width: 100%;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: none;
            transition: border-color 0.4s;
        }
        nav.site-nav.scrolled {
            background: rgba(7, 11, 20, 0.55);
            backdrop-filter: blur(32px) saturate(1.6);
            -webkit-backdrop-filter: blur(32px) saturate(1.6);
            border-color: rgba(255, 255, 255, 0.12);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }
        nav.site-nav.scrolled .nav-inner { border-color: transparent; }
        .nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-primary);
        }
        .nav-brand img {
            width: 36px;
            height: 36px;
        }
        .nav-brand span {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: -0.01em;
            /* Hidden until enrol button appears */
            max-width: 0;
            overflow: hidden;
            opacity: 0;
            white-space: nowrap;
            transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
        }
        .nav-brand.expanded span {
            max-width: 280px;
            opacity: 1;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 0.2s;
            position: relative;
        }
        .nav-links a:hover { color: var(--text-primary); }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: var(--accent);
            transition: width 0.3s;
        }
        .nav-links a:hover::after { width: 100%; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .nav-login-icon {
            display: none;
            align-items: center;
            gap: 6px;
            padding: 0 1.2rem;
            height: 34px;
            border-radius: 50px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.82rem;
            transition: all 0.3s;
            border: none;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }
        .nav-login-icon:hover {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }
        .nav-login-text {
            font-size: 0.875rem;
            font-weight: 500;
        }
        #nav-start-btn {
            opacity: 0;
            pointer-events: none;
            transform: scale(0.92);
            transition: opacity 0.35s ease, transform 0.35s ease;
        }
        #nav-start-btn.nav-btn-visible {
            opacity: 1;
            pointer-events: auto;
            transform: scale(1);
        }
        #nav-start-btn, #bottom-enroll-btn {
            background: rgba(79, 143, 255, 0.1);
            border: none;
            border-radius: 50px;
            color: #e8f0fe;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
            padding: 0.4rem 1rem;
            font-size: 0.75rem;
        }
        #nav-start-btn:hover, #bottom-enroll-btn:hover {
            background: rgba(79, 143, 255, 0.2);
            border: none;
            box-shadow: 0 6px 32px rgba(79, 143, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transform: translateY(-1px);
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 0.6rem 1.6rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.875rem;
            text-decoration: none;
            border: none;
            background: rgba(79, 143, 255, 0.1);
            color: #e8f0fe;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
            transition: all 0.3s;
            cursor: pointer;
            font-family: var(--font-body);
        }
        .btn-primary:hover {
            background: rgba(79, 143, 255, 0.2);
            box-shadow: 0 6px 32px rgba(79, 143, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transform: translateY(-1px);
        }
        #hero-enroll-btn {
            padding: 0.75rem 2rem;
            font-size: 1rem;
        }
        #hero-enroll-btn:hover {
            background: rgba(79, 143, 255, 0.2);
            box-shadow: 0 6px 32px rgba(79, 143, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transform: translateY(-1px);
        }
        .btn-pro {
            background: rgba(201, 162, 39, 0.12) !important;
            color: #f4d03f !important;
            box-shadow: inset 0 1px 0 rgba(244, 208, 63, 0.15) !important;
        }
        .btn-pro:hover {
            background: rgba(201, 162, 39, 0.22) !important;
            box-shadow: 0 6px 32px rgba(201, 162, 39, 0.3), inset 0 1px 0 rgba(244, 208, 63, 0.2) !important;
        }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.875rem;
            text-decoration: none;
            border: 1px solid var(--border-hover);
            background: transparent;
            color: var(--text-primary);
            transition: all 0.3s;
            cursor: pointer;
            font-family: var(--font-body);
        }
        .btn-ghost:hover {
            border-color: var(--accent);
            background: var(--accent-glow);
            transform: translateY(-1px);
        }

        /* ========== HERO ========== */
        .hero {
            height: 100vh;
            display: flex;
            align-items: stretch;
            padding: 0;
            position: relative;
            overflow: hidden;
        }
        .hero-inner {
            max-width: none;
            width: 100%;
            display: grid;
            grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
            gap: 0;
            align-items: stretch;
        }
        .hero-inner > div:first-child {
            padding: 120px 2.4rem 80px 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
            position: relative; /* needed for absolutely-positioned scroll hint */
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--accent);
            margin-bottom: 1.25rem;
            cursor: default;
            width: fit-content;
        }
        #audience-ticker {
            display: inline;
            white-space: nowrap;
        }
        .hero-badge .pulse-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }
        .hero h1 {
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1rem;
        }
        .hero h1 .line-1 {
            display: inline-block;
            white-space: nowrap;
        }
        .hero h1 .line-2 {
            display: block;
            height: 1.3em;
            overflow: hidden;
            font-style: italic;
        }
        #master-ai-typing {
            display: inline-block;
            white-space: nowrap;
            vertical-align: top;
        }
        .typing-caret {
            width: 2px;
            height: 0.9em;
            background: var(--accent);
            display: inline-block;
            animation: typing-caret-blink 0.9s steps(1, end) infinite;
        }
        @keyframes typing-caret-blink {
            0%, 49% { opacity: 1; }
            50%, 100% { opacity: 0; }
        }
        .hero .subtitle {
            font-size: 0.92rem;
            color: var(--text-secondary);
            max-width: 420px;
            margin-bottom: 1.75rem;
            line-height: 1.65;
        }
        .hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2.25rem; }
        .hero-cta .btn-primary {
            padding: 14px 30px;
            font-size: 1rem;
        }
        .hero-cta .btn-ghost {
            padding: 8px 18px;
            font-size: 0.8rem;
        }
        .hero-satisfaction {
            margin-top: 1.1rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .hero-satisfaction .fa-star { color: #fbbf24; font-size: 0.7rem; }

        /* Hero card-wall visual */
        .hero-visual {
            position: relative;
            perspective: 1400px;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            padding-top: 80px;
        }
        .hero-3d-card.hero-course-wall {
            width: 100%;
            max-width: none;
            height: calc(100vh - 80px);
            min-height: 560px;
            position: relative;
            overflow: hidden;
            padding: 18px 0 18px 0;
        }
        .hero-card-row {
            position: relative;
            height: calc(50% - 9px);
            overflow: hidden;
            z-index: 1;
            /* fade: solid on left, dissolves into the right edge of screen */
            -webkit-mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 100%);
            mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 100%);
        }
        .hero-card-row + .hero-card-row {
            margin-top: 18px;
        }
        .hero-card-track {
            display: flex;
            gap: 14px;
            align-items: stretch;
            width: max-content;
            height: 100%;
        }
        .hero-card-row-top .hero-card-track {
            animation: hero-row-left 32s linear infinite;
        }
        .hero-card-row-bottom .hero-card-track {
            transform: translateX(-50%);
            animation: hero-row-right 35s linear infinite;
        }
        /* card hover speed controlled by JS (preserves scroll position) */
        .hero-course-card {
            margin: 0;
            flex: 0 0 clamp(240px, 28vw, 360px);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            background: #060b16;
            border: 1px solid rgba(136, 196, 255, 0.10);
            box-shadow: 0 12px 32px rgba(0,0,0,0.45);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.4rem 1.5rem 1.6rem;
        }
        .hcc-bg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            display: block;
        }
        .hcc-overlay {
            position: absolute;
            inset: 0;
            background: rgba(4, 8, 22, 0.52);
            z-index: 1;
        }
        .hcc-glow {
            position: absolute;
            bottom: -25%;
            right: -25%;
            width: 72%;
            height: 72%;
            border-radius: 50%;
            filter: blur(52px);
            z-index: 2;
            opacity: 0.92;
            pointer-events: none;
        }
        .hcc-icon {
            position: absolute;
            bottom: 1.4rem;
            right: 1.4rem;
            font-size: clamp(1.8rem, 3.2vw, 2.6rem);
            color: rgba(255,255,255,0.88);
            z-index: 3;
            pointer-events: none;
            filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
        }
        .hcc-stat {
            position: relative;
            z-index: 3;
            font-size: clamp(1.1rem, 2vw, 1.5rem);
            font-weight: 800;
            color: rgba(255,255,255,0.97);
            line-height: 1;
            margin-bottom: 0.28rem;
            text-shadow: 0 1px 12px rgba(0,0,0,0.7);
            letter-spacing: -0.01em;
        }
        .hcc-label {
            position: relative;
            z-index: 3;
            font-size: clamp(0.6rem, 1.1vw, 0.75rem);
            font-weight: 700;
            color: rgba(255,255,255,0.90);
            letter-spacing: 0.03em;
            text-transform: uppercase;
            text-shadow: 0 1px 10px rgba(0,0,0,0.7);
        }
        /* Per-card glow colors */
        .hcc-doctors   .hcc-glow { background: radial-gradient(circle at 40% 40%, #22d3ee, #0ea5e9 55%, transparent 80%); }
        .hcc-lawyers   .hcc-glow { background: radial-gradient(circle at 40% 40%, #c084fc, #7c3aed 55%, transparent 80%); }
        .hcc-engineers .hcc-glow { background: radial-gradient(circle at 40% 40%, #fbbf24, #f97316 55%, transparent 80%); }
        .hcc-students  .hcc-glow { background: radial-gradient(circle at 40% 40%, #34d399, #059669 55%, transparent 80%); }
        .hcc-carpenters .hcc-glow { background: radial-gradient(circle at 40% 40%, #f87171, #dc2626 55%, transparent 80%); }
        .hcc-farmers   .hcc-glow { background: radial-gradient(circle at 40% 40%, #a3e635, #eab308 55%, transparent 80%); }
        .hcc-realtors  .hcc-glow { background: radial-gradient(circle at 40% 40%, #60a5fa, #6366f1 55%, transparent 80%); }
        .hcc-professors .hcc-glow { background: radial-gradient(circle at 40% 40%, #f472b6, #d946ef 55%, transparent 80%); }
        @keyframes hero-row-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        @keyframes hero-row-right {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }
        .hero-cloud-badge {
            position: absolute;
            top: 16px;
            right: 18px;
            z-index: 6;
            padding: 10px 18px;
            border-radius: 999px;
            color: #e8f0fe;
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            white-space: nowrap;
            background: linear-gradient(145deg, rgba(255,255,255,0.24), rgba(79,143,255,0.18));
            border: 1px solid rgba(255,255,255,0.35);
            box-shadow: 0 12px 28px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            animation: hero-cloud-float 4.4s ease-in-out infinite;
            isolation: isolate;
        }
        .hero-cloud-badge span {
            position: relative;
            z-index: 2;
        }
        .hero-cloud-badge::before,
        .hero-cloud-badge::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            background: inherit;
            border: inherit;
            z-index: 1;
        }
        .hero-cloud-badge::before {
            width: 28px;
            height: 28px;
            top: -10px;
            left: 12px;
        }
        .hero-cloud-badge::after {
            width: 24px;
            height: 24px;
            top: -8px;
            right: 14px;
        }
        @keyframes hero-cloud-float {
            0%, 100% { transform: translateY(0) rotate(-1deg); }
            50% { transform: translateY(-6px) rotate(1deg); }
        }

        /* ========== SVG CHARACTERS ACROSS SITE ========== */
        .site-char {
            pointer-events: none;
            z-index: 5;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
        }

        /* --- HERO: floating SVG shapes --- */
        .hero-svg-shapes {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }
        .hero-shape {
            position: absolute;
            will-change: transform, opacity;
        }
        .hero-orbit-ring { top: 6%; right: 5%; animation: heroFloat1 7s ease-in-out infinite; }
        @keyframes heroFloat1 {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-18px) rotate(10deg); }
        }
        .hero-diamond { top: 18%; left: 3%; animation: heroDiamondSpin 12s linear infinite; }
        @keyframes heroDiamondSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .hero-pulse { bottom: 15%; left: 6%; animation: heroFloat3 6s ease-in-out infinite; }
        @keyframes heroFloat3 {
            0%, 100% { transform: translate(0,0) scale(1); }
            33% { transform: translate(10px,-16px) scale(1.1); }
            66% { transform: translate(-8px,-8px) scale(0.95); }
        }
        .hero-sparkle1 { top: 10%; left: 16%; animation: heroSparkle 2.5s ease-in-out infinite; }
        @keyframes heroSparkle {
            0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
            50% { transform: scale(1.5) rotate(45deg); opacity: 1; }
        }
        .hero-sparkle2 { bottom: 22%; right: 10%; animation: heroSparkle2 3.5s ease-in-out infinite 0.8s; }
        @keyframes heroSparkle2 {
            0%, 100% { transform: scale(0.5) rotate(0deg); opacity: 0.2; }
            50% { transform: scale(1.8) rotate(-30deg); opacity: 1; }
        }
        .hero-hex { bottom: 28%; right: 2%; animation: heroHexFloat 8s ease-in-out infinite; }
        @keyframes heroHexFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.35; }
            25% { transform: translateY(-14px) rotate(20deg); opacity: 0.7; }
            50% { transform: translateY(-24px) rotate(40deg); opacity: 0.4; }
            75% { transform: translateY(-10px) rotate(20deg); opacity: 0.65; }
        }
        .hero-dots { top: 4%; right: 28%; animation: heroDotsFloat 10s ease-in-out infinite; }
        @keyframes heroDotsFloat {
            0%, 100% { transform: translate(0,0) rotate(0deg); }
            25% { transform: translate(14px,10px) rotate(5deg); }
            50% { transform: translate(-8px,18px) rotate(-3deg); }
            75% { transform: translate(10px,6px) rotate(3deg); }
        }
        @media (max-width: 768px) {
            .hero-svg-shapes { opacity: 0.5; }
            .hero-orbit-ring { width: 70px; height: 70px; top: 3%; right: 1%; }
            .hero-diamond { width: 24px; height: 24px; }
            .hero-pulse { width: 36px; height: 36px; }
            .hero-hex, .hero-dots { display: none; }
        }

        /* ============================================
           CHARACTER ANIMATIONS — DUOLINGO ENERGY
           Each character has a STORY, not just a bob.
           ============================================ */

        /* --- HOW IT WORKS --- */
        .how-card { overflow: visible; }

        /* Card 1: Sitting on bottom-right, reading — head nods, leans forward curious */
        .site-char-how1 {
            position: absolute;
            right: 10px;
            bottom: -6px;
            animation: cHow1Read 4s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cHow1Read {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            15% { transform: translateY(-3px) rotate(-6deg); }
            30% { transform: translateY(0) rotate(0deg); }
            45% { transform: translateY(-5px) rotate(-8deg); }
            55% { transform: translateY(-2px) rotate(-4deg); }
            70% { transform: translateY(0) rotate(3deg); }
            85% { transform: translateY(-2px) rotate(0deg); }
        }

        /* Card 2: SPRINTING back and forth, bouncing on each step — carrying something urgently */
        .site-char-how2 {
            position: absolute;
            bottom: -4px;
            animation: cHow2Sprint 3.5s cubic-bezier(0.4,0,0.2,1) infinite;
        }
        @keyframes cHow2Sprint {
            0%   { left: 4px; transform: scaleX(1) translateY(0) rotate(0deg); }
            8%   { transform: scaleX(1) translateY(-16px) rotate(-12deg); }
            16%  { transform: scaleX(1) translateY(0) rotate(0deg); }
            24%  { transform: scaleX(1) translateY(-14px) rotate(-10deg); }
            32%  { transform: scaleX(1) translateY(0) rotate(0deg); }
            42%  { left: calc(100% - 34px); transform: scaleX(1) translateY(-8px) rotate(-5deg); }
            48%  { left: calc(100% - 34px); transform: scaleX(-1) translateY(4px) rotate(0deg); }
            56%  { transform: scaleX(-1) translateY(-16px) rotate(12deg); }
            64%  { transform: scaleX(-1) translateY(0) rotate(0deg); }
            72%  { transform: scaleX(-1) translateY(-14px) rotate(10deg); }
            80%  { transform: scaleX(-1) translateY(0) rotate(0deg); }
            92%  { left: 4px; transform: scaleX(-1) translateY(-6px) rotate(5deg); }
            100% { left: 4px; transform: scaleX(1) translateY(0) rotate(0deg); }
        }

        /* Card 3: BIG celebration — squat, LAUNCH, arms up, double bounce */
        .site-char-how3 {
            position: absolute;
            right: 8px;
            bottom: -4px;
            animation: cHow3Celebrate 2.2s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cHow3Celebrate {
            0%, 100% { transform: translateY(0) scaleY(1) scaleX(1) rotate(0deg); }
            12% { transform: translateY(6px) scaleY(0.8) scaleX(1.15) rotate(0deg); }
            28% { transform: translateY(-30px) scaleY(1.1) scaleX(0.95) rotate(-8deg); }
            42% { transform: translateY(-34px) scaleY(1.05) rotate(5deg); }
            55% { transform: translateY(2px) scaleY(0.85) scaleX(1.1) rotate(0deg); }
            68% { transform: translateY(-16px) scaleY(1.05) rotate(-4deg); }
            82% { transform: translateY(0) scaleY(0.95) rotate(2deg); }
        }

        /* --- CURRICULUM: characters OWN these cards --- */
        .curriculum-card { overflow: visible; position: relative; }

        /* Card 1: Peeks over top edge — pulls up, looks around nervously, ducks back */
        .site-char-cur1 {
            position: absolute;
            top: -24px;
            left: 14px;
            animation: cCur1Spy 5s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cCur1Spy {
            0%, 100% { transform: translateY(22px) rotate(0deg); opacity: 0; }
            10% { transform: translateY(22px) rotate(0deg); opacity: 0; }
            20% { transform: translateY(0) rotate(0deg); opacity: 1; }
            28% { transform: translateY(-4px) rotate(-12deg); opacity: 1; }
            36% { transform: translateY(-2px) rotate(10deg); opacity: 1; }
            44% { transform: translateY(-6px) rotate(-8deg); opacity: 1; }
            52% { transform: translateY(0) rotate(0deg); opacity: 1; }
            65% { transform: translateY(0) rotate(0deg); opacity: 1; }
            78% { transform: translateY(4px) rotate(0deg); opacity: 0.8; }
            88% { transform: translateY(22px) rotate(0deg); opacity: 0; }
        }

        /* Card 2: Pushing against right edge — strains, slips back, tries again harder */
        .site-char-cur2 {
            position: absolute;
            right: -10px;
            top: 50%;
            animation: cCur2Strain 4s ease-in-out infinite;
        }
        @keyframes cCur2Strain {
            0%, 100% { transform: translateY(-50%) translateX(-4px) rotate(0deg); }
            15% { transform: translateY(-50%) translateX(8px) rotate(15deg); }
            25% { transform: translateY(-52%) translateX(10px) rotate(18deg) scaleX(0.9); }
            35% { transform: translateY(-48%) translateX(-6px) rotate(-8deg); }
            45% { transform: translateY(-50%) translateX(0) rotate(0deg); }
            55% { transform: translateY(-50%) translateX(12px) rotate(22deg) scaleX(0.85); }
            65% { transform: translateY(-52%) translateX(14px) rotate(25deg) scaleX(0.8); }
            75% { transform: translateY(-46%) translateX(-8px) rotate(-12deg); }
            85% { transform: translateY(-50%) translateX(-2px) rotate(-3deg); }
        }

        /* Card 3: Bouncing at bottom, reaching up to tap items, excited */
        .site-char-cur3 {
            position: absolute;
            bottom: -20px;
            left: 50%;
            animation: cCur3Bounce 3s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cCur3Bounce {
            0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
            12% { transform: translateX(-50%) translateY(6px) scaleY(0.85) rotate(0deg); }
            24% { transform: translateX(-45%) translateY(-22px) rotate(-10deg); }
            36% { transform: translateX(-50%) translateY(-2px) rotate(5deg); }
            48% { transform: translateX(-50%) translateY(4px) scaleY(0.9) rotate(0deg); }
            60% { transform: translateX(-55%) translateY(-18px) rotate(8deg); }
            72% { transform: translateX(-50%) translateY(0) rotate(-3deg); }
            84% { transform: translateX(-50%) translateY(-8px) rotate(4deg); }
        }

        /* Card 4: Chilling on top-right corner, swinging legs, looking around satisfied */
        .site-char-cur4 {
            position: absolute;
            top: -18px;
            right: 6px;
            animation: cCur4Lounge 5s ease-in-out infinite;
        }
        @keyframes cCur4Lounge {
            0%, 100% { transform: rotate(0deg) translateY(0); }
            10% { transform: rotate(-6deg) translateY(-4px); }
            20% { transform: rotate(5deg) translateY(2px); }
            30% { transform: rotate(-3deg) translateY(-2px); }
            40% { transform: rotate(8deg) translateY(3px); }
            50% { transform: rotate(-5deg) translateY(-6px); }
            60% { transform: rotate(4deg) translateY(1px); }
            70% { transform: rotate(-7deg) translateY(-3px); }
            80% { transform: rotate(3deg) translateY(2px); }
            90% { transform: rotate(-2deg) translateY(-1px); }
        }

        /* --- PRICING: storytelling! Standard wants out, Pro is living the dream --- */

        /* --- MISSION: LIFTING the card up from below — dramatic heave-ho --- */
        .site-char-mission-l {
            position: absolute;
            left: 16px;
            bottom: -22px;
            animation: cMissionHeave 4s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cMissionHeave {
            0%, 100% { transform: translateY(0) rotate(0deg) scaleY(1); }
            10% { transform: translateY(4px) rotate(0deg) scaleY(0.9); }
            25% { transform: translateY(-16px) rotate(-12deg) scaleY(1.05); }
            40% { transform: translateY(-8px) rotate(8deg) scaleY(1); }
            55% { transform: translateY(2px) rotate(0deg) scaleY(0.92); }
            70% { transform: translateY(-12px) rotate(-10deg) scaleY(1.03); }
            85% { transform: translateY(-4px) rotate(5deg); }
        }
        .site-char-mission-r {
            position: absolute;
            right: 16px;
            bottom: -22px;
            animation: cMissionHeave 4s ease-in-out infinite 0.6s;
            transform: scaleX(-1);
            transform-origin: bottom center;
        }

        /* --- BUILD SECTION: laptop user sitting by the demo --- */
        .site-char-build {
            position: absolute;
            bottom: -10px;
            left: -30px;
            z-index: 5;
            animation: cBuildWork 4s ease-in-out infinite;
            transform-origin: bottom center;
        }
        @keyframes cBuildWork {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            20% { transform: translateY(-4px) rotate(-5deg); }
            40% { transform: translateY(0) rotate(3deg); }
            55% { transform: translateY(-6px) rotate(-8deg); }
            70% { transform: translateY(-2px) rotate(4deg); }
            85% { transform: translateY(0) rotate(-2deg); }
        }

        /* --- FAQ: peeking from side of accordion --- */
        .site-char-faq {
            position: absolute;
            right: -18px;
            top: -14px;
            z-index: 5;
            animation: cFaqPeek 5s ease-in-out infinite;
        }
        @keyframes cFaqPeek {
            0%, 100% { transform: translateX(20px) rotate(0deg); opacity: 0; }
            12% { transform: translateX(20px) rotate(0deg); opacity: 0; }
            22% { transform: translateX(0) rotate(-10deg); opacity: 1; }
            32% { transform: translateX(-4px) rotate(8deg); opacity: 1; }
            42% { transform: translateX(2px) rotate(-6deg); }
            55% { transform: translateX(0) rotate(4deg); }
            68% { transform: translateX(0) rotate(-3deg); opacity: 1; }
            80% { transform: translateX(8px) rotate(0deg); opacity: 0.7; }
            90% { transform: translateX(20px) rotate(0deg); opacity: 0; }
        }

        /* --- SECTION TRANSITIONS: characters peeking between sections --- */
        .section-peek {
            position: absolute;
            pointer-events: none;
            z-index: 10;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
        }

        /* Peeking up from bottom of a section into next */
        .section-peek-bottom {
            bottom: -16px;
            animation: cPeekUp 4.5s ease-in-out infinite;
        }
        .section-peek-bottom.peek-left { left: 12%; }
        .section-peek-bottom.peek-right { right: 12%; }
        .section-peek-bottom.peek-center { left: 50%; transform: translateX(-50%); }

        @keyframes cPeekUp {
            0%, 100% { transform: translateY(24px) rotate(0deg); opacity: 0; }
            15% { transform: translateY(24px) rotate(0deg); opacity: 0; }
            28% { transform: translateY(0) rotate(0deg); opacity: 1; }
            38% { transform: translateY(-8px) rotate(-10deg); opacity: 1; }
            48% { transform: translateY(-4px) rotate(8deg); }
            58% { transform: translateY(-6px) rotate(-5deg); }
            70% { transform: translateY(0) rotate(3deg); opacity: 1; }
            82% { transform: translateY(6px) rotate(0deg); opacity: 0.7; }
            92% { transform: translateY(24px) rotate(0deg); opacity: 0; }
        }

        /* Sliding in from the left edge */
        .section-peek-left {
            left: -8px;
            animation: cPeekLeft 6s ease-in-out infinite;
        }
        @keyframes cPeekLeft {
            0%, 100% { transform: translateX(-28px) rotate(0deg); opacity: 0; }
            12% { transform: translateX(-28px) rotate(0deg); opacity: 0; }
            24% { transform: translateX(0) rotate(8deg); opacity: 1; }
            36% { transform: translateX(6px) rotate(-5deg); }
            48% { transform: translateX(2px) rotate(10deg); }
            60% { transform: translateX(8px) rotate(-8deg); opacity: 1; }
            72% { transform: translateX(4px) rotate(5deg); opacity: 1; }
            84% { transform: translateX(-6px) rotate(0deg); opacity: 0.6; }
            94% { transform: translateX(-28px) rotate(0deg); opacity: 0; }
        }

        /* --- FOOTER: waving goodbye --- */
        .site-char-footer {
            display: inline-block;
            vertical-align: middle;
            margin-left: 8px;
            animation: cFooterWave 2s ease-in-out infinite;
            filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
        }
        @keyframes cFooterWave {
            0%, 100% { transform: rotate(0deg); }
            15% { transform: rotate(-14deg); }
            30% { transform: rotate(12deg); }
            45% { transform: rotate(-10deg); }
            60% { transform: rotate(8deg); }
            75% { transform: rotate(-6deg); }
        }

        @media (max-width: 860px) {
            .site-char-mission-l, .site-char-mission-r { display: none; }
            .section-peek { display: none; }
            .site-char-build { left: -20px; width: 28px; height: 32px; }
            .site-char-faq { right: -10px; width: 20px; height: 32px; }
        }
        @media (max-width: 480px) {
            .mission-stats-row { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem 1.5rem !important; }
        }

        /* ============================================
           PRICING CARD FLOATING SHAPES
           ============================================ */
        .price-shapes {
            position: absolute;
            inset: -20px;
            pointer-events: none;
            z-index: 1;
            overflow: visible;
        }
        .ps {
            position: absolute;
            will-change: transform, opacity;
        }

        /* --- Standard card shapes (blue accents) --- */
        .price-shapes-std .ps-ring { top: -14px; right: 10px; animation: psOrbit 8s linear infinite; }
        .price-shapes-std .ps-dot1 { top: 18%; left: -10px; animation: psBounce 3s ease-in-out infinite; }
        .price-shapes-std .ps-dot2 { bottom: 30%; right: -8px; animation: psBounce 3.5s ease-in-out infinite 0.5s; }
        .price-shapes-std .ps-cross { top: 40%; left: -16px; animation: psSpin 12s linear infinite; }
        .price-shapes-std .ps-tri { bottom: 15%; left: 10px; animation: psFloat 6s ease-in-out infinite; }
        .price-shapes-std .ps-spark { top: 8%; left: 30%; animation: psPulse 2.5s ease-in-out infinite; }

        /* --- Pro card shapes (gold accents, more of them) --- */
        .price-shapes-pro .ps-crown { top: -16px; left: 50%; transform: translateX(-50%); animation: psCrownBob 3s ease-in-out infinite; }
        .price-shapes-pro .ps-diamond { top: 12%; right: -12px; animation: psSpin 10s linear infinite; }
        .price-shapes-pro .ps-star { bottom: 22%; left: -14px; animation: psFloat 5s ease-in-out infinite 0.3s; }
        .price-shapes-pro .ps-dot1 { top: 35%; left: -8px; animation: psBounce 2.8s ease-in-out infinite; }
        .price-shapes-pro .ps-dot2 { bottom: 40%; right: -6px; animation: psBounce 3.2s ease-in-out infinite 0.8s; }
        .price-shapes-pro .ps-spark { top: 5%; right: 20%; animation: psPulse 2s ease-in-out infinite 0.4s; }
        .price-shapes-pro .ps-hex { bottom: 8%; right: -10px; animation: psSpin 15s linear infinite reverse; }
        .price-shapes-pro .ps-ring2 { top: 50%; left: -18px; animation: psOrbit 10s linear infinite reverse; }

        @keyframes psOrbit {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @keyframes psBounce {
            0%, 100% { transform: translateY(0); opacity: 0.4; }
            50% { transform: translateY(-10px); opacity: 0.8; }
        }
        @keyframes psSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @keyframes psFloat {
            0%, 100% { transform: translateY(0) translateX(0); }
            25% { transform: translateY(-8px) translateX(4px); }
            50% { transform: translateY(-14px) translateX(-2px); }
            75% { transform: translateY(-6px) translateX(3px); }
        }
        @keyframes psPulse {
            0%, 100% { transform: scale(0.5); opacity: 0.15; }
            50% { transform: scale(1.6); opacity: 0.7; }
        }
        @keyframes psCrownBob {
            0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
            25% { transform: translateX(-50%) translateY(-6px) rotate(-5deg); }
            50% { transform: translateX(-50%) translateY(-2px) rotate(3deg); }
            75% { transform: translateX(-50%) translateY(-8px) rotate(-3deg); }
        }

        @media (max-width: 768px) {
            .price-shapes { inset: -12px; }
            .ps { transform: scale(0.8); }
        }

        /* ============================================
           FLOATING ACCENT SHAPES (sections)
           ============================================ */
        .float-accents {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        .fa-shape {
            position: absolute;
            will-change: transform;
        }
        /* How It Works accents */
        .fa-s1 { top: 8%; right: 6%; animation: faFloat1 9s ease-in-out infinite; }
        .fa-s2 { bottom: 15%; left: 4%; animation: faFloat2 7s ease-in-out infinite 1s; }
        .fa-s3 { top: 20%; left: 10%; animation: faPulse 4s ease-in-out infinite; }
        /* 3D World accents */
        .fa-s4 { top: 5%; right: 8%; animation: faFloat1 11s ease-in-out infinite; }
        .fa-s5 { bottom: 10%; left: 5%; animation: faFloat2 8s ease-in-out infinite 0.5s; }
        .fa-s6 { top: 30%; right: 3%; animation: faPulse 3.5s ease-in-out infinite 0.8s; }

        @keyframes faFloat1 {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(8px, -12px) rotate(15deg); }
            50% { transform: translate(-4px, -20px) rotate(30deg); }
            75% { transform: translate(6px, -8px) rotate(15deg); }
        }
        @keyframes faFloat2 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(6px, -10px) scale(1.3); }
            66% { transform: translate(-4px, -6px) scale(0.9); }
        }
        @keyframes faPulse {
            0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.15; }
            50% { transform: scale(1.4) rotate(25deg); opacity: 0.5; }
        }
        @media (max-width: 768px) {
            .float-accents { opacity: 0.5; }
        }

        /* ========== MOVEMENT VIGNETTES ========== */
        .movement-section { overflow: hidden; }

        /* Stage container */
        .mv-stage {
            position: relative;
            max-width: 900px;
            height: 440px;
            margin: 0 auto 1rem;
            border-radius: 16px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            overflow: hidden;
        }

        /* Each vignette fills the stage */
        .mv-vig {
            position: absolute;
            inset: 0;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.6s ease;
        }
        .mv-vig-active {
            opacity: 1;
            pointer-events: auto;
        }

        /* Background glow per scene */
        .mv-vig-glow {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

        /* Central icon */
        .mv-vig-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3.5rem;
            color: var(--accent);
            opacity: 0.08;
            pointer-events: none;
        }

        /* People (SVG chars) */
        .mv-person {
            position: absolute;
            filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
            animation: mvPersonBob 3s ease-in-out infinite;
            z-index: 2;
        }
        .mv-person-flip { transform: scaleX(-1); }
        @keyframes mvPersonBob {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
        .mv-person-flip { animation-name: mvPersonBobFlip; }
        @keyframes mvPersonBobFlip {
            0%, 100% { transform: scaleX(-1) translateY(0); }
            50% { transform: scaleX(-1) translateY(-5px); }
        }

        /* Teaching pose — bigger bounce */
        .mv-person-teach {
            animation: mvTeachBounce 3s ease-in-out infinite;
            z-index: 3;
        }
        @keyframes mvTeachBounce {
            0%, 100% { transform: translateY(0) scale(1); }
            30% { transform: translateY(-8px) scale(1.02); }
            60% { transform: translateY(-3px) scale(0.98); }
        }

        /* Climbing character */
        .mv-person-climb {
            animation: mvClimb 3s ease-in-out infinite;
        }
        @keyframes mvClimb {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-12px); }
        }

        /* Radiating outward pulse */
        .mv-person-radiate {
            animation: mvRadiate 3s ease-in-out infinite;
            animation-delay: var(--d, 0s);
        }
        @keyframes mvRadiate {
            0%, 100% { transform: scale(0.8); opacity: 0.4; }
            50% { transform: scale(1.1); opacity: 1; }
        }

        /* Slide toward center */
        .mv-person-slide-r { animation: mvSlideR 3s ease-in-out infinite; }
        @keyframes mvSlideR {
            0%, 100% { transform: translateX(0) translateY(0); }
            50% { transform: translateX(25px) translateY(-4px); }
        }
        .mv-person-slide-l { animation: mvSlideL 3s ease-in-out infinite; }
        @keyframes mvSlideL {
            0%, 100% { transform: translateX(0) translateY(0); }
            50% { transform: translateX(-25px) translateY(-4px); }
        }

        /* ---- Scene props ---- */

        /* Table */
        .mv-table {
            position: absolute;
            transform: translateX(-50%);
            background: linear-gradient(180deg, #374151, #2d3748);
            border-radius: 6px;
            border: 1px solid rgba(79,143,255,0.1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        /* Laptop on table */
        .mv-laptop {
            position: absolute;
            width: 20px; height: 14px;
            background: #0f172a;
            border: 1px solid rgba(79,143,255,0.3);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(79,143,255,0.15);
        }
        .mv-laptop::after {
            content: '';
            position: absolute;
            inset: 2px;
            background: rgba(79,143,255,0.2);
            border-radius: 1px;
            animation: mvScreenPulse 2s ease-in-out infinite;
        }
        @keyframes mvScreenPulse {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }

        /* Floating labels */
        .mv-float-label {
            position: absolute;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--text-muted);
            background: rgba(17,24,39,0.7);
            padding: 2px 8px;
            border-radius: 10px;
            border: 1px solid var(--border);
            animation: mvLabelFloat 3s ease-in-out infinite;
        }
        @keyframes mvLabelFloat {
            0%, 100% { transform: translateY(0); opacity: 0.5; }
            50% { transform: translateY(-4px); opacity: 0.9; }
        }

        /* Whiteboard */
        .mv-whiteboard {
            position: absolute;
            width: 160px; height: 60px;
            transform: translateX(-50%);
            background: #e8ecf0;
            border: 2px solid #475569;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .mv-whiteboard::after {
            content: '< / >';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: #475569;
            letter-spacing: 2px;
        }

        /* Small desk */
        .mv-desk-small {
            position: absolute;
            width: 50px; height: 16px;
            background: #2d3748;
            border-radius: 3px;
            border: 1px solid rgba(79,143,255,0.08);
        }

        /* Hearts floating up */
        .mv-heart-float {
            position: absolute;
            bottom: 10%;
            width: 12px; height: 12px;
            animation: mvHeartRise 3s ease-out infinite;
        }
        .mv-heart-float::before {
            content: '\f004';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 12px;
            color: #c9a227;
        }
        @keyframes mvHeartRise {
            0% { transform: translateY(0) scale(0.5); opacity: 0; }
            20% { opacity: 1; transform: translateY(-20px) scale(1); }
            100% { transform: translateY(-120px) scale(0.6); opacity: 0; }
        }

        /* Stairs */
        .mv-stair {
            position: absolute;
            background: linear-gradient(180deg, #374151, #2d3748);
            border-radius: 2px;
            border: 1px solid rgba(79,143,255,0.1);
        }

        /* Rocket */
        .mv-rocket {
            position: absolute;
            width: 20px; height: 40px;
            animation: mvRocketLaunch 3s ease-in-out infinite;
        }
        .mv-rocket::before {
            content: '\f135';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 28px;
            color: var(--accent);
        }
        @keyframes mvRocketLaunch {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        .mv-rocket-trail {
            position: absolute;
            width: 4px; height: 60px;
            background: linear-gradient(to bottom, rgba(79,143,255,0.4), transparent);
            border-radius: 2px;
            animation: mvTrailPulse 1s ease-in-out infinite;
        }
        @keyframes mvTrailPulse {
            0%, 100% { opacity: 0.3; height: 40px; }
            50% { opacity: 0.7; height: 60px; }
        }

        /* Central hub (empower) */
        .mv-hub {
            position: absolute;
            left: 50%; top: 50%;
            transform: translate(-50%, -50%);
            width: 60px; height: 60px;
            border-radius: 50%;
            border: 2px solid rgba(201,162,39,0.4);
            background: radial-gradient(circle, rgba(201,162,39,0.15), transparent);
            animation: mvHubPulse 3s ease-in-out infinite;
        }
        @keyframes mvHubPulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,0.2); }
            50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 30px 10px rgba(201,162,39,0.1); }
        }
        .mv-hub-label {
            position: absolute;
            left: 50%; top: 50%;
            transform: translate(-50%, -50%);
            font-family: var(--font-display);
            font-size: 1.2rem;
            font-weight: 800;
            color: #c9a227;
            z-index: 3;
        }

        /* Door (connect) */
        .mv-door {
            position: absolute;
            width: 28px; height: 44px;
            background: linear-gradient(180deg, #374151, #2d3748);
            border: 2px solid rgba(201,162,39,0.3);
            border-radius: 4px 4px 0 0;
            animation: mvDoorOpen 3s ease-in-out infinite;
            transform-origin: left center;
        }
        .mv-door::after {
            content: '';
            position: absolute;
            right: 4px; top: 50%;
            width: 4px; height: 4px;
            border-radius: 50%;
            background: #c9a227;
        }
        @keyframes mvDoorOpen {
            0%, 100% { transform: perspective(200px) rotateY(0deg); }
            50% { transform: perspective(200px) rotateY(-40deg); }
        }

        /* Connection SVG */
        .mv-conn-svg {
            position: absolute;
            inset: 0;
            width: 100%; height: 100%;
            pointer-events: none;
        }

        /* Globe */
        .mv-globe {
            position: absolute;
            left: 50%; top: 40%;
            transform: translate(-50%, -50%);
            width: 70px; height: 70px;
            border-radius: 50%;
            border: 2px solid rgba(201,162,39,0.3);
            background: radial-gradient(circle at 35% 35%, rgba(79,143,255,0.2), rgba(201,162,39,0.1));
            animation: mvGlobeSpin 8s linear infinite;
            overflow: hidden;
        }
        .mv-globe::before {
            content: '';
            position: absolute;
            top: 10%; left: 20%;
            width: 25px; height: 20px;
            border-radius: 40%;
            background: rgba(52,211,153,0.25);
        }
        .mv-globe::after {
            content: '';
            position: absolute;
            bottom: 15%; right: 15%;
            width: 18px; height: 15px;
            border-radius: 40%;
            background: rgba(52,211,153,0.2);
        }
        @keyframes mvGlobeSpin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* Split labels */
        .mv-split-label {
            position: absolute;
            top: 78%;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: #c9a227;
            white-space: nowrap;
        }
        .mv-split-l { left: 12%; }
        .mv-split-r { right: 12%; }

        /* Coins falling */
        .mv-coin {
            position: absolute;
            top: 25%;
            width: 10px; height: 10px;
            background: #c9a227;
            border-radius: 50%;
            border: 1px solid rgba(201,162,39,0.6);
            animation: mvCoinFall 3s ease-in infinite;
        }
        @keyframes mvCoinFall {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(100px) rotate(360deg); opacity: 0; }
        }

        /* Big monitor (websites) */
        .mv-big-monitor {
            position: absolute;
            left: 50%; top: 25%;
            transform: translateX(-50%);
            width: 120px; height: 75px;
            background: #0f172a;
            border: 2px solid rgba(79,143,255,0.25);
            border-radius: 6px;
            box-shadow: 0 0 20px rgba(79,143,255,0.1);
        }
        .mv-big-monitor::after {
            content: '';
            position: absolute;
            bottom: -12px; left: 50%;
            transform: translateX(-50%);
            width: 30px; height: 10px;
            background: #1e293b;
            border-radius: 0 0 4px 4px;
        }

        /* Code lines inside monitor */
        .mv-code-lines {
            position: absolute;
            left: 50%; top: 30%;
            transform: translateX(-50%);
            width: 100px;
            z-index: 3;
        }
        .mv-code-lines span {
            display: block;
            height: 3px;
            margin-bottom: 5px;
            border-radius: 2px;
            animation: mvCodeType 3s ease-in-out infinite;
        }
        @keyframes mvCodeType {
            0% { width: 0; opacity: 0; }
            30% { opacity: 1; }
            100% { opacity: 0.6; }
        }

        /* Arrow */
        .mv-arrow-r {
            position: absolute;
            width: 30px; height: 2px;
            background: var(--accent);
            animation: mvArrowPulse 3s ease-in-out infinite;
        }
        .mv-arrow-r::after {
            content: '';
            position: absolute;
            right: -6px; top: -4px;
            border: 5px solid transparent;
            border-left: 6px solid var(--accent);
        }
        @keyframes mvArrowPulse {
            0%, 100% { opacity: 0.3; transform: translateX(0); }
            50% { opacity: 1; transform: translateX(8px); }
        }

        /* Pass items (funding chain) */
        .mv-pass-item {
            position: absolute;
            animation: mvPassBounce 3s ease-in-out infinite;
            animation-delay: var(--d, 0s);
            z-index: 3;
        }
        @keyframes mvPassBounce {
            0%, 100% { transform: translateY(0) translateX(0); }
            25% { transform: translateY(-15px) translateX(10px); }
            50% { transform: translateY(0) translateX(20px); }
            75% { transform: translateY(-10px) translateX(10px); }
        }

        /* Growing plant */
        .mv-plant-grow {
            position: absolute;
            width: 16px; height: 30px;
            animation: mvPlantGrow 3s ease-in-out infinite;
        }
        .mv-plant-grow::before {
            content: '\f4d8';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 20px;
            color: #34d399;
        }
        @keyframes mvPlantGrow {
            0%, 100% { transform: scale(0.6); opacity: 0.4; }
            50% { transform: scale(1.2); opacity: 1; }
        }

        /* ---- Pills ---- */
        /* Progress track — dots on a rope */
        .mv-progress {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
        }
        .mv-progress-label {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.15rem;
            letter-spacing: 0.03em;
            transition: opacity 0.3s ease;
            min-height: 1.4em;
        }
        .mv-progress-track {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 32px;
            padding: 0 8px;
        }
        /* Background line (the rope) */
        .mv-progress-line {
            position: absolute;
            left: 8px;
            right: 8px;
            top: 50%;
            height: 2px;
            background: var(--border);
            transform: translateY(-50%);
            border-radius: 2px;
        }
        /* Fill line (progress so far) */
        .mv-progress-fill {
            position: absolute;
            left: 8px;
            top: 50%;
            height: 3px;
            background: linear-gradient(90deg, #4f8fff, #c9a227);
            transform: translateY(-50%);
            border-radius: 3px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            width: 0%;
        }
        /* Each dot */
        .mv-dot {
            position: relative;
            z-index: 2;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--bg-card);
            border: 2px solid var(--border);
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
        }
        .mv-dot:hover {
            border-color: var(--accent);
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(79,143,255,0.3);
        }
        /* Active dot — big, glowing, filled */
        .mv-dot-active {
            width: 18px;
            height: 18px;
            background: var(--accent);
            border-color: var(--accent);
            box-shadow: 0 0 14px rgba(79,143,255,0.4), 0 0 28px rgba(79,143,255,0.15);
            transform: scale(1);
        }
        .mv-dot-active:hover {
            transform: scale(1.15);
        }
        /* Visited dots (before active) — filled but smaller */
        .mv-dot-visited {
            background: var(--accent);
            border-color: var(--accent);
            opacity: 0.6;
        }

        @media (max-width: 600px) {
            .mv-progress-label { font-size: 0.95rem; }
            .mv-dot { width: 12px; height: 12px; }
            .mv-dot-active { width: 16px; height: 16px; }
        }

        /* Caption */
        .mv-caption {
            text-align: center;
            font-size: 0.82rem;
            color: var(--text-muted);
            min-height: 1.4em;
            margin: 0.25rem auto 1rem;
            max-width: 480px;
            transition: opacity 0.12s;
            line-height: 1.5;
        }

        @media (max-width: 600px) {
            .mv-stage { height: 320px; }
            .mv-progress-label { font-size: 0.9rem; }
            .mv-big-monitor { width: 90px; height: 56px; }
            .mv-code-lines { width: 70px; }
            .mv-whiteboard { width: 120px; height: 45px; }
        }

        /* Three.js World */
        .threejs-world-section {
            overflow: hidden; padding: 2rem 0; background: #fff; position: relative;
            --text-primary: #111;
            --text-secondary: #444;
            --text-muted: #777;
            color: #111;
        }
        .paint-draw-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }
        .threejs-world-section .section-inner,
        .threejs-world-section .threejs-canvas-wrap,
        .threejs-world-section .float-accents { position: relative; z-index: 1; pointer-events: none; }
        .threejs-world-section .section-inner a,
        .threejs-world-section .threejs-canvas-wrap canvas { pointer-events: auto; }

        /* Paint drawing tools */
        .paint-tools {
            position: absolute;
            top: 12px;
            right: 16px;
            z-index: 5;
            display: flex;
            gap: 6px;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 5px 8px;
            border-radius: 50px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.2);
        }
        .paint-tool-btn {
            width: 30px;
            height: 30px;
            border: none;
            border-radius: 50%;
            background: transparent;
            color: rgba(255,255,255,0.6);
            font-size: 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .paint-tool-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
        .paint-tool-btn.paint-tool-active {
            background: rgba(79,143,255,0.3);
            color: #fff;
        }
        .threejs-canvas-wrap {
            max-width: 800px;
            margin: 0 auto;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.1);
            background: #f8f8f8;
        }
        .threejs-canvas-wrap canvas {
            display: block;
            width: 100%;
            cursor: grab;
        }
        .threejs-canvas-wrap canvas:active { cursor: grabbing; }

        /* Orbit showcase */
        .orbit-showcase-section {
            padding-top: 2rem;
            padding-bottom: 3rem;
            overflow: hidden;
        }
        .orbit-showcase-section .section-inner {
            max-width: none;
            padding: 0;
        }
        .orbit-stage {
            position: relative;
            min-height: 480px;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1600px;
        }
        .orbit-device {
            --orbit-scale: 0.08;
            --orbit-lift: 120px;
            --orbit-tilt: 22deg;
            width: 100vw;
            aspect-ratio: 4 / 3;
            position: relative;
            border-radius: 42px;
            padding: 14px;
            background: linear-gradient(160deg, #0f172a 0%, #111827 100%);
            border: 1px solid rgba(200, 220, 255, 0.28);
            box-shadow: 0 34px 90px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.08);
            transform-origin: center center;
            transform: translateY(var(--orbit-lift)) scale(var(--orbit-scale)) rotateX(var(--orbit-tilt));
            will-change: transform;
            overflow: visible;
        }
        .orbit-device::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            border-radius: 42px;
            background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 24%, transparent 72%, rgba(0,0,0,0.22));
            z-index: 5;
        }
        .orbit-device-camera {
            position: absolute;
            top: 7px;
            left: 50%;
            transform: translateX(-50%);
            width: 62px;
            height: 8px;
            border-radius: 999px;
            background: rgba(7, 11, 20, 0.86);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
            z-index: 6;
        }
        .orbit-device-screen {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 30px;
            border: 1px solid rgba(136, 196, 255, 0.22);
            overflow: hidden;
            background: #040712;
        }
        .orbit-device-screen img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transform: scale(1.02);
            filter: saturate(1.05) contrast(1.04);
        }
        .orbit-device-screen video {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            border-radius: inherit;
        }
        .orbit-device-screen::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 82% 20%, rgba(79, 143, 255, 0.18), transparent 38%), linear-gradient(0deg, rgba(6, 11, 24, 0.36), transparent 36%);
        }
        .orbit-ring {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: 2;
        }
        .orbit-ring-1 {
            width: 112%;
            height: 112%;
            top: -6%;
            left: -6%;
            border: 1px solid rgba(79, 143, 255, 0.26);
            animation: orbit-spin-1 16s linear infinite;
        }
        .orbit-ring-2 {
            width: 126%;
            height: 126%;
            top: -13%;
            left: -13%;
            border: 1px dashed rgba(167, 139, 250, 0.25);
            animation: orbit-spin-2 20s linear infinite;
        }
        .orbit-chip {
            position: absolute;
            width: 62px;
            height: 62px;
            border-radius: 18px;
            border: 1px solid rgba(136, 196, 255, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: #e8f0fe;
            background: linear-gradient(145deg, rgba(79, 143, 255, 0.26), rgba(17, 24, 39, 0.8));
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 12px 26px rgba(0,0,0,0.28);
            z-index: 4;
        }
        .orbit-chip-1 {
            top: 6%;
            right: 4%;
            color: #34d399;
            animation: orbit-chip-float-1 5.2s ease-in-out infinite;
        }
        .orbit-chip-2 {
            bottom: 8%;
            left: 4%;
            color: #ff6b4a;
            animation: orbit-chip-float-2 4.8s ease-in-out infinite;
        }
        .orbit-chip-3 {
            top: 6%;
            left: 4%;
            color: #a78bfa;
            animation: orbit-chip-float-3 5.4s ease-in-out infinite;
        }
        @keyframes orbit-spin-1 {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes orbit-spin-2 {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(-360deg); }
        }
        @keyframes orbit-chip-float-1 {
            0%, 100% { transform: translate(0, 0) rotate(-5deg); }
            50% { transform: translate(-8px, -10px) rotate(4deg); }
        }
        @keyframes orbit-chip-float-2 {
            0%, 100% { transform: translate(0, 0) rotate(4deg); }
            50% { transform: translate(10px, -8px) rotate(-4deg); }
        }
        @keyframes orbit-chip-float-3 {
            0%, 100% { transform: translate(0, 0) rotate(-3deg); }
            50% { transform: translate(-10px, 10px) rotate(4deg); }
        }
        .orbit-chip-4 {
            bottom: 8%;
            right: 4%;
            color: #60a5fa;
            animation: orbit-chip-float-4 5.0s ease-in-out infinite;
        }
        @keyframes orbit-chip-float-4 {
            0%, 100% { transform: translate(0, 0) rotate(5deg); }
            50% { transform: translate(8px, -10px) rotate(-4deg); }
        }

        /* ========== ORBIT HANDS — finger bars ========== */
        .orbit-hand {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .orbit-hand-left {
            right: var(--hand-l, 50%);
            align-items: flex-start;
            animation: hand-breathe 3s ease-in-out infinite;
        }
        .orbit-hand-right {
            left: var(--hand-r, 50%);
            align-items: flex-end;
            animation: hand-breathe 3s ease-in-out infinite 0.4s;
        }
        .orbit-hand span {
            display: block;
            height: 20px;
            border: 1px solid rgba(79, 143, 255, 0.55);
            box-shadow: 0 0 16px rgba(79, 143, 255, 0.65), 0 0 4px rgba(79, 143, 255, 0.4);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .orbit-hand-left span {
            border-radius: 0 10px 10px 0;
            background: linear-gradient(to right, rgba(79, 143, 255, 0.45), rgba(79, 143, 255, 0.08));
        }
        .orbit-hand-right span {
            border-radius: 10px 0 0 10px;
            background: linear-gradient(to left, rgba(79, 143, 255, 0.45), rgba(79, 143, 255, 0.08));
        }
        .orbit-hand span:nth-child(1) { width: 48px; }
        .orbit-hand span:nth-child(2) { width: 58px; }
        .orbit-hand span:nth-child(3) { width: 62px; }
        .orbit-hand span:nth-child(4) { width: 52px; }
        @keyframes hand-breathe {
            0%, 100% { opacity: 0.85; filter: brightness(1); }
            50%       { opacity: 0.55; filter: brightness(1.3); }
        }

        /* ========== SCROLL REVEAL ========== */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ========== MARQUEE STRIP ========== */
        .marquee-strip {
            overflow: hidden;
            padding: 20px 0;
            margin-top: 3rem;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            background: var(--bg-elevated);
        }
        .marquee-track {
            display: flex;
            gap: 3rem;
            animation: marquee-scroll 30s linear infinite;
            width: max-content;
        }
        .marquee-track span {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .marquee-track span::after {
            content: '◆';
            font-size: 0.5rem;
            color: var(--accent);
        }
        @keyframes marquee-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* ========== SECTIONS ========== */
        section { padding: 100px 2rem; position: relative; }
        .section-inner { max-width: 1280px; margin: 0 auto; }
        .section-label {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--accent);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .section-label::before {
            content: '';
            width: 24px;
            height: 1px;
            background: var(--accent);
        }
        .section-title {
            font-size: clamp(2rem, 4vw, 3.5rem);
            margin-bottom: 1rem;
        }
        .section-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ========== HOW IT WORKS — DIAGONAL CARDS ========== */
        .how-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 4rem;
            perspective: 1200px;
        }
        .how-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2.5rem 2rem;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            will-change: transform, box-shadow, border-color;
            transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
            animation: how-card-breathe 8.4s ease-in-out infinite;
        }
        .how-card:hover {
            animation-play-state: paused;
            border-color: rgba(136, 196, 255, 0.28);
            transform: translateY(-10px) rotateX(2deg) rotateY(-1.6deg);
            box-shadow: 0 24px 68px rgba(0,0,0,0.34);
        }
        .how-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            border-radius: 20px 20px 0 0;
            background-size: 180% 100%;
            animation: how-card-line-shift 8s linear infinite;
        }
        .how-card::after {
            content: '';
            position: absolute;
            left: -28%;
            right: -28%;
            bottom: -44%;
            height: 74%;
            pointer-events: none;
            border-radius: 50%;
            opacity: 0.34;
            filter: blur(16px);
            transform: translateY(0) scale(0.96);
            animation: how-card-glow 9s ease-in-out infinite;
        }
        .how-card:nth-child(1)::before { background-image: linear-gradient(90deg, #4f8fff, #22d3ee, #4f8fff); }
        .how-card:nth-child(2)::before { background-image: linear-gradient(90deg, #a78bfa, #f472b6, #a78bfa); }
        .how-card:nth-child(3)::before { background-image: linear-gradient(90deg, #ff6b4a, #fbbf24, #ff6b4a); }
        .how-card:nth-child(1)::after { background: radial-gradient(circle, rgba(79, 143, 255, 0.24) 0%, transparent 68%); }
        .how-card:nth-child(2)::after { background: radial-gradient(circle, rgba(167, 139, 250, 0.24) 0%, transparent 68%); }
        .how-card:nth-child(3)::after { background: radial-gradient(circle, rgba(255, 107, 74, 0.24) 0%, transparent 68%); }
        .how-card:nth-child(1) { animation-delay: -0.6s; }
        .how-card:nth-child(2) {
            animation-duration: 9.2s;
            animation-delay: -2.7s;
        }
        .how-card:nth-child(3) {
            animation-duration: 8.8s;
            animation-delay: -4.6s;
        }
        .how-card .step-num {
            font-family: var(--font-display);
            font-size: 4rem;
            font-weight: 800;
            line-height: 1;
            margin-bottom: 1.5rem;
        }
        .how-card:nth-child(1) .step-num { color: rgba(79, 143, 255, 0.15); }
        .how-card:nth-child(2) .step-num { color: rgba(167, 139, 250, 0.15); }
        .how-card:nth-child(3) .step-num { color: rgba(255, 107, 74, 0.15); }
        .how-card h3 {
            font-size: 1.4rem;
            margin-bottom: 0.75rem;
        }
        .how-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        /* Sequential reveal for how-it-works */
        .how-seq-header,
        .how-seq-body {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .how-seq-header.how-visible,
        .how-seq-body.how-visible {
            opacity: 1;
            transform: none;
        }
        @keyframes how-card-line-shift {
            0% { background-position: 0% 50%; }
            100% { background-position: 180% 50%; }
        }
        @keyframes how-card-breathe {
            0%, 100% {
                box-shadow: 0 10px 26px rgba(0,0,0,0.12);
                border-color: var(--border);
            }
            50% {
                box-shadow: 0 18px 42px rgba(0,0,0,0.24);
                border-color: rgba(136, 196, 255, 0.18);
            }
        }
        @keyframes how-card-glow {
            0%, 100% {
                opacity: 0.24;
                transform: translateY(0) scale(0.95);
            }
            50% {
                opacity: 0.42;
                transform: translateY(-8px) scale(1.04);
            }
        }

        /* ========== DEMO SECTION ========== */
        .demo-section { background: #060a14; }
        .demo-section .section-inner { position: relative; z-index: 1; }
        .demo-lava {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.7;
            z-index: 0;
        }
        .demo-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
        }

        /* Shared demo layout */
        .demo-layout {
            display: grid;
            grid-template-columns: 340px 1fr;
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .demo-sidebar {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            height: 680px;
            overflow: hidden;
        }
        .demo-sidebar-label {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }
        .demo-sidebar-scroll {
            flex: 1;
            overflow-y: auto;
            padding-right: 8px;
        }
        .demo-sidebar-scroll::-webkit-scrollbar { width: 4px; }
        .demo-sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
        .demo-sidebar-scroll::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 2px; }

        /* Theme swatches */
        .theme-row {
            display: flex;
            gap: 8px;
            margin-bottom: 1.25rem;
            padding-bottom: 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        .swatch {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        .swatch:hover { transform: scale(1.2); }
        .swatch.active { border-color: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.2); }

        /* Chip buttons */
        .chip-category-label {
            font-family: var(--font-mono);
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            margin: 12px 0 6px;
        }
        .chip-category-label:first-child { margin-top: 0; }
        .chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 4px; }
        .chip {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 8px;
            font-size: 0.72rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
        }
        .chip:hover {
            background: rgba(255,255,255,0.05);
            border-color: var(--border-hover);
            color: var(--text-primary);
            transform: translateY(-1px);
        }
        .chip:active { transform: scale(0.97); }
        .chip.active {
            background: var(--accent-glow);
            border-color: var(--accent);
            color: #fff;
        }
        .chip i { font-size: 0.7rem; width: 14px; text-align: center; opacity: 0.5; }
        .chip.active i { opacity: 1; }

        /* Preview window */
        .preview-window {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--bg-card);
            display: flex;
            flex-direction: column;
            height: 680px;
        }
        .preview-titlebar {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .traffic-lights { display: flex; gap: 7px; }
        .traffic-lights span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        .tl-red { background: #ff5f57; }
        .tl-yellow { background: #febc2e; }
        .tl-green { background: #28c840; }
        .preview-url {
            flex: 1;
            text-align: center;
        }
        .preview-url span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 16px;
            border-radius: 6px;
            background: rgba(0,0,0,0.3);
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--text-muted);
        }
        .preview-url i { font-size: 0.55rem; }
        .preview-body {
            flex: 1;
            background: #fff;
            position: relative;
            overflow: hidden;
        }
        .preview-scroll {
            position: absolute;
            inset: 0;
            overflow-y: auto;
            scroll-behavior: smooth;
        }
        .preview-scroll::-webkit-scrollbar { width: 6px; }
        .preview-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
        .preview-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
        #site-container {
            min-height: 100%;
            display: flex;
            flex-direction: column;
            color: #374151;
            transition: all 0.3s;
        }
        #overlay-container {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 20;
        }
        #empty-state {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #9ca3af;
            pointer-events: none;
            z-index: 10;
            transition: opacity 0.3s;
        }
        #empty-state.hidden { opacity: 0; pointer-events: none; }
        #empty-state i { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.3; animation: bounce-subtle 2s ease-in-out infinite; }
        @keyframes bounce-subtle {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        #empty-state p { font-family: var(--font-mono); font-size: 0.8rem; }

        .demo-reset-btn {
            width: 100%;
            padding: 8px 16px;
            margin-top: 1rem;
            font-size: 0.7rem;
            font-family: var(--font-mono);
            color: var(--text-muted);
            background: rgba(255,255,255,0.04);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
            transition: all 0.3s;
        }
        .demo-reset-btn:hover {
            background: rgba(255,255,255,0.08);
            color: var(--text-secondary);
        }
        .demo-reset-btn:active { transform: scale(0.97); }

        /* ========== OFFICE DEMO ========== */
        .office-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 1.25rem;
            padding-bottom: 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        .office-tab-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.72rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            background: rgba(255,255,255,0.04);
            color: var(--text-muted);
            transition: all 0.3s;
            font-family: var(--font-body);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }
        .office-tab-btn:hover { color: var(--text-secondary); background: rgba(255,255,255,0.08); }
        .office-tab-btn.active-word { background: rgba(43, 87, 154, 0.3); color: #93c5fd; }
        .office-tab-btn.active-excel { background: rgba(33, 115, 70, 0.3); color: #6ee7b7; }
        .office-tab-btn.active-ppt { background: rgba(183, 71, 42, 0.3); color: #fdba74; }

        .office-chip {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 10px 14px;
            border-radius: 50px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: rgba(255,255,255,0.03);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-align: left;
            font-family: var(--font-body);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }
        .office-chip:hover {
            background: rgba(255,255,255,0.07);
            color: var(--text-primary);
            transform: translateY(-1px);
        }
        .office-chip:active { transform: scale(0.98); }
        .office-chip.active {
            background: rgba(79, 143, 255, 0.15);
            color: #fff;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }
        .office-chip i { opacity: 0.4; width: 16px; text-align: center; font-size: 0.75rem; }
        .office-chip.active i { opacity: 1; }

        .office-actions-group { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
        .office-actions-group.hidden { display: none; }
        .office-demo-panel { display: none; padding: 1.5rem; min-height: 100%; }
        .office-demo-panel.active { display: block; animation: fade-in 0.3s; }
        @keyframes fade-in {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .office-preview {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--bg-card);
            height: 680px;
            display: flex;
            flex-direction: column;
        }
        .office-preview-body {
            flex: 1;
            overflow-y: auto;
            background: var(--bg);
        }
        .office-preview-body::-webkit-scrollbar { width: 4px; }
        .office-preview-body::-webkit-scrollbar-track { background: transparent; }
        .office-preview-body::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 2px; }

        /* ========== CURRICULUM GRID ========== */
        .curriculum-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .curriculum-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .curriculum-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
        }
        .curriculum-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .curriculum-card:nth-child(2)::before { background: linear-gradient(90deg, #a78bfa, #c4b5fd); }
        .curriculum-card:nth-child(3)::before { background: linear-gradient(90deg, #34d399, #6ee7b7); }
        .curriculum-card:nth-child(4)::before { background: linear-gradient(90deg, #fbbf24, #fcd34d); }
        .curriculum-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.2);
        }
        .curriculum-card h4 {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 1rem;
        }
        .curriculum-card:nth-child(1) h4 { color: #60a5fa; }
        .curriculum-card:nth-child(2) h4 { color: #a78bfa; }
        .curriculum-card:nth-child(3) h4 { color: #34d399; }
        .curriculum-card:nth-child(4) h4 { color: #fbbf24; }
        .curriculum-card ul { list-style: none; }
        .curriculum-card li {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            font-size: 0.85rem;
            color: var(--text-secondary);
            transition: color 0.2s;
        }
        .curriculum-card:hover li { color: var(--text-primary); }
        .curriculum-card li i { font-size: 0.75rem; opacity: 0.35; width: 16px; text-align: center; }

        /* Curriculum sequential animation */
        #curriculum-grid .curriculum-card h4 {
            opacity: 0;
            transition: none;
        }
        #curriculum-grid .curriculum-card h4.curr-h4-done {
            opacity: 1;
            transition: none;
        }
        .curr-li {
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.38s ease, transform 0.38s ease;
        }
        .curr-li.curr-visible {
            opacity: 1;
            transform: none;
        }
        .curr-blink.curr-visible {
            animation: currBlink 2s ease-in-out infinite;
        }
        @keyframes currBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        /* ========== HIRE SECTION ========== */
        .hire-section {
            position: relative;
            padding: 6rem 0 5rem;
            overflow: hidden;
            background: #03060f;
        }
        #hire-aurora {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }
        .hire-sky {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }
        .hire-moon {
            position: absolute;
            top: 7%;
            left: -90px;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: radial-gradient(circle at 38% 38%, #fffdf0, #fde68a 55%, #f59e0b);
            box-shadow: 0 0 24px rgba(253,230,138,0.55), 0 0 60px rgba(253,230,138,0.28), 0 0 120px rgba(253,230,138,0.12);
            animation: moon-travel 90s linear infinite;
        }
        @keyframes moon-travel {
            0%   { left: -90px; }
            100% { left: calc(100% + 90px); }
        }
        .hire-star {
            position: absolute;
            border-radius: 50%;
            background: #ffffff;
            animation: star-twinkle var(--tw-dur, 3s) ease-in-out infinite var(--tw-del, 0s);
        }
        @keyframes star-twinkle {
            0%, 100% { opacity: var(--tw-max, 0.7); transform: scale(1); }
            50%       { opacity: 0.08; transform: scale(0.4); }
        }
        .hire-content {
            position: relative;
            z-index: 2;
        }

        /* ========== PORTFOLIO BUTTON ========== */
        .btn-portfolio {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            width: fit-content;
            margin: 0 auto;
            padding: 0.75rem 2rem;
            background: rgba(79, 143, 255, 0.1);
            color: #e8f0fe;
            border: none;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
            transition: all 0.3s;
        }
        .btn-portfolio:hover {
            background: rgba(79, 143, 255, 0.2);
            box-shadow: 0 6px 32px rgba(79, 143, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transform: translateY(-1px);
        }

        /* ========== PRICING ========== */
        .pricing-section .section-label,
        .pricing-section .section-title,
        .pricing-section .section-subtitle {
            text-align: left;
        }
        .pricing-section { position: relative; overflow: hidden; }
        .pricing-section::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            top: -200px;
            right: -200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(79, 143, 255, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }
        .pricing-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-top: 4rem;
        }
        .pricing-card {
            background: linear-gradient(145deg, var(--bg-card), var(--surface));
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }
        .pricing-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent-warm));
        }
        .pricing-card .plan-label {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }
        .pricing-card .price-row {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            margin-bottom: 0.25rem;
        }
        .pricing-card .price-was {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-muted);
            text-decoration: line-through;
            opacity: 0;
            transition: opacity 0.6s ease;
        }
        .pricing-card .price-was.revealed {
            opacity: 0.5;
        }
        @media (max-width: 768px) {
            .pricing-card .price-row {
                display: inline-flex;
                align-items: flex-start;
                gap: 0.3rem;
            }
            .pricing-card .price-was {
                font-size: 1rem;
                align-self: flex-start;
                margin-top: 0.35rem;
            }
        }
        .pricing-card .price {
            font-family: var(--font-display);
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.1;
        }
        .pricing-card .price-note {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 2rem;
        }
        .pricing-card ul { list-style: none; margin-bottom: 2rem; }
        .pricing-card li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            font-size: 0.9rem;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border);
        }
        .pricing-card li:last-child { border-bottom: none; }
        .pricing-card li i { color: var(--accent-green); margin-top: 3px; font-size: 0.75rem; }
        .pricing-card .btn-primary { width: auto; display: inline-flex; justify-content: flex-start; padding: 14px 24px; font-size: 1rem; }

        /* Nudge pulse — brief green flash every 7s */
        .btn-nudge {
            background: rgba(34, 197, 94, 0.18) !important;
            border-color: rgba(34, 197, 94, 0.55) !important;
            box-shadow: 0 0 24px rgba(34, 197, 94, 0.28), inset 0 1px 0 rgba(255,255,255,0.12) !important;
            color: #fff !important;
            transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease !important;
        }
        .pricing-card .secure-note {
            text-align: left;
            color: var(--text-muted);
            font-size: 0.75rem;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 6px;
        }
        .pricing-cta-row {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 0.5rem;
        }
        .pricing-countdown {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }
        .pcd-label {
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
        }
        .pcd-time {
            font-family: var(--font-mono);
            font-size: 1.45rem;
            font-weight: 700;
            color: #f43f5e;
            letter-spacing: 0.04em;
            line-height: 1;
        }
        .pcd-ms {
            font-size: 0.95rem;
            opacity: 0.70;
        }

        /* ===== PRICE SPOTLIGHT — gold card + shake ===== */
        @keyframes price-card-shake {
            0%,  100% { transform: translateY(-10px) scale(1.03) translateX(0px)  rotate(0deg);    }
            20%        { transform: translateY(-10px) scale(1.03) translateX(-5px) rotate(-0.6deg); }
            40%        { transform: translateY(-10px) scale(1.03) translateX( 5px) rotate( 0.6deg); }
            60%        { transform: translateY(-10px) scale(1.03) translateX(-3px) rotate(-0.4deg); }
            80%        { transform: translateY(-10px) scale(1.03) translateX( 3px) rotate( 0.4deg); }
        }
        .pricing-card--spotlight {
            background:    linear-gradient(145deg, #1c1400, #2e2100) !important;
            border-color:  #c9a227 !important;
            box-shadow:    0 0 60px rgba(201,162,39,0.45), 0 0 140px rgba(201,162,39,0.18) !important;
            animation:     price-card-shake 0.4s ease-in-out infinite !important;
            min-height:    280px;
        }
        .pricing-card--spotlight::before {
            background: linear-gradient(90deg, #c9a227, #f4d03f, #c9a227) !important;
        }
        .pricing-card--spotlight .price-row {
            justify-content: center;
        }
        .pricing-card--spotlight #price-display {
            font-size: 5rem !important;
            line-height: 1 !important;
            background: linear-gradient(135deg, #f4d03f 0%, #c9a227 50%, #f0d060 100%) !important;
            -webkit-background-clip: text !important;
            background-clip:         text !important;
            -webkit-text-fill-color: transparent !important;
        }

        .pricing-review {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }
        .pricing-review-stars { color: #ffffff; font-size: 0.7rem; margin-bottom: 0.4rem; letter-spacing: 1px; }
        .hero-satisfaction .fa-star { color: #ffffff; }
        .pricing-review-text {
            font-size: 0.82rem;
            line-height: 1.6;
            color: var(--text-secondary);
            font-style: italic;
            margin-bottom: 0.5rem;
        }
        .pricing-review-author {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 600;
        }
        .pricing-image {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .pricing-image img {
            max-width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
        }

        /* ========== BOOK WRAPPER (ancient leather book — 3D open) ========== */
        .book-wrapper {
            perspective: 1600px;
            position: relative;
            margin-top: 2.5rem;
            padding-bottom: 1rem;
            overflow: hidden;
        }

        /* --- Scene: always full width; translate LEFT to center the cover when closed --- */
        .book-wrapper .book-scene {
            position: relative;
            transform-style: preserve-3d;
            width: 100%;
            transform: translateX(-25%) scale(0.82);
            transition: none;
        }
        .book-wrapper.book-opened .book-scene {
            animation: bookApproach 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
        }
        @keyframes bookApproach {
            0%   { transform: translateX(-25%) scale(0.82); }
            30%  { transform: translateX(-25%) scale(0.95); }
            60%  { transform: translateX(-6%) scale(1.0) rotateX(3deg); }
            100% { transform: translateX(0%) scale(1) rotateX(3deg); }
        }
        /* 3D depth shadow under the tilted book */
        .book-wrapper.book-opened .book-scene::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 4%;
            right: 4%;
            height: 18px;
            background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, transparent 70%);
            filter: blur(6px);
            z-index: -1;
        }

        /* --- Cover: sits on the RIGHT half, hinges from its left edge (the spine) --- */
        .book-cover {
            position: absolute;
            top: 0;
            left: 50%;
            width: 50%;
            height: 100%;
            z-index: 10;
            transform-origin: left center;
            transform-style: preserve-3d;
            transform: rotateY(0deg);
            border-radius: 8px 18px 18px 8px;
            background:
                radial-gradient(ellipse at 30% 20%, rgba(139,90,43,0.4), transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(80,45,15,0.3), transparent 50%),
                linear-gradient(135deg, #6b3a1a 0%, #8b5e34 15%, #5c3011 30%, #7a4a22 50%, #4a2508 70%, #6b3a1a 85%, #5c3011 100%);
            box-shadow:
                inset 0 0 40px rgba(0,0,0,0.4),
                inset 0 2px 0 rgba(196,164,110,0.2),
                4px 4px 20px rgba(0,0,0,0.5);
            backface-visibility: hidden;
        }
        /* Stacked pages behind the cover — depth illusion */
        .book-cover::after {
            content: '';
            position: absolute;
            top: 10px;
            bottom: 10px;
            right: -4px;
            width: 6px;
            background:
                repeating-linear-gradient(to right,
                    #8b7355, #8b7355 1px,
                    #7a6345 1px, #7a6345 2px,
                    #6b5535 2px, #6b5535 3px
                );
            border-radius: 0 2px 2px 0;
            box-shadow: 2px 0 4px rgba(0,0,0,0.2);
            z-index: -1;
        }
        /* Bottom thickness of closed book */
        .book-cover-depth {
            position: absolute;
            bottom: -6px;
            left: 0;
            right: -4px;
            height: 6px;
            background: linear-gradient(to bottom, #8b5e34, #5c3011);
            border-radius: 0 0 8px 8px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.3);
            z-index: -1;
        }
        .book-wrapper.book-opened .book-cover {
            animation: bookCoverFlip 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
        }
        @keyframes bookCoverFlip {
            0%   { transform: rotateY(0deg); opacity: 1; }
            35%  { transform: rotateY(0deg); opacity: 1; }
            70%  { transform: rotateY(-165deg); opacity: 1; }
            90%  { transform: rotateY(-178deg); opacity: 1; }
            100% { transform: rotateY(-178deg); opacity: 0; }
        }
        /* Cover back face (inside of cover — parchment) */
        .book-cover::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #d4c5a9, #c4b393);
            border-radius: 8px 18px 18px 8px;
            transform: rotateY(180deg);
            backface-visibility: hidden;
        }
        .book-cover-inner {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            position: relative;
            z-index: 1;
        }
        .book-cover-border {
            border: none;
            border-radius: 0;
            padding: 0;
            text-align: center;
            width: auto;
            max-width: none;
            background: none;
            box-shadow: none;
        }
        .book-cover-title {
            font-family: var(--font-display, Georgia, serif);
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            color: #c4a46e;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 20px rgba(196,164,110,0.2);
            letter-spacing: 0.08em;
            line-height: 1.1;
            margin-bottom: 0;
        }
        .book-cover-ornament {
            font-size: 1.2rem;
            color: rgba(196,164,110,0.5);
            margin-bottom: 0.75rem;
            letter-spacing: 0.3em;
        }
        .book-cover-subtitle {
            font-family: var(--font-display, Georgia, serif);
            font-size: clamp(0.65rem, 1.5vw, 0.9rem);
            color: rgba(196,164,110,0.6);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            font-weight: 500;
        }
        /* Spine: sits at the left edge of the cover = the center of the scene */
        .book-spine {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 18px;
            background: linear-gradient(90deg, #3a1e08, #5c3011 40%, #4a2508 60%, #3a1e08);
            border-radius: 4px 0 0 4px;
            box-shadow: inset -2px 0 6px rgba(0,0,0,0.4), inset 2px 0 4px rgba(196,164,110,0.1);
            z-index: 2;
            transform: translateX(-100%);
        }

        /* --- Page-flip effect: same positioning as cover (right half, hinge left) --- */
        .book-page-flip {
            position: absolute;
            top: 3px;
            left: calc(50% + 3px);
            width: calc(50% - 6px);
            height: calc(100% - 6px);
            transform-origin: left center;
            backface-visibility: hidden;
            border-radius: 2px 16px 16px 2px;
            z-index: 8;
        }
        .book-page-flip-1 {
            background: linear-gradient(135deg, #e8dcc8, #d4c5a9);
            box-shadow: inset 0 0 15px rgba(0,0,0,0.06);
        }
        .book-page-flip-2 {
            background: linear-gradient(135deg, #f0e6d2, #ddd0b8);
            box-shadow: inset 0 0 10px rgba(0,0,0,0.04);
        }
        .book-page-flip-3 {
            background: linear-gradient(135deg, #f5efe3, #e8dcc8);
        }
        .book-wrapper.book-opened .book-page-flip-1 {
            animation: pageFlip1 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
        }
        .book-wrapper.book-opened .book-page-flip-2 {
            animation: pageFlip2 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
        }
        .book-wrapper.book-opened .book-page-flip-3 {
            animation: pageFlip3 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
        }
        @keyframes pageFlip1 {
            0%   { transform: rotateY(0deg); opacity: 1; }
            40%  { transform: rotateY(0deg); opacity: 1; }
            72%  { transform: rotateY(-160deg); opacity: 1; }
            90%  { transform: rotateY(-178deg); opacity: 1; }
            100% { transform: rotateY(-178deg); opacity: 0; }
        }
        @keyframes pageFlip2 {
            0%   { transform: rotateY(0deg); opacity: 1; }
            46%  { transform: rotateY(0deg); opacity: 1; }
            76%  { transform: rotateY(-155deg); opacity: 1; }
            90%  { transform: rotateY(-178deg); opacity: 1; }
            100% { transform: rotateY(-178deg); opacity: 0; }
        }
        @keyframes pageFlip3 {
            0%   { transform: rotateY(0deg); opacity: 1; }
            52%  { transform: rotateY(0deg); opacity: 1; }
            80%  { transform: rotateY(-150deg); opacity: 1; }
            90%  { transform: rotateY(-178deg); opacity: 1; }
            100% { transform: rotateY(-178deg); opacity: 0; }
        }

        /* --- Pages (the actual content underneath — full width of scene) --- */
        .book-pages {
            position: relative;
            z-index: 5;
            border-radius: 18px;
            opacity: 0;
            padding: 6px;
            background:
                linear-gradient(135deg, #5c3011, #6b3a1a 20%, #4a2508 50%, #6b3a1a 80%, #5c3011);
            box-shadow:
                0 4px 16px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(196,164,110,0.15),
                inset 0 -1px 0 rgba(0,0,0,0.2);
        }
        /* Stacked pages depth on the right side of open book */
        .book-pages::before {
            content: '';
            position: absolute;
            top: 10px;
            bottom: 10px;
            right: -5px;
            width: 8px;
            background:
                repeating-linear-gradient(to right,
                    #8b7355, #8b7355 1px,
                    #7a6345 1px, #7a6345 2px,
                    #6b5535 2px, #6b5535 3px
                );
            border-radius: 0 3px 3px 0;
            box-shadow: 2px 0 4px rgba(0,0,0,0.2);
            z-index: -1;
        }
        /* Stacked pages depth on the left side of open book */
        .book-pages-left-depth {
            position: absolute;
            top: 10px;
            bottom: 10px;
            left: -5px;
            width: 8px;
            background:
                repeating-linear-gradient(to left,
                    #8b7355, #8b7355 1px,
                    #7a6345 1px, #7a6345 2px,
                    #6b5535 2px, #6b5535 3px
                );
            border-radius: 3px 0 0 3px;
            box-shadow: -2px 0 4px rgba(0,0,0,0.2);
            z-index: -1;
            pointer-events: none;
        }
        /* Leather cover edge bottom thickness */
        .book-pages::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: -5px;
            right: -5px;
            height: 6px;
            background:
                linear-gradient(to bottom, #5c3011, #4a2508 30%, #3a1e08);
            border-radius: 0 0 18px 18px;
            box-shadow: 0 3px 8px rgba(0,0,0,0.3);
            z-index: -1;
        }
        .book-wrapper.book-opened .book-pages {
            animation: bookPagesReveal 2.2s ease forwards;
        }
        @keyframes bookPagesReveal {
            0%   { opacity: 0; }
            30%  { opacity: 0; }
            50%  { opacity: 1; }
            100% { opacity: 1; }
        }

        /* ========== PRICING PANEL (two pages of an open book) ========== */
        .pricing-panel {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            border: none;
            border-radius: 14px;
            overflow: visible;
            position: relative;
        }
        .pricing-panel-col {
            padding: 1.5rem 2rem;
            padding-bottom: 2rem;
            position: relative;
        }
        /* Left page (Standard) */
        .pricing-panel-col--std {
            background: linear-gradient(145deg, var(--bg-card), var(--surface));
            border-radius: 14px 0 0 14px;
            border-left: none;
            box-shadow: inset 6px 0 12px rgba(0,0,0,0.06);
            position: relative;
        }
        .pricing-panel-col--std::after {
            display: none;
        }
        .pricing-panel-col--std::before {
            display: none;
        }
        /* Right page (Pro) */
        .pricing-panel-col--pro {
            background: linear-gradient(145deg, #1c1400, #2e2100);
            border-radius: 0 14px 14px 0;
            border-right: none;
            box-shadow: inset -6px 0 12px rgba(0,0,0,0.06);
            position: relative;
        }
        .pricing-panel-col--pro::after {
            display: none;
        }
        .pricing-panel-col--pro::before {
            display: none;
        }
        /* Book center binding — the spine where two pages meet */
        .pricing-panel .book-center-binding {
            width: 20px;
            background:
                linear-gradient(90deg,
                    #c4b393 0%,
                    #b8a682 15%,
                    #8b7355 30%,
                    #5c3a1e 45%,
                    #4a2508 50%,
                    #5c3a1e 55%,
                    #8b7355 70%,
                    #b8a682 85%,
                    #c4b393 100%
                );
            box-shadow:
                inset 2px 0 6px rgba(0,0,0,0.3),
                inset -2px 0 6px rgba(0,0,0,0.3);
            position: relative;
            z-index: 3;
        }
        .pricing-panel .book-center-binding::before {
            content: '';
            position: absolute;
            top: 0; bottom: 0;
            left: 50%;
            width: 2px;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.25);
        }
        /* Page numbers */
        .book-page-number {
            position: absolute;
            bottom: 0.9rem;
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 0.75rem;
            color: rgba(255,255,255,0.2);
            font-style: italic;
            pointer-events: none;
        }
        .pricing-panel-col--std .book-page-number {
            right: 1.2rem;
            color: rgba(255,255,255,0.18);
        }
        .pricing-panel-col--pro .book-page-number {
            right: 1.2rem;
            color: rgba(201,162,39,0.22);
        }
        .book-scholarship-page .book-page-number {
            left: 1.2rem;
            right: auto;
            color: rgba(11, 67, 50, 0.38) !important;
        }

        /* ========== RIGHT PAGE FLIPPER (Pro ↔ Scholarship) ========== */
        .book-right-flipper {
            position: relative;
            transform-style: preserve-3d;
            transform-origin: left center;
            transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 0 14px 14px 0;
            min-width: 0;
            display: grid;
            grid-template: 1fr / 1fr;
        }
        .book-right-flipper.flipped {
            transform: rotateY(-180deg);
        }
        .book-right-front {
            backface-visibility: hidden;
            grid-area: 1 / 1;
        }
        .book-right-back {
            backface-visibility: hidden;
            grid-area: 1 / 1;
            transform: rotateY(180deg);
            border-radius: 0 14px 14px 0;
        }

        /* Swipe hint for page flip */
        .book-right-flipper {
            user-select: none;
            -webkit-user-select: none;
        }

        /* ========== SCHOLARSHIP PAGE ========== */
        .book-scholarship-page {
            background: #b8f5cc;
            padding: 2rem;
            padding-bottom: 2rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: auto;
            color: #ffffff;
            width: 200%;
            margin-left: -100%;
        }
        .scholarship-letter {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #000000;
        }
        .scholarship-header {
            font-family: var(--font-display, Georgia, serif);
            font-size: 1.1rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: -0.01em;
        }
        .scholarship-body {
            flex: 1;
        }
        .scholarship-body p {
            font-size: 0.78rem;
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.78);
            margin-bottom: 0.75rem;
        }
        .scholarship-body strong {
            color: #ffffff;
        }
        .scholarship-apply-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 22px;
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s;
            margin-top: 1rem;
            align-self: flex-start;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
            cursor: pointer;
        }
        .scholarship-apply-link:hover {
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 6px 24px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
        }

        /* Scholarship spread: letter left, passport right */
        .scholarship-spread {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            grid-template-areas: "letter passport";
            gap: 0;
            height: 100%;
            width: 100%;
        }
        .scholarship-spread .scholarship-letter {
            border-left: none;
        }
        .scholarship-spread .scholarship-letter {
            grid-area: letter;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: -2rem;
            margin-bottom: -2rem;
            margin-left: -2rem;
            margin-right: 0;
            padding-top: 2rem;
            padding-bottom: 2rem;
            padding-left: 2rem;
            padding-right: 1.5rem;
        }
        .scholarship-passport {
            grid-area: passport;
            position: relative;
            overflow: hidden;
        }

        .passport-flipped .passport-card {
            transform: rotate(-90deg);
            transform-origin: center center;
        }

        /* Passport card */
        .passport-card {
            width: 480px;
            max-width: none;
            background: linear-gradient(165deg, #b8f5cc, #d0fce0 30%, #b8f5cc 60%, #a0eebb);
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 4px 20px rgba(0,100,60,0.18), inset 0 1px 0 rgba(255,255,255,0.45);
            font-family: 'DM Sans', sans-serif;
        }
        .passport-top {
            padding: 16px 20px 12px;
            text-align: center;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            background: rgba(0,0,0,0.06);
        }
        .passport-country-label {
            display: block;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(5,70,40,0.75);
        }
        .passport-type {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(5,70,40,0.5);
            margin-top: 4px;
        }
        .passport-body {
            display: flex;
            flex-direction: row;
            gap: 20px;
            padding: 20px 24px;
        }
        .passport-photo {
            width: 120px;
            height: 150px;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(0,0,0,0.2);
        }
        .passport-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .passport-info {
            flex: 1;
            min-width: 0;
            text-align: left;
        }
        .passport-field {
            margin-bottom: 4px;
        }
        .passport-label {
            display: block;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(5,70,40,0.5);
            line-height: 1;
            text-align: left;
        }
        .passport-value {
            display: block;
            font-size: 1rem;
            font-weight: 600;
            color: rgba(5,70,40,0.9);
            line-height: 1.3;
            text-align: left;
        }
        .passport-handwriting {
            font-family: 'Caveat', cursive;
            font-size: 1.4rem;
            font-weight: 600;
            line-height: 1.2;
        }
        .passport-row {
            display: flex;
            flex-direction: row;
            gap: 8px;
        }
        .passport-row .passport-field {
            flex: 1;
        }
        .passport-mrz {
            padding: 12px 20px;
            background: rgba(0,80,40,0.08);
            border-top: 1px solid rgba(0,80,40,0.12);
            font-family: 'JetBrains Mono', 'Courier New', monospace;
            font-size: 0.65rem;
            letter-spacing: 0.05em;
            color: rgba(5,70,40,0.45);
            line-height: 1.5;
            word-break: break-all;
        }

        @media (max-width: 768px) {
            .scholarship-spread {
                grid-template-columns: 1fr;
                grid-template-areas:
                    "letter"
                    "passport";
                gap: 1.5rem;
            }
            .scholarship-spread .scholarship-letter {
                padding-right: 0;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 1.5rem;
            }
            .scholarship-passport {
                padding-left: 0;
                justify-self: stretch;
            }
        }

        .pricing-panel-col .plan-name {
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .pricing-panel-col--std .plan-name { color: var(--text-primary); }
        .pricing-panel-col--pro .plan-name { color: #c9a227; }
        .pricing-panel-col .price {
            font-family: var(--font-display);
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.1;
        }
        .pricing-panel-col .price-note {
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
        }
        .pricing-panel-col--std .price-note { color: var(--text-muted); }
        .pricing-panel-col--pro .price-note { color: #c9a227; opacity: 0.8; }
        .pricing-panel-col ul { list-style: none; margin-bottom: 1.25rem; }
        .pricing-panel-col li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 7px 0;
            font-size: 0.85rem;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border);
        }
        .pricing-panel-col--pro li { border-bottom-color: rgba(201, 162, 39, 0.15); }
        .pricing-panel-col li:last-child { border-bottom: none; }
        .pricing-panel-col li i { color: var(--accent-green); margin-top: 3px; font-size: 0.75rem; }
        .pricing-panel-col li.li-no { opacity: 0.38; }
        .pricing-panel-col li.li-no i { color: #f87171 !important; }
        .pricing-panel-col .btn-primary { width: auto; display: inline-flex; padding: 12px 22px; font-size: 0.95rem; }
        .pricing-panel-col .secure-note {
            font-size: 0.75rem;
            margin-top: 0.5rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .pricing-panel-col--std .secure-note { color: var(--text-muted); }
        .pricing-panel-col--pro .secure-note { color: rgba(201, 162, 39, 0.5); }
        @media (max-width: 768px) {
            .pricing-panel { grid-template-columns: 1fr; border-radius: 12px; }
            .pricing-panel-col--std {
                border-radius: 12px 12px 0 0;
                border-left: none;
                border-right: none;
                box-shadow: inset 0 6px 12px rgba(0,0,0,0.06);
            }
            .pricing-panel-col--std::after { display: none; }
            .pricing-panel-col--std::before { display: none; }
            .pricing-panel-col--pro {
                border-radius: 0;
                border-right: none;
                border-left: none;
                box-shadow: inset 0 -6px 12px rgba(0,0,0,0.06);
            }
            .pricing-panel-col--pro::after { display: none; }
            .pricing-panel-col--pro::before { display: none; }
            .book-cover { border-radius: 6px 14px 14px 6px; }
            .book-cover-border { width: auto; padding: 0; }
            .book-pages { border-radius: 14px; }
            .book-pages::before { display: none; }
            .book-pages-left-depth { display: none; }
            .book-page-flip { border-radius: 2px 12px 12px 2px; }
            .book-wrapper .book-scene { width: 100%; transform: translateX(-25%) scale(0.75); }
            .book-wrapper.book-opened .book-scene {
                animation: bookApproachMobile 2.2s cubic-bezier(0.23,1,0.32,1) forwards;
            }
            @keyframes bookApproachMobile {
                0%   { transform: translateX(-25%) scale(0.75); }
                30%  { transform: translateX(-25%) scale(0.9); }
                60%  { transform: translateX(-5%) scale(1.0); }
                100% { transform: translateX(0%) scale(1); }
            }
            .pricing-panel .book-center-binding {
                width: 100%;
                height: 20px;
                background:
                    linear-gradient(180deg,
                        #c4b393 0%, #b8a682 15%, #8b7355 30%,
                        #5c3a1e 45%, #4a2508 50%, #5c3a1e 55%,
                        #8b7355 70%, #b8a682 85%, #c4b393 100%
                    );
                box-shadow:
                    inset 0 2px 6px rgba(0,0,0,0.3),
                    inset 0 -2px 6px rgba(0,0,0,0.3);
            }
            .pricing-panel .book-center-binding::before {
                left: 0; right: 0;
                top: 50%; width: auto; height: 2px;
                transform: translateY(-50%);
                background: rgba(0,0,0,0.25);
            }
            /* Flipper on mobile: flip vertically instead */
            .book-right-flipper {
                border-radius: 0 0 12px 12px;
                transform-origin: top center;
            }
            .book-right-flipper.flipped {
                transform: rotateX(180deg);
            }
            .book-right-back {
                border-radius: 0 0 12px 12px;
                transform: rotateX(180deg);
            }
            .scholarship-letter { padding: 0; }
            .book-scholarship-page { padding: 2rem 1.5rem; }
        }

        /* ========== FOOTER ========== */
        footer {
            padding: 4rem 2rem 3rem;
            border-top: none;
            background: #fff;
        }

        /* ===== Paint splash + drip effect ===== */
        .paint-splash {
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }
        footer .footer-inner { position: relative; z-index: 1; }

        .paint-drip {
            position: absolute;
            top: -2px;
            transform-origin: top center;
        }
        .paint-drip-1 { left: 5%; width: 80px; height: 180px; animation: drip1 5s ease-in-out infinite; }
        .paint-drip-2 { left: 18%; width: 50px; height: 130px; animation: drip2 6s ease-in-out 0.8s infinite; }
        .paint-drip-3 { left: 38%; width: 65px; height: 150px; animation: drip3 5.5s ease-in-out 0.3s infinite; }
        .paint-drip-4 { left: 58%; width: 45px; height: 100px; animation: drip2 7s ease-in-out 1.2s infinite; }
        .paint-drip-5 { right: 15%; width: 55px; height: 120px; animation: drip1 6.5s ease-in-out 0.5s infinite; }
        .paint-drip-6 { right: 5%; width: 40px; height: 90px; animation: drip3 5s ease-in-out 1.8s infinite; }
        .paint-drip-7 { left: 75%; width: 35px; height: 75px; animation: drip2 5.8s ease-in-out 2.2s infinite; }

        @keyframes drip1 {
            0%, 100% { transform: scaleY(0.6) translateY(-10px); }
            50% { transform: scaleY(1) translateY(0); }
        }
        @keyframes drip2 {
            0%, 100% { transform: scaleY(0.5) translateY(-8px); }
            60% { transform: scaleY(1.05) translateY(3px); }
        }
        @keyframes drip3 {
            0%, 100% { transform: scaleY(0.65) translateY(-6px); }
            40% { transform: scaleY(1.1) translateY(2px); }
            75% { transform: scaleY(0.85) translateY(-2px); }
        }

        .paint-splat {
            position: absolute;
            border-radius: 50% 45% 55% 48%;
            filter: blur(8px);
        }
        .paint-splat-1 {
            width: 90px; height: 70px;
            background: rgba(26,58,143,0.6);
            top: 0; left: 6%;
            animation: splatPulse 6s ease-in-out infinite;
        }
        .paint-splat-2 {
            width: 70px; height: 55px;
            background: rgba(139,105,20,0.5);
            top: 5px; left: 20%;
            animation: splatPulse 7s ease-in-out 1s infinite;
        }
        .paint-splat-3 {
            width: 80px; height: 60px;
            background: rgba(22,101,52,0.5);
            top: 0; left: 40%;
            animation: splatPulse 5.5s ease-in-out 0.5s infinite;
        }
        .paint-splat-4 {
            width: 65px; height: 50px;
            background: rgba(91,33,182,0.45);
            top: 3px; left: 60%;
            animation: splatPulse 6.5s ease-in-out 1.5s infinite;
        }
        .paint-splat-5 {
            width: 75px; height: 58px;
            background: rgba(159,18,57,0.45);
            top: 0; right: 12%;
            animation: splatPulse 5.8s ease-in-out 2s infinite;
        }
        @keyframes splatPulse {
            0%, 100% { transform: scale(0.9) rotate(-2deg); }
            50% { transform: scale(1.1) rotate(2deg); }
        }
        .footer-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
        }
        footer a {
            color: #555;
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.2s;
        }
        footer a:hover { color: #111; }
        .footer-links { display: flex; gap: 1.5rem; }
        .footer-copy { color: #777; font-size: 0.8rem; }
        .footer-disclaimer {
            font-size: 0.62rem;
            color: #999;
            opacity: 0.7;
            text-align: center;
            line-height: 1.6;
            max-width: 700px;
        }
        /* Fullscreen button — top-right of iPad screen */
        .video-fs-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 10;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            border: none;
            background: rgba(7, 11, 20, 0.65);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: rgba(255,255,255,0.8);
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease, background 0.2s, transform 0.2s;
        }
        .video-fs-btn.visible {
            opacity: 1;
            pointer-events: auto;
        }
        .video-fs-btn:hover {
            background: rgba(79,143,255,0.35);
            transform: scale(1.08);
        }
        .video-fs-btn:active {
            transform: scale(0.95);
        }
        /* Video controls container — bottom-right of screen */
        .video-controls {
            position: absolute;
            bottom: 1.4rem;
            right: 1.4rem;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.45s ease;
        }
        .video-controls.visible {
            opacity: 1;
            pointer-events: auto;
        }
        #unmute-hint, #video-pause-btn {
            font-family: var(--font-body);
            outline: none;
            padding: 0.5rem 1.1rem;
            border-radius: 999px;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.18);
            color: rgba(255,255,255,0.92);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
            user-select: none;
        }
        #video-pause-btn { padding: 0.5rem 0.8rem; }
        /* Funnel progressive reveal */
        .funnel-field-hide {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            margin-top: 0 !important;
            pointer-events: none;
            transition: max-height 0.42s ease, opacity 0.35s ease, margin-top 0.42s ease;
        }
        .funnel-field-hide.revealed {
            max-height: 140px;
            opacity: 1;
            margin-top: 0.75rem !important;
            pointer-events: auto;
        }

        /* ========== PARTICLES (kept from original) ========== */
        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            pointer-events: none;
            animation: particle-explode 1s forwards;
        }
        @keyframes particle-explode {
            0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
            100% { transform: translate(var(--tx), var(--ty)) rotate(720deg); opacity: 0; }
        }

        /* animate-pop for virtual screen elements */
        .animate-pop { animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        @keyframes pop {
            0% { transform: scale(0.9); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-card-row-top .hero-card-track,
            .hero-card-row-bottom .hero-card-track,
            .hero-cloud-badge {
                animation: none !important;
            }
            .hero-card-row-bottom .hero-card-track {
                transform: none;
            }
            .orbit-ring,
            .orbit-chip {
                animation: none !important;
            }
            .orbit-device {
                --orbit-scale: 1 !important;
                --orbit-lift: 0px !important;
                --orbit-tilt: 0deg !important;
                transition: none !important;
            }
            .how-card, .how-card::before, .how-card::after {
                animation: none !important;
            }
            .how-card:hover {
                transform: none;
            }
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .hero-inner { grid-template-columns: 1fr; text-align: center; }
            .hero .subtitle { margin-left: auto; margin-right: auto; }
            .hero-cta { justify-content: center; }
            .hero-satisfaction { justify-content: center; }
            .hero-visual { display: none; }
            .orbit-stage { min-height: 500px; }
            .orbit-device {
                width: min(840px, 96vw);
                border-radius: 32px;
            }
            .orbit-device-screen { border-radius: 24px; }
            .orbit-chip { width: 56px; height: 56px; }
            .demo-layout { grid-template-columns: 1fr; }
            .demo-sidebar { height: auto; max-height: 400px; }
            .preview-window { height: 500px; }
            .office-preview { height: 500px; }
            .how-grid { grid-template-columns: 1fr; }
            .curriculum-grid { grid-template-columns: 1fr 1fr; }
            .pricing-grid { grid-template-columns: 1fr; }
            .pricing-image { display: none; }
            .nav-links { display: none; }
        }
        @media (max-width: 640px) {
            .curriculum-grid { grid-template-columns: 1fr; }
            section { padding: 60px 1rem; }
            .orbit-showcase-section { padding-top: 0.5rem; padding-bottom: 3.5rem; }
            .orbit-stage { min-height: 280px; }
            .orbit-device { width: min(640px, 96vw); }
            .orbit-device {
                border-radius: 24px;
                padding: 10px;
            }
            .orbit-device::before { border-radius: 24px; }
            .orbit-device-screen { border-radius: 16px; }
            .orbit-device-camera { width: 48px; height: 7px; }
            .orbit-chip { display: none; }
        }

        /* ==========================================
           FUNNEL CAPTURE MODAL
           ========================================== */
        /* ===== FUNNEL MODAL — DARK THEME ===== */
        #funnel-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.82);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            animation: funnel-fade-in 0.2s ease;
        }
        @keyframes funnel-fade-in {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        @keyframes funnel-slide-up {
            from { opacity: 0; transform: translateY(24px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        #funnel-card {
            background: linear-gradient(145deg, #0d1117, #111827);
            border: 1px solid rgba(79, 143, 255, 0.18);
            border-radius: 20px;
            padding: 2rem 2rem 1.75rem;
            max-width: 860px;
            width: 100%;
            box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
            position: relative;
            animation: funnel-slide-up 0.28s cubic-bezier(0.25,0.46,0.45,0.94);
        }

        /* ---- Form section ---- */
        #funnel-form-section {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            flex-wrap: wrap;
            margin-bottom: 1.75rem;
        }
        .funnel-icon {
            flex-shrink: 0;
            width: 46px;
            height: 46px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(79,143,255,0.25), rgba(167,139,250,0.2));
            border: 1px solid rgba(79,143,255,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent, #4f8fff);
            font-size: 1.2rem;
        }
        #funnel-form-text {
            flex: 1;
            min-width: 180px;
        }
        #funnel-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary, #f1f5f9);
            margin: 0 0 0.15rem 0;
            line-height: 1.25;
        }
        .funnel-sub {
            font-size: 0.8rem;
            color: var(--text-muted, #6b7280);
            margin: 0;
            line-height: 1.4;
        }
        #funnel-form {
            flex: 1;
            min-width: 220px;
        }
        .funnel-fields-row {
            display: flex;
            gap: 0.6rem;
            align-items: flex-end;
        }
        .funnel-field {
            flex: 1;
        }
        .funnel-field label {
            display: block;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-secondary, #94a3b8);
            margin-bottom: 0.3rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .funnel-field input {
            width: 100%;
            padding: 0.65rem 0.85rem;
            border: 1px solid rgba(79,143,255,0.2);
            border-radius: 8px;
            font-size: 0.88rem;
            color: var(--text-primary, #f1f5f9);
            background: rgba(255,255,255,0.05);
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
            box-sizing: border-box;
            font-family: var(--font-body, inherit);
        }
        .funnel-field input:focus {
            border-color: rgba(79,143,255,0.55);
            box-shadow: 0 0 0 3px rgba(79,143,255,0.12);
            background: rgba(79,143,255,0.06);
        }
        .funnel-field input::placeholder { color: rgba(148,163,184,0.55); }
        .funnel-error {
            font-size: 0.8rem;
            color: #f87171;
            margin: 0.4rem 0 0 0;
        }
        #funnel-submit {
            flex-shrink: 0;
            padding: 0.65rem 1.3rem;
            background: rgba(79,143,255,0.12);
            color: #e8f0fe;
            border: 1px solid rgba(79,143,255,0.4);
            border-radius: 8px;
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.45rem;
            white-space: nowrap;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 2px 16px rgba(79,143,255,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
            transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
            font-family: var(--font-body, inherit);
        }
        #funnel-submit:hover  { background: rgba(79,143,255,0.22); box-shadow: 0 4px 24px rgba(79,143,255,0.28); transform: translateY(-1px); }
        #funnel-submit:active { transform: translateY(0); }
        #funnel-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .funnel-terms-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.6rem;
        }
        .funnel-terms-row input[type="checkbox"] {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            accent-color: var(--accent, #4f8fff);
            cursor: pointer;
        }
        .funnel-terms-row label {
            font-size: 0.75rem;
            color: var(--text-muted, #6b7280);
            line-height: 1.4;
            cursor: pointer;
        }
        .funnel-terms-row label a {
            color: var(--accent, #4f8fff);
            text-decoration: underline;
        }
        .funnel-privacy {
            font-size: 0.7rem;
            color: rgba(148,163,184,0.5);
            margin: 0.6rem 0 0 0;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* ---- Steps row ---- */
        #funnel-steps-section {
            border-top: 1px solid rgba(255,255,255,0.07);
            padding-top: 1.4rem;
        }
        .funnel-steps-heading {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: rgba(148,163,184,0.55);
            margin: 0 0 1rem 0;
        }
        #funnel-steps-row {
            display: flex;
            gap: 1rem;
        }
        .funnel-step {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .funnel-step-num {
            font-size: 0.62rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent, #4f8fff);
            margin-bottom: 0.4rem;
        }
        .funnel-step img {
            width: 100%;
            border-radius: 8px;
            border: 1px solid rgba(79,143,255,0.15);
            display: block;
            object-fit: cover;
        }
        .funnel-step-caption {
            font-size: 0.75rem;
            color: var(--text-secondary, #94a3b8);
            margin: 0.5rem 0 0 0;
            line-height: 1.45;
        }

        /* ---- Mobile funnel ---- */
        @media (max-width: 700px) {
            #funnel-overlay {
                align-items: flex-start;
                padding: 0.65rem;
                padding-top: 3rem;
            }
            #funnel-card {
                padding: 1.1rem 0.9rem 1rem;
                border-radius: 14px;
                max-height: 82dvh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
                touch-action: pan-y;
            }
            #funnel-form-section {
                gap: 0.65rem;
                align-items: stretch;
                margin-bottom: 1rem;
                margin-top: 0.15rem;
            }
            .funnel-icon {
                width: 40px;
                height: 40px;
                border-radius: 10px;
                display: none;
            }
            #funnel-form-text {
                min-width: 0;
                width: min(90vw, 420px);
                position: fixed;
                top: clamp(8rem, 18vh, 11rem);
                left: 50%;
                transform: translateX(-50%);
                text-align: center;
                z-index: 10010;
                pointer-events: none;
            }
            #funnel-title {
                font-size: 1.05rem;
                display: none;
            }
            #funnel-form-text > p:first-of-type {
                display: none;
            }
            .funnel-sub {
                font-size: 0.84rem;
                line-height: 1.45;
                color: rgba(225,235,255,0.9);
            }
            .funnel-privacy { display: none; }
            #funnel-form {
                width: 100%;
                min-width: 0;
            }
            .funnel-field input {
                padding: 0.68rem 0.8rem;
                font-size: 16px;
            }
            .funnel-terms-row {
                align-items: flex-start;
            }
            #funnel-steps-row {
                flex-direction: column;
                gap: 0.8rem;
            }
            .funnel-step-caption {
                font-size: 0.72rem;
            }
        }

        /* ========== NAV & HAMBURGER ========== */
        .nav-hamburger {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.06);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
            font-size: 1rem;
            color: #fff;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
        }
        .nav-hamburger:hover {
            background: rgba(255,255,255,0.12);
            transform: scale(1.08);
        }
        .nav-hamburger span {
            display: none;
        }
        .nav-hamburger::before {
            content: '\276F';
            font-size: 0.75rem;
            color: #fff;
            line-height: 1;
            display: inline-block;
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }
        .nav-hamburger.open::before {
            content: '\276F';
            font-size: 0.75rem;
            transform: rotate(-90deg);
        }

        /* Drawer overlay */
        .mobile-drawer-overlay {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: rgba(0,0,0,0.55);
            z-index: 200;
            opacity: 0;
            pointer-events: none;
            -webkit-transition: opacity 0.3s ease;
            transition: opacity 0.3s ease;
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        }
        .mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }

        /* Drawer panel — warps out of the hamburger button */
        .mobile-drawer {
            position: fixed;
            top: 1rem;
            right: 1rem;
            width: min(300px, calc(100vw - 2rem));
            max-height: calc(100dvh - 2rem);
            background: rgba(7, 11, 20, 0.38);
            -webkit-backdrop-filter: blur(24px) saturate(1.4);
            backdrop-filter: blur(24px) saturate(1.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
            z-index: 201;
            -webkit-transform: scale(0);
            transform: scale(0);
            -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease;
            transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease;
            opacity: 0;
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            touch-action: pan-y;
            scrollbar-width: none;
        }
        .mobile-drawer::-webkit-scrollbar { display: none; }
        .mobile-drawer.open { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
        .mobile-drawer-inner {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            min-height: auto;
            gap: 0;
        }
        .mobile-drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.75rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .mobile-drawer-close {
            display: none;
        }
        .mobile-drawer-links {
            display: flex;
            flex-direction: column;
            flex: 0 0 auto;
            text-align: left;
        }
        .mobile-nav-link {
            display: block;
            padding: 0.9rem 0.25rem;
            color: rgba(255,255,255,0.70);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: color 0.15s;
            text-align: left;
        }
        .mobile-nav-link:hover { color: #fff; }
        .mobile-drawer-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1rem;
            padding-top: 1rem;
            padding-bottom: max(0.4rem, env(safe-area-inset-bottom));
        }
        .mobile-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.6rem 1.6rem;
            border: none;
            border-radius: 50px;
            color: rgba(255,255,255,0.82);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.875rem;
            background: rgba(255,255,255,0.06);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transition: all 0.3s;
        }
        .mobile-login-btn:hover {
            background: rgba(255,255,255,0.12);
            color: #fff;
        }
        .mobile-enrol-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            background: rgba(79, 143, 255, 0.1) !important;
            border: none !important;
            color: #e8f0fe !important;
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
            border-radius: 50px;
            padding: 0.5rem 1.2rem;
            font-weight: 600;
            font-size: 0.82rem;
            font-family: var(--font-body);
            transition: all 0.3s;
        }
        .mobile-enrol-btn:hover {
            background: rgba(79, 143, 255, 0.2) !important;
            box-shadow: 0 6px 32px rgba(79, 143, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        }
        .mobile-drawer-close {
            display: none !important;
        }

        @media (max-width: 1024px) {
            /* ---- Nav ---- */
            .nav-hamburger::before {
                font-size: 0.85rem;
            }
            #nav-start-btn {
                display: none;
            }
            #nav-start-btn.nav-btn-visible {
                display: inline-flex;
                padding: 8px 14px; 
                font-size: 0.75rem; 
            }
            /* Reduce padding on mobile to give text more room */
            nav.site-nav {
                padding: 0 1.25rem;
            }

            /* Hero text: tighten padding, kill center-justify so badge pins to cards */
            .hero-inner > div:first-child {
                padding: 1rem 1.25rem 1.5rem !important;
                overflow: visible;
                justify-content: flex-start !important;
                height: auto !important;
            }
            /* Keep nav clearance on card wall */
            .hero-visual { padding-top: 80px !important; }

            /* ---- Hero: block layout removes all flex-stretch behaviour ---- */
            .hero {
                display: block !important;
                height: auto !important;
                overflow: visible;
            }
            .hero-inner {
                height: auto !important;
            }

            /* Card wall appears ABOVE hero text on mobile */
            .hero-inner {
                display: flex !important;
                flex-direction: column;
            }
            .hero-visual {
                order: -1; /* card wall first */
                display: block !important;
                width: 100%;
                opacity: 1 !important;
                transform: none !important;
            }

            /* ---- Hero text: left-align on mobile ---- */
            .hero-inner { text-align: left !important; }
            .hero h1 { font-size: clamp(1.35rem, 5vw, 1.8rem); }
            .hero .subtitle { margin-left: 0; margin-right: 0; max-width: 100%; text-align: left; }
            .hero-cta { justify-content: flex-start; }
            .hero-satisfaction { text-align: left; justify-content: flex-start; }

            /* ---- Hero card wall: 2× height, ~2.5 cards visible per row ---- */
            .hero-3d-card.hero-course-wall {
                height: 480px;
                min-height: 0;
                padding: 10px 0 14px;
            }
            .hero-card-row { height: calc(50% - 7px); }
            .hero-card-row + .hero-card-row { margin-top: 14px; }
            .hero-course-card {
                flex: 0 0 158px !important;
                border-radius: 16px;
                padding: 0.9rem 1rem 0.9rem;
            }
            .hcc-glow { width: 60%; height: 60%; bottom: -20%; right: -20%; filter: blur(36px); }
            .hcc-icon { font-size: 1.5rem; bottom: 0.85rem; right: 0.85rem; }
            .hcc-stat  { font-size: 0.95rem; margin-bottom: 0.15rem; }
            .hcc-label { font-size: 0.4rem; letter-spacing: 0.01em; text-align: left; }

            /* ---- Builder demo: preview first, controls below ---- */
            .demo-layout {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.75rem;
            }
            /* Preview appears first on mobile */
            .preview-window { order: 1; height: 384px; }
            .office-preview { order: 1; height: 384px; }
            /* Sidebar (controls) appears below preview */
            .demo-sidebar {
                order: 2;
                height: auto !important;
                max-height: none !important;
                padding: 0.9rem 1rem;
                overflow: hidden;
            }

            /* Builder chips: horizontal strip */
            .demo-sidebar-scroll {
                overflow-x: auto;
                overflow-y: hidden;
                /* min-width: 0 prevents flex child from growing beyond parent */
                min-width: 0;
                width: 100%;
                padding-right: 0;
                padding-bottom: 6px;
                -webkit-overflow-scrolling: touch;
            }
            /* Hide scrollbars but keep scroll */
            .demo-sidebar-scroll::-webkit-scrollbar { display: none; }
            .demo-sidebar-scroll { scrollbar-width: none; }

            /* All chip categories flatten into one horizontal row */
            #action-grid {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: center;
                gap: 6px;
                width: max-content;
            }
            .chip-category-label { display: none; }
            .chip-grid {
                display: flex;
                flex-wrap: nowrap;
                gap: 6px;
            }
            .chip {
                white-space: nowrap;
                flex-shrink: 0;
                padding: 6px 10px;
                font-size: 0.72rem;
            }

            /* Office tabs: compact + scrollable */
            .office-tabs { overflow-x: auto; scrollbar-width: none; padding-bottom: 0; margin-bottom: 0.75rem; }
            .office-tabs::-webkit-scrollbar { display: none; }

            /* Office chips: horizontal strip */
            .office-actions-group {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap;
                width: max-content;
                gap: 6px;
            }
            .office-chip {
                flex-shrink: 0;
                white-space: nowrap;
                width: auto !important;
                padding: 6px 10px;
                font-size: 0.72rem;
            }
            /* Office tabs: also compact */
            .office-tabs { gap: 6px; flex-wrap: nowrap; }
            .office-tab-btn { font-size: 0.72rem; padding: 5px 10px; flex-shrink: 0; }

            /* Reset button: full width below strip */
            .demo-reset-btn { width: 100%; margin-top: 0.5rem; }

            /* Hide non-essential sidebar labels on mobile */
            .demo-sidebar > .demo-sidebar-label:first-child { font-size: 0.55rem; margin-bottom: 0.4rem; }

            /* ---- Reduce heavy animations on mobile ---- */
            /* Disable parallax tilt on orbit (keep scale) */

            /* Hire aurora: reduce to simpler canvas (handled by CSS opacity) */
            .hire-moon { display: none; } /* moon too wide on mobile */

            /* Curriculum: reduce stagger overlap */
            .curriculum-grid { gap: 1rem; }

            /* How-grid: reduce stagger gap */
            .how-grid { gap: 1rem; }

            /* Pricing CTA row: stack vertically */
            .pricing-cta-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
            .pricing-countdown { align-items: flex-start; }


            /* Portfolio button: shrink-to-content and centre on mobile */
            .btn-portfolio { max-width: 240px; }
        }

        @media (max-width: 480px) {
            .mobile-drawer {
                top: 0.8rem;
                right: 0.8rem;
                width: min(286px, calc(100vw - 1.6rem));
                max-height: calc(100dvh - 1.6rem);
                border-radius: 16px;
            }
            .mobile-drawer-inner {
                padding: 0.9rem 0.85rem 0.8rem;
            }
            .mobile-nav-link {
                font-size: 0.94rem;
                padding: 0.78rem 0.15rem;
            }
            .mobile-drawer-actions {
                padding-top: 0.95rem;
            }
        }

        /* 3D tilt on demo cards */
        .tilt-3d {
            transform-style: preserve-3d;
            perspective: 800px;
        }

        /* Legal popup modal */
        html.ui-scroll-lock,
        body.ui-scroll-lock,
        html.legal-modal-open,
        body.legal-modal-open {
            overflow: hidden !important;
            overscroll-behavior: none;
            touch-action: none;
        }
        .legal-modal {
            position: fixed;
            inset: 0;
            z-index: 1000001;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.22s ease;
            overscroll-behavior: contain;
        }
        .legal-modal.open {
            opacity: 1;
            pointer-events: auto;
        }
        .legal-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(8, 14, 28, 0.44);
            -webkit-backdrop-filter: blur(12px) saturate(1.2);
            backdrop-filter: blur(12px) saturate(1.2);
        }
        .legal-modal-panel {
            position: relative;
            width: min(920px, 100%);
            height: min(86vh, 820px);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(183, 209, 225, 0.25);
            background: rgba(27, 35, 48, 0.42);
            -webkit-backdrop-filter: blur(28px) saturate(1.35);
            backdrop-filter: blur(28px) saturate(1.35);
            box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
            overscroll-behavior: contain;
        }
        .legal-modal-frame {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
            background: transparent;
        }
        @media (max-width: 680px) {
            .legal-modal {
                align-items: flex-end;
                padding: 0.75rem;
            }
            .legal-modal-panel {
                width: min(560px, 92vw);
                height: min(76vh, 560px);
                border-radius: 14px;
            }
        }
