/* ===================== AUC v2 — Sales Calculator ===================== */
:root {
  --navy: #0A1A2F;
  --ink: #142033;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --line: #E1E7EE;
  --muted: #5F6B7A;
  --vivid-blue:   #0A6EFF;
  --vivid-green:  #00C853;
  --hot-orange:   #FF6F00;
  --gold:         #FFB300;
  --magenta:      #E91E63;
  --red:          #E53935;
  --teal:         #00B8D4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v2-body {
  margin: 0; min-height: 100vh;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(10,110,255,0.18) 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 20%, rgba(255,179,0,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0A1A2F 0%, #142B47 40%, #f4f7fb 95%);
  background-attachment: fixed;
}

/* Header */
.v2-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px;
  background: rgba(10, 26, 47, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.brand-v2 { display: flex; align-items: center; gap: 12px; }
.brand-mark2 { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); border: 2px solid var(--gold); color: var(--white); font-weight: 900; font-size: 12px; }
.brand-words strong { display: block; font-size: 15px; }
.brand-words small { display: block; font-size: 11px; color: rgba(255,255,255,0.66); }
.welcome { font-size: 14px; color: rgba(255,255,255,0.85); }
.welcome strong { color: var(--gold); font-weight: 800; }

/* Layout */
.v2-main { max-width: 1200px; margin: 0 auto; padding: 28px 22px 80px; }
.v2-main > section { margin-bottom: 24px; }

/* Hero with animated number */
.hero-glow {
  background: linear-gradient(135deg, #0a1a2f 0%, #163655 100%);
  border-radius: 22px;
  padding: 36px 32px 32px;
  color: var(--white);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,179,0,0.25);
}
.hero-glow::before, .hero-glow::after {
  content: ""; position: absolute; pointer-events: none;
  width: 280px; height: 280px; border-radius: 50%;
  filter: blur(60px); opacity: 0.55;
}
.hero-glow::before { background: var(--vivid-blue); top: -80px; left: -60px; }
.hero-glow::after { background: var(--gold); right: -60px; bottom: -80px; }
.hero-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 13px; margin: 0; position: relative; z-index: 1; }
.hero-glow h1 { color: var(--white); margin: 6px 0 18px; font-size: clamp(22px, 3vw, 28px); position: relative; z-index: 1; }
.big-number-wrap { position: relative; z-index: 2; display: inline-block; padding: 18px 36px; border-radius: 18px; background: rgba(255,255,255,0.05); }
.big-number { font-size: clamp(48px, 8vw, 96px); font-weight: 900; line-height: 1; color: var(--gold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-suffix { color: rgba(255,255,255,0.7); font-size: 16px; margin-top: 6px; }

/* Confidence bar */
.confidence { margin-top: 22px; position: relative; z-index: 1; }
.conf-label { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 6px; }
.conf-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.25); }
.conf-bar > div { padding: 12px 14px; text-align: center; }
.conf-low  { background: linear-gradient(180deg, #ff8a00 0%, #ff5722 100%); color: var(--white); }
.conf-mid  { background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%); color: var(--navy); font-weight: 900; }
.conf-high { background: linear-gradient(180deg, #1ee37a 0%, #00c853 100%); color: var(--white); }
.conf-bar small { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; opacity: 0.85; }
.conf-bar strong { font-size: 20px; font-weight: 900; }

/* Cards */
.card { background: var(--white); border-radius: 18px; padding: 24px 26px; box-shadow: 0 14px 40px rgba(10,26,47,0.10); border: 1px solid var(--line); }
.card h2 { margin: 0 0 14px; color: var(--navy); font-size: 22px; }
.card h3 { margin: 0 0 12px; color: var(--navy); font-size: 16px; }

/* Glowing rings */
.glow-gold {
  box-shadow: 0 0 0 3px var(--gold), 0 0 28px rgba(255,179,0,0.45), 0 14px 40px rgba(10,26,47,0.18) !important;
  animation: pulseGold 2.6s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold), 0 0 26px rgba(255,179,0,0.35), 0 14px 40px rgba(10,26,47,0.18); }
  50%      { box-shadow: 0 0 0 5px var(--gold), 0 0 60px rgba(255,179,0,0.85), 0 14px 40px rgba(10,26,47,0.18); }
}
.glow-green {
  box-shadow: 0 0 0 3px var(--vivid-green), 0 0 26px rgba(0,200,83,0.45), 0 14px 40px rgba(10,26,47,0.16) !important;
  animation: pulseGreen 2.6s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 3px var(--vivid-green), 0 0 24px rgba(0,200,83,0.35), 0 14px 40px rgba(10,26,47,0.16); }
  50%      { box-shadow: 0 0 0 5px var(--vivid-green), 0 0 56px rgba(0,200,83,0.8), 0 14px 40px rgba(10,26,47,0.16); }
}
.glow-magenta {
  box-shadow: 0 0 0 3px var(--magenta), 0 0 30px rgba(233,30,99,0.55), 0 14px 40px rgba(10,26,47,0.18) !important;
  animation: pulseMag 2.4s ease-in-out infinite;
}
@keyframes pulseMag {
  0%, 100% { box-shadow: 0 0 0 3px var(--magenta), 0 0 28px rgba(233,30,99,0.45), 0 14px 40px rgba(10,26,47,0.18); }
  50%      { box-shadow: 0 0 0 5px var(--magenta), 0 0 60px rgba(233,30,99,0.9), 0 14px 40px rgba(10,26,47,0.18); }
}

