/* Paper Blueprint v6.0 — LIQUID GLASS + immersive cursor + transitions */
/* True liquid glass: refractive, transparent, specular, alive. */

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

/* Screen reader only — accessible but visually hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --white: #ffffff;
    --off: #fafafa;
    --warm-tint: #fdfcfb;
    --warm-off: #f9f7f4;
    --gray-50: #f5f5f5;
    --gray-100: #e5e5e5;
    --gray-200: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-700: #404040;
    --gray-900: #171717;
    --black: #0a0a0a;

    --warm: #c9a86c;
    --bronze: #8b7355;
    --amber: #d4a853;
    --amber-glow: rgba(212, 168, 83, 0.15);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Liquid glass tokens — nearly clear, edge-defined */
    --glass-bg: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(255, 255, 255, 0.002) 100%);
    --glass-bg-hover: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(255, 255, 255, 0.004) 100%);
    --glass-border: rgba(255, 255, 255, 0.52);
    --glass-border-hover: rgba(255, 255, 255, 0.65);
    --glass-blur: 2px;
    --glass-saturate: 120%;
    --glass-specular: rgba(255, 255, 255, 1.3);
    --glass-specular-soft: rgba(255, 255, 255, 0.35);
    --glass-refract-r: rgba(255, 100, 100, 0.3);
    --glass-refract-b: rgba(100, 140, 255, 0.3);
    --glass-refract-g: rgba(100, 255, 140, 0.2);
    --glass-shadow: 0 6px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    --glass-shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.05);

    /* Dark liquid glass */
    --glass-dark-bg: rgba(255, 255, 255, 0.04);
    --glass-dark-border: rgba(255, 255, 255, 0.55);
    --glass-dark-specular: rgba(255, 255, 255, 0.75);
}

/* ── Liquid Glass Keyframes ─────────────────────────── */

@keyframes glass-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes specular-drift {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    50% { transform: translate(-70%, -40%) rotate(180deg); }
    100% { transform: translate(-30%, -30%) rotate(360deg); }
}

@keyframes caustic-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #f4f2ef;
}

body {
    --wave-opacity: 1;
    font-family: var(--font);
    background: #f4f2ef;
    color: var(--gray-900);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Liquid Glass Background Mesh ──────────────────── */
/* Subtle neutral gradient mesh behind sections so glass refracts visually */

/* ── Section Background ────────────────────────────── */

/* Sections are transparent — waves show through from body::before */
.hero,
.steps,
.inside,
.story,
.results,
.optimize,
.pricing,
.faq,
.code-preview,
.email-capture,
.objection,
.cta-banner {
    background-color: transparent;
}

/* ── Full-Page Wave Stripes ───────────────────────── */
/* Continuous flowing lines across entire page, slowly drifting */

/* Layer 1 — thick slow waves, 3x wide for ultrawide + motion headroom */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -100%;
    width: 300%;
    height: 140%;
    z-index: 0;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9600' height='2400' viewBox='0 0 9600 2400'%3E%3Cg fill='none'%3E%3Cpath d='M-300 150 C400 60 1000 280 1800 130 S2800 20 3800 190 4800 60 5800 210 6800 90 7800 200 8800 110 9900 170' stroke='%23ccc6b8' stroke-width='2' opacity='0.36'/%3E%3Cpath d='M-300 370 C550 310 1150 430 1950 350 S2950 270 3950 410 4950 310 5950 430 6950 330 7950 420 8950 340 9900 380' stroke='%23d5d0c8' stroke-width='0.6' opacity='0.22'/%3E%3Cpath d='M-300 580 C500 490 1100 670 1900 550 S2900 440 3900 600 4900 490 5900 630 6900 510 7900 640 8900 530 9900 590' stroke='%23d2ccc2' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M-300 810 C350 740 950 900 1750 800 S2750 700 3750 860 4750 740 5750 880 6750 760 7750 890 8750 770 9900 830' stroke='%23c8c0b2' stroke-width='2.2' opacity='0.32'/%3E%3Cpath d='M-300 1020 C430 960 1030 1100 1830 1000 S2830 910 3830 1060 4830 950 5830 1080 6830 960 7830 1090 8830 970 9900 1030' stroke='%23d0cac0' stroke-width='0.5' opacity='0.18'/%3E%3Cpath d='M-300 1240 C450 1160 1050 1340 1850 1220 S2850 1120 3850 1280 4850 1160 5850 1300 6850 1180 7850 1310 8850 1200 9900 1260' stroke='%23cec8bc' stroke-width='1.2' opacity='0.27'/%3E%3Cpath d='M-300 1470 C380 1390 980 1560 1780 1440 S2780 1340 3780 1510 4780 1390 5780 1530 6780 1410 7780 1540 8780 1420 9900 1490' stroke='%23c5beb0' stroke-width='1.8' opacity='0.34'/%3E%3Cpath d='M-300 1680 C520 1620 1120 1760 1920 1660 S2920 1580 3920 1720 4920 1610 5920 1740 6920 1630 7920 1750 8920 1640 9900 1700' stroke='%23d3cdc4' stroke-width='0.5' opacity='0.16'/%3E%3Cpath d='M-300 1900 C420 1820 1020 1990 1820 1870 S2820 1770 3820 1940 4820 1820 5820 1960 6820 1840 7820 1970 8820 1850 9900 1920' stroke='%23cbc5b8' stroke-width='1' opacity='0.25'/%3E%3Cpath d='M-300 2130 C480 2050 1080 2220 1880 2100 S2880 2000 3880 2170 4880 2050 5880 2190 6880 2070 7880 2200 8880 2080 9900 2150' stroke='%23d6d0c8' stroke-width='0.4' opacity='0.13'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: var(--wave-opacity, 1);
    transition: opacity 0.3s ease;
    animation: wave-drift-1 40s ease-in-out infinite alternate;
}

