:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #18182a;
  --fg: #e8e8f0;
  --fg-dim: #8888a0;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.25);
  --success: #00d2a0;
  --red: #ff4757;
  --yellow: #ffc312;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

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

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

/* Terminal */
.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}

.terminal-bar {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--success); }

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}

.terminal-body .line { margin-bottom: 0.15rem; }
.terminal-body .prompt { color: var(--accent); font-weight: 600; margin-right: 0.5rem; }
.terminal-body .dim { color: var(--fg-dim); }
.terminal-body .success { color: var(--success); }

/* ===== HERO CTA ===== */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.btn-hero-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.hero-cta-sub {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 6rem;
  border-top: 1px solid var(--border);
}

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

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

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

.problem-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

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

.problem-statement {
  font-size: 1.2rem;
  color: var(--fg);
  max-width: 700px;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 6rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.features-sub {
  color: var(--fg-dim);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

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

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

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ===== HOW ===== */
.how {
  padding: 6rem;
}

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

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.how-steps {
  position: relative;
}

.how-step {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.step-line {
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.how-step:last-child .step-line { display: none; }

.step-dot {
  width: 15px;
  height: 15px;
  min-width: 15px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--fg-dim);
  font-size: 0.9rem;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 6rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(108, 92, 231, 0.05) 100%);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-visual { order: -1; }

  .problem { padding: 4rem 2rem; }
  .problem-grid { grid-template-columns: 1fr; }

  .features { padding: 4rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }

  .how { padding: 4rem 2rem; }

  .closing { padding: 5rem 2rem; }

  .site-footer { padding: 2rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .terminal-body { font-size: 0.75rem; padding: 1rem; }
}