/* Two-column layout */
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 920px) { .builder-grid { grid-template-columns: 1fr; } }

/* Territory checkboxes */
.territory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
@media (max-width: 600px) { .territory-grid { grid-template-columns: 1fr; } }
.terr-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line);
  transition: all 0.18s ease;
  font-size: 14px; color: var(--ink);
}
.terr-pill:hover { border-color: var(--vivid-blue); background: #eaf2ff; }
.terr-pill input { display: none; }
.terr-pill .check-dot {
  width: 22px; height: 22px; border-radius: 8px; border: 2px solid var(--line);
  background: var(--white);
  display: grid; place-items: center; flex: 0 0 22px;
  transition: all 0.18s ease;
}
.terr-pill .check-dot::after { content: ""; width: 10px; height: 10px; background: var(--white); border-radius: 4px; transform: scale(0); transition: transform 0.18s ease; }
.terr-pill input:checked ~ .check-dot { background: var(--vivid-green); border-color: var(--vivid-green); box-shadow: 0 0 0 2px rgba(0,200,83,0.18), 0 0 18px rgba(0,200,83,0.55); }
.terr-pill input:checked ~ .check-dot::after { transform: scale(1); }
.terr-pill input:checked ~ .terr-name { color: var(--navy); font-weight: 700; }
.terr-name { flex: 1; }
.terr-num { color: var(--vivid-blue); font-weight: 900; font-size: 12px; min-width: 22px; }

/* Frequency / Toggles */
.toggle-row { display: flex; gap: 12px; flex-wrap: wrap; }
.toggle-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--line);
  cursor: pointer; font-weight: 700; color: var(--ink);
  transition: all 0.2s ease;
}
.toggle-pill:hover { border-color: var(--vivid-blue); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,110,255,0.12); }
.toggle-pill input { display: none; }
/* Text only goes white when the colored background class is also applied (avoids white-on-white flash) */
.toggle-pill.active-blue .pill-text,
.toggle-pill.active-magenta .pill-text { color: var(--white); }
.toggle-pill.active-blue {
  background: linear-gradient(135deg, #0a6eff 0%, #00b8d4 100%);
  border-color: transparent; color: var(--white);
  box-shadow: 0 0 0 2px rgba(10,110,255,0.25), 0 0 20px rgba(10,110,255,0.45);
}
.toggle-pill.active-magenta {
  background: linear-gradient(135deg, #e91e63 0%, #ff6f00 100%);
  border-color: transparent; color: var(--white);
  box-shadow: 0 0 0 2px rgba(233,30,99,0.25), 0 0 20px rgba(233,30,99,0.45);
}

/* Sliders */
.slider-block { margin: 14px 0; }
.slider-block label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.slider-row { display: flex; align-items: center; gap: 14px; }
.slider-row input[type=range] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--vivid-blue) 0%, var(--gold) 100%);
  outline: none;
}
.slider-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--vivid-blue);
  box-shadow: 0 0 14px rgba(10,110,255,0.55);
  cursor: pointer;
}
.slider-row input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--vivid-blue);
  box-shadow: 0 0 14px rgba(10,110,255,0.55);
  cursor: pointer;
}
.slider-val {
  min-width: 90px; text-align: right; font-weight: 900; color: var(--navy);
  font-size: 18px; font-variant-numeric: tabular-nums;
}