/* Layer 2 — thin fast waves (opposite direction), 3x wide */
body::after {
    content: '';
    position: fixed;
    top: -18%;
    left: -80%;
    width: 280%;
    height: 135%;
    z-index: 0;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9600' height='2400' viewBox='0 0 9600 2400'%3E%3Cg fill='none'%3E%3Cpath d='M-200 180 C600 100 1200 280 2000 160 S3000 60 4000 210 5000 100 6000 240 7000 120 8000 230 9000 140 9800 190' stroke='%23d4cec4' stroke-width='0.5' opacity='0.2'/%3E%3Cpath d='M-200 400 C480 340 1080 480 1880 380 S2880 300 3880 440 4880 340 5880 460 6880 360 7880 470 8880 370 9800 420' stroke='%23c8c2b6' stroke-width='1.5' opacity='0.35'/%3E%3Cpath d='M-200 640 C550 560 1150 740 1950 620 S2950 520 3950 680 4950 560 5950 700 6950 580 7950 710 8950 590 9800 650' stroke='%23d2ccc2' stroke-width='0.4' opacity='0.18'/%3E%3Cpath d='M-200 880 C420 800 1020 980 1820 860 S2820 760 3820 920 4820 800 5820 940 6820 820 7820 950 8820 830 9800 890' stroke='%23ccc6ba' stroke-width='1.8' opacity='0.3'/%3E%3Cpath d='M-200 1100 C520 1030 1120 1180 1920 1080 S2920 990 3920 1140 4920 1030 5920 1160 6920 1050 7920 1170 8920 1060 9800 1110' stroke='%23d5cfc6' stroke-width='0.6' opacity='0.15'/%3E%3Cpath d='M-200 1340 C460 1260 1060 1440 1860 1320 S2860 1220 3860 1380 4860 1260 5860 1400 6860 1280 7860 1410 8860 1290 9800 1350' stroke='%23cac4b8' stroke-width='2' opacity='0.32'/%3E%3Cpath d='M-200 1560 C520 1490 1120 1640 1920 1540 S2920 1450 3920 1600 4920 1490 5920 1620 6920 1510 7920 1630 8920 1520 9800 1570' stroke='%23d0cac0' stroke-width='0.5' opacity='0.2'/%3E%3Cpath d='M-200 1780 C460 1700 1060 1880 1860 1760 S2860 1660 3860 1820 4860 1700 5860 1840 6860 1720 7860 1850 8860 1730 9800 1790' stroke='%23c6c0b4' stroke-width='1' opacity='0.28'/%3E%3Cpath d='M-200 2020 C540 1940 1140 2120 1940 2000 S2940 1900 3940 2060 4940 1940 5940 2080 6940 1960 7940 2090 8940 1970 9800 2030' stroke='%23d3cdc4' stroke-width='0.4' opacity='0.12'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: var(--wave-opacity, 1);
    transition: opacity 0.3s ease;
    animation: wave-drift-2 55s ease-in-out infinite alternate-reverse;
}

@keyframes wave-drift-1 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-8%, 2.5%); }
    50% { transform: translate(4%, -2%); }
    75% { transform: translate(-3%, 4%); }
    100% { transform: translate(6%, -1%); }
}

@keyframes wave-drift-2 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(6%, -3%); }
    50% { transform: translate(-5%, 2%); }
    75% { transform: translate(3%, -4%); }
    100% { transform: translate(-7%, 1.5%); }
}

/* Ensure all content sits above the fixed wave layer */
body > * {
    position: relative;
    z-index: 1;
}

/* ── Stripe Darkening Behind Glass Cards ──────────── */
/* Radial mask that intensifies stripes only under cards */

.steps-grid,
.inside-grid,
.results-grid,
.optimize-examples,
.pricing-grid,
.faq-list,
.story-proof {
    position: relative;
}

.steps-grid::before,
.inside-grid::before,
.results-grid::before,
.optimize-examples::before,
.pricing-grid::before,
.faq-list::before,
.story-proof::before {
    content: '';
    position: absolute;
    inset: -20px -40px;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 40%, transparent 70%);
    pointer-events: none;
    border-radius: 28px;
}

.steps-grid > *,
.inside-grid > *,
.results-grid > *,
.optimize-examples > *,
.pricing-grid > *,
.faq-list > *,
.story-proof > * {
    position: relative;
    z-index: 1;
}

