/* ══════════════════════════════════════════════════════════════════
   Finite — Product Page
   Amber primary (#f59e0b), warm secondary (#ef4444), green accent
   iOS-native dark aesthetic with glass-morphism
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────────────── */

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

:root {
    --accent: #f59e0b;
    --accent-dim: rgba(245, 158, 11, 0.6);
    --accent-faint: rgba(245, 158, 11, 0.12);
    --accent-glow: rgba(245, 158, 11, 0.3);
    --warm: #ef4444;
    --warm-dim: rgba(239, 68, 68, 0.6);
    --warm-faint: rgba(239, 68, 68, 0.12);
    --green: #30d158;
    --green-dim: rgba(48, 209, 88, 0.6);
    --green-faint: rgba(48, 209, 88, 0.12);
    --bg: #060a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(245, 158, 11, 0.05);
    --bg-glass: rgba(6, 10, 15, 0.8);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(245, 158, 11, 0.2);
    --text: rgba(255, 255, 255, 0.88);
    --text-dim: rgba(255, 255, 255, 0.5);
    --text-faint: rgba(255, 255, 255, 0.3);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Menlo', 'SF Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

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

/* ── Utility ─────────────────────────────────────────────────────── */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--warm), #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-dim);
    color: #000;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent-dim);
    color: var(--text);
    background: var(--accent-faint);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 32px; font-size: 1.05rem; }
.btn-disabled { pointer-events: none; opacity: 0.7; }

/* ── Navigation ──────────────────────────────────────────────────── */

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}
.nav-logo:hover { opacity: 1; }

.nav-logo-glyph {
    color: var(--accent);
}

.nav-logo-text {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--text);
    opacity: 1;
}

.nav-cta {
    background: var(--accent);
    color: #000 !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nav-cta:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
    gap: 48px;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    background: var(--accent-faint);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.trust-pill {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    padding: 4px 12px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 100px;
    background: var(--accent-faint);
}

/* ── Hero Visual (Phone Mockup) ──────────────────────────────────── */

.hero-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
}

.phone-frame {
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    background: #000;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(245, 158, 11, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    padding: 0 20px 24px;
    min-height: 520px;
    background: linear-gradient(180deg, #08080f 0%, #050505 100%);
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.phone-status-icons {
    opacity: 0.5;
}

.phone-app-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Countdown */
.phone-countdown {
    text-align: center;
    padding: 28px 0 20px;
}

.phone-countdown-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.phone-countdown-numbers {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.countdown-unit {
    display: flex;
    align-items: baseline;
}

.countdown-value {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.countdown-suffix {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-faint);
    margin-left: 2px;
}

.countdown-sep {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-faint);
    margin: 0 2px;
    opacity: 0.4;
}

/* Year Progress */
.phone-year-progress {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

.phone-year-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.phone-year-pct {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 0.68rem;
}

.phone-week-grid {
    display: grid;
    grid-template-columns: repeat(26, 1fr);
    gap: 2px;
}

.week-cell {
    aspect-ratio: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
}

.week-cell.filled {
    background: var(--accent);
    opacity: 0.7;
}

.week-cell.current {
    background: var(--accent);
    opacity: 1;
    box-shadow: 0 0 6px var(--accent-glow);
}

/* Achievement Toast */
.phone-achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 14px;
    padding: 14px 16px;
    animation: achievementSlideIn 0.6s ease-out 2s both;
}

@keyframes achievementSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.achievement-icon {
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.achievement-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.achievement-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.achievement-desc {
    font-size: 0.65rem;
    color: var(--text-dim);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Section Shared ──────────────────────────────────────────────── */

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── Perspective Numbers ─────────────────────────────────────────── */

#perspective {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.perspective-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.perspective-card {
    text-align: center;
    padding: 0 40px;
    flex: 0 1 300px;
}

.perspective-number {
    font-family: var(--mono);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1;
}

.perspective-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.perspective-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Bento Feature Grid ──────────────────────────────────────────── */

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.bento-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.8;
}

.bento-icon-warm { color: var(--warm); }
.bento-icon-green { color: var(--green); }

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 0.93rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ── Life Calendar ───────────────────────────────────────────────── */

.life-grid-demo {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.life-grid-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}

.life-cell {
    aspect-ratio: 1;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.4s, box-shadow 0.4s;
}

.life-cell.lived {
    background: var(--accent);
    opacity: 0.6;
}

.life-cell.current {
    background: var(--accent);
    opacity: 1;
    box-shadow: 0 0 8px var(--accent-glow);
    animation: currentPulse 2s ease-in-out infinite;
}

@keyframes currentPulse {
    0%, 100% { box-shadow: 0 0 8px var(--accent-glow); }
    50% { box-shadow: 0 0 16px var(--accent-dim); }
}

.life-cell.future {
    background: rgba(255, 255, 255, 0.04);
}

.life-grid-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

.life-grid-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
}

.life-grid-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.life-stat-number {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.life-stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.life-grid-note {
    font-size: 0.78rem;
    color: var(--text-faint);
    line-height: 1.6;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ── Milestones ──────────────────────────────────────────────────── */

.milestones-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 64px;
}

.milestone-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.milestone-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.milestone-age {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.milestone-card p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ── Health Section ──────────────────────────────────────────────── */

.health-demo {
    max-width: 440px;
    margin: 0 auto 64px;
}

.health-card-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.health-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: border-color 0.3s, transform 0.3s;
}

.health-card:hover {
    transform: translateY(-2px);
}

.health-card-positive {
    border-left: 2px solid var(--green);
}

.health-card-negative {
    border-left: 2px solid var(--warm);
}

.health-card-icon {
    color: var(--text-dim);
    opacity: 0.6;
    flex-shrink: 0;
}

.health-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.health-metric {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.health-impact {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
}

.health-positive {
    color: var(--green);
}

.health-negative {
    color: var(--warm);
}

.health-net {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.health-net-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
}

.health-net-value {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 700;
}

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

.health-cat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.health-cat:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.health-cat h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.health-cat p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Achievements ────────────────────────────────────────────────── */

.achievement-showcase {
    margin-bottom: 40px;
}

.achievement-tier-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.showcase-achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 180px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.showcase-achievement:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.showcase-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.showcase-badge.bronze {
    color: #cd7f32;
    background: rgba(205, 127, 50, 0.12);
    border: 1px solid rgba(205, 127, 50, 0.2);
}

.showcase-badge.silver {
    color: #c0c0c0;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.showcase-badge.gold {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.showcase-badge.platinum {
    color: #e5e4e2;
    background: rgba(229, 228, 226, 0.08);
    border: 1px solid rgba(229, 228, 226, 0.15);
    box-shadow: 0 0 16px rgba(229, 228, 226, 0.06);
}

.showcase-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.showcase-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.achievement-cats {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.achievement-cat-pill {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dim);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: border-color 0.2s, color 0.2s;
}

.achievement-cat-pill:hover {
    border-color: var(--border-accent);
    color: var(--accent);
}

/* ── Promise Grid ────────────────────────────────────────────────── */

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.promise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.promise-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.promise-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
}

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

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    transition: color 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dim);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '\2212';
    color: var(--accent);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ── Download Block ──────────────────────────────────────────────── */

#download {
    padding-bottom: 80px;
}

