/* ══════════════════════════════════════════
   LIFE IN NUMBERS — Stylesheet
   ══════════════════════════════════════════ */

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

/* ─── Custom Properties ─── */
:root {
    --bg-deep: #050508;
    --bg-primary: #0a0a12;
    --bg-secondary: #111120;
    --bg-card: rgba(255,255,255,0.035);
    --bg-card-hover: rgba(255,255,255,0.06);
    --bg-input: rgba(255,255,255,0.06);

    --border: rgba(255,255,255,0.07);
    --border-light: rgba(255,255,255,0.12);
    --border-focus: rgba(139,156,247,0.5);

    --text: #e4e4f0;
    --text-secondary: #9898b0;
    --text-muted: #5c5c74;

    --accent: #8b9cf7;
    --accent-dim: #6b7cd4;
    --accent-glow: rgba(139,156,247,0.15);
    --accent-warm: #e8b86d;
    --accent-warm-glow: rgba(232,184,109,0.12);

    --error: #f07070;
    --success: #6dd697;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
}

/* ─── Base ─── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.8s var(--ease);
}

body.revealed {
    background: var(--bg-primary);
}

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

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

/* ─── Container ─── */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn--primary:hover {
    box-shadow: 0 6px 24px rgba(139,156,247,0.3);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════
   LANDING
   ═══════════════════════════════════ */
.landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.landing.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-20px);
    pointer-events: none;
}

.landing-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(139,156,247,0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 85%, rgba(232,184,109,0.05) 0%, transparent 45%);
    pointer-events: none;
}

.landing-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 520px;
    width: 100%;
    padding: 40px 28px;
}

.landing-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.65;
}

/* ─── Landing Form ─── */
.landing-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.landing-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-align: left;
}

.label-hint {
    color: var(--text-muted);
    font-weight: 400;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Chrome/Edge date/time input icon color */
.field input::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: 16px;
}

.form-error {
    display: none;
    font-size: 0.88rem;
    color: var(--error);
    margin-bottom: 12px;
}

.btn-reveal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-reveal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139,156,247,0.35);
}
.btn-reveal:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform var(--transition);
}
.btn-reveal:hover .btn-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,18,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.site-header--inner {
    position: relative;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.site-logo:hover { color: var(--accent); }

.site-nav {
    display: flex;
    gap: 24px;
}
.site-nav a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.site-nav a:hover { color: var(--text); }

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-reset:hover {
    border-color: var(--border-light);
    color: var(--text);
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
    text-align: center;
    padding: 100px 0 56px;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(139,156,247,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-age {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 36px;
}

.hero-live {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-live__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    min-width: 220px;
}

.hero-live__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ═══════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════ */
.section {
    padding: 72px 0;
    position: relative;
}
.section:nth-child(even) {
    background:
        linear-gradient(180deg, transparent, rgba(255,255,255,0.008) 50%, transparent);
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.section-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    margin-top: -20px;
}

/* ─── Card Grid ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

/* ─── Stat Card ─── */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.stat-card__icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 14px;
    opacity: 0.85;
}
.stat-card__icon svg {
    width: 100%;
    height: 100%;
}
.stat-card__icon--warm { color: var(--accent-warm); }

.stat-card__value {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
}

.stat-card__label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.stat-card__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
}

.stat-card--wide {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .stat-card--wide {
        grid-column: span 2;
    }
}

/* ─── Sliders ─── */
.stat-card__slider {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.stat-card__slider label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.slider-val {
    color: var(--accent);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: transform var(--transition);
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ═══════════════════════════════════
   JOURNEY / PROGRESS BARS
   ═══════════════════════════════════ */
.journey-stats {
    margin-bottom: 32px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comparison-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    border-radius: 5px;
    transition: width 1.5s var(--ease);
    min-width: 2px;
}

.comparison-context {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════
   HISTORY
   ═══════════════════════════════════ */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}
.history-item:hover {
    border-color: var(--border-light);
}

.history-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
}
.history-item__icon--past {
    background: var(--accent-warm-glow);
    color: var(--accent-warm);
}

.history-item__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.history-item__text strong {
    color: var(--text);
    font-weight: 600;
}

/* ═══════════════════════════════════
   LIFE-AS-YEAR BAR
   ═══════════════════════════════════ */
.life-year {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.life-year__heading {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-align: center;
}

.life-year__date {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-warm);
    text-align: center;
    margin-bottom: 16px;
}

.life-year__bar {
    position: relative;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: visible;
}

.life-year__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    border-radius: 6px;
    transition: width 1.5s var(--ease);
}

.life-year__marker {
    position: absolute;
    top: -6px;
    width: 4px;
    height: 24px;
    background: var(--text);
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(255,255,255,0.15);
    transition: left 1.5s var(--ease);
}

.life-year__months {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 2px;
}

.life-year__months span {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}

.life-year__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* ═══════════════════════════════════
   MILESTONES
   ═══════════════════════════════════ */
.milestone-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.milestone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
}