/* "Even one job" */
.onejob-card {
  background: linear-gradient(135deg, #00c853 0%, #1de9b6 100%);
  color: var(--white);
  text-align: center;
  padding: 32px;
}
.onejob-card .onejob-eye { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 800; opacity: 0.9; }
.onejob-card h2 { color: var(--white); margin: 8px 0 0; font-size: clamp(22px, 3vw, 30px); }
.onejob-num { font-size: clamp(36px, 6vw, 56px); font-weight: 900; }

/* Competitor bars */
.comp-bars { display: grid; gap: 12px; }
.comp-row { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 14px; }
@media (max-width: 700px) { .comp-row { grid-template-columns: 1fr; gap: 4px; } }
.comp-name { color: var(--ink); font-weight: 700; font-size: 14px; }
.comp-bar { background: linear-gradient(90deg, #b71c1c 0%, #e53935 100%); color: var(--white); padding: 10px 14px; border-radius: 10px; font-weight: 900; font-size: 18px; text-align: right; box-shadow: 0 6px 16px rgba(229,57,53,0.25); }
.comp-bar.you { background: linear-gradient(90deg, #00c853 0%, #1de9b6 100%); box-shadow: 0 6px 22px rgba(0,200,83,0.4); }

/* Sample listings */
.sample-grid { display: grid; gap: 10px; }
.sample-card { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--paper); border-radius: 12px; border-left: 4px solid var(--vivid-blue); font-size: 13px; }
.sample-status { font-weight: 800; color: var(--vivid-blue); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.sample-addr { color: var(--navy); font-weight: 700; }
.sample-meta { color: var(--muted); font-size: 12px; }
.sample-conf { color: var(--vivid-green); font-weight: 900; font-size: 12px; }
.sample-empty { text-align: center; padding: 24px; color: var(--muted); font-style: italic; }

/* Cost breakdown */
.cost-grid { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; font-size: 15px; }
.cost-grid > div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cost-grid > div:last-of-type { border: none; }
.cost-grid .val { font-weight: 800; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.cost-total { font-size: 22px; font-weight: 900; color: var(--navy); }

/* Moat panel */
.moat-panel {
  background: linear-gradient(135deg, #1a237e 0%, #6a1b9a 50%, #c2185b 100%);
  color: var(--white);
  padding: 34px 30px;
  text-align: center;
  position: relative; overflow: hidden;
}
.moat-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,179,0,0.25) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(0,200,83,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.moat-panel > * { position: relative; z-index: 1; }
.moat-seal {
  display: inline-block; padding: 8px 24px; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-weight: 900; font-size: 14px; letter-spacing: 0.18em; margin-bottom: 18px;
  box-shadow: 0 0 0 3px rgba(255,179,0,0.4), 0 0 30px rgba(255,179,0,0.55);
  animation: pulseGold 2.2s ease-in-out infinite;
}
.moat-panel h2 { color: var(--white); font-size: 28px; margin: 0 0 12px; }
.moat-panel p { color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.55; margin: 0 auto 12px; max-width: 760px; }
.moat-foot { color: var(--gold); font-weight: 800; font-size: 14px; margin-top: 16px; letter-spacing: 0.08em; }

/* Sales rep console */
.rep-console {
  position: fixed; right: 18px; bottom: 18px; z-index: 100;
  width: 380px; max-height: 75vh; overflow-y: auto;
  background: linear-gradient(180deg, #0a1a2f 0%, #142b47 100%);
  color: var(--white); border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  border: 2px solid var(--gold);
  padding: 18px 20px;
  display: none;
}
.rep-console.visible { display: block; }
.rep-console header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.rep-console h3 { color: var(--gold); margin: 0; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.rep-console button { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); padding: 4px 10px; border-radius: 8px; cursor: pointer; font-size: 12px; }
.rep-section { margin-bottom: 16px; }
.rep-section h4 { color: var(--gold); margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.rep-section details { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; }
.rep-section summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.rep-section p { font-size: 13px; color: rgba(255,255,255,0.82); margin: 6px 0 0; line-height: 1.5; }
.rep-config { font-family: "Consolas", monospace; font-size: 11px; background: rgba(0,0,0,0.35); padding: 10px; border-radius: 8px; white-space: pre-wrap; color: var(--gold); }
.rep-ai-stub { background: rgba(255,179,0,0.08); border: 1px dashed rgba(255,179,0,0.45); padding: 10px 12px; border-radius: 8px; font-size: 12px; color: rgba(255,255,255,0.75); }

.rep-hint {
  position: fixed; bottom: 18px; right: 18px; z-index: 99;
  font-size: 11px; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}

/* Final CTA button */
.cta-final-v2 {
  display: inline-block; padding: 16px 30px;
  background: linear-gradient(135deg, var(--gold) 0%, #ff8a00 100%);
  color: var(--navy); font-weight: 900; font-size: 16px;
  border-radius: 12px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(255,179,0,0.45);
  transition: transform 0.15s ease;
}
.cta-final-v2:hover { transform: translateY(-2px); }

/* Year-outlook bar chart */
.year-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 120px; margin-top: 12px; }
.year-bar { background: linear-gradient(180deg, var(--vivid-blue) 0%, var(--teal) 100%); border-radius: 6px 6px 0 0; min-height: 8px; position: relative; }
.year-bar span { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); }

/* Exclusive lift caption (under Exclusive checkbox) */
.excl-lift {
  margin: 12px 0 0 !important;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(233,30,99,0.10) 0%, rgba(255,179,0,0.08) 100%);
  border-left: 3px solid var(--magenta);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(10,26,47,0.85);
}

/* Effective close hint under close-rate slider */
.slider-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.slider-hint strong {
  color: var(--vivid-blue);
}

/* Moat panel stat row */
.moat-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 18px auto 14px;
}
.moat-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}
.moat-stat small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.moat-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.moat-source {
  max-width: 760px;
  margin: 4px auto 12px !important;
  font-size: 12px !important;
  font-style: italic;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.5 !important;
}

/* Competitor footnote (LSA reality check) */
.comp-footnote {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: rgba(255,111,0,0.08);
  border-left: 3px solid var(--hot-orange);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============================================================
   VISUAL POLISH PASS — make this thing pop
   ============================================================ */

/* Page-wide vibrant background gradient with subtle motion */
.v2-body {
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(255,179,0,0.18) 0%, transparent 55%),
    radial-gradient(900px 700px at -10% 30%, rgba(10,110,255,0.18) 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(233,30,99,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 35%, #f7f4ff 100%) !important;
  background-attachment: fixed;
}

/* Header chrome: gradient sweep + glow under brand mark */
.v2-header {
  background: linear-gradient(95deg, #0A1A2F 0%, #0a4b7c 60%, #0A1A2F 100%) !important;
  box-shadow: 0 10px 30px rgba(10,26,47,0.25);
  position: relative;
  overflow: hidden;
}
.v2-header::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--magenta) 70%, transparent 100%);
  opacity: 0.85;
}
.brand-mark2 {
  background: linear-gradient(135deg, #FFB300 0%, #ff8a00 100%) !important;
  color: var(--navy) !important;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(255,179,0,0.25), 0 8px 22px rgba(255,179,0,0.45);
}
.welcome { color: var(--white); }
.welcome strong { color: var(--gold); }

/* Card surfaces: subtle inner highlight + crisper shadow */
.card {
  border-radius: 18px !important;
  background: rgba(255,255,255,0.96) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 22px 50px rgba(10,26,47,0.10),
    0 4px 14px rgba(10,26,47,0.06) !important;
  border: 1px solid rgba(10,110,255,0.08);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #ff8a00 100%);
  opacity: 0.5;
}
.card h2 {
  color: var(--navy);
}

/* Territory pills — richer two-line design + glowing check */
.territory-grid { gap: 12px !important; }
.terr-pill {
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border-width: 2px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%) !important;
  position: relative; overflow: hidden;
}
.terr-pill::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,110,255,0) 0%, rgba(0,200,83,0) 100%);
  transition: background 0.25s ease; pointer-events: none;
}
.terr-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10,110,255,0.18);
  border-color: var(--vivid-blue) !important;
}
.terr-pill:hover::after {
  background: linear-gradient(135deg, rgba(10,110,255,0.08) 0%, rgba(0,200,83,0.08) 100%);
}
.terr-pill input:checked ~ .terr-body .terr-name { color: var(--navy) !important; }
.terr-pill input:checked ~ .terr-body .terr-cities { color: var(--vivid-blue) !important; }
.terr-pill input:checked ~ .check-dot {
  animation: checkPop 0.4s ease;
}
@keyframes checkPop {
  0%   { transform: scale(0.7); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.terr-body {
  display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0;
}
.terr-name-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px;
}
.terr-num {
  display: inline-grid; place-items: center;
  width: 26px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--vivid-blue) 0%, #00b8d4 100%);
  color: var(--white) !important;
  font-size: 11px; font-weight: 900;
  box-shadow: 0 4px 10px rgba(10,110,255,0.35);
}
.terr-name { color: var(--ink); }
.terr-cities {
  font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.01em;
  padding-left: 36px;
}

