:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --red: #ff4d6a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

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

.lede {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
}

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

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

.section-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card:last-child .stat-number {
  color: var(--fg-muted);
}

.stat-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.problem-statement {
  font-size: 20px;
  color: var(--fg);
  max-width: 700px;
  line-height: 1.7;
}

/* ─── SERVICES ─── */
.services {
  padding: 100px 24px;
}

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

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.service-icon {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.service-content p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── MATH ─── */
.math {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.math-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.math-block {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  min-width: 160px;
}

.math-result {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.math-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.math-result .math-value {
  color: var(--accent);
}

.math-label {
  font-size: 14px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.math-operator {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--fg-muted);
}

.math-footnote {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* ─── CLOSING ─── */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .math-equation {
    flex-direction: column;
    gap: 16px;
  }

  .math-operator {
    font-size: 24px;
  }

  .math-block {
    min-width: 100%;
  }

  .service-item {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero {
    min-height: 70vh;
    padding: 80px 20px 60px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .stat-number {
    font-size: 42px;
  }

  .math-value {
    font-size: 36px;
  }
}