.milestone--next {
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.milestone--passed {
    opacity: 0.5;
}

.milestone__name {
    font-weight: 600;
    font-size: 0.92rem;
}

.milestone__right {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.milestone__date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.milestone__badge {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════
   REFLECTIVE QUOTE
   ═══════════════════════════════════ */
.reflective-quote {
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    padding: 40px 24px 0;
    border: none;
    margin: 0;
    line-height: 1.7;
}

/* ═══════════════════════════════════
   SHARE
   ═══════════════════════════════════ */
.share-box {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.share-card {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, rgba(139,156,247,0.06) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin-bottom: 20px;
    text-align: left;
}

.share-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-card__line {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.share-card__footer {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.share-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-note {
    font-size: 0.85rem;
    margin-top: 12px;
    color: var(--success);
    min-height: 1.3em;
}

/* ═══════════════════════════════════
   GLOBAL DISCLAIMER
   ═══════════════════════════════════ */
.global-disclaimer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.global-disclaimer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

.global-disclaimer a {
    color: var(--text-secondary);
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.site-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-links a:hover { color: var(--text); }

.footer-dot { color: var(--text-muted); }

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════
   INNER PAGES (Privacy, Terms, Contact)
   ═══════════════════════════════════ */
.page-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 24px 60px;
}

.page-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.page-content em {
    color: var(--text-muted);
}

.page-content strong {
    color: var(--text);
    font-weight: 600;
}

.page-content ul, .page-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.page-content li strong {
    color: var(--text);
}

.page-content a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.page-content a:hover {
    border-color: var(--accent);
}

/* ─── Contact / Bug Report Form ─── */
.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.error-msg {
    display: none;
    font-size: 0.82rem;
    color: var(--error);
    margin-top: 4px;
}

.result-box {
    margin-top: 20px;
    padding: 20px;
    background: rgba(109,214,151,0.06);
    border: 1px solid rgba(109,214,151,0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.result-box .result-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 8px;
}

.result-box .result-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════
   RESULTS CONTAINER STATE
   ═══════════════════════════════════ */
#results {
    display: none;
}

#results.active {
    display: block;
    animation: resultsIn 0.7s var(--ease) forwards;
}

#results.no-anim {
    animation: none;
}

/* ═══════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════ */
@keyframes resultsIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Stagger children */
.reveal-section.visible .stat-card,
.reveal-section.visible .history-item,
.reveal-section.visible .comparison-item,
.reveal-section.visible .milestone {
    animation: cardIn 0.5s var(--ease) backwards;
}

.reveal-section.visible .stat-card:nth-child(1) { animation-delay: 0s; }
.reveal-section.visible .stat-card:nth-child(2) { animation-delay: 0.06s; }
.reveal-section.visible .stat-card:nth-child(3) { animation-delay: 0.12s; }
.reveal-section.visible .stat-card:nth-child(4) { animation-delay: 0.18s; }
.reveal-section.visible .stat-card:nth-child(5) { animation-delay: 0.24s; }
.reveal-section.visible .stat-card:nth-child(6) { animation-delay: 0.30s; }
.reveal-section.visible .stat-card:nth-child(7) { animation-delay: 0.36s; }

.reveal-section.visible .history-item:nth-child(1) { animation-delay: 0s; }
.reveal-section.visible .history-item:nth-child(2) { animation-delay: 0.07s; }
.reveal-section.visible .history-item:nth-child(3) { animation-delay: 0.14s; }
.reveal-section.visible .history-item:nth-child(4) { animation-delay: 0.21s; }
.reveal-section.visible .history-item:nth-child(5) { animation-delay: 0.28s; }
.reveal-section.visible .history-item:nth-child(6) { animation-delay: 0.35s; }
.reveal-section.visible .history-item:nth-child(7) { animation-delay: 0.42s; }

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

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 600px) {
    .landing-fields {
        grid-template-columns: 1fr;
    }

    .landing-content {
        padding: 28px 18px;
    }

    .landing-form {
        padding: 24px 20px;
    }

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

    .hero { padding: 80px 0 40px; }

    .hero-live {
        padding: 18px 28px;
    }

    .hero-live__number {
        min-width: unset;
    }

    .section { padding: 48px 0; }

    .history-item {
        flex-direction: column;
        gap: 10px;
    }

    .milestone {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .milestone__right {
        width: 100%;
        justify-content: space-between;
    }

    .site-nav { gap: 16px; }

    .btn-reset span { display: none; }

    .life-year__months span {
        font-size: 0.6rem;
    }
}

@media (max-width: 380px) {
    .stat-card__value {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════
   SCROLL INDICATOR
   ═══════════════════════════════════ */
.scroll-indicator {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 40;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator__text {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-indicator__arrow {
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ═══════════════════════════════════
   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;
    }

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

    .landing.fade-out {
        transition: none;
    }

    .scroll-indicator__arrow {
        animation: none;
    }
}

/* ─── Utility ─── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
