/* ============================================
           DESIGN TOKENS — dark & light only, no gold
           ============================================ */
        :root {
            /* Dark mode (default) — from AppTheme.swift dark trait */
            --bg-primary: #0A0A0D;
            --bg-surface: rgba(31, 31, 36, 0.76);
            --bg-surface-elevated: rgba(46, 46, 54, 0.92);
            --accent: #F7F7FA;
            --accent-text: #1A1A1F;
            --accent-dim: rgba(247, 247, 250, 0.6);
            --accent-soft: rgba(247, 247, 250, 0.12);
            --text-primary: #F5F5F5;
            --text-secondary: #999;
            --text-tertiary: #666;
            --outline: rgba(255, 255, 255, 0.14);
            --outline-strong: rgba(255, 255, 255, 0.18);
            --glass-stroke: rgba(255, 255, 255, 0.18);
            --glass-highlight: rgba(255, 255, 255, 0.10);
            --glass-shadow: rgba(0, 0, 0, 0.35);
            --success: #34D399;
            --orb-1: rgba(255, 255, 255, 0.035);
            --orb-2: rgba(99, 102, 241, 0.04);
            --orb-3: rgba(255, 255, 255, 0.025);
            --phone-screen: #111114;
            --phone-card: #18181b;
            --phone-border: #27272a;
            --phone-notch: #000;
            --float-bg: rgba(24, 24, 27, 0.9);
            --card-bg: rgba(255, 255, 255, 0.02);
            --card-bg-hover-shadow: rgba(0, 0, 0, 0.3);
            --deco-fill: rgba(255, 255, 255, 0.04);
            --deco-stroke: rgba(255, 255, 255, 0.08);
            --deco-dot: rgba(255, 255, 255, 0.15);
            --deco-line: rgba(255, 255, 255, 0.06);
            --nav-scrolled-bg: rgba(10, 10, 13, 0.85);
            --nav-scrolled-shadow: rgba(0, 0, 0, 0.4);
            --btn-hover-shadow: rgba(255, 255, 255, 0.08);
            --color-scheme: dark;

            --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-display: Georgia, 'Times New Roman', serif;

            --radius-sm: 12px;
            --radius-md: 20px;
            --radius-lg: 32px;
            --radius-xl: 48px;
            --radius-pill: 999px;

            --max-width: 1120px;
            --nav-height: 64px;
        }

        /* Light mode — from AppTheme.swift light trait */
        [data-theme="light"] {
            --bg-primary: #FCFCF7;
            --bg-surface: rgba(255, 253, 249, 0.88);
            --bg-surface-elevated: rgba(255, 254, 251, 0.96);
            --accent: #14141A;
            --accent-text: #FFFFFF;
            --accent-dim: rgba(20, 20, 26, 0.6);
            --accent-soft: rgba(20, 20, 26, 0.12);
            --text-primary: #14141A;
            --text-secondary: #666;
            --text-tertiary: #999;
            --outline: rgba(0, 0, 0, 0.08);
            --outline-strong: rgba(0, 0, 0, 0.14);
            --glass-stroke: rgba(255, 255, 255, 0.75);
            --glass-highlight: rgba(255, 255, 255, 0.7);
            --glass-shadow: rgba(0, 0, 0, 0.1);
            --success: #22C55E;
            --orb-1: rgba(250, 238, 217, 0.45);
            --orb-2: rgba(220, 235, 250, 0.45);
            --orb-3: rgba(250, 238, 217, 0.25);
            --phone-screen: #F5F2ED;
            --phone-card: #FFFFFF;
            --phone-border: #E5E5E5;
            --phone-notch: #1A1A1F;
            --float-bg: rgba(255, 255, 255, 0.92);
            --card-bg: rgba(0, 0, 0, 0.02);
            --card-bg-hover-shadow: rgba(0, 0, 0, 0.08);
            --deco-fill: rgba(0, 0, 0, 0.04);
            --deco-stroke: rgba(0, 0, 0, 0.08);
            --deco-dot: rgba(0, 0, 0, 0.15);
            --deco-line: rgba(0, 0, 0, 0.06);
            --nav-scrolled-bg: rgba(252, 252, 247, 0.88);
            --nav-scrolled-shadow: rgba(0, 0, 0, 0.06);
            --btn-hover-shadow: rgba(0, 0, 0, 0.12);
            --color-scheme: light;
        }

        /* ============================================
           RESET & BASE
           ============================================ */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-body);
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            color-scheme: var(--color-scheme);
        }

        img { display: block; max-width: 100%; }
        a { color: inherit; text-decoration: none; }

        /* ============================================
           BACKGROUND AMBIENCE
           ============================================ */
        .app-bg {
            position: fixed;
            inset: 0;
            z-index: -1;
            background: var(--bg-primary);
            overflow: hidden;
        }
        .app-bg .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            will-change: transform;
            animation: orb-drift 30s ease-in-out infinite alternate;
        }
        .app-bg .orb-1 {
            width: 700px; height: 700px;
            top: -30%; right: -10%;
            background: var(--orb-1);
        }
        .app-bg .orb-2 {
            width: 500px; height: 500px;
            top: 40%; left: -15%;
            background: var(--orb-2);
            animation-delay: -10s;
            animation-duration: 35s;
        }
        .app-bg .orb-3 {
            width: 400px; height: 400px;
            bottom: -10%; right: 10%;
            background: var(--orb-3);
            animation-delay: -20s;
            animation-duration: 40s;
        }
        @keyframes orb-drift {
            0%   { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, -40px) scale(1.15); }
        }

        /* ============================================
           NAVIGATION
           ============================================ */
        .nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            height: var(--nav-height);
            transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
            border-bottom: 1px solid transparent;
        }
        .nav.scrolled {
            background: var(--nav-scrolled-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom-color: var(--outline);
            box-shadow: 0 1px 32px var(--nav-scrolled-shadow);
        }
        .nav-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .nav-icon {
            width: 28px;
            height: 28px;
            border-radius: 7px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
        }
        .nav-wordmark {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 600;
            letter-spacing: -0.02em;
            color: var(--text-primary);
        }
        .nav-cta {
            font-size: 13px;
            font-weight: 700;
            color: var(--bg-primary);
            background: var(--text-primary);
            padding: 8px 22px;
            border-radius: var(--radius-pill);
            transition: opacity 0.2s, transform 0.2s;
        }
        .nav-cta:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        /* ============================================
           BUTTONS
           ============================================ */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-family: var(--font-body);
            font-weight: 700;
            text-decoration: none;
            border-radius: var(--radius-md);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: var(--text-primary);
            color: var(--bg-primary);
            padding: 18px 40px;
            font-size: 15px;
            letter-spacing: 0.02em;
        }
        .btn-primary:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 12px 40px var(--btn-hover-shadow);
        }
        .btn-primary:active {
            transform: scale(0.98);
        }
        .btn-secondary {
            background: var(--accent-soft);
            color: var(--text-primary);
            border: 1px solid var(--outline-strong);
            padding: 18px 32px;
            font-size: 15px;
            backdrop-filter: blur(12px);
        }
        .btn-secondary:hover {
            background: var(--accent-soft);
            border-color: var(--outline-strong);
        }

        /* Arrow icon in buttons */
        .btn .arrow {
            display: inline-block;
            transition: transform 0.25s;
        }
        .btn:hover .arrow { transform: translateX(3px); }

        /* ============================================
           HERO
           ============================================ */
        .hero {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            align-items: center;
            padding: calc(var(--nav-height) + 48px) 24px 80px;
        }
        .hero-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr;
            gap: 56px;
            align-items: center;
        }
        .hero-content { max-width: 580px; }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            background: var(--accent-soft);
            border: 1px solid var(--outline);
            backdrop-filter: blur(12px);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-secondary);
            margin-bottom: 28px;
        }
        .hero-badge .pulse-dot {
            position: relative;
            width: 8px;
            height: 8px;
        }
        .hero-badge .pulse-dot::before,
        .hero-badge .pulse-dot::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--success);
        }
        .hero-badge .pulse-dot::before {
            animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
            opacity: 0.6;
        }
        @keyframes ping {
            75%, 100% { transform: scale(2); opacity: 0; }
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: clamp(44px, 7vw, 80px);
            font-weight: 400;
            line-height: 0.98;
            letter-spacing: -0.03em;
            margin-bottom: 28px;
        }
        .hero-title em {
            font-style: italic;
            color: var(--text-tertiary);
        }
        .hero-subtitle {
            font-size: clamp(16px, 2vw, 19px);
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 480px;
        }
        .hero-cta-row {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* Phone Mockup */
        .hero-visual {
            display: flex;
            justify-content: center;
            perspective: 1200px;
        }
        .phone-mockup {
            position: relative;
            width: 280px;
            background: var(--bg-primary);
            border-radius: 44px;
            border: 6px solid var(--phone-border);
            box-shadow: 0 40px 100px var(--glass-shadow),
                        0 0 0 1px var(--outline),
                        inset 0 0 0 1px var(--outline);
            padding: 8px;
            transform: rotateY(-8deg) rotateX(4deg);
            transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
            animation: phone-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
        }
        .phone-mockup:hover {
            transform: rotateY(-3deg) rotateX(1deg);
        }
        @keyframes phone-enter {
            from { opacity: 0; transform: rotateY(-20deg) rotateX(8deg) translateY(40px); }
            to   { opacity: 1; transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
        }

        /* Dynamic Island */
        .phone-notch {
            position: absolute;
            top: 14px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 28px;
            background: var(--phone-notch);
            border-radius: 20px;
            z-index: 10;
        }

        .phone-screen {
            width: 100%;
            border-radius: 38px;
            overflow: hidden;
            background: var(--phone-screen);
            border: 1px solid var(--outline);
        }

        /* In-phone content */
        .phone-header {
            padding: 52px 20px 16px;
        }
        .phone-header-label {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--text-tertiary);
        }
        .phone-header-title {
            font-family: var(--font-display);
            font-size: 20px;
            color: var(--text-primary);
            margin-top: 2px;
        }

        .phone-card {
            margin: 0 12px 12px;
            padding: 20px;
            border-radius: 28px;
            background: var(--phone-card);
            border: 1px solid var(--deco-stroke);
            position: relative;
            overflow: hidden;
        }
        .phone-card-glow {
            position: absolute;
            top: 0; right: 0;
            width: 100px; height: 100px;
            background: var(--orb-2);
            border-radius: 50%;
            filter: blur(30px);
            margin: -30px -30px 0 0;
        }
        .phone-card .live-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 3px 10px;
            border-radius: var(--radius-pill);
            background: var(--accent-soft);
            border: 1px solid var(--outline);
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }
        .phone-card .live-badge .dot {
            width: 5px; height: 5px;
            border-radius: 50%;
            background: var(--success);
            animation: blink 2s infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
        .phone-card-meta {
            font-size: 10px;
            color: var(--text-tertiary);
            font-weight: 500;
            margin-bottom: 2px;
        }
        .phone-card-exercise {
            font-family: var(--font-display);
            font-size: 22px;
            color: var(--text-primary);
            margin-bottom: 16px;
        }
        .phone-card-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 12px;
        }
        .phone-stat {
            padding: 10px 12px;
            border-radius: 16px;
            background: var(--deco-fill);
            border: 1px solid var(--deco-stroke);
        }
        .phone-stat-label {
            font-size: 8px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-tertiary);
        }
        .phone-stat-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-top: 2px;
        }
        .phone-card-actions {
            display: flex;
            gap: 8px;
        }
        .phone-action-check {
            width: 40px; height: 40px;
            border-radius: 14px;
            background: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .phone-action-check svg { width: 18px; height: 18px; stroke: var(--bg-primary); }
        .phone-action-rest {
            flex: 1;
            height: 40px;
            border-radius: 14px;
            background: var(--deco-fill);
            border: 1px solid var(--deco-stroke);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-secondary);
        }

        /* Mini stat row under main card */
        .phone-stats-row {
            display: flex;
            gap: 8px;
            margin: 0 12px 12px;
        }
        .phone-mini-card {
            flex: 1;
            padding: 16px 14px;
            border-radius: 24px;
            background: var(--deco-fill);
            border: 1px solid var(--deco-stroke);
        }
        .phone-mini-card-value {
            font-family: var(--font-display);
            font-size: 18px;
            color: var(--text-primary);
        }
        .phone-mini-card-label {
            font-size: 8px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-tertiary);
            margin-top: 4px;
        }

        /* Phone tab bar */
        .phone-tabbar {
            margin: 0 12px 16px;
            height: 48px;
            border-radius: 28px;
            background: var(--deco-fill);
            border: 1px solid var(--deco-stroke);
            display: flex;
            align-items: center;
            justify-content: space-around;
        }
        .phone-tab { width: 22px; height: 22px; }
        .phone-tab-active {
            padding: 8px;
            border-radius: 14px;
            background: var(--text-primary);
        }
        .phone-tab-active svg { stroke: var(--bg-primary); }

        /* Floating badges */
        .float-badge {
            position: absolute;
            z-index: 20;
            padding: 12px 16px;
            border-radius: 20px;
            background: var(--float-bg);
            backdrop-filter: blur(16px);
            border: 1px solid var(--outline);
            box-shadow: 0 16px 48px var(--glass-shadow);
        }
        .float-badge-pr {
            top: 60px; right: -40px;
            text-align: center;
            animation: float-bob 4s ease-in-out infinite;
        }
        .float-badge-pr .badge-label-new {
            position: absolute;
            top: -8px; right: -8px;
            font-size: 8px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 3px 8px;
            border-radius: var(--radius-pill);
            background: var(--text-primary);
            color: var(--bg-primary);
        }
        .float-badge-pr .badge-value {
            font-family: var(--font-display);
            font-size: 26px;
            font-weight: 600;
            color: var(--text-primary);
        }
        .float-badge-pr .badge-unit {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-tertiary);
        }
        .float-badge-done {
            bottom: 80px; left: -30px;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: float-bob 5s ease-in-out 1s infinite;
        }
        .float-badge-done .badge-icon {
            width: 36px; height: 36px;
            border-radius: 50%;
            background: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .float-badge-done .badge-icon svg { width: 16px; height: 16px; stroke: var(--bg-primary); }
        .float-badge-done .badge-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-primary);
        }
        .float-badge-done .badge-sub {
            font-size: 10px;
            color: var(--text-tertiary);
            margin-top: 1px;
        }

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

        @media (min-width: 768px) {
            .hero-inner { grid-template-columns: 1fr 1fr; }
            .hero-visual { justify-content: flex-end; }
            .phone-mockup { width: 320px; }
        }

        /* ============================================
           BENTO FEATURES GRID
           ============================================ */
        .features-header {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 120px 24px 48px;
        }
        .features-header-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-tertiary);
            margin-bottom: 16px;
        }
        .features-header-title {
            font-family: var(--font-display);
            font-size: clamp(30px, 5vw, 48px);
            font-weight: 400;
            line-height: 1.1;
            letter-spacing: -0.02em;
            max-width: 560px;
        }
        .features-header-desc {
            font-size: 17px;
            line-height: 1.7;
            color: var(--text-secondary);
            max-width: 520px;
            margin-top: 16px;
        }

        .bento {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px 120px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 768px) {
            .bento {
                grid-template-columns: repeat(3, 1fr);
                grid-auto-rows: 320px;
            }
        }

        .bento-card {
            position: relative;
            overflow: hidden;
            border-radius: var(--radius-lg);
            border: 1px solid var(--outline);
            background: var(--card-bg);
            padding: 36px 32px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                        border-color 0.3s,
                        box-shadow 0.5s;
        }
        .bento-card:hover {
            transform: translateY(-4px) scale(1.01);
            border-color: var(--outline-strong);
            box-shadow: 0 20px 60px var(--card-bg-hover-shadow);
        }
        @media (min-width: 768px) {
            .bento-card-wide { grid-column: span 2; }
        }

        .bento-card-icon {
            width: 48px; height: 48px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            background: var(--accent-soft);
            border: 1px solid var(--outline);
        }
        .bento-card-icon svg { width: 22px; height: 22px; stroke: var(--text-primary); }

        .bento-card-title {
            font-family: var(--font-display);
            font-size: clamp(22px, 3vw, 28px);
            font-weight: 400;
            line-height: 1.2;
            margin-bottom: 8px;
        }
        .bento-card-desc {
            font-size: 14px;
            line-height: 1.65;
            color: var(--text-secondary);
            max-width: 400px;
        }

        /* Decorative elements inside bento cards */
        .bento-decoration {
            position: absolute;
            pointer-events: none;
        }

        /* Plan card — calendar decoration */
        .deco-calendar {
            right: 0; bottom: 0;
            width: 55%;
            height: 55%;
            border-top-left-radius: 48px;
            border: 1px solid var(--outline);
            border-right: none;
            border-bottom: none;
            padding: 24px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            opacity: 0.25;
            transition: opacity 0.5s;
        }
        .bento-card:hover .deco-calendar { opacity: 0.4; }
        .deco-calendar-cell {
            border-radius: 12px;
            background: var(--deco-fill);
            border: 1px dashed var(--deco-stroke);
        }

        /* Live card — pulsing orb */
        .deco-orb {
            right: -40px; bottom: -40px;
            width: 160px; height: 160px;
            border-radius: 50%;
            background: var(--deco-fill);
            transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .bento-card:hover .deco-orb { transform: scale(1.4); }

        /* Insights card — bar chart */
        .deco-bars {
            inset: auto 0 0 0;
            height: 110px;
            display: flex;
            align-items: flex-end;
            justify-content: space-around;
            padding: 0 28px 20px;
            opacity: 0.15;
            transition: opacity 0.5s;
        }
        .bento-card:hover .deco-bars { opacity: 0.3; }
        .deco-bar {
            width: 10px;
            background: var(--text-primary);
            border-radius: 4px 4px 0 0;
            transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* History card — stacked rows */
        .deco-rows {
            right: -60px; top: 50%;
            transform: translateY(-50%) rotate(-12deg);
            display: flex;
            flex-direction: column;
            gap: 12px;
            opacity: 0.2;
        }
        .deco-row {
            width: 260px; height: 52px;
            border-radius: 16px;
            background: var(--deco-fill);
            border: 1px solid var(--deco-stroke);
            display: flex;
            align-items: center;
            padding: 0 20px;
            gap: 12px;
        }
        .deco-row-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: var(--deco-dot);
        }
        .deco-row-line {
            flex: 1; height: 4px;
            border-radius: 2px;
            background: var(--deco-line);
        }

        /* ============================================
           TRUST BAR
           ============================================ */
        .trust-section {
            padding: 64px 24px;
            border-top: 1px solid var(--outline);
            border-bottom: 1px solid var(--outline);
        }
        .trust-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
        }
        @media (min-width: 640px) {
            .trust-inner { grid-template-columns: repeat(4, 1fr); }
        }
        .trust-item { text-align: center; }
        .trust-value {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .trust-value-sm { font-size: 20px; }
        .trust-label {
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
        }

        /* ============================================
           CTA SECTION
           ============================================ */
        .cta-section {
            padding: 120px 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-glow {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 500px; height: 500px;
            border-radius: 50%;
            background: var(--accent-soft);
            filter: blur(100px);
            pointer-events: none;
        }
        .cta-icon {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            margin: 0 auto 32px;
            box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
            position: relative;
        }
        .cta-title {
            font-family: var(--font-display);
            font-size: clamp(32px, 5vw, 52px);
            font-weight: 400;
            letter-spacing: -0.02em;
            margin-bottom: 16px;
            line-height: 1;
        }
        .cta-subtitle {
            font-size: 17px;
            color: var(--text-secondary);
            margin-bottom: 36px;
        }
        .cta-note {
            margin-top: 16px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-tertiary);
        }

        /* ============================================
           FOOTER
           ============================================ */
        .footer {
            padding: 32px 24px;
            border-top: 1px solid var(--outline);
        }
        .footer-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .footer-copy {
            font-size: 13px;
            color: var(--text-tertiary);
        }
        .footer-links { display: flex; gap: 24px; }
        .footer-links a {
            font-size: 13px;
            color: var(--text-tertiary);
            transition: color 0.2s;
        }
        .footer-links a:hover { color: var(--text-secondary); }

        /* ============================================
           ANIMATIONS (IntersectionObserver)
           ============================================ */
        .fade-up {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .stagger > .fade-up:nth-child(2) { transition-delay: 0.06s; }
        .stagger > .fade-up:nth-child(3) { transition-delay: 0.12s; }
        .stagger > .fade-up:nth-child(4) { transition-delay: 0.18s; }
        .stagger > .fade-up:nth-child(5) { transition-delay: 0.24s; }
        .stagger > .fade-up:nth-child(6) { transition-delay: 0.30s; }

        /* Hero animates on load, not scroll */
        .hero .anim-load {
            opacity: 0;
            transform: translateY(32px);
            animation: load-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        .hero .anim-load:nth-child(1) { animation-delay: 0.1s; }
        .hero .anim-load:nth-child(2) { animation-delay: 0.2s; }
        .hero .anim-load:nth-child(3) { animation-delay: 0.3s; }
        .hero .anim-load:nth-child(4) { animation-delay: 0.4s; }
        @keyframes load-in {
            to { opacity: 1; transform: translateY(0); }
        }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 767px) {
            .float-badge-pr { right: -10px; top: 30px; }
            .float-badge-done { left: -10px; bottom: 60px; }
            .phone-mockup { width: 260px; }
        }
        @media (max-width: 480px) {
            .float-badge { display: none; }
        }

        /* ============================================
           THEME TOGGLE
           ============================================ */
        .theme-toggle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--outline);
            background: var(--accent-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, transform 0.2s;
            flex-shrink: 0;
        }
        .theme-toggle:hover {
            background: var(--outline-strong);
            transform: scale(1.08);
        }
        .theme-toggle svg {
            width: 18px;
            height: 18px;
            stroke: var(--text-primary);
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: stroke 0.2s;
        }
        .theme-toggle .icon-sun { display: none; }
        .theme-toggle .icon-moon { display: block; }
        [data-theme="light"] .theme-toggle .icon-sun { display: block; }
        [data-theme="light"] .theme-toggle .icon-moon { display: none; }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* ============================================
           LEGAL MODALS
           ============================================ */
        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .modal {
            width: 100%;
            max-width: 640px;
            max-height: 80vh;
            background: var(--bg-primary);
            border: 1px solid var(--outline);
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 40px 100px var(--glass-shadow);
            transform: translateY(20px) scale(0.97);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .modal-overlay.active .modal {
            transform: translateY(0) scale(1);
        }
        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 24px 28px 20px;
            border-bottom: 1px solid var(--outline);
            flex-shrink: 0;
        }
        .modal-title {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 600;
        }
        .modal-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--outline);
            background: var(--accent-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
        }
        .modal-close:hover {
            background: var(--outline-strong);
        }
        .modal-close svg {
            width: 16px;
            height: 16px;
            stroke: var(--text-primary);
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .modal-body {
            padding: 28px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        .modal-body h3 {
            font-family: var(--font-display);
            font-size: 17px;
            font-weight: 600;
            margin: 28px 0 12px;
        }
        .modal-body h3:first-child {
            margin-top: 0;
        }
        .modal-body p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }
        .modal-body ul {
            list-style: none;
            padding: 0;
            margin-bottom: 12px;
        }
        .modal-body li {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-secondary);
            padding-left: 20px;
            position: relative;
            margin-bottom: 4px;
        }
        .modal-body li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--text-tertiary);
        }
        .modal-body .legal-date {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-tertiary);
            margin-bottom: 20px;
        }

        /* Smooth theme transition — elements that don't already have custom transitions */
        body,
        .app-bg,
        .phone-screen,
        .phone-card,
        .trust-section,
        .cta-section,
        .modal {
            transition: background 0.35s ease, background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
        }

        /* Light mode phone tab fix */
        [data-theme="light"] .phone-tab { stroke: #999 !important; }
        [data-theme="light"] .phone-tab-active svg { stroke: var(--accent-text) !important; }
        [data-theme="light"] .phone-action-check svg { stroke: var(--accent-text); }
        [data-theme="light"] .float-badge-done .badge-icon svg { stroke: var(--accent-text); }
        [data-theme="light"] .phone-card-glow { background: var(--orb-2); }
