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

:root {
    --bg-dark: #0a0a0f;
    --bg-dark-card: #13131a;
    --bg-light: #f8f9fb;
    --bg-light-card: #ffffff;
    --text-primary: #e8e8ed;
    --text-secondary: #9898a6;
    --text-dark: #1a1a2e;
    --text-dark-secondary: #555566;
    --accent-blue: #4d7cfe;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --accent-yellow: #f39c12;
    --accent-purple: #9b59b6;
    --gradient-main: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --gradient-accent: linear-gradient(135deg, #4d7cfe, #9b59b6);
    --border-dark: rgba(255,255,255,0.06);
    --border-light: rgba(0,0,0,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

.container.narrow {
    max-width: 800px;
}

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

/* ===== HERO ===== */
#hero {
    background: var(--gradient-main);
    color: var(--text-primary);
    padding: 120px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(77, 124, 254, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(155, 89, 182, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(77, 124, 254, 0.15);
    border: 1px solid rgba(77, 124, 254, 0.3);
    color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
}

#hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    position: relative;
}

.strike {
    position: relative;
    color: var(--accent-red);
}
.strike::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 55%;
    height: 4px;
    background: var(--accent-red);
    transform: rotate(-2deg);
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(77, 124, 254, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(77, 124, 254, 0.4);
    text-decoration: none;
}

/* ===== SECTIONS ===== */
.section-dark {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 80px 24px;
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 24px;
}

.section-gradient {
    background: linear-gradient(135deg, #1a1040 0%, #0f2027 50%, #0a1628 100%);
    color: var(--text-primary);
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-number {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(77, 124, 254, 0.1);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.15rem;
    opacity: 0.7;
    font-style: italic;
}

/* ===== HONEST SETUP ===== */
#honest-setup p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-secondary);
}
#honest-setup p strong {
    color: var(--text-primary);
}

/* ===== CALLOUT ===== */
.callout {
    display: flex;
    gap: 16px;
    background: rgba(77, 124, 254, 0.08);
    border: 1px solid rgba(77, 124, 254, 0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 32px;
    align-items: flex-start;
}
.callout-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== COMPARISON CARDS ===== */
.comparison-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}
.comparison-card.card-dark {
    background: var(--bg-dark-card);
    border-color: var(--border-dark);
}

.comparison-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.comparison-card p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.section-dark .comparison-card p,
.section-dark .comparison-card li {
    color: var(--text-secondary);
}

/* ===== BAR CHART ===== */
.bar-chart {
    margin: 32px 0;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.bar-label {
    min-width: 220px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.bar-track {
    flex: 1;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    height: 32px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: white;
    min-width: fit-content;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 0;
}

.bar-fill::after {
    content: attr(data-value);
    white-space: nowrap;
}

.bar-fill.ai {
    background: var(--gradient-accent);
}
.bar-fill.neutral {
    background: #667eea;
}
.bar-fill.bad {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

/* ===== STAT HIGHLIGHT ===== */
.stat-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(77, 124, 254, 0.06);
    border: 1px solid rgba(77, 124, 254, 0.15);
    border-radius: var(--radius);
    padding: 20px 28px;
    margin-top: 24px;
}

.big-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    white-space: nowrap;
}

.big-label {
    font-size: 1rem;
    line-height: 1.6;
}

.section-dark .stat-highlight {
    background: rgba(77, 124, 254, 0.1);
    border-color: rgba(77, 124, 254, 0.25);
}

/* ===== SOURCE ROW ===== */
.source-row {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-dark-secondary);
    opacity: 0.7;
}
.section-dark .source-row {
    color: var(--text-secondary);
}

/* ===== MYTH/REALITY ===== */
.myth-reality {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.myth, .reality {
    padding: 20px;
    border-radius: var(--radius);
}

.myth {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
}
.reality {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.tag-myth {
    background: var(--accent-red);
    color: white;
}
.tag-reality {
    background: var(--accent-green);
    color: white;
}

.myth p, .reality p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== CONTEXT GRID ===== */
.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.context-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.context-item.highlight-item {
    background: rgba(77, 124, 254, 0.08);
    border-color: rgba(77, 124, 254, 0.2);
}

.context-pct {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

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

/* ===== WATER COMPARISON ===== */
.water-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.water-item {
    text-align: center;
    padding: 24px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
}

.water-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.water-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.water-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== DATA LIST ===== */
.data-list {
    list-style: none;
    margin: 16px 0;
}
.data-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.95rem;
}
.data-list li:last-child {
    border-bottom: none;
}

/* ===== LAND COMPARISON ===== */
.land-comparison {
    margin: 24px 0;
}

.land-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
}

.land-row:first-child {
    background: rgba(77, 124, 254, 0.08);
    border-color: rgba(77, 124, 254, 0.2);
}

.land-label {
    font-weight: 500;
}

.land-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-blue);
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}
.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 124, 254, 0.3);
}

.benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== REAL TALK ===== */
.real-talk-content h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
    color: var(--text-primary);
}
.real-talk-content h3:first-child {
    margin-top: 0;
}

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

.real-talk-content ul {
    list-style: none;
    margin: 16px 0;
}
.real-talk-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.real-talk-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}
.real-talk-content ul li strong {
    color: var(--text-primary);
}

/* ===== CALCULATOR ===== */
.calculator-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.calc-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.calc-row label {
    flex: 1;
    min-width: 200px;
    font-weight: 500;
    font-size: 0.95rem;
}

.calc-row input[type="range"] {
    flex: 1;
    min-width: 120px;
    accent-color: var(--accent-blue);
    height: 6px;
}

.calc-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-blue);
    min-width: 40px;
    text-align: right;
    font-size: 1.1rem;
}

.calc-results {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.calc-results h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.result-label {
    min-width: 130px;
    font-size: 0.9rem;
    font-weight: 500;
}

.result-bar-track {
    flex: 1;
    height: 24px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    overflow: hidden;
}

.result-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.ai-fill { background: var(--gradient-accent); }
.stream-fill { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.zoom-fill { background: linear-gradient(90deg, #f39c12, #e67e22); }

.result-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 80px;
    text-align: right;
}

.result-summary {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(77, 124, 254, 0.06);
    border: 1px solid rgba(77, 124, 254, 0.15);
    border-radius: var(--radius);
    font-size: 1.05rem;
    line-height: 1.6;
}

.result-water {
    margin-top: 20px;
}

.result-water h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.result-water p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}

/* ===== TLDR ===== */
.tldr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.tldr-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px;
}

.tldr-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 12px;
}

.tldr-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: var(--text-secondary);
    padding: 48px 24px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-dark);
}

footer p {
    margin-bottom: 8px;
}

.footer-note {
    margin-top: 16px;
    opacity: 0.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #hero {
        padding: 80px 20px 60px;
    }

    .bar-row {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .bar-label {
        min-width: unset;
        text-align: left;
        font-size: 0.85rem;
    }

    .myth-reality {
        grid-template-columns: 1fr;
    }

    .stat-highlight {
        flex-direction: column;
        text-align: center;
    }

    .comparison-card {
        padding: 24px;
    }

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

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

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

    .calc-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

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

@media (max-width: 480px) {
    .water-comparison {
        grid-template-columns: 1fr;
    }

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