/* ============================================
   CSS VARIABLES — Concrete (Dark Slate Grey)
   ============================================ */
:root {
    /* Backgrounds — Tailwind grey-800/700/600 foundation */
    --bg-base: #1f2937;
    --bg-elevated: #374151;
    --bg-elevated-hover: #4b5563;
    --bg-deep: #111827;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    /* Accent — brighter violet for mid-tone contrast */
    --accent: #a78bfa;
    --accent-dim: rgba(167, 139, 250, 0.15);
    --accent-border: rgba(167, 139, 250, 0.35);

    /* Text — light on dark */
    --fg: #f9fafb;
    --fg-muted: #d1d5db;
    --fg-dim: #9ca3af;

    /* Borders — semi-transparent white overlays */
    --border: rgba(255, 255, 255, 0.15);
    --border-light: rgba(255, 255, 255, 0.08);

    /* Hover — white overlays */
    --hover: rgba(255, 255, 255, 0.04);
    --hover-strong: rgba(255, 255, 255, 0.08);

    /* Semantics */
    --success: #34d399;
    --error: #f87171;
    --warning: #fbbf24;
    --info: #60a5fa;

    /* Typography */
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 200ms;

    /* Layout */
    --container-max: 1260px;
    --section-pad-x: 50px;
    --section-pad-y: 96px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.35;
    color: var(--fg);
    background: var(--bg-base);
    overflow-x: hidden;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--space-lg);
    transition: background var(--duration) ease, border-color var(--duration) ease, box-shadow var(--duration) ease;
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: rgba(31, 41, 55, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-light);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo img {
    height: 32px;
    width: auto;
    transition: opacity 0.15s ease;
}

.nav-logo:hover img {
    opacity: 0.7;
}

/* Hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fg);
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav-hamburger:hover .hamburger-line {
    background: var(--accent);
}

.nav-hamburger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-spacer {
    width: 32px;
}

/* ============================================
   NAVIGATION DRAWER — Dark (Pulse-style)
   ============================================ */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: var(--bg-deep);
    border-right: 1px solid var(--border-light);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
}

.nav-drawer.active {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--fg-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: background var(--duration) ease, color var(--duration) ease;
}

.nav-drawer-close:hover {
    background: var(--hover-strong);
    color: var(--fg);
}

.nav-drawer-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-drawer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--fg-muted);
    border-radius: 8px;
    transition: background var(--duration) ease, color var(--duration) ease;
}

.nav-drawer-link:hover {
    background: var(--hover-strong);
    color: var(--fg);
}

.nav-drawer-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-drawer-link.active {
    background: var(--accent-dim);
    color: var(--accent);
}

.nav-drawer-divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--space-md) 0;
}

.nav-drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--fg-dim);
}

body.drawer-open {
    overflow: hidden;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
}

/* ============================================
   HERO SECTION — Elevated grey
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-3xl) + 60px) var(--section-pad-x) var(--space-3xl);
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated);
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: var(--space-lg);
    max-width: 900px;
}

.hero-headline em {
    font-style: italic;
    color: var(--accent);
}

.hero-body {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.2px;
    color: var(--fg-muted);
    max-width: 620px;
    margin-bottom: calc(var(--space-xl) + var(--space-md));
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--fg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--duration) ease, transform var(--duration) ease;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--fg);
    transform: translateY(-1px);
}

.hero-cta:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.hero-cta svg {
    width: 16px;
    height: 16px;
}

/* Globe canvas */
.hero-decor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================
   GLOBE PANEL — Country stats overlay
   ============================================ */