/* ── Custom Cursor (disabled — using native cursor) ── */

.custom-cursor,
.custom-cursor-trail {
    display: none !important;
}

/* ── Section Transition Overlay ──────────────────────── */

.section-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(253,252,251,0.95), rgba(255,255,255,0.98));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
    transition: clip-path 0.6s var(--spring);
}

.section-transition-overlay.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* No persistent background layer — clean white canvas */

/* Main content wrapper for transitions */
.page-content {
    transition: opacity 0.5s var(--spring), transform 0.5s var(--spring), filter 0.5s var(--spring);
}

.page-content.transitioning-out {
    opacity: 0.4;
    transform: scale(0.97) translateY(-15px);
    filter: blur(20px);
}

.page-content.transitioning-in {
    opacity: 0;
    transform: scale(0.97) translateY(30px);
    filter: blur(15px);
}

.page-content.transitioning-in.resolved {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

/* ── Typography ──────────────────────────────────────── */

h1 {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--black);
}

.hero-thin {
    font-weight: 300;
    color: var(--gray-700);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 8px;
}

p { color: var(--gray-500); line-height: 1.7; }

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.eyebrow-glow {
    color: var(--warm);
    text-shadow: 0 0 20px rgba(201, 168, 108, 0.4);
}

/* ── Nav — floating pill ─────────────────────────────── */

.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 100;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.nav.nav-hidden {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Liquid glass nav — 2px blur */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(2px) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 6px 6px 6px 16px;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(0, 0, 0, 0.03),
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
    transition: all 0.3s var(--spring);
    position: relative;
    overflow: hidden;
}

/* Specular highlight sweep on nav */
.nav-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
    pointer-events: none;
    z-index: 0;
}

.nav-pill:hover::before {
    left: 120%;
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.65);
    border-top-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05),
        -2px 0 6px var(--glass-refract-r),
        2px 0 6px var(--glass-refract-b);
    transform: translateY(-1px);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--black);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
    /* Dark liquid glass nav button — matches btn-main standard */
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(3px) saturate(140%);
    -webkit-backdrop-filter: blur(3px) saturate(140%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s var(--spring);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        -1px 0 3px rgba(255, 100, 100, 0.05),
        1px 0 3px rgba(100, 140, 255, 0.05);
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 108, 0.25), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--spring);
    border-radius: inherit;
}

.nav-cta:hover::after { transform: scaleX(1); }

.nav-cta:hover {
    background: rgba(10, 10, 10, 0.82);
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.15),
        -2px 0 6px rgba(255, 100, 100, 0.06),
        2px 0 6px rgba(100, 140, 255, 0.06);
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(120px + env(safe-area-inset-top, 0px)) 32px 80px;
    overflow: hidden;
    max-width: 100vw;
}

/* Warm aurora glow — subtle */
.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, rgba(201, 168, 108, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: glow-drift 20s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.07) 0%, rgba(92, 77, 60, 0.03) 40%, transparent 70%);
    pointer-events: none;
    animation: glow-drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes glow-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-top-color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--bronze);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02),
        0 4px 24px rgba(212, 168, 83, 0.08),
        -1px 0 3px var(--glass-refract-r),
        1px 0 3px var(--glass-refract-b);
    position: relative;
    overflow: hidden;
}

/* Slow shimmer sweep on hero pill */
.hero-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: glass-shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(212, 168, 83, 0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 16px rgba(212, 168, 83, 0.4); }
}

.hero h1 { margin-bottom: 24px; }

.hero-sub {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

/* Hero visual — glowing notebook */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    z-index: 1;
    opacity: 0.3;
    max-width: 22vw;
}

.hero-clip {
    width: 100%;
    height: 100%;
}

/* Hero notebook fade in */
.hero-clip rect,
.hero-clip line {
    opacity: 0;
    animation: nb-fade 0.8s var(--spring) forwards;
}

.hero-clip rect { animation-delay: 0.5s; }
.hero-clip line:nth-child(2) { animation-delay: 0.8s; }
.hero-clip line:nth-child(3) { animation-delay: 0.9s; }
.hero-clip line:nth-child(4) { animation-delay: 1.0s; }
.hero-clip line:nth-child(5) { animation-delay: 1.1s; }
.hero-clip line:nth-child(6) { animation-delay: 1.2s; }

@keyframes nb-fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-beam {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 200px;
    background: linear-gradient(180deg, rgba(201, 168, 108, 0.3) 0%, transparent 100%);
    border-radius: 30px;
    filter: blur(20px);
    animation: beam-pulse 4s ease-in-out infinite;
}

@keyframes beam-pulse {
    0%, 100% { opacity: 0.5; height: 200px; }
    50% { opacity: 0.8; height: 240px; }
}

/* ── Buttons ─────────────────────────────────────────── */

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Dark liquid glass button with clear glass outer rim */
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(3px) saturate(140%);
    -webkit-backdrop-filter: blur(3px) saturate(140%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s var(--spring);
    text-decoration: none;
    position: relative;
    /* Clear glass outer rim */
    outline: 1.5px solid var(--glass-border);
    outline-offset: 3px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15),
        0 0 0 5px rgba(255, 255, 255, 0.002),
        0 4px 12px rgba(0, 0, 0, 0.1),
        -1px 0 3px rgba(255, 100, 100, 0.05),
        1px 0 3px rgba(100, 140, 255, 0.05);
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s var(--ease);
    pointer-events: none;
}