/* Frequency / toggle pills, brighter idle state */
.freq-pill, .toggle-pill.has-check {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%) !important;
  border: 2px solid #d6e0ee !important;
  font-weight: 800 !important;
}
.toggle-pill.active-blue {
  box-shadow: 0 0 0 3px rgba(10,110,255,0.22), 0 14px 30px rgba(10,110,255,0.40) !important;
  animation: blueGlow 2.6s ease-in-out infinite;
}
.toggle-pill.active-magenta {
  box-shadow: 0 0 0 3px rgba(233,30,99,0.22), 0 14px 30px rgba(233,30,99,0.40) !important;
  animation: magGlow 2.6s ease-in-out infinite;
}
@keyframes blueGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(10,110,255,0.22), 0 14px 30px rgba(10,110,255,0.40); }
  50%      { box-shadow: 0 0 0 4px rgba(10,110,255,0.32), 0 18px 38px rgba(10,110,255,0.55); }
}
@keyframes magGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(233,30,99,0.22), 0 14px 30px rgba(233,30,99,0.40); }
  50%      { box-shadow: 0 0 0 4px rgba(233,30,99,0.32), 0 18px 38px rgba(233,30,99,0.55); }
}

/* Hero net number — make it positively glow */
.hero-glow {
  background:
    radial-gradient(800px 400px at 30% 0%, rgba(255,179,0,0.25), transparent 60%),
    radial-gradient(700px 400px at 80% 100%, rgba(233,30,99,0.20), transparent 60%),
    linear-gradient(135deg, #0a1a2f 0%, #15355a 50%, #0a1a2f 100%) !important;
  border: 1px solid rgba(255,179,0,0.35);
}
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(255,179,0,0.18);
  color: var(--gold);
  border-radius: 999px;
  font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.big-number {
  background: linear-gradient(135deg, #FFD54F 0%, #FFB300 50%, #ff8a00 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 50px rgba(255,179,0,0.5);
}

/* Confidence bar — restyle with gradient zones */
.conf-bar {
  background: rgba(255,255,255,0.06) !important;
  border-radius: 14px !important;
  padding: 6px !important;
  gap: 6px !important;
}
.conf-low  { background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)) !important; }
.conf-mid  { background: linear-gradient(135deg, rgba(0,200,83,0.20), rgba(0,200,83,0.10)) !important; border: 1px solid rgba(0,200,83,0.5) !important; }
.conf-high { background: linear-gradient(135deg, rgba(255,179,0,0.20), rgba(255,179,0,0.10)) !important; }

