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

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a28;
  --border: #2a2a3a;
  --primary: #6366f1;
  --primary-glow: #818cf8;
  --accent: #22d3ee;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: var(--primary-glow); text-decoration: none; }
a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:not(.btn-outline) {
  background: var(--primary);
  color: white;
}
.btn:not(.btn-outline):hover {
  background: var(--primary-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-glow);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: white; }

/* Hero */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary-glow), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Terminal */
.hero-visual { margin-top: 64px; }
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { margin-left: 12px; font-size: 12px; color: var(--muted); }
.terminal-body { padding: 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; line-height: 1.8; }
.terminal-body .line { margin-bottom: 2px; }
.terminal-body .prompt { color: var(--primary-glow); }
.terminal-body .dim { color: var(--muted); }
.terminal-body .status { color: var(--accent); }
.terminal-body .file { color: #a5f3fc; }
.terminal-body .done { color: #4ade80; font-weight: 600; }

/* Features */
.features { padding: 100px 0; }
.features h2, .how-it-works h2, .frameworks h2, .cta h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* How It Works */
.how-it-works { padding: 100px 0; background: var(--surface); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step { text-align: center; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Frameworks */
.frameworks { padding: 100px 0; }
.framework-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.framework-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  min-width: 120px;
  transition: border-color 0.2s;
}
.framework-card:hover { border-color: var(--primary); }
.fw-icon { font-size: 32px; margin-bottom: 8px; }
.framework-card span { font-size: 14px; font-weight: 500; }

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* Footer */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 120px 0 60px; }
  .terminal-body { font-size: 11px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}
