:root {
  --bg: #0f0f12;
  --bg-surface: #16161c;
  --bg-card: #1c1c24;
  --amber: #f59e0b;
  --amber-dim: #b4730a;
  --amber-glow: rgba(245,158,11,0.12);
  --text: #f0f0f5;
  --text-muted: #8888a0;
  --border: #2a2a36;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 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;
  background: rgba(15,15,18,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}
.hero-ambient {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 700px;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* Citation Map */
.hero-visual {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.citation-map {
  position: relative;
  width: 380px;
  height: 300px;
}
.map-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.map-center-dot {
  width: 18px; height: 18px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245,158,11,0.5);
}
.map-center-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 50%;
  width: 60px; height: 60px;
}
.ring-2 { width: 100px; height: 100px; border-color: rgba(245,158,11,0.12); }
.map-center-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.map-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
}
.node-bar {
  width: 8px;
  background: linear-gradient(to top, var(--amber), rgba(245,158,11,0.3));
  border-radius: 2px;
  transition: height 0.3s;
}
.node-name {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.node-pct {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
}
.node-chatgpt { top: 20px; left: 50%; transform: translateX(-50%); }
.node-perplexity { bottom: 20px; right: 0; }
.node-gemini { top: 50%; right: 0; transform: translateY(-50%); }
.node-aio { top: 50%; left: 0; transform: translateY(-50%); }

/* ── HOW ── */
.how {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.how-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 16px;
}
.how h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  max-width: 500px;
  margin: 0 auto;
}
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}
.step {
  flex: 1;
  padding: 0 32px;
}
.step-number {
  font-size: 48px;
  font-weight: 300;
  color: rgba(245,158,11,0.3);
  margin-bottom: 20px;
  font-family: 'DM Serif Display', serif;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-divider {
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.divider-line {
  width: 1px;
  height: 100%;
  background: var(--border);
  min-height: 120px;
}

/* ── METRICS ── */
.metrics {
  padding: 100px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.metric-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.metric-visual {
  height: 80px;
  display: flex;
  align-items: flex-end;
}
.sparkline { width: 100%; height: 80px; }
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.donut { width: 80px; height: 80px; }
.donut-label {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--amber);
  line-height: 1.2;
}
.donut-label small {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}
.metric-value {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--text);
  letter-spacing: -1px;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── PRICING ── */
.pricing {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
}
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}
.card-featured {
  border-color: var(--amber-dim);
  box-shadow: 0 0 40px rgba(245,158,11,0.06);
}
.card-expansion {
  border-color: rgba(245,158,11,0.3);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.card-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.card-price {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.card-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}
.card-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 48px auto 0;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 120px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 36px;
  font-style: italic;
  border-left: 3px solid var(--amber);
  padding-left: 24px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── CLOSING ── */
.closing {
  padding: 140px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.closing p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.signal-ring {
  position: absolute;
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 50%;
  animation: expand 3s ease-out infinite;
}
@keyframes expand {
  0% { width: 40px; height: 40px; opacity: 1; }
  100% { width: 200px; height: 200px; opacity: 0; }
}
.signal-dot {
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245,158,11,0.6);
}

/* ── FOOTER ── */
.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  display: block;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col span {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 42px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; margin-bottom: 40px; }
  .hero-visual { display: none; }
  .steps { flex-direction: column; gap: 40px; }
  .step-divider { display: none; }
  .step { padding: 0; }
  .metrics-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .how, .pricing, .manifesto, .closing { padding: 80px 20px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .card-price { font-size: 32px; }
}

/* ── DASHBOARD ── */
.dashboard-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 96px 40px 80px;
}
.dashboard-header {
  max-width: 1100px;
  margin: 0 auto 48px;
}
.dashboard-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
}
.dashboard-title {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.dashboard-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}
.dashboard-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.dash-card-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.dogfood-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--amber);
  margin-bottom: 24px;
}
.blended-big {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: var(--amber);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}
.blended-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.engine-rows { display: flex; flex-direction: column; gap: 16px; }
.engine-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.engine-icon {
  width: 36px; height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.engine-bar-wrap { flex: 1; }
.engine-name {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}
.engine-bar-bg {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
}
.engine-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.engine-pct {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-width: 40px;
  text-align: right;
}
.dash-report {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 20px;
}
.dash-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}
.query-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.query-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
}
.query-chip-text { color: var(--text); }
.query-chip-type {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.no-data {
  text-align: center;
  padding: 60px 40px;
  color: var(--text-muted);
  font-size: 15px;
}