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

:root {
  --bg: #0D1117;
  --bg-2: #161B22;
  --bg-3: #21262D;
  --teal: #2DD4BF;
  --teal-dim: rgba(45, 212, 191, 0.12);
  --teal-glow: rgba(45, 212, 191, 0.25);
  --steel: #475569;
  --steel-light: #94A3B8;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --green: #22C55E;
  --green-dim: rgba(34, 197, 94, 0.15);
  --border: rgba(71, 85, 105, 0.5);
  --border-light: rgba(71, 85, 105, 0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  opacity: 0.4;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 0%, transparent 70%);
  opacity: 0.5;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid var(--teal-dim);
  border-radius: 20px;
  background: var(--teal-dim);
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

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

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.3;
}

/* ===== DASHBOARD WIDGET ===== */
.dashboard-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-size: 13px;
  box-shadow: 0 0 60px rgba(45, 212, 191, 0.08), 0 24px 48px rgba(0,0,0,0.4);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dash-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-dim);
  padding: 3px 8px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dash-program {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.prog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.prog-name {
  font-weight: 600;
  color: var(--text);
  font-size: 12px;
}

.prog-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
}

.prog-active {
  color: var(--green);
  background: var(--green-dim);
}

.prog-progress {
  height: 4px;
  background: var(--bg);
  border-radius: 4px;
  margin-bottom: 8px;
}

.prog-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(45,212,191,0.4) 100%);
  border-radius: 4px;
}

.prog-meta {
  font-size: 11px;
  color: var(--text-dim);
}

.dash-alerts { margin-bottom: 16px; }

.alert-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.alert-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.4;
}

.alert-ok { background: var(--green-dim); color: #86EFAC; }
.alert-warn { background: var(--amber-dim); color: #FCD34D; }

.alert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }

.dash-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--teal-dim);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 8px;
}

.agent-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
}

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
}

.cap-card {
  padding: 40px;
  background: var(--bg);
  transition: background 0.2s;
}

.cap-card:hover { background: var(--bg-2); }

.cap-icon {
  margin-bottom: 20px;
}

.cap-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.cap-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 100px 40px;
}

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

.outcome-list { margin-top: 40px; }

.outcome-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.outcome-val {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  min-width: 80px;
}

.outcome-label {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== TIMELINE WIDGET ===== */
.timeline-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 60px;
}

.tw-header {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.tw-chart { margin-bottom: 20px; }

.tw-row {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tw-label {
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
}

.tw-bar-row {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
  gap: 2px;
}

.tw-bar {
  height: 100%;
  border-radius: 4px;
}

.tw-done { background: var(--teal); }
.tw-active { background: rgba(45, 212, 191, 0.4); }
.tw-pending { background: rgba(71, 85, 105, 0.4); }

.tw-week {
  font-size: 10px;
  color: var(--text-dim);
  text-align: right;
}

.tw-legend {
  display: flex;
  gap: 16px;
}

.leg {
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.leg.done::before { background: var(--teal); }
.leg.active::before { background: rgba(45, 212, 191, 0.4); }
.leg.pending::before { background: rgba(71, 85, 105, 0.4); }

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

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

.manifesto-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.01em;
}

.manifesto-vision { margin-top: 40px; }

.vision-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.vision-text:last-child { margin-bottom: 0; }

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
  .hero-right { display: none; }
  .outcomes-inner { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .capabilities { padding: 60px 20px; }
  .outcomes { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .footer { padding: 40px 20px; }
  .hero-stats { gap: 10px; }
  .stat-chip { padding: 10px 14px; }
  .stat-val { font-size: 18px; }
}