/* ===== TOKENS ===== */
:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface-2: #1E1E1E;
  --border: #2A2A2A;
  --fg: #F0EEE9;
  --fg-muted: #8A8A8A;
  --accent: #FF5A1F;
  --accent-hover: #E04D14;
  --accent-dim: rgba(255, 90, 31, 0.12);
  --green: #3DBA7C;
  --orange: #FF8C42;
  --red: #FF4545;
  --muted: #6B6B6B;
  --white: #F0EEE9;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,90,31,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-text {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,90,31,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 28px;
  font-family: 'DM Mono', monospace;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--fg-muted); color: var(--fg); }
.btn-large { padding: 16px 36px; font-size: 1rem; }

/* ===== TERMINAL ===== */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,90,31,0.08);
}
.terminal-header {
  background: var(--surface-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.terminal-dots span:nth-child(1) { background: #FF5F57; }
.terminal-dots span:nth-child(2) { background: #FEBC2E; }
.terminal-dots span:nth-child(3) { background: #28C840; }
.terminal-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
}
.terminal-body {
  padding: 20px 20px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  min-height: 280px;
}
.term-line { display: flex; gap: 12px; align-items: baseline; }
.term-muted { color: var(--muted); }
.term-cmd { color: var(--fg); }
.term-ok { color: #6B6B6B; }
.term-warn { color: var(--orange); }
.term-error { color: var(--red); }
.term-snap { color: var(--accent); font-weight: 500; }
.term-done { color: var(--green); font-weight: 500; }
.term-gray { color: var(--muted); }
.term-green { color: var(--green); }
.term-orange { color: var(--orange); }
.term-red { color: var(--red); }
.term-prompt { color: var(--accent); margin-right: 4px; }
.term-cursor { color: var(--accent); }
.term-cursor-line { margin-top: 8px; }

/* ===== HERO STATS ===== */
.hero-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 80px;
}
.stat { padding: 0 48px; }
.stat:first-child { padding-left: 0; }
.stat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}
.manifesto-label, .section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--white);
}
.manifesto-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.manifesto-body em { color: var(--fg); font-style: normal; font-weight: 600; }
.manifesto-quote {
  margin-top: 48px;
  padding-left: 32px;
  border-left: 3px solid var(--accent);
}
.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}
.manifesto-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ===== FEATURES ===== */
.features { padding: 100px 24px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 64px; }
.features-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 500px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,90,31,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.feature-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ===== HOW IT WORKS ===== */
.howitworks {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.howitworks-inner { max-width: 1100px; margin: 0 auto; }
.howitworks-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 64px;
  max-width: 600px;
}
.pipeline {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
}
.pipeline-step { padding: 0 8px; }
.pipeline-step-last { padding-right: 0; }
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.step-arrow {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 24px;
  position: relative;
}
.step-arrow::after {
  content: '>';
  position: absolute;
  right: -2px;
  top: -12px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
}

/* ===== PRICING ===== */
.pricing { padding: 100px 24px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 64px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
}
.pricing-card-pro {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(255,90,31,0.1);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.price-dollar {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg-muted);
  align-self: flex-start;
  margin-top: 8px;
}
.price-val {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan-period {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  font-family: 'DM Mono', monospace;
}
.plan-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 24px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 2px;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.plan-cta-primary {
  background: var(--accent);
  color: var(--white);
}
.plan-cta-primary:hover { background: var(--accent-hover); }
.plan-cta-outline {
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.plan-cta-outline:hover { border-color: var(--fg-muted); color: var(--fg); }

/* ===== CLOSING ===== */
.closing {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,90,31,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.closing-actions { display: flex; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-terminal { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 32px; }
  .step-arrow { display: none; }
  .stat { padding: 0 24px; }
}
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .features-grid { border-radius: 8px; }
}