.globe-panel {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(20px);
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(31, 41, 55, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 24px 20px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.globe-panel[hidden] {
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(20px);
}
.globe-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}
.globe-panel-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: var(--fg-dim);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.globe-panel-close:hover {
    color: var(--fg);
    background: var(--hover-strong);
}
.globe-panel-header {
    margin-bottom: 4px;
}
.globe-panel-country {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: var(--fg);
    margin: 0 0 6px 0;
    padding-right: 30px;
}
.globe-panel-gci {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--fg-dim);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    padding: 3px 8px;
    border-radius: 4px;
}
.globe-panel-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}
.globe-panel-stats {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.globe-stat {
    opacity: 0;
    transform: translateY(8px);
    animation: globeStatReveal 0.4s ease forwards;
}
@keyframes globeStatReveal {
    to { opacity: 1; transform: translateY(0); }
}
.globe-stat-value {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.globe-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: 3px;
}
.globe-stat-label {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--fg-muted);
    line-height: 1.3;
}
.globe-stat-delta {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    padding: 1px 6px;
    border-radius: 3px;
}
.globe-stat-delta.up {
    color: var(--error);
    background: rgba(248, 113, 113, 0.12);
}
.globe-stat-delta.down {
    color: var(--success);
    background: rgba(52, 211, 153, 0.12);
}
.globe-stat-source {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-dim);
    margin-top: 2px;
    opacity: 0.7;
}
.globe-panel-sources {
    margin: 0;
}
.globe-panel-sources summary {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-muted);
    cursor: pointer;
    padding: 2px 0;
    list-style: none;
}
.globe-panel-sources summary::before {
    content: '\25B8  ';
    font-size: 11px;
    color: var(--fg-dim);
    transition: transform 0.2s;
    display: inline-block;
}
.globe-panel-sources[open] summary::before {
    transform: rotate(90deg);
}
.globe-panel-sources ul {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.globe-panel-sources li a {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    display: block;
    line-height: 1.4;
}
.globe-panel-sources li a:hover {
    opacity: 1;
    text-decoration: underline;
}
.globe-panel-footer {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-dim);
    opacity: 0.5;
    margin-top: 14px;
}
.globe-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-dim);
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 5;
    white-space: nowrap;
}
.globe-hint.visible {
    opacity: 1;
}

/* Globe panel scrollbar */
.globe-panel::-webkit-scrollbar {
    width: 4px;
}
.globe-panel::-webkit-scrollbar-track {
    background: transparent;
}
.globe-panel::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

/* ============================================
   STATS BAR — Dark band
   ============================================ */
.stats-bar {
    background: var(--bg-deep);
    padding: var(--space-xl) 0 var(--space-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: var(--space-sm);
}

.stat-number span {
    color: var(--accent);
}

.stat-number .count-val {
    color: inherit;
}

.problem-stat-number .count-val,
.problem-stat-label .count-val {
    color: inherit;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.stats-sources {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.02em;
    color: var(--fg-dim);
    opacity: 0.25;
    text-align: right;
    margin-top: var(--space-sm);
}

/* ============================================
   PROBLEM STATEMENT
   ============================================ */
.problem {
    padding: var(--section-pad-y) 0;
    background: var(--bg-base);
}

.problem-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.problem-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.problem-headline em {
    font-style: italic;
    color: var(--accent);
    display: inline-block;
}

@keyframes exposedShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-3px) rotate(-0.5deg); }
    20% { transform: translateX(3px) rotate(0.5deg); }
    30% { transform: translateX(-2px) rotate(-0.3deg); }
    40% { transform: translateX(2px) rotate(0.3deg); }
    50% { transform: translateX(-1px); }
    60% { transform: translateX(1px); }
}

.reveal.visible .problem-headline em {
    animation: exposedShake 0.6s ease-out 0.4s both;
}

.problem-text {
    font-size: 18px;
    line-height: 1.55;
    color: var(--fg-muted);
}

.problem-text p + p {
    margin-top: var(--space-lg);
}

.problem-stat {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: var(--space-xl);
    padding: 18px 26px;
    background: var(--accent-dim);
    border-radius: 10px;
    border: 1px solid var(--accent-border);
}

.problem-stat-number {
    font-family: var(--font-serif);
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--accent);
    flex-shrink: 0;
}

.problem-stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

/* ============================================
   COMPARISON CARD GRID
   ============================================ */