/* Slider track stays bright; thumb gets a glowing ring */
.slider-row input[type=range]::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgba(255,179,0,0.25), 0 6px 16px rgba(255,179,0,0.5) !important;
}

/* One-job card: warmer green */
.onejob-card {
  background: linear-gradient(135deg, #00C853 0%, #00b248 50%, #00701a 100%) !important;
  color: var(--white);
}
.onejob-eye { background: rgba(255,255,255,0.18); color: var(--white); }
.onejob-num {
  background: linear-gradient(135deg, #FFD54F 0%, #FFB300 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Competitor bars get gradient fills */
.comp-bar {
  background: linear-gradient(90deg, rgba(255,111,0,0.18) 0%, rgba(233,30,99,0.18) 100%);
  border-left: 4px solid var(--hot-orange);
}
.comp-bar.you {
  background: linear-gradient(90deg, rgba(0,200,83,0.20) 0%, rgba(10,110,255,0.18) 100%);
  border-left: 4px solid var(--vivid-green);
  font-weight: 900;
}

/* Sample listings — card sparkle */
.sample-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%) !important;
  border-left: 4px solid var(--vivid-blue);
  box-shadow: 0 8px 20px rgba(10,110,255,0.10);
}
.sample-status {
  background: linear-gradient(135deg, var(--vivid-green) 0%, #00b248 100%);
  color: var(--white);
}
.sample-conf { color: var(--vivid-green); }

/* CTA button — bigger, glowier */
.cta-final-v2 {
  padding: 20px 38px !important;
  font-size: 18px !important;
  box-shadow: 0 18px 40px rgba(255,179,0,0.55), 0 0 0 4px rgba(255,179,0,0.20) !important;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 18px 40px rgba(255,179,0,0.55), 0 0 0 4px rgba(255,179,0,0.20); }
  50%      { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(255,179,0,0.70), 0 0 0 6px rgba(255,179,0,0.30); }
}

/* Competitor row redesign — per-close metric + range disclosure */
.comp-line { display: flex; align-items: center; gap: 14px; }
.comp-meta {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 6px 0 0;
  font-size: 11.5px; color: var(--muted);
  padding-left: 0;
}
.comp-per {
  font-weight: 800; color: var(--navy);
  background: rgba(10,110,255,0.10);
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px;
}
.comp-range {
  font-style: italic;
  letter-spacing: 0.01em;
}
.comp-method {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: rgba(10,110,255,0.06);
  border-left: 3px solid var(--vivid-blue);
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}
.comp-row.has-meta { display: block; }

/* ============================================================
   FOSSILS PANEL — the disparagement of legacy lead-gen
   ============================================================ */
.fossils-panel {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(233,30,99,0.10), transparent 55%),
    radial-gradient(900px 500px at 100% 100%, rgba(255,179,0,0.10), transparent 55%),
    linear-gradient(180deg, #fefcff 0%, #f3f4f8 100%) !important;
  border: 1px solid rgba(233,30,99,0.15) !important;
  padding: 32px 30px !important;
}

.fossils-header { text-align: center; max-width: 820px; margin: 0 auto 26px; }
.fossils-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--hot-orange) 100%);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.2em;
  font-size: 11px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(233,30,99,0.35);
  margin-bottom: 14px;
}
.fossils-panel h2 {
  background: linear-gradient(90deg, var(--navy) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px !important;
  margin: 6px 0 10px !important;
}
.fossils-tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.fossils-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 22px;
}
@media (max-width: 980px) { .fossils-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fossils-grid { grid-template-columns: 1fr; } }

