:root {
  --bg: #090E1A;
  --bg-secondary: #0F172A;
  --bg-card: #111827;
  --accent: #F59E0B;
  --accent-dim: #B45309;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #475569;
  --border: #1E293B;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* Nav */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(9, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: rgba(245,158,11,0.1);
}

/* Hero */
.hero {
  padding: 80px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-highlight {
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* Agent card */
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.agent-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.agent-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.step.done { color: #22C55E; }
.step.active { color: var(--text); }
.step.pending { color: var(--text-dim); }
.step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  background: rgba(255,255,255,0.06);
}
.step.done .step-icon { background: rgba(34,197,94,0.15); color: #22C55E; }
.step.active .step-icon { background: rgba(245,158,11,0.15); color: var(--accent); }
.step.pending .step-icon { background: rgba(255,255,255,0.04); color: var(--text-dim); }
.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(245,158,11,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.agent-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.agent-label { font-size: 12px; color: var(--text-dim); font-weight: 500; }
.agent-time { font-size: 12px; color: var(--accent); font-weight: 600; }

/* Stats */
.stats {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { padding: 0 40px; }
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.4; max-width: 160px; }
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section label + heading */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 56px;
}

/* How it works */
.howitworks { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
}
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  padding-top: 40px;
}

/* Features */
.features { background: var(--bg-secondary); padding: 96px 48px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: #0F1927; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Manifesto */
.manifesto {
  padding: 96px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
.manifesto-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* Who it's for */
.whoisitfor { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.persona-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.persona-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.persona-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Closing */
.closing {
  padding: 96px 48px;
  background: linear-gradient(135deg, #0F172A 0%, #090E1A 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.closing-sub { font-size: 18px; color: var(--text-muted); line-height: 1.65; }

/* 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; align-items: center; gap: 16px; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-link { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-link:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .hero, .howitworks, .features, .manifesto, .whoisitfor, .closing { padding: 64px 24px; }
  .nav { padding: 16px 24px; }
  .footer { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
}