:root {
  --bg: #070b14;
  --surface: #0e1628;
  --surface2: #141f35;
  --accent: #00e5ff;
  --accent-dim: #00e5ff22;
  --mint: #00ff9d;
  --text: #e8edf5;
  --text-dim: #7a8ba8;
  --border: #1a2840;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Instrument 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 {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-head);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* HERO */
.hero {
  padding: 100px 40px 120px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font-head);
  color: var(--accent);
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.metric-label { font-size: 12px; color: var(--text-dim); }
.metric-divider { width: 1px; height: 40px; background: var(--border); }

/* AGENT FLOW */
.hero-visual { display: flex; flex-direction: column; gap: 24px; }
.agent-flow {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.agent-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.agent-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.agent-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.agent-status { font-size: 11px; color: var(--text-dim); }
.agent-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.agent-indicator.on { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.agent-indicator.success { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.agent-arrow {
  display: flex;
  justify-content: center;
  padding: 2px 0;
  color: var(--text-dim);
}

/* PREVIEW WINDOW */
.preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }
.preview-url {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
  font-family: monospace;
}
.preview-body { padding: 20px; }
.preview-hero-placeholder {
  background: linear-gradient(135deg, var(--surface2), var(--border));
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
}
.preview-tagline {
  height: 16px;
  width: 60%;
  background: var(--border);
  border-radius: 4px;
}
.preview-cta {
  height: 32px;
  width: 140px;
  background: var(--accent);
  border-radius: 6px;
  opacity: 0.6;
}
.preview-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.preview-card {
  height: 80px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  font-family: var(--font-head);
  background: var(--accent-dim);
  padding: 5px 10px;
  border-radius: 20px;
}

/* HOW IT WORKS */
.howitworks {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { max-width: 640px; margin-bottom: 60px; }
.section-label {
  font-size: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub { color: var(--text-dim); font-size: 16px; }

.pipeline { display: flex; flex-direction: column; gap: 0; }
.pipeline-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-body p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.pipeline-connector {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin-left: 19px;
}

/* DASHBOARD */
.dashboard {
  padding: 80px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dashboard-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dash-content h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.dash-content > p { color: var(--text-dim); margin-bottom: 28px; font-size: 15px; }
.dash-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dash-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 500;
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SCREEN */
.screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.screen-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.screen-dots { display: flex; gap: 6px; }
.screen-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.screen-title { font-size: 12px; font-family: var(--font-head); color: var(--text-dim); margin-left: 8px; }
.screen-body { padding: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; }
.stat-n { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); display: block; }
.stat-l { font-size: 10px; color: var(--text-dim); display: block; margin-top: 2px; }
.stat-green .stat-n { color: var(--mint); }
.pipeline-rows { display: flex; flex-direction: column; gap: 10px; }
.pipe-row { display: flex; align-items: center; gap: 12px; }
.pipe-label { font-size: 11px; color: var(--text-dim); width: 150px; flex-shrink: 0; font-family: var(--font-head); }
.pipe-bar { flex: 1; height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.pipe-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.pipe-val { font-size: 11px; color: var(--accent); font-family: var(--font-head); width: 36px; text-align: right; }

/* VISION */
.vision { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.vision-inner { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: start; }
.vision-stat { display: flex; flex-direction: column; gap: 16px; }
.vision-num {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.vision-desc { font-size: 15px; color: var(--text-dim); max-width: 320px; line-height: 1.7; }
.vision-text { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.vision-text p { font-size: 16px; color: var(--text-dim); line-height: 1.8; }

/* CLOSING */
.closing { padding: 80px 40px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dim);
  max-width: 800px;
  margin-bottom: 32px;
}
.closing-line { width: 80px; height: 3px; background: var(--accent); }

/* FOOTER */
.footer { padding: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.footer-tagline { font-size: 13px; color: var(--text-dim); font-family: var(--font-head); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid, .dashboard-inner, .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero, .howitworks, .dashboard, .vision, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .nav-inner { padding: 14px 24px; }
  .hero-metrics { gap: 20px; }
  .metric-value { font-size: 22px; }
  .preview-services { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .vision-num { font-size: 48px; }
  .vision-inner { gap: 32px; }
}