:root {
  --bg: #0D1117;
  --surface: #161B27;
  --border: #1E2633;
  --lime: #BAFF00;
  --lime-dim: rgba(186, 255, 0, 0.15);
  --text: #F0F4FF;
  --text-muted: #8892A4;
  --text-dim: #5A6478;
  --nav-h: 56px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  font-size: 18px;
  color: var(--lime);
  line-height: 1;
}
.logo-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}
.hero-float-geom {
  position: absolute;
  pointer-events: none;
}
.geom-a {
  width: 320px;
  height: 320px;
  border: 1px solid var(--lime);
  opacity: 0.06;
  border-radius: 50%;
  top: -60px;
  right: -80px;
}
.geom-b {
  width: 180px;
  height: 180px;
  border: 1px solid var(--lime);
  opacity: 0.04;
  bottom: 80px;
  right: 200px;
}

.hero-content {
  position: relative;
  z-index: 1;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
  display: inline-block;
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  padding: 0 28px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-val {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
}

/* ── AGENT WINDOW ── */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.agent-window {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(186,255,0,0.06);
}
.agent-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.agent-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }
.agent-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  flex: 1;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--lime);
  font-weight: 500;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.agent-body { padding: 16px; }
.agent-log { margin-bottom: 16px; }
.log-entry {
  font-family: 'SFMono-Regular', 'Consolas', monospace;
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 5px;
  margin-bottom: 4px;
  line-height: 1.5;
}
.log-done { color: var(--text-muted); }
.log-active {
  background: var(--lime-dim);
  color: var(--lime);
  border: 1px solid rgba(186,255,0,0.2);
}
.log-pending { color: var(--text-dim); }
.log-ts { color: var(--text-dim); margin-right: 8px; font-size: 10px; }
.cursor-blink {
  animation: blink 1s step-end infinite;
  font-weight: 700;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.agent-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.am-item {
  background: var(--surface);
  padding: 12px 10px;
  text-align: center;
}
.am-val {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.am-label {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 3px;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 100px 32px;
  background: #080B10;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
}
.manifesto-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.manifesto-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 32px;
}
.manifesto-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
  border-radius: 10px;
  overflow: hidden;
}
.ms-item {
  background: var(--surface);
  padding: 28px 24px;
}
.ms-num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ms-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── FEATURES ── */
.features { padding: 100px 32px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.features-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.fc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-dim);
  border-radius: 10px;
  margin-bottom: 20px;
}
.fc-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.fc-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── HOW ── */
.how { padding: 100px 32px; background: #080B10; border-top: 1px solid var(--border); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.how-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 64px;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 24px 0 0;
}
.step:first-child { padding-left: 0; }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--lime);
  opacity: 0.3;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.closing-geometric {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  opacity: 0.05;
  pointer-events: none;
}
.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

/* ── FOOTER ── */
.footer { padding: 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { justify-content: flex-start; margin-top: 48px; }
  .agent-window { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .manifesto-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .stat { padding: 0 16px 0 0; }
}