/* ===== Tokens ===== */
:root,
[data-theme="light"] {
    /* Light mode — Stitch "Biological Editorial" */
    --bg: #f8f9fa;
    --bg-subtle: #f3f4f5;
    --bg-card: #ffffff;
    --bg-elevated: #edeeef;
    --bg-inverse: #2e3132;
    --text-on-inverse: #f0f1f2;

    --border: rgba(25, 28, 29, 0.08);
    --border-hover: rgba(25, 28, 29, 0.16);
    --border-soft: rgba(191, 201, 193, 0.3);

    --text: #191c1d;
    --text-secondary: #404943;
    --text-muted: #707973;

    --primary: #274f3d;
    --primary-dim: #3f6754;
    --primary-fixed: #c1ecd4;
    --primary-fixed-dim: #a5d0b9;
    --on-primary: #ffffff;
    --on-primary-fixed: #002114;
    --primary-glow: rgba(39, 79, 61, 0.12);

    --secondary-fixed: #ffdeae;
    --on-secondary-fixed: #281800;

    --tertiary-fixed: #ffdad8;
    --on-tertiary-fixed: #410007;

    /* Bento accent card — depth via gradient instead of flat fill */
    --bento-accent-bg: linear-gradient(135deg, #3f6754 0%, #274f3d 100%);
    --bento-accent-text: #ffffff;
    --bento-accent-text-muted: rgba(255, 255, 255, 0.78);
    --bento-accent-icon: #c1ecd4;
    --bento-accent-check-bg: rgba(193, 236, 212, 0.2);
    --bento-accent-check-text: #c1ecd4;

    --nav-bg: rgba(248, 249, 250, 0.8);

    --shadow-sm: 0 4px 20px 0 rgba(25, 28, 29, 0.04);
    --shadow-md: 0 4px 20px 0 rgba(25, 28, 29, 0.04), 0 10px 40px 0 rgba(25, 28, 29, 0.08);
    --shadow-lg: 0 4px 20px 0 rgba(25, 28, 29, 0.04), 0 24px 60px 0 rgba(25, 28, 29, 0.12);

    --font-display: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
    --bg: #0a0a0c;
    --bg-subtle: #111114;
    --bg-card: #16161a;
    --bg-elevated: #1c1c20;
    --bg-inverse: #f0f1f2;
    --text-on-inverse: #2e3132;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.14);
    --border-soft: rgba(255, 255, 255, 0.08);

    --text: #f5f5f6;
    --text-secondary: #a8aaae;
    --text-muted: #6e7075;

    --primary: #a5d0b9;
    --primary-dim: #c1ecd4;
    --primary-fixed: rgba(165, 208, 185, 0.15);
    --primary-fixed-dim: rgba(165, 208, 185, 0.25);
    --on-primary: #002114;
    --on-primary-fixed: #c1ecd4;
    --primary-glow: rgba(165, 208, 185, 0.2);

    --secondary-fixed: rgba(255, 222, 174, 0.15);
    --on-secondary-fixed: #ffdeae;

    --tertiary-fixed: rgba(255, 218, 216, 0.12);
    --on-tertiary-fixed: #ffb3b1;

    /* Bento accent card — softer, layered for dark mode */
    --bento-accent-bg: linear-gradient(135deg, rgba(63, 103, 84, 0.35) 0%, rgba(39, 79, 61, 0.25) 100%);
    --bento-accent-text: #e8f3ec;
    --bento-accent-text-muted: rgba(232, 243, 236, 0.7);
    --bento-accent-icon: #a5d0b9;
    --bento-accent-check-bg: rgba(165, 208, 185, 0.15);
    --bento-accent-check-text: #a5d0b9;

    --nav-bg: rgba(10, 10, 12, 0.7);

    --shadow-sm: 0 4px 20px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px 0 rgba(0, 0, 0, 0.4), 0 10px 40px 0 rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 20px 0 rgba(0, 0, 0, 0.5), 0 24px 60px 0 rgba(0, 0, 0, 0.4);
}

/* ===== Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
}
h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 540px;
}
.muted-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.kicker.primary { color: var(--primary); }
.kicker.muted { color: var(--text-muted); }
.kicker-dot {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.section-header {
    margin-bottom: 80px;
    max-width: 720px;
}
.section-header h2 { margin-top: 16px; }

/* ===== Nav ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.nav.scrolled {
    border-bottom-color: var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -0.04em;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s ease;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--primary-glow); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--primary-glow); }
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--primary);
}
.btn-secondary:hover { background: var(--bg-card); }

/* ===== Hero ===== */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-content { z-index: 2; }
.hero h1 { margin-bottom: 32px; }
.hero .lead { margin-bottom: 40px; }
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.trust-line {
    width: 48px;
    height: 1px;
    background: var(--border-hover);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 640px;
}
.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-image-bg {
    position: absolute;
    inset: 12px -12px -12px 12px;
    background: var(--bg-elevated);
    border-radius: 32px;
    z-index: 0;
}
.hero-image-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) contrast(1.05);
    transition: filter 0.6s ease, transform 0.6s ease;
}
[data-theme="dark"] .hero-image-card img {
    filter: grayscale(0.85) contrast(1.1) brightness(0.85);
}
.hero-image-card:hover img { filter: grayscale(0.3) contrast(1.1); transform: scale(1.03); }
.hero-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}
[data-theme="dark"] .hero-image-gradient { opacity: 0.5; }