.btn-main:hover::before {
    left: 120%;
}

.btn-main:hover {
    background: rgba(10, 10, 10, 0.82);
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.5);
    outline-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15),
        0 0 0 5px rgba(255, 255, 255, 0.004),
        0 8px 24px rgba(0, 0, 0, 0.15),
        -2px 0 6px rgba(255, 100, 100, 0.06),
        2px 0 8px rgba(100, 140, 255, 0.08);
}

.btn-main:hover svg {
    transform: translateX(3px);
    transition: transform 0.3s var(--spring);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

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

.btn-card {
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    /* Light liquid glass button */
    background: rgba(255, 255, 255, 0.002);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1.5px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s var(--spring);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 -1px 1px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.06),
        -1px 0 3px var(--glass-refract-r),
        1px 0 3px var(--glass-refract-b);
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s var(--ease);
    pointer-events: none;
}

.btn-card:hover::before { left: 120%; }

.btn-card:hover {
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.01);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.7),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.08),
        -2px 0 6px var(--glass-refract-r),
        2px 0 6px var(--glass-refract-b);
}

.btn-full { width: 100%; }

/* ── Proof strip ─────────────────────────────────────── */

.proof {
    padding: 32px;
    background: var(--warm-tint);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.proof-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.proof-item {
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.25s var(--ease);
    cursor: default;
}

.proof-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.proof-item:hover .proof-value {
    color: var(--bronze);
}

.proof-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1;
}

.proof-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    display: block;
}

.proof-sep {
    width: 1px;
    height: 40px;
    background: var(--gray-100);
}

/* ── Key Facts (GEO quotable stats) ─────────────────── */

.key-facts {
    /* Hidden visually but preserved for SEO/GEO crawlers */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.key-facts-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.key-fact {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.key-fact:last-child { margin-bottom: 0; }

.key-fact strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* ── Steps ───────────────────────────────────────────── */

.steps {
    padding: 120px 32px;
    position: relative;
}

.steps-inner { position: relative; z-index: 1; }

.steps-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-inner h2 { margin-bottom: 64px; }

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

.step {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--spring);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

/* Specular caustic on cards */
.step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    animation: specular-drift 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    z-index: 0;
}

.step > * { position: relative; z-index: 1; }

.step:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
    transform: translateY(-4px);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--warm), var(--bronze));
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.step p {
    font-size: 15px;
    line-height: 1.7;
}

/* ── Inside ──────────────────────────────────────────── */

.inside {
    padding: 120px 32px;
    position: relative;
}

.inside-inner { position: relative; z-index: 1; }

.inside-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.inside-inner h2 { margin-bottom: 56px; }

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

.inside-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s var(--spring);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

/* Specular caustic */
.inside-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: specular-drift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.inside-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    z-index: 0;
}

.inside-card > * { position: relative; z-index: 1; }

.inside-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
    transform: translateY(-4px);
}

.inside-card:hover .inside-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.2);
}

.inside-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--bronze);
    transition: all 0.4s var(--spring);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.inside-card p { font-size: 15px; }

/* ── Code Preview ───────────────────────────────────────── */

.code-preview {
    padding: 120px 32px;
    background: var(--white);
}

.code-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.code-inner h2 { margin-bottom: 12px; }

.code-sub {
    font-size: 17px;
    color: var(--gray-400);
    margin-bottom: 48px;
    line-height: 1.7;
}

.code-window {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #252525;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27ca40; }

.code-filename {
    margin-left: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--mono);
}

.code-block {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.7;
    color: #e0e0e0;
}

.code-block code {
    display: block;
    white-space: pre;
}