.download-block {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.download-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.download-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.download-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-faint);
    position: relative;
}

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

#footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-faint);
    font-size: 0.88rem;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--text);
    opacity: 1;
}

.footer-studio-link {
    color: var(--text-faint) !important;
    transition: color 0.2s;
}
.footer-studio-link:hover {
    color: var(--accent) !important;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-faint);
}

.footer-studio-inline {
    color: var(--text-faint);
    transition: color 0.2s;
}
.footer-studio-inline:hover {
    color: var(--accent);
}

/* ── Fade-in fallback ────────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .health-categories { grid-template-columns: repeat(2, 1fr); }
    .milestones-row { grid-template-columns: repeat(3, 1fr); }
    .life-grid-demo { grid-template-columns: 1fr; }
    .life-grid-aside {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
    }
    .life-grid-note {
        flex-basis: 100%;
        border-top: 1px solid var(--border);
    }

    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 88px 32px 32px;
        background: var(--bg-glass);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        padding: 12px 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .nav-mobile-toggle { display: flex; }

    #hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

    .perspective-row { flex-direction: column; gap: 32px; }
    .perspective-divider { width: 48px; height: 1px; }
    .perspective-card { padding: 0; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .health-categories { grid-template-columns: 1fr; }
    .milestones-row { grid-template-columns: repeat(2, 1fr); }
    .promise-grid { grid-template-columns: 1fr; }
    .achievement-tier-row { gap: 12px; }
    .showcase-achievement { min-width: 150px; padding: 24px 20px; }
    .download-block { padding: 48px 24px; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-header { margin-bottom: 48px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-platforms { flex-direction: column; gap: 8px; }
    .download-actions { flex-direction: column; align-items: center; }
    .bento-card { padding: 24px 20px; }
    .milestone-card { padding: 20px 16px; }
    .milestones-row { grid-template-columns: repeat(2, 1fr); }
    .health-card { padding: 14px 16px; }
    .promise-card { padding: 24px 20px; }
    .phone-frame { border-radius: 32px; }
    .phone-screen { min-height: 440px; }
    .countdown-value { font-size: 2rem; }
}

/* ── GSAP animation fallback ─────────────────────────────────────
   If JS hasn't marked the body as animated within 3s, force content visible.
   Prevents blank pages when GSAP animations fail to complete. */
@keyframes gsapFallbackReveal {
    to { opacity: 1; transform: none; }
}

body:not(.gsap-ready) .hero-content > *,
body:not(.gsap-ready) .hero-visual,
body:not(.gsap-ready) .hero-platforms,
body:not(.gsap-ready) .hero-scroll-indicator,
body:not(.gsap-ready) .section-header,
body:not(.gsap-ready) .perspective-card,
body:not(.gsap-ready) .perspective-divider,
body:not(.gsap-ready) .bento-card,
body:not(.gsap-ready) .life-grid-demo,
body:not(.gsap-ready) .milestone-card,
body:not(.gsap-ready) .health-demo,
body:not(.gsap-ready) .health-cat,
body:not(.gsap-ready) .showcase-achievement,
body:not(.gsap-ready) .achievement-cats,
body:not(.gsap-ready) .promise-card,
body:not(.gsap-ready) .faq-item,
body:not(.gsap-ready) .download-block,
body:not(.gsap-ready) .footer-top {
    animation: gsapFallbackReveal 0s forwards;
    animation-delay: 3s;
}

/* ══════════════════════════════════════════════════════════════════
   Accessibility: Reduced Motion
   ══════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    #hero-canvas { display: none; }
    .hero-scroll-indicator { display: none; }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background: var(--accent);
    color: #000;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 200;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