.hero-waveform {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
}
.waveform-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
    margin-bottom: 12px;
}
.waveform-bars span {
    flex: 1;
    background: var(--primary-fixed-dim);
    border-radius: 2px;
    animation: waveBar 2s ease-in-out infinite;
}
@keyframes waveBar {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
.waveform-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-fixed-dim);
}
.waveform-tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 100px;
    color: #fff;
}

.hero-badge-card {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 3;
    background: var(--primary-dim);
    color: var(--on-primary);
    padding: 24px 28px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(4deg);
}
.hero-badge-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-badge-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
    opacity: 0.9;
}

/* ===== Contrast (Problem/Solution) ===== */
.contrast {
    padding: 120px 0;
    background: var(--bg-subtle);
}
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 80px;
    align-items: start;
}
.contrast-side h2 { margin: 24px 0 24px; }
.contrast-side p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.contrast-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
    align-self: stretch;
}
.contrast-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contrast-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.contrast-icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contrast-list.old .contrast-icon {
    background: var(--bg-elevated);
    color: var(--text-muted);
}
.contrast-list.new .contrast-icon {
    background: var(--primary-fixed);
    color: var(--on-primary-fixed);
}

/* ===== How It Works ===== */
.how {
    padding: 140px 0;
}
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.how-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px 36px;
    transition: all 0.3s ease;
}
.how-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.how-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    margin-bottom: 32px;
}
.how-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 18px;
    background: var(--primary-fixed);
    color: var(--on-primary-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.how-icon-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--on-primary-fixed);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 33, 20, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 33, 20, 0); }
}
.how-icon-bars {
    display: flex;
    gap: 3px;
    align-items: center;
    height: 24px;
}
.how-icon-bars span {
    width: 3px;
    background: var(--on-primary-fixed);
    border-radius: 2px;
    animation: waveBar 1.4s ease-in-out infinite;
}
.how-icon-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.how-icon-bars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.how-icon-bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.how-icon-bars span:nth-child(4) { height: 70%; animation-delay: 0.3s; }
.how-icon-bars span:nth-child(5) { height: 40%; animation-delay: 0.4s; }

.how-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.how-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* ===== Science ===== */
.science {
    padding: 140px 0;
    background: var(--bg-subtle);
}
.science-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}
.science-hero h2 { margin-bottom: 28px; }
.science-hero .lead { margin-bottom: 20px; }

