:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ec;
  --fg-muted: #8a8a96;
  --fg-dim: #5a5a66;
  --accent: #3ddc84;
  --accent-dim: rgba(61, 220, 132, 0.12);
  --accent-glow: rgba(61, 220, 132, 0.25);
  --danger: #ff4444;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* =========== HERO =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(61, 220, 132, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(61, 220, 132, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
}

.hero-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(61, 220, 132, 0.06);
  border-radius: 50%;
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(61, 220, 132, 0.04);
  border-radius: 50%;
}

.hero-lines::before {
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
}

.hero-lines::after {
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 1;
}

.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);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 220, 132, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

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

.hero-stat-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--fg-muted);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin-right: 4px;
}

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

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

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.problem-card {
  flex: 1;
  padding: 36px;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.problem-card:first-child {
  border: 1px solid rgba(61, 220, 132, 0.15);
}

.problem-card:last-child {
  border: 1px solid rgba(255, 68, 68, 0.15);
}

.problem-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.problem-card:first-child .problem-label {
  color: var(--accent);
}

.problem-card:last-child .problem-label {
  color: var(--danger);
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.problem-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.divider-line {
  width: 1px;
  flex: 1;
  background: var(--border);
}

.divider-vs {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 0;
}

/* =========== FEATURES =========== */
.features {
  padding: 120px 24px;
}

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

.features h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(61, 220, 132, 0.2);
}

.feature-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========== HOW =========== */
.how {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

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

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

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

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

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}

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

.step-content p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(61, 220, 132, 0.15), transparent);
  margin-left: 28px;
}

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

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.3;
}

.closing-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

/* CTA Buttons — hero and closing */
.hero-cta, .closing-cta {
  display: inline-block;
  margin-top: 32px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.hero-cta:hover, .closing-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

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

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

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

  .problem-grid {
    flex-direction: column;
    gap: 16px;
  }

  .problem-divider {
    flex-direction: row;
    padding: 16px 0;
  }

  .divider-line {
    width: auto;
    height: 1px;
    flex: 1;
  }

  .divider-vs {
    padding: 0 16px;
  }

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

  .feature-card {
    padding: 28px 24px;
  }

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

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .closing h2 {
    font-size: 1.8rem;
  }
}