.code-kw { color: #c792ea; }
.code-fn { color: #82aaff; }
.code-str { color: #c3e88d; }

.code-caption {
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-400);
    font-style: italic;
}

@media (max-width: 640px) {
    .code-preview { padding: 80px 24px; }
    .code-block { font-size: 12px; padding: 16px; }
}

@media (max-width: 400px) {
    .code-preview { padding: 60px 16px; }
    .code-window { border-radius: 12px; }
    .code-block {
        font-size: 11px;
        padding: 12px;
        -webkit-overflow-scrolling: touch;
    }
    .code-header { padding: 10px 14px; }
    .code-filename { font-size: 11px; }
}

/* ── Story Section ─────────────────────────────────────── */

.story {
    padding: 120px 32px;
    border-top: 1px solid rgba(212, 168, 83, 0.06);
}

.story-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.story-text p:last-child { margin-bottom: 0; }

.story-text em {
    font-style: italic;
    color: var(--bronze);
}

.story-proof {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-stat {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s var(--spring);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

.story-stat:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b);
}

.story-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.story-desc {
    font-size: 14px;
    color: var(--gray-400);
}

@media (max-width: 900px) {
    .story-content { grid-template-columns: 1fr; gap: 40px; }
    .story-proof { flex-direction: row; flex-wrap: wrap; }
    .story-stat { flex: 1 1 calc(50% - 10px); min-width: 140px; }
}

@media (max-width: 640px) {
    .story { padding: 80px 24px; }
    .story-text p { font-size: 16px; }
    .story-stat { flex: 1 1 100%; }
    .story-num { font-size: 24px; }
}

/* ── Real Results Section ─────────────────────────────── */

.results {
    padding: 120px 32px;
    border-top: 1px solid rgba(212, 168, 83, 0.06);
    position: relative;
    overflow: hidden;
}

.results-inner { position: relative; z-index: 1; }

.results-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.results-inner h2 { margin-bottom: 16px; }

.results-sub {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.results-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

/* Specular caustic */
.results-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: specular-drift 14s ease-in-out infinite;
    pointer-events: none;
}

.results-card > * { position: relative; z-index: 1; }

.results-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
    transform: translateY(-4px);
}

.results-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--bronze);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.results-card p {
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .results-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .results { padding: 80px 24px; }
    .results-card { padding: 28px 24px; }
}

@media (max-width: 400px) {
    .results { padding: 60px 16px; }
    .results-card { padding: 24px 20px; }
}

/* ── Meta — dark with aurora ─────────────────────────── */

.meta {
    position: relative;
    padding: 140px 32px;
    background: var(--black);
    text-align: center;
    overflow: hidden;
}

.meta-aurora {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 120%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(201, 168, 108, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(212, 168, 83, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 60%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    pointer-events: none;
    filter: blur(30px);
    animation: aurora-shift 15s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-48%) scale(1.05); opacity: 0.8; }
    100% { transform: translateX(-52%) scale(1.02); opacity: 1; }
}

.meta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.meta h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.meta-body {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin-bottom: 56px;
}

.meta-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.meta-stat { text-align: center; }

.stat-val {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--warm);
    letter-spacing: -0.03em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(201, 168, 108, 0.3);
}

.stat-lbl {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
    display: block;
}

/* ── Live System Status ─────────────────────────────────── */

.live-status {
    padding: 48px 32px;
    background: var(--black);
}

.live-inner {
    max-width: 900px;
    margin: 0 auto;
}

.live-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #22c55e;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(34, 197, 94, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
}

.live-updated {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

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

.live-item {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-dark-border);
    border-top-color: rgba(255, 255, 255, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 28px 16px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.live-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
    border-top-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.live-val {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--mono);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.live-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .live-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .live-status { padding: 56px 24px; }
    .live-header { flex-direction: column; gap: 8px; }
    .live-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .live-val { font-size: 28px; }
    .live-item { padding: 20px 12px; }
}

/* ── Self-Optimization Showcase ────────────────────────── */

.optimize {
    padding: 120px 32px;
    position: relative;
    overflow: hidden;
}

.optimize-inner { position: relative; z-index: 1; }

.optimize-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.optimize-inner h2 { margin-bottom: 16px; }

.optimize-sub {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.optimize-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 56px;
}

.optimize-stat { text-align: center; }

.stat-big {
    font-size: 56px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--warm) 0%, var(--bronze) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.optimize-stat .stat-lbl {
    color: var(--gray-400);
    margin-top: 8px;
}

.optimize-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.optimize-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: left;
    transition: all 0.4s var(--spring);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

/* Specular caustic */
.optimize-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: specular-drift 13s ease-in-out infinite;
    pointer-events: none;
}

.optimize-card > * { position: relative; z-index: 1; }

.optimize-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
    transform: translateY(-4px);
}

.opt-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber-glow), rgba(139, 115, 85, 0.08));
    border: 1px solid rgba(212, 168, 83, 0.2);
    color: var(--bronze);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.opt-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.optimize-card p {
    font-size: 14px;
    line-height: 1.65;
}

.optimize-cta {
    font-size: 15px;
    color: var(--gray-400);
    font-style: italic;
}

@media (max-width: 900px) {
    .optimize-examples { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 48px; }
    .optimize-stats { gap: 40px; }
    .stat-big { font-size: 44px; }
}

@media (max-width: 640px) {
    .optimize { padding: 80px 24px; }
    .optimize-stats { flex-direction: column; gap: 24px; }
    .stat-big { font-size: 48px; }
}

/* ── Pricing ─────────────────────────────────────────── */

.pricing {
    padding: 120px 32px;
    position: relative;
    overflow: hidden;
}

.pricing-inner { position: relative; z-index: 1; }

.pricing-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.pricing-inner h2 { margin-bottom: 8px; }

.pricing-sub {
    color: var(--gray-400);
    font-size: 16px;
    margin-bottom: 16px;
}

.pricing-launch {
    display: inline-block;
    background: rgba(255, 255, 255, 0.002);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    color: var(--bronze);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 48px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.04),
        -1px 0 3px var(--glass-refract-r),
        1px 0 3px var(--glass-refract-b);
}

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

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1.5px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s var(--spring);
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        var(--glass-shadow),
        -1px 0 4px var(--glass-refract-r),
        1px 0 4px var(--glass-refract-b);
}

