:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --bg-card-hover: #1c2128;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.12);
  --border: rgba(240, 246, 252, 0.08);
  --border-amber: rgba(245, 158, 11, 0.3);
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 30%, rgba(34, 211, 238, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-dim);
  border: 1px solid var(--border-amber);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-amber 2s ease-in-out infinite;
}
@keyframes pulse-amber {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.headline-accent {
  color: var(--amber);
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* ── WIDGET ── */
.hero-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), 0 24px 64px rgba(0,0,0,0.4);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.widget-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-amber 1.5s ease-in-out infinite;
}
.widget-body { padding: 16px; }

.opp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  position: relative;
  transition: border-color 0.2s;
}
.opp-card::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.opp-primary::before { background: var(--amber); }
.opp-secondary::before { background: var(--cyan); opacity: 0.6; }
.opp-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.opp-top { margin-bottom: 10px; }
.opp-info { flex: 1; }
.opp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 3px;
  line-height: 1.4;
}
.opp-naics {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
}
.opp-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.score-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.score-label { font-size: 12px; color: var(--fg-muted); }
.opp-score-mid .score-num { color: var(--cyan); }
.opp-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.opp-meta span {
  font-size: 11px;
  color: var(--fg-muted);
}
.opp-meta span::before { content: '·'; margin-right: 4px; }
.opp-meta span:first-child::before { content: ''; }

.win-bar {
  position: relative;
  height: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.win-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(245,158,11,0.3), var(--amber));
  border-radius: 4px;
  transition: width 1s ease-out;
}
.win-bar-mid { background: linear-gradient(90deg, rgba(34,211,238,0.2), var(--cyan)); }
.win-bar-label {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg);
}

.scanning-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(34,211,238,0.05);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: 8px;
  font-size: 11px;
  color: var(--fg-muted);
  font-family: 'Courier New', monospace;
}
.scan-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-cyan 1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-cyan {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,211,238,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(34,211,238,0); }
}

/* ── HOW IT WORKS ── */
.hiw { padding: 100px 24px; background: var(--bg-card); border-top: 1px solid var(--border); }
.hiw-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 64px;
  line-height: 1.15;
}
.hiw-steps {
  display: grid;
  grid-template-columns: auto 40px auto 40px auto 40px auto;
  align-items: start;
  gap: 0;
}
.hiw-step { max-width: 200px; }
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.4;
}
.step-body p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }
.hiw-connector {
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  opacity: 0.3;
  margin-top: 48px;
  margin-left: -4px;
  margin-right: -4px;
}

/* ── FEATURES ── */
.features { padding: 100px 24px; background: var(--bg); }
.features-inner { max-width: 1140px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--amber-dim);
  border: 1px solid var(--border-amber);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* ── PRICING ── */
.pricing { padding: 100px 24px; background: var(--bg-card); border-top: 1px solid var(--border); }
.pricing-inner { max-width: 1140px; margin: 0 auto; text-align: center; }
.pricing-sub { font-size: 16px; color: var(--fg-muted); max-width: 560px; margin: 0 auto 56px; line-height: 1.7; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 8px 32px var(--amber-glow);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.plan-price span { font-size: 18px; font-weight: 500; color: var(--fg-muted); }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  cursor: default;
  transition: all 0.15s;
}
.plan-cta-featured {
  background: var(--amber);
  color: var(--bg);
  border-color: var(--amber);
}
.pricing-footer { font-size: 13px; color: var(--fg-muted); margin-top: 40px; }

/* ── MANIFESTO ── */
.manifesto { padding: 100px 24px; background: var(--bg); border-top: 1px solid var(--border); }
.manifesto-inner { max-width: 860px; margin: 0 auto; text-align: center; }
blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-style: normal;
}
.manifesto-attribution { font-size: 13px; color: var(--fg-muted); margin-bottom: 64px; }
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.manifesto-closing { font-size: 16px; color: var(--fg-muted); line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* ── FOOTER ── */
.footer { padding: 56px 24px; background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1140px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.footer-legal {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 36px; }
  .hero-widget { margin-top: 8px; }
  .hiw-steps { grid-template-columns: 1fr; gap: 32px; }
  .hiw-connector { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}
