:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-glow: rgba(0, 255, 136, 0.12);
  --red: #ff4d4d;
  --yellow: #ffcc00;
  --cyan: #00ccff;
  --border: #1e1e2e;
  --font-main: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 60px;
  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-grid {
  max-width: 800px;
  text-align: center;
  margin-bottom: 48px;
}

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

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

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

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

/* Terminal */
.hero-terminal {
  width: 100%;
  max-width: 580px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--accent-dim); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
}

.terminal-line { white-space: nowrap; }
.t-gray { color: var(--fg-muted); }
.t-green { color: var(--accent); }
.t-cyan { color: var(--cyan); }

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

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

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

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  line-height: 1.15;
}

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

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

.problem-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-dim);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

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

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

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

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

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

.feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ===== ARCHITECTURE ===== */
.architecture {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.arch-inner {
  max-width: 600px;
  margin: 0 auto;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.arch-layer {
  width: 100%;
  padding: 28px 32px;
  border-radius: 4px;
  text-align: center;
}

.arch-top {
  background: var(--accent);
  color: var(--bg);
}

.arch-mid {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.arch-bottom {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px 32px;
}

.arch-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.arch-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

.arch-top .arch-desc { color: var(--bg); opacity: 0.7; }
.arch-mid .arch-desc { color: var(--fg-muted); }

.arch-connector {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  padding: 12px 0;
  letter-spacing: 1px;
}

.arch-providers {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.provider {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

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

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

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

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

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
}

.footer-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-sep {
  color: var(--border);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 60px 20px 40px;
  }

  .hero-terminal {
    max-width: 100%;
  }

  .terminal-body {
    font-size: 11px;
    overflow-x: auto;
  }

  .arch-providers {
    gap: 8px;
  }

  .provider {
    font-size: 11px;
    padding: 4px 10px;
  }

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