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

:root {
  --bg: #0C1F14;
  --surface: #112418;
  --surface-2: #162D20;
  --border: #1E3A2A;
  --green: #2ECC71;
  --green-dim: #1A5C3A;
  --amber: #C9943A;
  --amber-dim: #8A6525;
  --text: #E8F0EB;
  --text-muted: #7A9E8C;
  --text-dim: #4A6E5C;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ─── NAV ─── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark { font-size: 1rem; color: var(--green); }
.logo-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── HERO ─── */
.hero {
  padding: 6rem 4rem 5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Dashboard mock */
.dashboard-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.dash-header {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dash-dot:first-child { background: var(--amber); }

.dash-body { padding: 1.25rem; }

.dash-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 500;
}

.dash-opportunities { display: flex; flex-direction: column; gap: 0.75rem; }

.opp {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}

.opp--active { border-color: var(--green-dim); }
.opp--active .opp-name { color: var(--text); }

.opp-name { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.25rem; }
.opp-meta { font-size: 0.65rem; color: var(--text-dim); margin-bottom: 0.5rem; }

.opp-fit { display: flex; align-items: center; gap: 0.5rem; }
.fit-bar { height: 2px; background: var(--green); border-radius: 2px; display: block; flex: 1; max-width: 80px; opacity: 0.6; }
.fit-label { font-size: 0.6rem; color: var(--green); }

.dash-agent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.agent-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ─── STATS BAND ─── */
.stats-band {
  padding: 3rem 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.stat { text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

.stat-divider {
  width: 1px; height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── FEATURES ─── */
.feature {
  padding: 7rem 4rem;
  border-bottom: 1px solid var(--border);
}

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-inner--flip .feature-visual { order: -1; }

.feature-number {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.feature-detail { display: flex; flex-direction: column; gap: 0.75rem; }

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-icon {
  width: 20px; height: 20px;
  border: 1px solid var(--green-dim);
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
}

.detail-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 4px;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: translate(-50%, -60%) rotate(-45deg);
}

/* Radar visual */
.radar-wrap {
  position: relative;
  width: 320px; height: 320px;
  margin: 0 auto;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.radar-ring:nth-child(1) { width: 100%; height: 100%; }
.radar-ring:nth-child(2) { width: 70%; height: 70%; }
.radar-ring:nth-child(3) { width: 40%; height: 40%; }

.radar-sweep {
  position: absolute;
  width: 2px; height: 50%;
  top: 0; left: 50%;
  transform-origin: bottom center;
  background: linear-gradient(to top, var(--green), transparent);
  animation: sweep 3s linear infinite;
  transform: translateX(-50%);
}
@keyframes sweep { to { transform: translateX(-50%) rotate(360deg); } }

.radar-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.radar-dot--1 { top: 15%; right: 20%; }
.radar-dot--2 { bottom: 25%; left: 18%; }
.radar-dot--3 { top: 45%; left: 10%; }

.radar-center {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--green);
}

.radar-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.radar-label--1 { top: 12%; right: 16%; }
.radar-label--2 { bottom: 22%; left: 14%; }
.radar-label--3 { top: 42%; left: 4%; }

/* Qualification block */
.qualification-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.qb-header { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 0.75rem; }
.qb-score { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--green); line-height: 1; }
.qb-program { font-size: 0.8rem; color: var(--text-muted); margin: 0.5rem 0 1rem; font-weight: 500; }

.qb-breakdown { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.qb-item { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.qb-item--warn { color: var(--amber); }
.qb-check { color: var(--green); font-weight: 700; }
.qb-warn { color: var(--amber); font-size: 0.65rem; }
.qb-score-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.qb-bar-fill { height: 100%; background: var(--green); border-radius: 2px; }

/* Document stack */
.doc-stack { position: relative; width: 220px; height: 290px; margin: 0 auto; }

.doc {
  position: absolute;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.doc--back { width: 75%; height: 90%; background: var(--surface-2); top: 0; left: 10%; }
.doc--mid { width: 85%; height: 90%; background: var(--surface); top: 5%; left: 5%; }
.doc--front { width: 100%; height: 95%; background: var(--surface); top: 5%; left: 0; padding: 1.25rem 1rem; }

.doc-line { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 8px; }
.doc-line--lg { width: 90%; height: 6px; }
.doc-line--md { width: 70%; }
.doc-line--sm { width: 45%; }

.doc-stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  border: 2px solid var(--amber-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  opacity: 0.7;
}

.doc-agent-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  justify-content: center;
}
.agent-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }

/* ─── MANIFESTO ─── */
.manifesto { padding: 7rem 4rem; border-bottom: 1px solid var(--border); }
.manifesto-inner { max-width: 1200px; margin: 0 auto; }
.manifesto-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 2.5rem; }

.manifesto-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.manifesto-col-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; margin-bottom: 1.25rem; color: var(--text-muted); }
.manifesto-col-title--accent { color: var(--green); }

.manifesto-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.manifesto-list li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; padding-left: 1.25rem; position: relative; }
.manifesto-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }
.manifesto-list--accent li::before { color: var(--green-dim); }

/* ─── CLOSING ─── */
.closing { padding: 8rem 4rem; }
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-eyebrow { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 2rem; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.closing-body { font-size: 1rem; color: var(--text-muted); line-height: 1.75; max-width: 560px; margin-bottom: 3.5rem; }

.closing-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
}
.stamp-mark { font-size: 1.5rem; color: var(--green); }
.stamp-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.stamp-text strong { color: var(--text); }

/* ─── FOOTER ─── */
footer { padding: 2.5rem 4rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-mark { font-size: 0.85rem; color: var(--green); }
.footer-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.footer-copy { font-size: 0.7rem; color: var(--text-dim); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner, .feature-inner { grid-template-columns: 1fr; gap: 3rem; }
  .feature-inner--flip .feature-visual { order: unset; }
  .stats-inner { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .manifesto-columns { grid-template-columns: 1fr; }
  nav, .hero, .feature, .manifesto, .closing, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stats-band { padding: 2rem 1.5rem; }
}

@media (max-width: 640px) {
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-headline { font-size: 2.5rem; }
  .feature { padding: 5rem 1.5rem; }
  .feature-number { font-size: 3.5rem; }
  .manifesto, .closing { padding: 5rem 1.5rem; }
  nav { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }
}
