:root {
  --bg:        #0b0f1a;
  --bg-card:   #111827;
  --bg-elev:   #1a2332;
  --border:    rgba(255,255,255,0.07);
  --fg:        #f1f5f9;
  --fg-muted:  #94a3b8;
  --fg-dim:    #475569;
  --accent:    #f97066;
  --amber:     #f59e0b;
  --teal:      #2dd4bf;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
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;
}

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 160px 40px 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(249,112,102,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(249,112,102,0.1);
  border: 1px solid rgba(249,112,102,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Dashboard shell */
.dashboard-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.dash-dots { display: flex; gap: 6px; }
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-amber  { background: #febc2e; }
.dot-green  { background: #28c840; }
.dash-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  font-family: var(--font-head);
}
.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  font-family: var(--font-head);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.5s infinite;
}
.dash-body { padding: 20px; }
.dash-section { margin-bottom: 20px; }
.dash-section:last-child { margin-bottom: 0; }
.dash-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Portfolio grid */
.portfolio-grid { display: grid; gap: 8px; }
.prop-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.prop-main {
  border-color: rgba(249,112,102,0.25);
  background: rgba(249,112,102,0.04);
}
.prop-name { font-size: 12px; font-weight: 600; font-family: var(--font-head); color: var(--fg); }
.prop-meta { font-size: 11px; color: var(--fg-dim); margin: 3px 0 8px; }
.prop-price-row { display: flex; align-items: flex-end; gap: 16px; }
.current-price { display: flex; align-items: baseline; gap: 6px; }
.price-label { font-size: 10px; color: var(--fg-dim); }
.price-value { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--fg); }
.price-change {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-head);
}
.price-change.up { color: #4ade80; }
.price-change.dn { color: #f87171; }
.price-timeline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  height: 36px;
}
.bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(249,112,102,0.2);
  transition: all 0.3s;
}
.bar.active { background: var(--accent); }

/* Decisions feed */
.decisions-feed { display: grid; gap: 6px; }
.decision-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  background: var(--bg-elev);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 11px;
}
.decision-time {
  color: var(--fg-dim);
  font-family: var(--font-head);
  font-size: 10px;
  min-width: 32px;
  padding-top: 1px;
}
.decision-type {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  min-width: 58px;
  text-align: center;
}
.decision-type.pricing  { background: rgba(249,112,102,0.15); color: var(--accent); }
.decision-type.ranking { background: rgba(245,158,11,0.15); color: var(--amber); }
.decision-type.targeting { background: rgba(45,212,191,0.12); color: var(--teal); }
.decision-text { color: var(--fg-muted); line-height: 1.4; }

/* Metrics row */
.metrics-row { display: flex; gap: 20px; }
.metric {}
.metric-val {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}
.metric-label {
  display: block;
  font-size: 10px;
  color: var(--fg-dim);
}

/* ─── SECTIONS SHARED ─── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* ─── PLAYBOOK ─── */
.playbook { background: var(--bg); }
.playbook-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.play-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.play-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.play-pricing::before  { background: linear-gradient(90deg, var(--accent), rgba(249,112,102,0.3)); }
.play-ranking::before { background: linear-gradient(90deg, var(--amber), rgba(245,158,11,0.3)); }
.play-targeting::before { background: linear-gradient(90deg, var(--teal), rgba(45,212,191,0.3)); }

.play-icon {
  margin-bottom: 20px;
}
.play-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.play-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.play-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.play-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.play-detail span {
  font-size: 12px;
  color: var(--fg-dim);
  padding-left: 16px;
  position: relative;
}
.play-detail span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
}

/* ─── OUTCOMES ─── */
.outcomes { background: #090d18; }
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.outcomes-list { display: grid; gap: 28px; }
.outcome-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.outcome-icon {
  width: 40px; height: 40px;
  background: rgba(249,112,102,0.1);
  border: 1px solid rgba(249,112,102,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.outcome-item h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.outcome-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

.outcomes-proof {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.proof-stat { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}
.proof-context {
  display: block;
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 16px;
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: linear-gradient(180deg, var(--bg) 0%, #0e1527 100%);
  padding: 100px 40px;
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
}
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 32px;
  font-style: normal;
  position: relative;
}
.manifesto-quote::before {
  content: '\201C';
  position: absolute;
  top: -24px; left: -20px;
  font-size: 80px;
  color: rgba(249,112,102,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.author-line {
  width: 40px; height: 1px;
  background: var(--border);
}
.manifesto-author span {
  font-size: 13px;
  color: var(--fg-dim);
  font-style: italic;
}

/* ─── CLOSING ─── */
.closing {
  padding: 100px 40px;
  background: var(--bg);
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 60px;
}
.cf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-muted);
}
.closing-vision {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.closing-vision p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.8;
  font-style: italic;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
  background: #090d18;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-copy {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 360px;
}
.footer-meta {
  font-size: 13px;
  color: var(--fg-dim);
  font-family: var(--font-head);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .playbook-cards {
    grid-template-columns: 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .closing-features { grid-template-columns: 1fr; }
  .section-inner { padding: 80px 20px; }
  .manifesto { padding: 80px 20px; }
  .closing { padding: 80px 20px; }
}