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

:root {
  --bg: #060d1a;
  --bg-2: #0a1628;
  --fg: #e8eef4;
  --fg-muted: #7a8fa8;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--fg);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
}

.nav-cta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: #060d1a;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 16px;
}

.nav-cta:hover {
  background: #33dcff;
  box-shadow: 0 0 16px var(--accent-glow);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

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

/* ===== SECTION COMMON ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, black 100%);
  pointer-events: none;
}

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

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.metric-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.metric-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== AGENT NETWORK ===== */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.agent-network {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-core {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.ring-1 { width: 200px; height: 200px; border-color: rgba(0, 212, 255, 0.08); }
.ring-2 { width: 290px; height: 290px; border-color: rgba(0, 212, 255, 0.05); }
.ring-3 { width: 380px; height: 380px; border-color: rgba(0, 212, 255, 0.03); }

.core-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.orbit-node {
  position: absolute;
  width: 80px;
}

.node-inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.node-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.node-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(0,212,255,0.2));
  border-radius: 1px;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%) translateY(-60px); }
.node-2 { top: 50%; right: 0; transform: translateY(-50%) translateX(50px); }
.node-3 { bottom: 0; right: 60px; transform: translateY(30px); }
.node-4 { bottom: 0; left: 60px; transform: translateY(30px); }
.node-5 { top: 50%; left: 0; transform: translateY(-50%) translateX(-50px); }
.node-6 { top: 30px; left: 10px; }

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: expand 3s ease-out infinite;
}

.pulse-1 { width: 80px; height: 80px; animation-delay: 0s; }
.pulse-2 { width: 80px; height: 80px; animation-delay: 1s; }
.pulse-3 { width: 80px; height: 80px; animation-delay: 2s; }

@keyframes expand {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works .section-header { max-width: 1200px; margin: 0 auto 56px; }

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

.step { padding: 0 32px; }

.step-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.step-connector {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.3;
  margin-top: 40px;
  align-self: center;
}

.step-visual { margin-top: 16px; }

/* Flow nodes */
.flow-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.flow-icon { display: flex; align-items: center; }

.flow-arrow {
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding-left: 28px;
}

/* Execution trace */
.execution-trace { display: flex; flex-direction: column; gap: 6px; }

.trace-bar {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.t1 { width: 85%; background: rgba(0, 212, 255, 0.15); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.t2 { width: 65%; background: rgba(0, 212, 255, 0.08); color: var(--fg-muted); border: 1px solid var(--border); }
.t3 { width: 75%; background: rgba(0, 212, 255, 0.12); color: var(--accent); border: 1px solid rgba(0,212,255,0.18); }
.t4 { width: 45%; background: rgba(0, 212, 255, 0.06); color: var(--fg-muted); border: 1px solid var(--border); }

/* Oversight UI */
.oversight-ui { display: flex; flex-direction: column; gap: 8px; }

.ov-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.ov-label { font-size: 12px; color: var(--fg-muted); }
.ov-val { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--fg); }
.ov-val.accent { color: var(--accent); }

/* ===== DASHBOARD SECTION ===== */
.dashboard-section {
  padding: 120px 40px;
  background: var(--bg);
}

.dashboard-section .section-header { max-width: 1200px; margin: 0 auto 56px; }

.dashboard-mock {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
}

.mock-sidebar {
  width: 160px;
  padding: 20px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--fg-muted);
  cursor: default;
}

.mock-nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
}

.mock-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 20px; }

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.mock-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.3);
  font-size: 10px;
  font-weight: 600;
  color: #00e676;
  letter-spacing: 0.06em;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mock-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ms-label { font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ms-val { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--fg); }
.ms-trend { font-size: 10px; font-weight: 500; }
.ms-trend.up { color: #00e676; }
.ms-trend.neutral { color: var(--fg-muted); }

.mock-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.chart-label {
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.chart-bar.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.mock-feed {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.feed-header {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.feed-item:last-child { border-bottom: none; }

.feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-dot.green { background: #00e676; box-shadow: 0 0 4px rgba(0,230,118,0.5); }
.feed-dot.cyan { background: var(--accent); box-shadow: 0 0 4px var(--accent-glow); }

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

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

.manifesto-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-muted);
  font-style: normal;
}

.manifesto-text br { display: block; margin: 16px 0; content: ''; }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 40px;
  background: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 800px; margin: 0 auto; }

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 60px;
}

.velocity-rings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.vr-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 50%;
  padding: 28px;
  border: 1px solid;
}

.vr-ring.vr-1 { border-color: rgba(0, 212, 255, 0.2); }
.vr-ring.vr-2 { border-color: rgba(0, 212, 255, 0.3); padding: 36px; }
.vr-ring.vr-3 { border-color: rgba(0, 212, 255, 0.5); padding: 44px; box-shadow: 0 0 20px var(--accent-dim); }

.vr-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.vr-val { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--accent); }
.vr-ring.vr-3 .vr-val { font-size: 32px; }

.closing-tagline {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 400px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step-connector { display: none; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero, .how-it-works, .dashboard-section, .manifesto, .closing { padding: 80px 24px; }
  .nav { padding: 0 24px; }
  .footer { padding: 40px 24px; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; }
  .metric-value { font-size: 22px; }

/* ===== PRICING ===== */
.pricing {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

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

.pricing-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.pricing-headline {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.pricing-card {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.pricing-tier {
  background: var(--bg);
  border: 1px solid var(--accent-dim);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: left;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.06);
}

.pt-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.pt-price {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.pt-per {
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-muted);
}

.pt-trial {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.pt-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.pt-features li {
  font-size: 15px;
  color: var(--fg);
  padding-left: 24px;
  position: relative;
}

.pt-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--accent-dim);
  border-radius: 50%;
  border: 1px solid var(--accent-glow);
}

.pt-features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pt-cta {
  display: block;
  background: var(--accent);
  color: #060d1a;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.pt-cta:hover {
  background: #33dcff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.pt-no-card {
  text-align: center;
  font-size: 12px;
  color: var(--fg-muted);
}

.pricing-faq {
  font-size: 14px;
  color: var(--fg-muted);
}

.pricing-faq a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-faq a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .pricing { padding: 80px 24px; }
  .pricing-headline { font-size: 32px; }
  .pricing-tier { padding: 28px 24px; }
  .pt-price { font-size: 44px; }
}
}