:root {
  --bg: #0a0e14;
  --bg-elevated: #111820;
  --bg-card: #151c27;
  --fg: #e8ecf1;
  --fg-muted: #8892a0;
  --fg-dim: #5a6470;
  --accent: #10b981;
  --accent-dim: rgba(16, 185, 129, 0.15);
  --accent-glow: rgba(16, 185, 129, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(16, 185, 129, 0.3);
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --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;
  overflow-x: hidden;
}

/* ======= HERO ======= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  background: 
    radial-gradient(ellipse 800px 600px at 30% 20%, rgba(16, 185, 129, 0.06), transparent),
    radial-gradient(ellipse 600px 400px at 70% 80%, rgba(16, 185, 129, 0.03), transparent);
}

.hero-inner {
  max-width: var(--max-width);
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--fg);
}

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

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 620px;
}

/* CTA Buttons on landing page */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.cta-btn-primary {
  background: var(--accent);
  color: #0a0e14;
}
.cta-btn-primary:hover { background: #0ea572; }
.cta-btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.cta-btn-ghost:hover { border-color: var(--border-accent); color: var(--fg); }

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

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

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

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

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  color: var(--fg);
}

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

.problem-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: var(--border-accent);
}

.problem-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

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

/* ======= FEATURES ======= */
.features {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.features-header {
  margin-bottom: 64px;
}

.features-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

.features-list {
  display: flex;
  flex-direction: column;
}

.feature-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 36px 0;
  align-items: start;
}

.feature-divider {
  height: 1px;
  background: var(--border);
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 12px;
  border-radius: 3px;
}

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

.feature-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ======= CLOSING ======= */
.closing {
  padding: 120px 24px;
  background: var(--bg);
  text-align: center;
}

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

.closing-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
  opacity: 0.5;
}

.closing-line:last-child {
  margin: 48px auto 0;
}

.closing h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ======= FOOTER ======= */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

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

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

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

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    align-items: flex-start;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

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

  .problem,
  .features,
  .closing {
    padding: 64px 20px;
  }
}