/* Specular caustic on pricing */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: specular-drift 16s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.pricing-card > * { position: relative; z-index: 1; }

.pricing-card:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        var(--glass-shadow-hover),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
}

.pricing-featured,
.pricing-card.featured {
    border-color: rgba(255, 255, 255, 0.5);
    border-top-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transform: scale(1.04);
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b),
        0 -1px 6px var(--glass-refract-g);
}

.pricing-featured:hover,
.pricing-card.featured:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 2px 3px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        -3px 0 12px var(--glass-refract-r),
        3px 0 12px var(--glass-refract-b),
        0 -2px 8px var(--glass-refract-g);
    transform: scale(1.04) translateY(-4px);
}

/* Pricing card layout — flex column for equal heights */
.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--warm), var(--bronze));
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
}

.pricing-tier {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-sats {
    font-size: 13px;
    color: var(--gray-400);
    font-family: var(--mono);
    margin-bottom: 28px;
    min-height: 20px;
}

.pricing-type {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.pricing-option {
    text-align: center;
}

.pricing-option-monthly .pricing-amount {
    font-size: 40px;
    margin-bottom: 8px;
}

.pricing-period {
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-divider {
    font-size: 13px;
    color: var(--gray-400);
    text-align: center;
    position: relative;
}

.pricing-divider::before,
.pricing-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gray-200);
}

.pricing-divider::before { left: 0; }
.pricing-divider::after { right: 0; }

.pricing-amount-small {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.pricing-option-onetime .pricing-sats {
    margin-bottom: 12px;
}

.pricing-option-onetime .btn-card {
    margin-top: 8px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

/* Featured card glow */
.pricing-featured,
.pricing-card.featured {
    box-shadow:
        inset 0 1px 2px var(--glass-specular),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(201, 168, 108, 0.15),
        0 8px 32px rgba(201, 168, 108, 0.12),
        0 24px 64px rgba(201, 168, 108, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05),
        -2px 0 8px var(--glass-refract-r),
        2px 0 8px var(--glass-refract-b);
}

.pricing-featured:hover,
.pricing-card.featured:hover {
    box-shadow:
        inset 0 2px 3px var(--glass-specular),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(201, 168, 108, 0.25),
        0 12px 48px rgba(201, 168, 108, 0.18),
        0 32px 80px rgba(201, 168, 108, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        -3px 0 12px var(--glass-refract-r),
        3px 0 12px var(--glass-refract-b);
}

.pricing-card li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amber-glow);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12 5L6.5 10.5 4 8' fill='none' stroke='%238b7355' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Objection Crusher ───────────────────────────────── */

.objection {
    padding: 64px 32px;
    text-align: center;
}

.objection-inner {
    max-width: 640px;
    margin: 0 auto;
}

.objection-text {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--gray-700);
    font-style: italic;
}

@media (max-width: 640px) {
    .objection { padding: 48px 24px; }
    .objection-text { font-size: 17px; }
}

@media (max-width: 400px) {
    .objection { padding: 40px 16px; }
    .objection-text { font-size: 16px; }
}

/* ── FAQ ──────────────────────────────────────────────── */

.faq {
    padding: 120px 32px;
}

.faq-inner {
    max-width: 640px;
    margin: 0 auto;
}

.faq-inner h2 { margin-bottom: 48px; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.45);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s var(--spring);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* ── Email Capture ───────────────────────────────────────── */

.email-capture {
    padding: 80px 32px;
    text-align: center;
    border-top: 1px solid rgba(212, 168, 83, 0.06);
}

.email-inner {
    max-width: 500px;
    margin: 0 auto;
}

.email-inner h2 { margin-bottom: 8px; }

.email-sub {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 1.5px solid var(--gray-100);
    border-radius: 999px;
    font-size: 15px;
    font-family: var(--font);
    background: var(--white);
    transition: all 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: var(--warm);
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.15);
}

.email-input::placeholder { color: var(--gray-400); }

.email-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-400);
}

.email-note.success { color: #22c55e; }
.email-note.error { color: #ef4444; }

@media (max-width: 640px) {
    .email-capture { padding: 60px 24px; }
    .email-form { flex-direction: column; }
    .email-input { width: 100%; }
}

/* ── CTA Banner ──────────────────────────────────────── */

.cta-banner {
    padding: 80px 32px;
    background: transparent;
    text-align: center;
    border-top: 1px solid var(--gray-50);
}

.cta-inner {
    max-width: 500px;
    margin: 0 auto;
}

.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────── */

.footer {
    padding: 48px 32px;
    border-top: 1px solid var(--gray-100);
    background: transparent;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
}

.footer-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-proof-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

.footer-proof-links {
    display: flex;
    gap: 16px;
}

.footer-proof-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--bronze);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.002);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: all 0.2s;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.03);
}

.footer-proof-links a:hover {
    border-color: rgba(255, 255, 255, 0.6);
    border-top-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--gray-900); }

.footer-copy { font-size: 13px; color: var(--gray-400); }

