:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #555568;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.25);
  --warn: #ff9f43;
  --red: #ff5252;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Hero ────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 232, 123, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 232, 123, 0.2);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent);
  position: relative;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Pulse animation */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.pulse-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse-expand 3s ease-out infinite;
}

.ring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.ring-2 { width: 80px; height: 80px; animation-delay: 1s; }
.ring-3 { width: 80px; height: 80px; animation-delay: 2s; }

@keyframes pulse-expand {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

.pulse-core {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(0, 232, 123, 0.1);
}

.pulse-icon {
  font-size: 28px;
  color: var(--bg);
}

.stat-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.stat-value.up { color: var(--accent); }
.stat-value.warn { color: var(--warn); }

/* ─── Problem ─────────────────────────────── */

.problem {
  padding: 120px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 56px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.problem-card {
  text-align: center;
}

.problem-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-kicker {
  font-size: 1.2rem;
  color: var(--fg-muted);
  line-height: 1.7;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.problem-kicker strong {
  color: var(--fg);
}

/* ─── Features ────────────────────────────── */

.features {
  padding: 120px 48px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 232, 123, 0.3);
}

.feature-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 24px;
  align-items: start;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 232, 123, 0.03) 100%);
}

.feature-large .feature-icon {
  grid-row: span 2;
  font-size: 2.4rem;
  align-self: center;
}

.feature-large h3 {
  grid-column: 2;
  margin: 0;
}

.feature-large p {
  grid-column: 2;
}

.feature-large .feature-tag {
  grid-row: span 2;
  align-self: center;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 12px;
}

/* ─── How It Works ────────────────────────── */

.how {
  padding: 120px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 700px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 72px;
  opacity: 0.4;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-line {
  width: 2px;
  height: 40px;
  background: var(--border);
  margin-left: 35px;
}

/* ─── Closing ─────────────────────────────── */

.closing {
  padding: 140px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(0, 232, 123, 0.05) 0%, transparent 70%),
    var(--bg);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.closing-tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

/* ─── Footer ──────────────────────────────── */

.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

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

/* ─── Responsive ──────────────────────────── */

@media (max-width: 768px) {
  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .lede {
    max-width: 100%;
  }

  .problem { padding: 80px 24px; }

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

  .features { padding: 80px 24px; }

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

  .feature-large {
    grid-column: span 1;
    display: block;
  }

  .feature-large .feature-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .how { padding: 80px 24px; }

  .step { gap: 20px; }
  .step-num { font-size: 2rem; min-width: 52px; }

  .closing { padding: 80px 24px; }

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

  .stat-cards {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    min-width: 200px;
  }
}