.science-image-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.science-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7);
    transition: transform 0.6s ease;
}
[data-theme="dark"] .science-image-card img {
    filter: grayscale(0.85) brightness(0.85);
}
.science-image-card:hover img { transform: scale(1.04); }
.science-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary) 0%, transparent 60%);
    opacity: 0.35;
}
.science-floating-stat {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}
.science-floating-stat .stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 8px;
}
.science-floating-stat .stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}
.science-floating-stat .stat-sub {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Bento grid */
.science-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 120px;
}
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.3s ease;
}
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.bento-large { grid-column: span 8; padding: 48px; }
.bento-primary {
    grid-column: span 4;
    background: var(--bento-accent-bg);
    color: var(--bento-accent-text);
    border-color: transparent;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .bento-primary {
    border: 1px solid rgba(165, 208, 185, 0.18);
}
.bento-primary::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(193, 236, 212, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
[data-theme="dark"] .bento-primary::before {
    background: radial-gradient(circle, rgba(165, 208, 185, 0.12) 0%, transparent 60%);
}
.bento-primary:hover { transform: translateY(-2px); }
.bento-primary h4 { color: var(--bento-accent-text); position: relative; z-index: 1; }
.bento-primary .bento-icon-wrap { color: var(--bento-accent-icon); position: relative; z-index: 1; }
.bento-primary .check-list { position: relative; z-index: 1; }
.bento-primary .check-list li { color: var(--bento-accent-text-muted); }
.bento-primary .check-list li::before {
    background: var(--bento-accent-check-bg);
    color: var(--bento-accent-check-text);
}
.bento-card:not(.bento-large):not(.bento-primary):not(.bento-image) { grid-column: span 5; }
.bento-image { grid-column: span 7; padding: 0; overflow: hidden; position: relative; min-height: 320px; }

.bento-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.bento-tag {
    padding: 4px 12px;
    background: var(--primary-fixed);
    color: var(--on-primary-fixed);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}
.bento-id {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
.bento-card h3 { margin-bottom: 16px; }
.bento-card h4 { margin-bottom: 20px; font-size: 1.25rem; }
.bento-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 32px;
}
.bento-primary > p { color: var(--bento-accent-text-muted); }

.readiness-display {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
}
.readiness-bars {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    height: 200px;
}
.r-bar {
    width: 36px;
    height: var(--h);
    background: var(--bg-elevated);
    border-radius: 100px 100px 8px 8px;
    transition: height 0.6s ease;
}
.r-bar.primary {
    background: var(--primary);
}
.readiness-score-display {
    text-align: right;
}
.readiness-num {
    display: block;
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.04em;
}
.readiness-state {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 8px;
}

.bento-icon-wrap {
    width: 48px; height: 48px;
    margin-bottom: 28px;
    color: var(--primary-fixed);
}
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}
.check-list li::before {
    content: '✓';
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--primary-fixed);
    color: var(--on-primary-fixed);
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.validation-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.validation-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.validation-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--bg-elevated);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.validation-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.validation-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bento-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5) contrast(1.1);
    mix-blend-mode: luminosity;
}
[data-theme="dark"] .bento-image img {
    filter: grayscale(1) brightness(0.4) contrast(1.2);
    opacity: 0.6;
}
.bento-image-overlay {
    position: absolute;
    inset: 0;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(39, 79, 61, 0.92) 0%, rgba(39, 79, 61, 0.7) 100%);
    color: #fff;
}
[data-theme="dark"] .bento-image-overlay {
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.92) 0%, rgba(39, 79, 61, 0.6) 100%);
}
.bento-image-overlay h3 { color: #fff; margin-bottom: 12px; max-width: 380px; }
.bento-image-overlay p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.6; max-width: 380px; }

/* Process timeline */
.process {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.process-text h2 { line-height: 1.05; }
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.process-step {
    position: relative;
    padding-left: 48px;
    border-left: 1px solid var(--border-hover);
    padding-bottom: 8px;
}
.process-num {
    position: absolute;
    left: -16px;
    top: 0;
    width: 32px; height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
}
.process-step h4 { margin-bottom: 8px; font-size: 1.15rem; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* ===== Ecosystem ===== */
.ecosystem {
    padding: 140px 0;
    overflow: hidden;
}
.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ecosystem-text h2 { margin-bottom: 28px; }
.ecosystem-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 480px;
}
.ecosystem-list { display: flex; flex-direction: column; gap: 32px; }
.eco-item { display: flex; gap: 20px; align-items: flex-start; }
.eco-icon {
    width: 52px; height: 52px;
    background: var(--bg-elevated);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eco-item h4 { margin-bottom: 4px; font-size: 1.1rem; }
.eco-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Device collage */
.ecosystem-visual {
    position: relative;
    height: 720px;
}
.device-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== Phone Mockup ===== */
.phone-mock {
    position: absolute;
    width: 320px;
    left: 0;
    top: 30px;
    transform: rotate(-5deg);
    z-index: 1;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)) drop-shadow(0 50px 100px rgba(0, 0, 0, 0.25));
}
[data-theme="light"] .phone-mock {
    filter: drop-shadow(0 30px 50px rgba(25, 28, 29, 0.18)) drop-shadow(0 50px 100px rgba(25, 28, 29, 0.1));
}

/* Realistic phone frame */
.phone-frame {
    position: relative;
    width: 320px;
    height: 660px;
    background: linear-gradient(135deg, #2a2a2c 0%, #18181a 35%, #0c0c0d 65%, #1f1f21 100%);
    border-radius: 50px;
    padding: 9px;
}
.phone-frame::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 48px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 100%);
    pointer-events: none;
    z-index: 1;
}
.phone-frame::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 130px;
    width: 3px;
    height: 60px;
    background: #1a1a1c;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    background: #fafbfc;
}
[data-theme="dark"] .phone-screen {
    background: #0a0a0c;
}
.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}
/* Theme-based image swapping */
.phone-screen-dark { display: none; }
[data-theme="dark"] .phone-screen-light { display: none; }
[data-theme="dark"] .phone-screen-dark { display: block; }

