:root {
  --bg: #0a0c10;
  --bg-elevated: #12151c;
  --bg-card: #181c26;
  --fg: #e8eaf0;
  --fg-muted: #8b90a0;
  --accent: #34d399;
  --accent-dim: #1a7a52;
  --accent-glow: rgba(52, 211, 153, 0.12);
  --border: #252a36;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(52, 211, 153, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin-bottom: 24px;
  color: var(--fg);
}

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

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

/* Node graph visual */
.hero-visual {
  margin-top: 64px;
  width: 100%;
  max-width: 700px;
}

.node-graph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
  position: relative;
}

.node-active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.connector {
  width: 32px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

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

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

.problem-label,
.features-label,
.how-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 56px;
  max-width: 740px;
  color: var(--fg);
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.problem-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--fg);
}

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

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

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

.feature-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.feature-block {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.feature-block:hover {
  border-color: var(--accent-dim);
}

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

.feature-block h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--fg);
}

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

/* ---- HOW IT WORKS ---- */
.how {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.how h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 56px;
  color: var(--fg);
}

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

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

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

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--fg);
}

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

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(52, 211, 153, 0.05) 0%, transparent 70%),
    var(--bg);
}

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

.closing-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.closing h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 24px;
  color: var(--fg);
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing-accent {
  color: var(--accent) !important;
  font-weight: 500;
  font-size: 1.1rem !important;
}

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

.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: 1.2rem;
  color: var(--fg);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .feature-blocks {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 60px 20px 48px;
  }
  .node-graph {
    flex-direction: column;
    gap: 0;
  }
  .connector {
    width: 2px;
    height: 20px;
  }
  .how-step {
    flex-direction: column;
    gap: 12px;
  }
  .step-number {
    font-size: 36px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .problem,
  .features,
  .how,
  .closing {
    padding: 64px 20px;
  }
}