:root {
  --bg: #0a0e17;
  --bg-deep: #060a11;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --fg: #e2e8f0;
  --fg-dim: #94a3b8;
  --fg-muted: #64748b;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.3);
  --accent-glow: rgba(34, 211, 238, 0.08);
  --stress: #f87171;
  --ready: #34d399;
  --flow: #a78bfa;
  --fatigue: #fb923c;
  --border: rgba(148, 163, 184, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  padding: 120px 24px 100px;
  background: linear-gradient(170deg, #0a0e17 0%, #0f1729 40%, #0d1320 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 160px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ── PROBLEM ── */
.problem {
  background: var(--bg-deep);
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.problem-right p {
  color: var(--fg-dim);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.75;
}

.problem-highlight {
  color: #fff !important;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-top: 12px;
}

/* ── INDICES ── */
.indices {
  background: var(--bg);
  padding: 100px 0;
}

.indices h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.indices-sub {
  color: var(--fg-dim);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

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

.index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: background 0.2s, border-color 0.2s;
}

.index-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(148, 163, 184, 0.18);
}

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

.index-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}

.index-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.index-card p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── ARCHITECTURE ── */
.architecture {
  background: var(--bg-deep);
  padding: 100px 0;
}

.architecture h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.arch-pipeline {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.arch-stage {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.arch-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

.arch-stage h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.arch-stage p {
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.arch-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
  flex-shrink: 0;
}

/* ── CLOSING ── */
.closing {
  background: var(--bg);
  padding: 100px 0;
  text-align: center;
}

.closing-content {
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing p {
  color: var(--fg-dim);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.closing-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent) !important;
  margin-top: 32px;
  letter-spacing: -0.01em;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

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

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

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .problem-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .index-card-wide {
    grid-column: auto;
  }

  .arch-pipeline {
    flex-direction: column;
    gap: 16px;
  }

  .arch-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    align-self: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}