/* Watch Mockup */
.watch-mock {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 30px;
    top: 0;
    background: #0a0a0a;
    border-radius: 48px;
    padding: 6px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.04) inset,
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 40px 80px rgba(0, 0, 0, 0.3);
    transform: rotate(8deg);
    z-index: 2;
}
[data-theme="light"] .watch-mock {
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.04) inset,
        0 20px 40px rgba(25, 28, 29, 0.18),
        0 40px 80px rgba(25, 28, 29, 0.12);
}
.watch-mock::before, .watch-mock::after {
    content: '';
    position: absolute;
    right: -4px;
    width: 4px;
    background: #2a2a2a;
    border-radius: 2px;
}
.watch-mock::before { top: 40px; height: 40px; }
.watch-mock::after { bottom: 40px; height: 26px; }
.watch-screen {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #111 0%, #000 100%);
    border-radius: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}
.watch-num {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    color: #a5d0b9;
    line-height: 1;
    letter-spacing: -0.04em;
}
.watch-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    margin-bottom: 18px;
}
.watch-bars { display: flex; gap: 5px; align-items: flex-end; height: 28px; }
.watch-bars span {
    width: 5px;
    background: #a5d0b9;
    border-radius: 3px;
}
.watch-bars span:nth-child(1) { height: 60%; }
.watch-bars span:nth-child(2) { height: 100%; }
.watch-bars span:nth-child(3) { height: 50%; }
.watch-bars span:nth-child(4) { height: 80%; opacity: 0.5; }

/* Floating sync card */
.floating-card {
    position: absolute;
    right: 20px;
    bottom: 60px;
    width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    backdrop-filter: blur(20px);
}
[data-theme="dark"] .floating-card {
    background: rgba(28, 28, 32, 0.85);
}
.floating-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 10px;
}
.floating-progress {
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}
.floating-progress-fill {
    height: 100%;
    width: 66%;
    background: var(--primary);
    border-radius: 100px;
    animation: progressMove 3s ease-in-out infinite;
}
@keyframes progressMove {
    0%, 100% { width: 30%; }
    50% { width: 90%; }
}
.floating-card p {
    font-size: 0.78rem;
    color: var(--text);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== Audience ===== */
.audience {
    padding: 140px 0;
    background: var(--bg-subtle);
}
.audience .section-header { margin-bottom: 80px; }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}
.audience-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.audience-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.audience-card h4 { margin-bottom: 12px; font-size: 1.2rem; }
.audience-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* ===== CTA ===== */
.cta {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}
.cta::before, .cta::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.cta::before {
    background: var(--primary-fixed);
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    opacity: 0.4;
}
.cta::after {
    background: var(--secondary-fixed);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    opacity: 0.3;
}
.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--primary);
    margin-bottom: 24px;
}
.cta-inner > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}
.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.cta-form input {
    flex: 1;
    padding: 16px 24px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus { border-color: var(--primary); }
.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    padding: 64px 0 48px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    align-items: end;
}
.logo-footer {
    display: block;
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 360px;
    line-height: 1.6;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid, .science-hero, .ecosystem-grid, .process { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual, .ecosystem-visual { height: 500px; }
    .contrast-grid { grid-template-columns: 1fr; gap: 48px; }
    .contrast-divider { display: none; }
    .science-bento { grid-template-columns: 1fr; }
    .bento-large, .bento-primary, .bento-image,
    .bento-card:not(.bento-large):not(.bento-primary):not(.bento-image) { grid-column: span 1; }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .how-grid, .audience-grid { grid-template-columns: 1fr; }
    .hero { padding: 100px 0 60px; }
    .contrast, .how, .science, .ecosystem, .audience { padding: 80px 0; }
    .cta { padding: 100px 0; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .cta-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-copy { text-align: left; }
    .readiness-display { flex-direction: column; align-items: stretch; gap: 32px; }
    .readiness-score-display { text-align: left; }
    .hero-visual, .ecosystem-visual { height: 540px; }
    .phone-mock { width: 240px; }
    .phone-frame { width: 240px; height: 500px; padding: 7px; border-radius: 40px; }
    .phone-screen { border-radius: 33px; }
    .watch-mock { width: 140px; height: 140px; right: 0; padding: 4px; border-radius: 36px; }
    .watch-screen { border-radius: 32px; padding: 16px; }
    .watch-num { font-size: 2rem; }
    .floating-card { width: 180px; bottom: 30px; right: 0; }
}