/* ── Modal ───────────────────────────────────────────── */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal-card {
    background: #ffffff;
    border: 1px solid var(--gray-200, #e5e5e5);
    border-radius: 24px;
    padding: 44px;
    max-width: 440px;
    width: 100%;
    position: relative;
    animation: modal-in 0.4s var(--spring);
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04);
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-50);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-500);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-x:hover { background: var(--gray-100); }

.modal-card h2 { font-size: 24px; margin-bottom: 8px; }
.modal-card > p { margin-bottom: 20px; font-size: 15px; }

.modal-address {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 14px 20px;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 500;
    margin-bottom: 20px;
    word-break: break-all;
}

.modal-how {
    text-align: left;
    background: var(--off);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.modal-how-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.modal-how ol { padding-left: 20px; color: var(--gray-500); font-size: 14px; }
.modal-how li { margin-bottom: 6px; }
.modal-tier { font-size: 14px; color: var(--gray-400); margin-bottom: 20px; }

.modal-methods { text-align: center; }
.modal-method { margin-bottom: 0; }
.modal-method-primary { margin-bottom: 0; }
.modal-method-primary .btn-full {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
}
.modal-method-note {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 8px;
}
.modal-method-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--gray-300);
    font-size: 13px;
}
.modal-divider::before, .modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}

/* ── Status Pills ───────────────────────────────────── */

.sp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    min-width: 110px;
    padding: 0 16px 0 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    position: relative;
    transition: background-color 400ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
    /* Liquid glass on pills */
    backdrop-filter: blur(2px) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(2px) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.1),
        -1px 0 3px var(--glass-refract-r),
        1px 0 3px var(--glass-refract-b);
}

.sp:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.12),
        -2px 0 6px var(--glass-refract-r),
        2px 0 6px var(--glass-refract-b);
}

.sp-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* ── Amber / Loading state ── */
.sp--loading {
    background: #d4a853;
    color: #fff;
}

.sp--loading .sp-icon {
    animation: sp-icon-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sp-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sp-spin 0.8s linear infinite;
}

@keyframes sp-spin {
    to { transform: rotate(360deg); }
}

/* ── Red / Error state ── */
.sp--error {
    background: #dc4a4a;
    color: #fff;
}

.sp--error .sp-icon {
    animation: sp-icon-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sp-x {
    position: relative;
    width: 14px;
    height: 14px;
}

.sp-x::before, .sp-x::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
}

.sp-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.sp-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.sp--error .sp-x {
    animation: sp-shake 400ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes sp-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(1px); }
}

/* ── Green / Success state ── */
.sp--success {
    background: #22c55e;
    color: #fff;
}

.sp--success .sp-icon {
    animation: sp-icon-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sp-check {
    width: 16px;
    height: 16px;
}

.sp-check path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: sp-draw-check 400ms cubic-bezier(0.65, 0, 0.35, 1) 100ms forwards;
}

@keyframes sp-draw-check {
    to { stroke-dashoffset: 0; }
}

