/* ══════════════════════════════════════════════════════════════════
   AI-Native Application Page — Dark Theme (matches home.css)
   #050A12 bg | #C9A84C gold | #E8E0D0 warm white
   ══════════════════════════════════════════════════════════════════ */

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

:root {
    --bg: #050A12;
    --surface: #0A1120;
    --surface-2: #0F1830;
    --gold: #C9A84C;
    --gold-dim: #A68A3A;
    --gold-light: #d4b85c;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --warm: #E8E0D0;
    --warm-dim: rgba(232, 224, 208, 0.6);
    --warm-muted: rgba(232, 224, 208, 0.35);
    --border: rgba(232, 224, 208, 0.08);
    --border-hover: rgba(232, 224, 208, 0.15);
    --radius: 6px;
    --radius-lg: 10px;
    --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--warm);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all 0.3s ease;
}

.site-nav.scrolled {
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--warm-dim);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--warm); }

.nav-cta {
    color: var(--gold) !important;
    border: 1px solid var(--gold-dim);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 600 !important;
    transition: all 0.15s !important;
}

.nav-cta:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
    background: var(--bg);
    padding: 10rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
}

.hero-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-headline {
    color: var(--warm);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-sub {
    color: var(--warm-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

.btn-secondary {
    display: inline-block;
    color: var(--warm-dim);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-hover);
    transition: all 0.15s ease;
}

.btn-secondary:hover {
    border-color: var(--warm-muted);
    color: var(--warm);
}

/* ── SECTIONS ────────────────────────────────────────────────────── */
.section {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
}

.section-dark {
    background: var(--surface);
}

.section-light {
    background: var(--surface-2);
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-headline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--warm);
}

.section-headline em {
    font-style: italic;
    color: var(--gold);
}

.section-sub {
    color: var(--warm-dim);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

/* ── PARADIGM SECTION ────────────────────────────────────────────── */
.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.paradigm-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.paradigm-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    color: var(--warm-muted);
}

.paradigm-old h3 { color: var(--warm-muted); }
.paradigm-new h3 { color: var(--gold); }

.paradigm-card ol {
    list-style: none;
    counter-reset: steps;
}

.paradigm-card ol li {
    counter-increment: steps;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--warm-dim);
    border-bottom: 1px solid var(--border);
}

.paradigm-card ol li:last-child { border-bottom: none; }

.paradigm-card ol li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(232, 224, 208, 0.06);
    color: var(--warm-muted);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.6rem;
}

.paradigm-new ol li {
    color: var(--warm);
}

.paradigm-new ol li::before {
    background: var(--gold-glow);
    color: var(--gold);
}

.paradigm-old ol li {
    color: var(--warm-muted);
}

.paradigm-timeline {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-muted);
}

.paradigm-timeline-fast {
    color: var(--gold);
}

.paradigm-quote {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.04) 0%, rgba(201, 168, 76, 0.08) 100%);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 2rem;
}

.paradigm-quote p {
    font-size: 1rem;
    font-style: italic;
    color: var(--warm);
    line-height: 1.7;
}

/* ── STATS SECTION ───────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warm);
    margin-bottom: 0.25rem;
}

.stat-detail {
    font-size: 0.75rem;
    color: var(--warm-muted);
}

/* ── PROOF SECTION ───────────────────────────────────────────────── */
.proof-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.proof-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.2s ease;
}

.proof-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.proof-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.proof-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--warm);
}

.proof-card p {
    font-size: 0.85rem;
    color: var(--warm-dim);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.proof-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.15s;
}

.proof-link:hover { color: var(--gold-light); }

/* ── ARCHITECTURE SECTION ────────────────────────────────────────── */
.arch-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.arch-layer {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.arch-layer-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
}

.arch-llm {
    background: rgba(138, 155, 181, 0.12);
    color: #8A9BB5;
}

.arch-determ {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
}

.arch-hybrid {
    background: rgba(232, 224, 208, 0.08);
    color: var(--warm-dim);
}

.arch-layer-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--warm);
}

.arch-layer-content p {
    font-size: 0.8rem;
    color: var(--warm-dim);
    line-height: 1.6;
}

.arch-thesis {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.arch-thesis h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--warm);
    margin-bottom: 0.75rem;
}

.arch-thesis p {
    font-size: 0.9rem;
    color: var(--warm-dim);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ── ARGUMENT SECTION ────────────────────────────────────────────── */
.argument-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.argument-item {
    padding: 1.5rem;
    border-left: 2px solid var(--border);
}

.argument-item:nth-child(odd) { border-color: var(--gold-dim); }

.argument-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--warm);
}

.argument-item p {
    font-size: 0.85rem;
    color: var(--warm-dim);
    line-height: 1.7;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 2rem;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-thesis {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-meta p {
    color: var(--warm-muted);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .paradigm-grid { grid-template-columns: 1fr; }
    .proof-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .argument-grid { grid-template-columns: 1fr; }
    .arch-layer { grid-template-columns: 1fr; }
    .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 600px) {
    .hero { padding: 8rem 1.5rem 4rem; }
    .section { padding: 3.5rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-headline { font-size: 1.75rem; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .paradigm-card,
    .proof-card,
    .arch-layer,
    .argument-item,
    .stat-block {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .paradigm-card.visible,
    .proof-card.visible,
    .arch-layer.visible,
    .argument-item.visible,
    .stat-block.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
