:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-dim: #8a8895;
  --accent: #00e5a0;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-secondary: #7c5cfc;
  --red: #ff4d6a;
  --yellow: #ffd166;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

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

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

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8% 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

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

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

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

.hero-visual { position: relative; z-index: 1; }

.terminal {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.terminal-bar {
  background: var(--bg-elevated);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--accent); }

.terminal-body {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 2;
}

.terminal-body p { margin: 0; }
.prompt { color: var(--accent); margin-right: 0.5rem; }
.dim { color: var(--fg-dim); }
.success { color: var(--accent); font-weight: 500; }

/* ---- PROBLEM ---- */
.problem {
  padding: 8rem 8%;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.problem h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 3.5rem;
  max-width: 600px;
}

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

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
}

.problem-icon {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
}

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

/* ---- FEATURES ---- */
.features {
  padding: 8rem 8%;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
}

.feature-block {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feature-label {
  grid-row: 1 / -1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-secondary);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  align-self: center;
  padding-right: 1rem;
  border-right: 2px solid var(--accent-secondary);
}

.feature-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-block p {
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ---- NUMBERS ---- */
.numbers {
  padding: 8rem 8%;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.numbers h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 3rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-value {
  font-family: var(--mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ---- CLOSING ---- */
.closing {
  padding: 10rem 8%;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-dim);
  line-height: 1.8;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 3rem 8%;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 6% 3rem;
    gap: 3rem;
  }

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

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-label {
    writing-mode: horizontal-tb;
    transform: none;
    border-right: none;
    border-bottom: 2px solid var(--accent-secondary);
    padding-right: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .stat-row { grid-template-columns: 1fr; }
  .terminal-body { font-size: 0.75rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}