@keyframes sp-icon-in {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Cycling pill — auto-transitions ── */
.sp-cycle {
    animation: sp-cycle-bg 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sp-cycle .sp-icon-loading,
.sp-cycle .sp-icon-error,
.sp-cycle .sp-icon-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 250ms, transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-cycle[data-state="loading"] .sp-icon-loading,
.sp-cycle[data-state="error"] .sp-icon-error,
.sp-cycle[data-state="success"] .sp-icon-success {
    opacity: 1;
    transform: scale(1);
}

.sp-cycle .sp-label { transition: opacity 200ms; }

@keyframes sp-cycle-bg {
    0%, 28% { background-color: #d4a853; box-shadow: 0 2px 12px rgba(212, 168, 83, 0.35); }
    33%, 61% { background-color: #dc4a4a; box-shadow: 0 2px 12px rgba(220, 74, 74, 0.35); }
    66%, 94% { background-color: #22c55e; box-shadow: 0 2px 12px rgba(34, 197, 94, 0.35); }
    100% { background-color: #d4a853; box-shadow: 0 2px 12px rgba(212, 168, 83, 0.35); }
}

/* Micro-lift on state change — subtle, no jump */
@keyframes sp-pulse {
    0% { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
    100% { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
}

/* Fixed dimensions for cycling pills to prevent layout shift */
.sp-cycle {
    min-width: 130px;
    justify-content: center;
}

.sp-cycle .sp-label {
    min-width: 70px;
    text-align: center;
    display: inline-block;
}

/* ── Small variant for nav ── */
.sp--sm {
    height: 28px;
    padding: 0 12px 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sp--sm .sp-icon { width: 16px; height: 16px; }
.sp--sm .sp-spinner { width: 12px; height: 12px; border-width: 1.5px; }

/* ── Dark background variant ── */
.sp--dark {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.sp--dark:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ── Demo strip — horizontal row of pills ── */
.sp-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Scroll Reveal ──────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition: opacity 0.65s var(--spring), transform 0.65s var(--spring), filter 0.65s var(--spring);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Kinetic Hero Text ─────────────────────────────── */
.hero h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(6px);
    animation: word-reveal 0.7s var(--spring) forwards;
}

@keyframes word-reveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* ── Section Fade-Up on scroll ──────────────────────── */
.section-reveal {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
    transition: opacity 0.6s var(--spring), transform 0.6s var(--spring), filter 0.6s var(--spring);
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* ── Nav link underline draw ───────────────────────── */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background: var(--warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--spring);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ── Micro-Interactions ─────────────────────────────── */

.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gray-900);
    transition: width 0.3s var(--ease);
}

.footer-links a:hover::after {
    width: 100%;
}

.btn-main:active,
.nav-cta:active {
    transform: scale(0.97);
}

.btn-card:active {
    transform: scale(0.97);
}

/* Smooth focus rings */
.btn-main:focus-visible,
.btn-card:focus-visible,
.nav-cta:focus-visible,
.btn-ghost:focus-visible {
    outline: 2px solid var(--warm);
    outline-offset: 3px;
    border-radius: 999px;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--warm);
    outline-offset: -2px;
    border-radius: 16px;
}

/* Step card subtle hover glow */
.inside-card:hover {
    transform: translateY(-4px);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .meta-stats { gap: 32px; }
}

@media (max-width: 640px) {
    .hero { padding: 60px 24px 40px; min-height: 100svh; }
    .hero-visual { display: none; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn-main,
    .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
    .hero-sub br { display: none; }

    h1 { font-size: clamp(2.8rem, 9vw, 3.2rem); }
    h2 { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .hero-sub {
        font-size: 17px;
        line-height: 1.65;
        color: var(--gray-400);
    }

    .nav-pill { padding: 4px 4px 4px 12px; }
    .nav-links { display: none; }
    .nav-pill > .sp--sm { display: none; }
    .nav-cta { min-height: 44px; padding: 10px 20px; }

    .steps, .inside, .pricing, .faq, .meta { padding: 80px 24px; }

    .steps-grid { grid-template-columns: 1fr; }
    .inside-grid { grid-template-columns: 1fr; }

    .step p, .inside-card p, .faq-item p { line-height: 1.75; }

    /* Proof strip mobile optimization */
    .proof { padding: 24px 16px; }
    .proof-inner { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .proof-item { flex: 0 0 auto; min-width: 80px; }
    .proof-value { font-size: 22px; }
    .proof-sep { display: none; }

    .stat-val { font-size: 32px; }

    .meta-stats { flex-direction: column; gap: 24px; }
    .meta-body { font-size: 15px; }

    /* FAQ mobile touch targets */
    .faq-item summary { padding: 18px 20px; min-height: 56px; }
    .faq-item p { padding: 0 20px 18px; font-size: 14px; }

    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-proof { flex-direction: column; gap: 8px; }
    .footer-proof-links { flex-wrap: wrap; justify-content: center; gap: 8px; }

    /* Modal mobile improvements */
    .modal-card { padding: 28px 20px; border-radius: 20px; max-height: 90vh; overflow-y: auto; }
    .modal-address { font-size: 12px; padding: 12px 14px; word-break: break-all; overflow-wrap: anywhere; }
    .modal-how { padding: 14px 16px; }
    .modal-how ol { font-size: 13px; }

    /* Modal tabs mobile */
    .modal-tabs { gap: 4px; padding: 3px; }
    .modal-tab { padding: 10px 12px; min-height: 44px; font-size: 13px; }

    /* Price badge mobile */
    .modal-tier-display { font-size: 15px; }
    #selected-price { padding: 2px 8px; font-size: 14px; }

    /* Button touch targets - 44px minimum */
    .btn-main { min-height: 48px; }
    .btn-card { min-height: 48px; }
}

/* Extra small screens (375px and below) */
@media (max-width: 400px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.6rem; }

    .hero { padding: 50px 16px 30px; }
    .hero-pill { padding: 6px 14px; font-size: 11px; }
    .hero-sub { font-size: 15px; }

    .steps, .inside, .pricing, .faq, .meta, .optimize { padding: 60px 16px; }

    .step, .inside-card { padding: 28px 20px; }
    .pricing-card { padding: 28px 20px; }

    .live-status { padding: 32px 16px; }
    .live-grid { gap: 12px; }
    .live-val { font-size: 24px; }
    .live-item { padding: 16px 10px; }

    .optimize-stats { gap: 16px; }
    .stat-big { font-size: 36px; }

    .email-capture { padding: 50px 16px; }
    .email-input { padding: 14px 16px; font-size: 14px; }

    .faq { padding: 60px 16px; }
    .faq-item summary { font-size: 14px; padding: 16px; }
    .faq-item p { padding: 0 16px 16px; font-size: 13px; }

    .cta-banner { padding: 60px 16px; }
    .footer { padding: 32px 16px; }

    /* Modal extra narrow */
    .modal-overlay { padding: 16px; }
    .modal-card { padding: 24px 16px; }
    .modal-tabs { flex-direction: column; gap: 6px; }
    .modal-tab { justify-content: center; }
    .modal-address { font-size: 11px; line-height: 1.4; }
    #selected-price { display: block; margin-left: 0; margin-top: 4px; }
}