.fossil-card {
  position: relative;
  background: linear-gradient(180deg, #f7f5f2 0%, #ebe7e1 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 22px 18px 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  filter: grayscale(0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
  overflow: hidden;
}
.fossil-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9e9e9e 0%, #6d6d6d 100%);
  opacity: 0.6;
}
.fossil-card:hover {
  transform: translateY(-2px);
  filter: grayscale(0.15);
}
.fossil-badge {
  position: absolute;
  top: 14px; right: -36px;
  transform: rotate(28deg);
  background: linear-gradient(135deg, var(--red) 0%, #8b1b1b 100%);
  color: var(--white);
  padding: 4px 38px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  box-shadow: 0 4px 10px rgba(229,57,53,0.35);
  text-transform: uppercase;
}
.fossil-card h3 {
  margin: 8px 0 8px;
  font-size: 14px;
  color: #4a4a4a;
  text-decoration: line-through;
  text-decoration-color: rgba(229,57,53,0.6);
  text-decoration-thickness: 2px;
  font-weight: 800;
  padding-right: 70px;
  line-height: 1.3;
}
.fossil-card p {
  font-size: 12.5px;
  color: #5a5a5a;
  line-height: 1.55;
  margin: 0;
}

.fossils-pivot {
  text-align: center;
  margin: 18px auto 4px;
  max-width: 820px;
  padding: 24px 22px;
  background: linear-gradient(135deg, rgba(0,200,83,0.10) 0%, rgba(10,110,255,0.10) 50%, rgba(255,179,0,0.10) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0,200,83,0.25);
  position: relative;
}
.fossils-pivot::before {
  content: "↓";
  display: block;
  font-size: 26px;
  color: var(--vivid-green);
  font-weight: 900;
  margin-bottom: 6px;
  animation: arrowBounce 1.6s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
.fossils-pivot p {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.fossils-pivot p em { color: var(--magenta); font-style: normal; font-weight: 800; }
.fossils-finale {
  font-size: 18px !important;
  font-weight: 900 !important;
  background: linear-gradient(90deg, var(--vivid-green) 0%, var(--vivid-blue) 50%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0 0 !important;
}

.comp-method-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--vivid-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(10,110,2

/* ---- Explainer bubbles (client-readable, plain language) ---- */
.explainer{
  margin: -2px 0 16px;
  padding: 10px 14px 10px 16px;
  background: rgba(10,110,255,0.06);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  color: #2a3b52;
  font-size: 14px;
  line-height: 1.45;
}

/* ---- Tour launch button ---- */
.tour-launch{ text-align:center; margin: 2px 0 18px; }
#startTour{
  background: linear-gradient(135deg, var(--gold) 0%, #ff8a00 100%);
  color:#1a1205; border:none; border-radius:999px;
  padding:12px 26px; font-size:15px; font-weight:800; cursor:pointer;
  box-shadow:0 8px 22px rgba(255,179,0,0.40); transition: transform .15s ease;
}
#startTour:hover{ transform: translateY(-1px); }

/* ---- Walkthrough overlay ---- */
.tour-bar{
  position: fixed; left:50%; bottom:22px; transform:translateX(-50%);
  width:min(680px,92vw); z-index:9999;
  background: rgba(10,26,47,0.97); color:#fff;
  border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,0.45);
  overflow:hidden; border:1px solid rgba(255,179,0,0.35);
}
.tour-progress{ height:5px; background:rgba(255,255,255,0.12); }
.tour-progress span{ display:block; height:100%; width:0;
  background:linear-gradient(90deg,var(--gold),#ff8a00); transition:width .4s ease; }
.tour-body{ padding:14px 18px 16px; }
.tour-cap{ margin:0 0 12px; font-size:17px; line-height:1.4; font-weight:600; }
.tour-ctrls{ display:flex; gap:10px; align-items:center; }
.tour-ctrls button{
  background:rgba(255,255,255,0.12); color:#fff; border:none; border-radius:8px;
  padding:7px 13px; font-size:14px; cursor:pointer; line-height:1;
}
.tour-ctrls button:hover{ background:rgba(255,255,255,0.26); }
.tour-ctrls #tourEnd{ margin-left:auto; font-weight:700; }

/* ---- Spotlight the active section during the tour ---- */
.tour-spotlight{
  position: relative; z-index: 6;
  outline: 3px solid var(--gold); outline-offset: 5px;
  box-shadow: 0 0 0 9999px rgba(10,26,47,0.55);
}
