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

:root {
  --bg: #0f1b2d;
  --bg-2: #0a1220;
  --bg-card: #141f30;
  --bg-card-hover: #1a2740;
  --fg: #e8edf5;
  --fg-muted: #8899aa;
  --fg-dim: #5a6b7d;
  --accent: #f59e0b;
  --accent-dim: #f59e0b22;
  --border: #1e2d42;
  --radius: 10px;
  --radius-sm: 6px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; }
h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; line-height: 1.2; }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; }

/* === NAV === */
.nav { border-bottom: 1px solid var(--border); padding: 18px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 20px; }
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--fg); }
.nav-tagline { font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.05em; text-transform: uppercase; border-left: 1px solid var(--border); padding-left: 20px; }

/* === HERO === */
.hero { padding: 80px 0 60px; }
.hero-grid { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 4px 10px; margin-bottom: 24px; }
.hero-headline { font-size: clamp(2.4rem, 4vw, 3.5rem); color: var(--fg); margin-bottom: 20px; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.1rem; color: var(--fg-muted); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero-pilot { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--fg-muted); }

/* Dashboard mockup */
.hero-dashboard { position: relative; }
.dash-shell { background: #0a1220; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03); }
.dash-bar { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.dash-url { font-size: 0.7rem; color: var(--fg-dim); font-family: 'Space Grotesk', monospace; margin-left: 8px; }
.dash-body { display: grid; grid-template-columns: 140px 1fr; min-height: 320px; }
.dash-sidebar { background: var(--bg-2); border-right: 1px solid var(--border); padding: 16px 0; }
.sidebar-item { padding: 8px 16px; font-size: 0.72rem; color: var(--fg-dim); cursor: default; }
.sidebar-item.active { color: var(--accent); border-left: 2px solid var(--accent); background: var(--accent-dim); }
.dash-main { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-header-row { display: flex; justify-content: space-between; align-items: center; }
.dash-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600; }
.dash-status-badge { background: #28c84022; color: #28c840; font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.dash-metrics { display: flex; gap: 16px; }
.metric { background: var(--bg-card); border-radius: var(--radius-sm); padding: 12px 16px; flex: 1; }
.metric-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; display: block; color: var(--accent); }
.metric-lbl { font-size: 0.65rem; color: var(--fg-muted); display: block; margin-top: 2px; }
.dash-agent-row { display: flex; flex-direction: column; gap: 6px; }
.agent-card { background: var(--bg-card); border-radius: var(--radius-sm); padding: 8px 12px; display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: var(--fg-muted); }
.agent-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; flex-shrink: 0; }
.dash-bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; padding: 4px 0; }
.bar { flex: 1; background: var(--border); border-radius: 3px 3px 0 0; transition: background 0.2s; }
.bar.highlight { background: var(--accent); }
.dash-bar-label { font-size: 0.6rem; color: var(--fg-dim); }

/* === PROBLEM === */
.problem { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.problem-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-heading { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--fg); margin-bottom: 48px; letter-spacing: -0.02em; max-width: 700px; line-height: 1.3; }
.problem-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.pstat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.pstat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.pstat-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }
.problem-quote { background: var(--bg-card); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 28px 28px 28px 32px; }
.problem-quote blockquote { font-size: 1.1rem; font-style: italic; color: var(--fg); margin-bottom: 12px; line-height: 1.6; }
.problem-quote cite { font-size: 0.8rem; color: var(--fg-dim); }

/* === SOLUTION === */
.solution { padding: 80px 0; }
.solution-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.solution-intro { font-size: 1.1rem; color: var(--fg-muted); max-width: 640px; margin-bottom: 48px; line-height: 1.7; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sol-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: border-color 0.2s, background 0.2s; }
.sol-card:hover { border-color: #2a3d56; background: var(--bg-card-hover); }
.sol-icon { margin-bottom: 16px; }
.sol-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--fg); }
.sol-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }

/* === HOW === */
.how { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.how-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--border); }
.tl-item { padding: 0 20px 0 0; }
.tl-num { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; position: relative; z-index: 1; }
.tl-body h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--fg); }
.tl-body p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6; }

/* === PRICING === */
.pricing { padding: 80px 0; }
.pricing-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim); }
.price-tier { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--fg); margin-bottom: 4px; }
.price-per { font-size: 1.2rem; font-weight: 400; }
.price-note { font-size: 0.8rem; color: var(--fg-dim); margin-bottom: 28px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { font-size: 0.85rem; color: var(--fg-muted); padding-left: 20px; position: relative; line-height: 1.5; }
.price-features li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }

/* === MANIFESTO === */
.manifesto { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.manifesto-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.manifesto-headline { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.3; }
.manifesto-body { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 20px; }
.manifesto-aside { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; }
.aside-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aside-n { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.aside-d { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }

/* === CLOSING === */
.closing { padding: 80px 0 100px; }
.closing-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-headline { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; letter-spacing: -0.03em; line-height: 1.2; }
.closing-body { font-size: 1rem; color: var(--fg-muted); max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }
.closing-cta { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--fg-muted); }

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 16px; }
.footer-copy { font-size: 0.75rem; color: var(--fg-dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-dashboard { order: -1; }
  .problem-stats { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-aside { padding-top: 0; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .hero-grid { padding: 0 20px; }
  .problem-inner, .solution-inner, .how-inner, .pricing-inner, .manifesto-inner, .closing-inner, .footer-inner { padding: 0 20px; }
  .timeline { grid-template-columns: 1fr; }
  .closing-cta { flex-direction: column; align-items: center; gap: 16px; }
  .hero-headline { font-size: 2rem; }
  .section-heading { font-size: 1.6rem; }
  .closing-headline { font-size: 1.8rem; }
}