:root {
  --bg: #060a0f;
  --bg2: #0b1420;
  --surface: #111d2e;
  --lime: #baff39;
  --lime-dim: rgba(186, 255, 57, 0.15);
  --text: #e2eaf4;
  --text-muted: #7a94b4;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 6px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { 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;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero */
.hero {
  padding: 80px 48px 80px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.meta-stat { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.meta-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.meta-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.grid-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
}
.grid-node {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.node-1 { top: 20%; left: 20%; }
.node-2 { top: 20%; right: 20%; }
.node-3 { bottom: 20%; left: 20%; }
.node-4 { bottom: 20%; right: 20%; }
.node-1.active { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 12px rgba(186,255,57,0.5); }
.node-2.active { background: rgba(186,255,57,0.5); border-color: var(--lime); }
.node-3.processing { background: rgba(186,255,57,0.2); border-color: var(--lime); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:0.2} 50%{opacity:1} }
.grid-line {
  position: absolute;
  background: var(--border);
}
.line-h { height: 1px; width: 25%; top: calc(20% + 9px); }
.line-1 { left: calc(20% + 20px); }
.line-2 { right: calc(20% + 20px); left: calc(50% + 10px); }
.line-v { width: 1px; height: 25%; left: calc(20% + 9px); }
.line-3 { top: calc(20% + 20px); }
.line-4 { bottom: calc(20% + 20px); }
.agent-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.agent-1 { bottom: 28%; right: 10%; }
.agent-2 { top: 30%; right: 5%; background: rgba(186,255,57,0.07); border-color: rgba(186,255,57,0.2); }
.agent-3 { bottom: 10%; left: 28%; }
.agent-label { font-size: 12px; font-weight: 500; color: var(--text); }
.agent-status { font-size: 11px; color: var(--text-muted); }

/* Pillars */
.pillars {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.pillars-header { max-width: 1280px; margin: 0 auto 52px; }
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.section-sub { font-size: 15px; color: var(--text-muted); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}
.pillar { padding: 36px 32px; background: var(--bg2); }
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--lime-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* How */
.how { padding: 80px 48px; border-bottom: 1px solid var(--border); background: var(--bg2); }
.how-inner { max-width: 1280px; margin: 0 auto; }
.how-badge {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 16px;
}
.how-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 600px;
}
.how-steps { display: flex; gap: 0; }
.step { flex: 1; padding: 0 32px 0 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(186,255,57,0.15);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.step-connector {
  width: 40px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='2'%3E%3Cline x1='0' y1='1' x2='40' y2='1' stroke='%23BAFF39' stroke-width='1' stroke-opacity='0.2' stroke-dasharray='4 4'/%3E%3C/svg%3E") center no-repeat;
  align-self: center;
  margin: 0 8px;
}

/* Dashboard preview */
.dashboard-preview { padding: 80px 48px; border-bottom: 1px solid var(--border); }
.dash-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.dash-badge { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--lime); margin-bottom: 16px; }
.dash-headline { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px; line-height: 1.2; }
.dash-body { font-size: 15px; color: var(--text-muted); line-height: 1.6; font-weight: 300; margin-bottom: 12px; }
.dash-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.mock-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-title { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text); }
.mock-status { font-size: 11px; color: var(--lime); }
.mock-agents { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-agent {}
.ma-name { font-size: 12px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.ma-bar { height: 4px; background: var(--bg); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.ma-fill { height: 100%; background: var(--lime); border-radius: 2px; }
.ma-metric { font-size: 11px; color: var(--text-muted); }
.mock-log {
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}
.log-line { display: flex; gap: 12px; font-size: 11px; }
.log-time { color: var(--text-muted); flex-shrink: 0; }
.log-msg { color: var(--text-muted); }

/* Closing */
.closing { padding: 96px 48px; text-align: center; }
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.footer-copy { font-size: 11px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner, .dash-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px; }
  .pillars { padding: 56px 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .how { padding: 56px 24px; }
  .how-steps { flex-direction: column; gap: 24px; }
  .step-connector { display: none; }
  .dashboard-preview { padding: 56px 24px; }
  .closing { padding: 56px 24px; }
  .navbar { padding: 16px 24px; }
  .footer { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .meta-divider { display: none; }
}