.comparison {
    padding: var(--section-pad-y) 0;
    background: var(--bg-elevated);
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.comparison-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.comparison-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-base);
}

.comparison-card {
    padding: var(--space-lg);
    border-right: 1px solid var(--border);
    transition: background var(--duration) ease;
}

.comparison-card:last-child {
    border-right: none;
}

.comparison-card:hover {
    background: var(--hover);
}

.card-icon {
    width: 100%;
    aspect-ratio: 1.4;
    background: var(--bg-elevated-hover);
    border-radius: 10px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background var(--duration) ease;
}

.comparison-card:hover .card-icon {
    background: var(--accent-dim);
}

.card-icon svg {
    width: 44px;
    height: 44px;
    color: var(--fg-dim);
    transition: color var(--duration) ease;
}

.comparison-card:hover .card-icon svg {
    color: var(--accent);
}

.card-name {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: var(--space-sm);
}

.card-desc {
    font-size: 14px;
    line-height: 1.45;
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
}

.card-prices {
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--duration) ease;
}

.card-price-row:last-child {
    border-bottom: none;
}

.card-price-row:hover {
    background: var(--hover);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}

.price-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: -0.04px;
    line-height: 1.2;
    color: var(--fg-dim);
}

.price-value {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
}

.price-value--accent {
    color: var(--accent);
}

.price-value--strike {
    text-decoration: line-through;
    color: var(--fg-dim);
    font-weight: 400;
}

/* ============================================
   FEATURE SHOWCASE (Tabbed Preview)
   ============================================ */
.phone-preview {
    padding: var(--space-xl) 0 0;
    background: var(--bg-base);
    overflow: hidden;
}

.phone-preview-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
}

/* -- Split layout -- */
.phone-preview-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.preview-content {
    padding-top: var(--space-md);
}

.phone-preview-header {
    margin-bottom: var(--space-xl);
}

.phone-preview-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.phone-preview-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--fg);
}

/* -- Tab buttons -- */
.feature-tabs {
    display: flex;
    gap: 0;
    position: relative;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

.feature-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--fg-muted);
    transition: color 0.25s ease;
    position: relative;
}

.feature-tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: stroke 0.25s ease;
}

.feature-tab span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.feature-tab:hover {
    color: var(--fg-dim);
}

.feature-tab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: 4px;
}

.feature-tab.active {
    color: var(--accent);
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--accent);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px 1px 0 0;
}

/* -- Tab panels (text only) -- */
.feature-panels {
    position: relative;
}

.feature-panel {
    display: none;
    animation: panelFadeIn 0.35s ease;
}

.feature-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-name {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.panel-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-dim);
    max-width: 440px;
}

/* -- Phone column -- */
.preview-phone {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* Reserve aspect ratio so container doesn't collapse */
.preview-phone::before {
    content: '';
    display: block;
    padding-top: 104.75%; /* 838/800 aspect ratio */
}

/* -- Mockup frames (stacked, crossfade + slide) -- */
.panel-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.panel-screenshot.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.panel-screenshot.exit-left {
    opacity: 0;
    transform: translateX(-40px);
}

.panel-screenshot.exit-right {
    opacity: 0;
    transform: translateX(40px);
}

.panel-screenshot-img {
    display: block;
    width: 100%;
    height: auto;
}


/* ============================================
   SOURCES TICKER
   ============================================ */
.sources-ticker {
    padding: var(--space-lg) 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.sources-ticker::before,
.sources-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.sources-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep), transparent);
}

.sources-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep), transparent);
}

.sources-ticker-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    margin-bottom: var(--space-lg);
}

.sources-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.sources-ticker-track:hover {
    animation-play-state: paused;
}

.sources-ticker-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--fg-muted);
    white-space: nowrap;
    transition: color var(--duration) ease;
}

.sources-ticker-item:hover {
    color: var(--accent);
}

