/* ===== VARIABLES ===== */
:root {
  --bg: #08080c;
  --bg-2: #0f0f16;
  --bg-3: #141420;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.06);
  --fg: #f0ede8;
  --fg-2: #9a9590;
  --fg-3: #5a5550;
  --border: rgba(240, 237, 232, 0.08);
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ===== HERO ===== */
.hero {
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.headline-accent {
  color: var(--accent);
  display: inline-block;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg-2);
  background: var(--bg-3);
}

/* Agent window */
.agent-window {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-3);
}

.window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.05em;
}

.window-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agent-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.agent-msg.system .agent-label { color: var(--fg-3); }

.agent-msg p {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
  background: var(--bg-3);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.agent-msg.agent p { color: var(--fg); }
.agent-msg.agent.highlight p { border-color: var(--accent); background: var(--accent-dim); }

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== HOW ===== */
.how {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.step {
  background: var(--bg-2);
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 96px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg-3);
  font-style: italic;
  margin-bottom: 32px;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.manifesto-response {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 32px;
  padding-left: 31px;
}

.manifesto-cta p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  padding-left: 31px;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 36px 28px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ===== CLOSING ===== */
.closing {
  padding: 96px 48px 120px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.closing p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 680px;
  margin: 0 auto 72px;
}

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-3);
}

.c-stat {
  flex: 1;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--border);
}

.c-stat:last-child { border-right: none; }

.c-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--accent);
}

.c-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.footer-links {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .stats-row { flex-wrap: wrap; gap: 32px; }
  .stat-item { padding: 0 24px; }
  .stat-divider { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .closing-stats { flex-direction: column; }
  .c-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .c-stat:last-child { border-bottom: none; }
  .how, .features, .manifesto, .closing { padding: 64px 24px; }
  .hero { padding: 64px 24px 48px; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 48px; }
}