.sources-ticker-item::after {
    content: '◆';
    font-size: 5px;
    opacity: 0.4;
    color: var(--accent);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-pad-y) 0;
    background: var(--bg-base);
}

.how-header {
    margin-bottom: var(--space-3xl);
}

.how-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.how-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--fg);
    max-width: 700px;
}

.how-list {
    list-style: none;
}

.how-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: background var(--duration) ease;
}

.how-item:first-child {
    border-top: 1px solid var(--border);
}

.how-item:hover {
    background: var(--hover);
    margin: 0 calc(var(--space-md) * -1);
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.how-number {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.how-content h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: var(--space-sm);
}

.how-content p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--fg-muted);
    max-width: 560px;
}

/* ============================================
   CTA BANNER — Dark section
   ============================================ */
.cta-banner {
    padding: var(--section-pad-y) 0;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: var(--space-md);
}

.cta-headline em {
    font-style: italic;
    color: var(--accent);
}

.cta-body {
    font-size: 18px;
    line-height: 1.5;
    color: var(--fg-muted);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 32px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--fg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--duration) ease, transform var(--duration) ease, box-shadow var(--duration) ease;
}

.cta-button:hover {
    background: var(--accent);
    color: var(--fg);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
}

.cta-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.cta-button svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: var(--space-xl) 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
}

.footer-tagline {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    color: var(--fg-dim);
    letter-spacing: 0.05em;
}

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

.footer-links a {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    color: var(--fg-dim);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light, #b49aff);
}

.footer-legal {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    color: var(--fg-dim);
    letter-spacing: 0.1em;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1060px) {
    :root {
        --section-pad-x: 32px;
        --section-pad-y: 64px;
    }

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

    .comparison-card:nth-child(2) {
        border-right: none;
    }

    .comparison-card:nth-child(1),
    .comparison-card:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .problem-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .hero-decor {
        display: none;
    }

    .globe-panel,
    .globe-hint {
        display: none;
    }

    .hero-headline {
        max-width: none;
    }

    .phone-preview-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .preview-phone {
        max-width: 400px;
    }

    .panel-desc {
        max-width: none;
    }

}

@media (max-width: 640px) {
    :root {
        --section-pad-x: 20px;
        --section-pad-y: 48px;
    }

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

    .comparison-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .comparison-card:last-child {
        border-bottom: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) var(--space-md);
    }

    .how-item {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-tab span {
        font-size: 9px;
    }

    .feature-tab svg {
        width: 16px;
        height: 16px;
    }

    .feature-tab {
        padding: 12px 8px 10px;
    }

}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--space-2xl) + 80px);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* ============================================
   WAITLIST EMAIL FORMS
   ============================================ */
.waitlist-form {
    max-width: 460px;
}

.waitlist-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.waitlist-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.waitlist-email {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--fg);
    background: var(--bg-deep);
    border: none;
    outline: none;
    min-width: 0;
}

.waitlist-email::placeholder {
    color: var(--fg-dim);
}

.waitlist-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--fg);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--duration) ease, color var(--duration) ease;
}

.waitlist-submit:hover {
    background: var(--accent);
    color: var(--fg);
}

.waitlist-submit svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.waitlist-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.waitlist-status {
    min-height: 24px;
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.waitlist-status.success {
    color: var(--success);
}

.waitlist-status.error {
    color: var(--error);
}

.waitlist-status.duplicate {
    color: var(--warning);
}

.waitlist-hint {
    margin-top: var(--space-xs);
    font-size: 13px;
    color: var(--fg-dim);
    letter-spacing: 0.01em;
}

/* Bottom CTA waitlist — centered */
.cta-waitlist {
    margin: 0 auto;
}

@media (max-width: 480px) {
    .waitlist-input-group {
        flex-direction: column;
        border-radius: 8px;
    }

    .waitlist-email {
        border-bottom: 1px solid var(--border-light);
    }

    .waitlist-submit {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--fg);
    color: var(--bg-deep);
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Phone preview image styles (extracted from inline) */
.phone-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

