/* ══════════════════════════════════════════════════════════
   IDEA FISHBOWL — CINEMATIC IMAGE IMMERSION
   Every section uses the actual images as full-screen bg
   Mouse parallax + slow drift animations throughout
   ══════════════════════════════════════════════════════════ */

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

:root {
  /* Core darks */
  --black:   #060810;
  --dark:    #0c0f18;
  --dark2:   #111520;

  /* Glass surfaces */
  --glass-b:    rgba(255,255,255,0.07);
  --glass-b2:   rgba(255,255,255,0.12);
  --glass-dark: rgba(6,8,16,0.72);

  /* Blue — primary accent */
  --orange:  #1e64ff;
  --orange2: #3c8cff;
  --amber:   #6aabff;

  /* Blue secondary (replaces teal) */
  --teal:    #2979ff;
  --teal2:   #5b9dff;
  --teal-dim: rgba(41,121,255,0.15);

  /* Blue accent */
  --blue:    #82bcff;
  --blue-dim: rgba(130,188,255,0.12);

  /* Text */
  --white:   #eef2f7;
  --grey:    #7a8fa8;
  --grey2:   #3a4a5e;
  --text:    #c8d8e8;
  --textdim: #5a6e84;
  --green:   #2fb86e;

  /* Fonts */
  --fd: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --fb: 'Barlow', sans-serif;
  --fc: 'Barlow Condensed', sans-serif;
  --r:  4px;
  --rl: 10px;

  /* Gradient mesh bg — blue/white radials */
  --mesh-warm: radial-gradient(ellipse 70% 50% at 15% 80%, rgba(30,100,255,0.10) 0%, transparent 60%),
               radial-gradient(ellipse 50% 60% at 85% 20%, rgba(41,121,255,0.08) 0%, transparent 55%),
               radial-gradient(ellipse 80% 40% at 50% 110%, rgba(130,188,255,0.05) 0%, transparent 50%);
  --mesh-cool: radial-gradient(ellipse 60% 50% at 80% 70%, rgba(41,121,255,0.10) 0%, transparent 60%),
               radial-gradient(ellipse 50% 50% at 20% 30%, rgba(130,188,255,0.08) 0%, transparent 55%),
               radial-gradient(ellipse 70% 40% at 50% -10%, rgba(30,100,255,0.06) 0%, transparent 50%);
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--fb);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: scroll; /* always show scrollbar — prevents layout shift */
}

/* Visible, styled scrollbar site-wide */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.26); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent; }


/* ══════════════════════════════════════════════════════════
   SHARED DRIFT ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes drift-a {
  0%   { transform: scale(1.00) translate(0,    0); }
  33%  { transform: scale(1.05) translate(-1.2%, -1.8%); }
  66%  { transform: scale(1.04) translate(-2%,   0.8%); }
  100% { transform: scale(1.08) translate(-1.5%, -2.2%); }
}
@keyframes drift-b {
  0%   { transform: scale(1.00) translate(0,   0); }
  50%  { transform: scale(1.05) translate(1%,  -1%); }
  100% { transform: scale(1.08) translate(2%,  -2%); }
}
@keyframes drift-c {
  0%   { transform: scale(1.00) translate(0,   0); }
  100% { transform: scale(1.06) translate(-1%, 1.5%); }
}
@keyframes fade-up {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:none; }
}
@keyframes fade { from{opacity:0;} to{opacity:1;} }
@keyframes rise {
  from { opacity:0; transform:translateY(36px); }
  to   { opacity:1; transform:none; }
}

/* ══════════════════════════════════════════════════════════
   SPLASH — Full value pitch, both report routes
   ══════════════════════════════════════════════════════════ */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  overflow-y: auto; overflow-x: hidden; cursor: default;
  padding-bottom: 56px; /* clears the fixed footer strip */
  transition: opacity 1.0s cubic-bezier(0.4,0,0.2,1),
              transform 1.0s cubic-bezier(0.4,0,0.2,1);
}
.splash.exiting { opacity:0; transform:scale(1.02); pointer-events:none; }

.splash-img {
  position: fixed; inset: -8%;
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  will-change: transform;
  animation: drift-a 28s ease-in-out infinite alternate;
  transition: transform 0.14s ease-out;
}

/* Depth overlays */
.splash-ov       { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.ov-left         { background: linear-gradient(108deg, rgba(4,6,18,0.97) 0%, rgba(4,6,18,0.85) 32%, rgba(4,6,18,0.25) 65%, transparent 100%); }
.ov-bottom       { background: linear-gradient(to top, rgba(4,6,18,1) 0%, rgba(4,6,18,0.6) 20%, transparent 50%); }
.ov-vignette     { background: radial-gradient(ellipse 115% 115% at 50% 50%, transparent 25%, rgba(4,6,18,0.72) 100%); }
.ov-dark         { background: rgba(4,6,18,0.55); }
.ov-orange-cast  { background: radial-gradient(ellipse 55% 50% at 65% 48%, rgba(30,100,255,0.07) 0%, transparent 65%); }

.splash-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2; opacity: 0.8;
}

.splash-content {
  position: relative; z-index: 10;
  padding: 70px 8vw 100px;
  max-width: 1160px;
  margin: 0 auto;
  animation: rise 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ── BRAND ── */
.splash-eyebrow {
  font-family: var(--fc); font-size: 11px; letter-spacing: 5px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 8px;
  opacity:0; animation: fade-up 0.6s 0.3s forwards;
}
.splash-title {
  font-family: var(--fd); font-size: clamp(72px, 11vw, 130px);
  line-height: 0.84; color: var(--white);
  display: flex; flex-direction: column; margin-bottom: 16px;
  opacity:0; animation: fade-up 0.8s 0.5s forwards;
}
.splash-title .accent { color: var(--orange); text-shadow: 0 0 80px rgba(30,100,255,0.5); }
.splash-lead {
  font-size: clamp(15px, 1.8vw, 17px); color: rgba(200,216,232,0.65);
  font-weight: 300; max-width: 620px;
  margin-bottom: 28px; line-height: 1.7;
  opacity:0; animation: fade-up 0.6s 0.7s forwards;
}
.splash-lead strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* ── SPLASH ANIMATION RESET (applied briefly on return to force re-trigger) ── */
#splash.anim-reset .splash-eyebrow,
#splash.anim-reset .splash-title,
#splash.anim-reset .splash-lead,
#splash.anim-reset .splash-proof-bar,
#splash.anim-reset .splash-value-strip,
#splash.anim-reset .splash-reports,
#splash.anim-reset .splash-trust,
#splash.anim-reset .splash-quotes,
#splash.anim-reset .splash-footer-strip,
#splash.anim-reset .splash-corner-tl,
#splash.anim-reset .splash-corner-br {
  animation: none !important;
  opacity: 0 !important;
}


.splash-proof-bar {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  margin-bottom: 20px;
  opacity:0; animation: fade-up 0.5s 0.8s forwards;
}
.spb-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 12px; letter-spacing: 0.3px;
  color: rgba(255,255,255,0.55); padding: 0 20px 0 0;
}
.spb-item svg { color: var(--orange); opacity: 0.85; flex-shrink: 0; }
.spb-div {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.12);
  margin-right: 20px; flex-shrink: 0;
}
@media (max-width: 720px) {
  .splash-proof-bar { gap: 10px; }
  .spb-item { padding: 0; font-size: 11px; }
  .spb-div { display: none; }
}

/* ── RISK REVERSAL NOTE ── */
.splash-risk-note {
  text-align: center;
  font-family: var(--fc); font-size: 11px; letter-spacing: 0.3px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}
.splash-risk-note-buy { color: rgba(106,171,255,0.4); }

/* ── VALUE PROOF STRIP ── */
.splash-value-strip {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 36px;
  opacity:0; animation: fade-up 0.5s 0.85s forwards;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-width: 600px;
}
.svs-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 20px; flex: 1; text-align: center;
  transition: background 0.2s;
}
.svs-item:hover { background: rgba(255,255,255,0.04); }
.svs-num {
  font-family: var(--fd); font-size: 26px; color: var(--orange); line-height: 1;
}
.svs-label {
  font-family: var(--fc); font-size: 9px; letter-spacing: 1px;
  color: rgba(255,255,255,0.4); text-transform: uppercase; line-height: 1.3;
}
.svs-sep {
  width: 1px; height: 40px; background: rgba(255,255,255,0.07); flex-shrink: 0;
}

/* ── TWO REPORT CARDS ── */
.splash-reports {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 24px;
  opacity:0; animation: fade-up 0.8s 0.95s forwards;
}

.splash-report {
  background: linear-gradient(150deg, rgba(10,14,28,0.88) 0%, rgba(6,9,20,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 2px solid rgba(30,100,255,0.4);
  border-radius: 16px;
  padding: 32px 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.splash-report::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(30,100,255,0.05) 0%, transparent 60%);
  pointer-events:none;
}
.splash-report:hover {
  border-color: rgba(30,100,255,0.45);
  border-top-color: rgba(30,100,255,0.7);
  box-shadow: 0 24px 72px rgba(0,0,0,0.65), 0 0 60px rgba(30,100,255,0.1), inset 0 1px 0 rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.splash-report-buy {
  border-top-color: rgba(106,171,255,0.5);
}
.splash-report-buy::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(106,171,255,0.05) 0%, transparent 60%);
}
.splash-report-buy:hover {
  border-color: rgba(106,171,255,0.4);
  border-top-color: rgba(106,171,255,0.7);
  box-shadow: 0 24px 72px rgba(0,0,0,0.65), 0 0 60px rgba(106,171,255,0.08), inset 0 1px 0 rgba(106,171,255,0.06);
}

/* Card header row */
.splash-report-eyebrow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.splash-report-tag {
  font-family: var(--fc); font-size: 9.5px; letter-spacing: 3.5px;
  color: var(--orange); text-transform: uppercase;
}
.splash-report-tag-buy { color: #6aabff; }
.splash-report-price {
  font-family: var(--fd); font-size: 22px; color: var(--orange);
  line-height: 1; opacity: 0.9;
}
.splash-report-price-buy { color: #6aabff; }

.splash-report-headline {
  font-family: var(--fd); font-size: clamp(22px, 3vw, 32px);
  color: var(--white); line-height: 1.05; letter-spacing: -0.3px;
}

.splash-report-body {
  font-size: 13.5px; color: rgba(200,216,232,0.58);
  line-height: 1.75; font-weight: 300;
}

/* "What you get" section header */
.splash-what-you-get {
  font-family: var(--fc); font-size: 9px; letter-spacing: 3px;
  color: rgba(30,100,255,0.8); text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid rgba(30,100,255,0.15);
}
.splash-what-you-get-buy {
  color: rgba(106,171,255,0.8); border-bottom-color: rgba(106,171,255,0.15);
}

.splash-report-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.splash-report-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(200,216,232,0.78); line-height: 1.5;
  font-weight: 300;
}
.splash-report-bullets li strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.srb-check {
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(30,100,255,0.12); border: 1px solid rgba(30,100,255,0.28);
  color: var(--orange); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.srb-check-buy {
  background: rgba(106,171,255,0.1); border-color: rgba(106,171,255,0.25);
  color: #6aabff;
}

/* Ideal-for tags */
.splash-report-ideal {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03); border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}
.splash-report-ideal-buy { border-color: rgba(106,171,255,0.08); background: rgba(106,171,255,0.03); }
.sri-label {
  font-family: var(--fc); font-size: 8.5px; letter-spacing: 2px;
  color: rgba(255,255,255,0.3); text-transform: uppercase; white-space: nowrap;
}
.sri-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sri-tags span {
  font-family: var(--fc); font-size: 10px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55); padding: 3px 9px;
  background: rgba(255,255,255,0.05); border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.07);
}

/* CTA button */
.splash-report-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 24px; margin-top: 2px;
  background: var(--orange); border: none; border-radius: 7px;
  color: white; font-family: var(--fc); font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.5px; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center; line-height: 1.3;
  box-shadow: 0 4px 20px rgba(30,100,255,0.35);
}
.splash-report-cta:hover {
  background: var(--orange2);
  box-shadow: 0 0 48px rgba(30,100,255,0.55), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.splash-report-cta-buy {
  background: rgba(106,171,255,0.15);
  border: 1px solid rgba(106,171,255,0.35);
  color: #c8e0ff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.splash-report-cta-buy:hover {
  background: rgba(106,171,255,0.28);
  box-shadow: 0 0 48px rgba(106,171,255,0.25), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.splash-cta-sub {
  text-align: center; font-family: var(--fc); font-size: 10px;
  letter-spacing: 1px; color: rgba(255,255,255,0.22); text-transform: uppercase;
}

/* OR divider */
.splash-divider {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 0 20px;
}
.splash-divider-line {
  flex: 1; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}
.splash-divider-or {
  font-family: var(--fc); font-size: 11px; letter-spacing: 3px;
  color: rgba(255,255,255,0.18); flex-shrink: 0;
}

/* Trust anchor */
.splash-trust {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--fc); font-size: 11px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.3);
  opacity:0; animation: fade-up 0.6s 1.1s forwards;
}
.st-guarantee {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.45); font-weight: 500;
}
.st-guarantee svg { color: #2fb86e; }
.splash-trust-dot { color: rgba(30,100,255,0.35); }

/* ── TOP RIBBON BANNER ── */
.splash-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: linear-gradient(90deg,
    rgba(30,100,255,0.92) 0%,
    rgba(60,140,255,0.95) 40%,
    rgba(30,100,255,0.92) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 9px 24px;
  opacity:0; animation: fade 0.6s 1.3s forwards;
}
.splash-ribbon::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.12) 30%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.12) 70%,
    transparent 100%);
  animation: ribbonShimmer 4s ease-in-out infinite;
}
@keyframes ribbonShimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.splash-ribbon-inner {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--fc); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.ribbon-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #ffffff; opacity: 0.9;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  animation: ribbonPulse 2s ease-in-out infinite;
}
@keyframes ribbonPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.ribbon-sep { color: rgba(255,255,255,0.35); }
.ribbon-highlight { color: #ffffff; font-weight: 700; text-shadow: 0 0 12px rgba(255,255,255,0.5); }

/* ── BOTTOM FOOTER STRIP ── */
.splash-footer-strip {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: linear-gradient(90deg,
    rgba(20,80,220,0.92) 0%,
    rgba(40,120,255,0.95) 50%,
    rgba(20,80,220,0.92) 100%);
  border-top: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 32px;
  opacity:0; animation: fade 0.6s 1.4s forwards;
}
.sfs-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 900px; margin: 0 auto; flex-wrap: wrap;
}
.sfs-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 4px 20px;
  transition: color 0.2s;
}
.sfs-item svg { color: #ffffff; opacity: 0.8; flex-shrink: 0; }
.sfs-item:hover { color: #ffffff; }
.sfs-item:hover svg { opacity: 1; }
.sfs-divider {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .splash-ribbon { padding: 6px 12px; }
  .splash-ribbon-inner { font-size: 9px; gap: 6px; letter-spacing: 1px; }
  .ribbon-sep { display: none; }
  .ribbon-dot { width: 4px; height: 4px; }
  .sfs-inner { gap: 0; }
  .sfs-item { padding: 4px 10px; font-size: 10px; }
  .sfs-item:nth-child(n+7) { display: none; }
}

.splash-corner-tl {
  position: fixed; top: 22px; left: 28px; z-index: 10;
  font-family: var(--fc); font-size: 10px; letter-spacing: 4px; color: rgba(255,255,255,0.18);
  opacity:0; animation: fade 1s 1.5s forwards;
}
.splash-corner-br {
  position: fixed; bottom: 22px; right: 28px; z-index: 10;
  font-family: var(--fc); font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.15);
  opacity:0; animation: fade 1s 1.5s forwards;
}

/* Mobile splash */
@media (max-width: 720px) {
  .splash-content { padding: 82px 20px 80px; }
  .splash-lead { margin-bottom: 22px; }
  .splash-value-strip { max-width: 100%; }
  .svs-item { padding: 12px 14px; }
  .svs-num { font-size: 20px; }
  .splash-reports { grid-template-columns: 1fr; gap: 0; }
  .splash-divider { flex-direction: row; padding: 16px 0; }
  .splash-divider-line { width: auto; height: 1px; flex: 1; }
  .splash-report { padding: 24px 20px; gap: 14px; }
  .splash-trust { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .splash-title { font-size: 68px; }
  .splash-report-headline { font-size: 22px; }
  .splash-report-body { font-size: 13px; }
  .splash-report-bullets li { font-size: 13px; }
  .splash-report-cta { font-size: 13px; padding: 15px 18px; }
  .splash-value-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .svs-sep { display: none; }
}

/* ══════════════════════════════════════════════════════════
   APP SHELL
   ══════════════════════════════════════════════════════════ */
.app { display: flex; flex-direction: column; min-height: 100vh; }
.app.hidden { display: none; }
.view { display: none; position: relative; min-height: 100vh; }
.view.active { display: block; animation: viewFadeIn 0.3s ease forwards; }
@keyframes viewFadeIn { from { opacity: 0; } to { opacity: 1; } }
.main { flex: 1; }

/* ══════════════════════════════════════════════════════════
   MODE CHOOSER — report selection cards
   ══════════════════════════════════════════════════════════ */
.mode-layout {
  position: relative; z-index: 10;
  min-height: 100vh; padding: 80px min(8vw, 64px) 60px;
  display: flex; flex-direction: column; gap: 36px; align-items: center; justify-content: center;
}
.mode-header { text-align: center; max-width: 620px; }
.mode-eyebrow {
  font-family: var(--fc); font-size: 11px; letter-spacing: 5px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 12px;
}
.mode-title {
  font-family: var(--fd); font-size: clamp(38px, 6vw, 58px);
  color: var(--white); line-height: 1.0; margin-bottom: 12px;
}
.mode-subtitle {
  font-size: 15px; color: var(--textdim); line-height: 1.65; font-weight: 300;
}

.mode-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; width: 100%; max-width: 880px;
}

.mode-card {
  background: rgba(8,11,16,0.80);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left; cursor: pointer;
  backdrop-filter: blur(16px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.mode-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.mode-card:hover::before { transform: scaleX(1); }
.mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,100,255,0.35);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6), 0 0 40px rgba(30,100,255,0.08);
}
.mode-card-buy:hover {
  border-color: rgba(130,188,255,0.3);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6), 0 0 40px rgba(130,188,255,0.06);
}

.mode-card-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(30,100,255,0.1); border: 1px solid rgba(30,100,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}
.mode-card-icon-buy {
  background: rgba(130,188,255,0.08); border-color: rgba(130,188,255,0.2);
  color: #6eb3ff;
}

.mode-card-badge {
  display: inline-block; align-self: flex-start;
  font-family: var(--fc); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 3px;
  background: rgba(30,100,255,0.12); color: var(--orange);
  border: 1px solid rgba(30,100,255,0.25);
}
.mode-card-badge-buy {
  background: rgba(130,188,255,0.08); color: #6eb3ff;
  border-color: rgba(130,188,255,0.2);
}

.mode-card-title {
  font-family: var(--fd); font-size: 26px; color: var(--white); line-height: 1.0;
}
.mode-card-desc {
  font-size: 14px; color: var(--textdim); line-height: 1.65; font-weight: 300; flex: 1;
}
.mode-card-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--glass-b); padding-top: 14px;
}
.mode-card-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: rgba(200,216,232,0.75); line-height: 1.45;
}
.mode-card-features li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.mode-card-features-buy li svg { color: #6eb3ff; }

.mode-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px; border-radius: 6px; margin-top: 4px;
  background: var(--orange); color: white;
  font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: 1px;
  transition: background 0.2s, box-shadow 0.2s;
}
.mode-card:hover .mode-card-cta { background: var(--orange2); box-shadow: 0 0 30px rgba(30,100,255,0.4); }
.mode-card-cta-buy {
  background: rgba(130,188,255,0.12);
  border: 1px solid rgba(130,188,255,0.25);
  color: #b8d8ff;
}
.mode-card-buy:hover .mode-card-cta-buy {
  background: rgba(130,188,255,0.22);
  box-shadow: 0 0 30px rgba(130,188,255,0.2);
}

.mode-footer-note {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--fc); font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
}
.mode-footer-note svg { color: rgba(30,100,255,0.4); flex-shrink: 0; }

/* Mobile mode cards */
@media (max-width: 680px) {
  .mode-layout { padding: 80px 20px 48px; gap: 24px; }
  .mode-cards { grid-template-columns: 1fr; gap: 14px; }
  .mode-card { padding: 22px 18px; gap: 12px; }
  .mode-card-title { font-size: 22px; }
  .mode-card-desc { font-size: 13px; }
  .mode-card-features { display: none; } /* hide on mobile to keep it concise */
  .mode-card-cta { padding: 15px 16px; font-size: 13px; }
}

/* ── BACK BUTTON ── */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--glass-b); border-radius: var(--r);
  color: var(--grey); font-family: var(--fc); font-size: 12px; letter-spacing: 1px;
  padding: 8px 14px; cursor: pointer; transition: all 0.2s;
}
.back-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.back-btn-mobile { display: none; margin-bottom: 20px; }

/* ── FORM LAYOUT HELPERS ── */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── FORM MODE BADGE ── */
.form-mode-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fc); font-size: 10px; letter-spacing: 3px;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 4px;
}
.form-mode-badge-buy { color: #6eb3ff; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 64px; display: flex; align-items: center;
  padding: 0 32px; gap: 24px;
  background: rgba(5,7,9,0.85); border-bottom: 1px solid var(--glass-b);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
/* During analysis — lock all nav interaction */
.nav.nav-locked .nav-btn,
.nav.nav-locked .nav-logo {
  pointer-events: none;
  opacity: 0.35;
  cursor: not-allowed;
}
.nav-logo { display: flex; align-items: center; cursor: pointer; user-select: none; }
.nav-brand { display: flex; flex-direction: column; }
.nav-brand-main {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}
.nav-brand-accent { color: var(--orange); }
.nav-brand-sub {
  font-family: var(--fc);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--grey);
  margin-top: 1px;
}
.nav-status { display: flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--fc); font-size: 11px; letter-spacing: 1px; color: var(--grey); }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green); animation: dot-pulse 2.5s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{box-shadow:0 0 6px var(--green);} 50%{box-shadow:0 0 16px var(--green);} }
.status-dot.scanning { background: var(--orange); box-shadow: 0 0 10px var(--orange); animation-name: dot-scan; }
@keyframes dot-scan { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  padding: 6px 18px; background: transparent; border: 1px solid var(--glass-b);
  border-radius: var(--r); color: var(--grey); font-family: var(--fc);
  font-size: 12px; letter-spacing: 2px; cursor: pointer; transition: all 0.2s;
}
.nav-btn:hover:not(:disabled) { color: var(--white); border-color: rgba(255,255,255,0.2); }
.nav-btn.active { color: var(--orange); border-color: var(--orange); }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
/* ── NAV QUOTE TICKER ── */
.nav-quote-ticker {
  flex: 1; display: flex; align-items: center;
  margin: 0 24px; overflow: hidden; min-width: 0;
  border-left: 1px solid rgba(30,100,255,0.25);
  padding-left: 20px;
}
.nqt-quote {
  font-family: var(--fd); font-size: 15px; letter-spacing: 1.5px;
  text-transform: uppercase; font-style: normal; font-weight: 400;
  color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-shadow: 0 0 20px rgba(30,100,255,0.5);
}
.nqt-quote .sq-hl {
  color: #2979ff;
  text-shadow: 0 0 14px rgba(41,121,255,0.8);
}
.nqt-quote.fading { opacity: 0; transform: translateY(5px); }
@media (max-width: 720px) { .nav-quote-ticker { display: none; } }

/* ── SPLASH QUOTES STRIP ── */
.splash-quotes {
  position: relative; z-index: 10;
  width: 100%; padding: 36px min(8vw, 72px) 44px;
  background: rgba(5,8,20,0.6);
  border-top: 1px solid rgba(30,100,255,0.22);
  border-bottom: 1px solid rgba(30,100,255,0.1);
  opacity: 0; animation: fade 0.7s 1.4s forwards;
  overflow: hidden;
}
.splash-quotes::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 120% at 0% 50%, rgba(30,100,255,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 30% 80% at 100% 50%, rgba(30,100,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.sq-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  position: relative;
}
.sq-icon {
  color: rgba(30,100,255,0.7);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(30,100,255,0.5));
  transform: translateY(-5px);
}
.sq-icon svg { width: 26px; height: 20px; }
.sq-quote-wrap {
  flex: 1; min-height: 48px; display: flex; align-items: center;
}
.sq-quote {
  font-family: var(--fd); font-size: 26px; letter-spacing: 2px;
  text-transform: uppercase; font-style: normal; font-weight: 400;
  line-height: 1.3; color: #ffffff;
  filter: drop-shadow(0 0 24px rgba(30,100,255,0.3));
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sq-quote .sq-hl {
  color: #2979ff;
  text-shadow: 0 0 18px rgba(41,121,255,0.7);
}
.sq-quote.fading { opacity: 0; transform: translateY(10px); }
.sq-label {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  padding-left: 24px; border-left: 1px solid rgba(30,100,255,0.2);
}
.sq-label-top {
  font-family: var(--fc); font-size: 8px; letter-spacing: 3px;
  color: rgba(30,100,255,0.6); text-transform: uppercase;
}
.sq-label-dots { display: flex; gap: 4px; align-items: center; }
.sq-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.4s, box-shadow 0.4s, width 0.3s;
}
.sq-dot.active {
  background: #2979ff;
  box-shadow: 0 0 8px rgba(30,100,255,0.9);
  width: 12px; border-radius: 2px;
}
@media (max-width: 900px) {
  .sq-quote { font-size: 20px; letter-spacing: 1.5px; }
  .sq-label { display: none; }
}
@media (max-width: 720px) {
  .sq-quote { font-size: 17px; letter-spacing: 1px; }
  .splash-quotes { padding: 22px 20px 26px; margin-bottom: 48px; }
}
@media (max-width: 480px) {
  .sq-quote { font-size: 14px; }
  .sq-icon svg { width: 18px; height: 14px; }
}

/* ══════════════════════════════════════════════════════════
   MODE CHOOSER VIEW
   First screen after splash — pick report type
   ══════════════════════════════════════════════════════════ */
#view-mode { min-height: 100vh; }

.mode-layout {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 100px min(8vw, 72px) 60px;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}

.mode-header { text-align: center; max-width: 640px; }
.mode-eyebrow {
  font-family: var(--fc); font-size: 11px; letter-spacing: 4px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 16px;
}
.mode-title {
  font-family: var(--fd); font-size: clamp(36px, 6vw, 64px);
  color: var(--white); line-height: 1; margin-bottom: 16px;
}
.mode-subtitle {
  font-size: 16px; color: var(--textdim); font-weight: 300; line-height: 1.7;
}

.mode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.mode-card {
  background: rgba(8,11,16,0.80);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  color: var(--text);
}
.mode-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.mode-card:hover::before { transform: scaleX(1); }
.mode-card:hover {
  border-color: rgba(30,100,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(30,100,255,0.08);
}
.mode-card-buy { border-color: rgba(47,184,110,0.2); }
.mode-card-buy::before { background: linear-gradient(90deg, #2fb86e, #5dde96); }
.mode-card-buy:hover { border-color: rgba(47,184,110,0.5); box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(47,184,110,0.06); }

.mode-card-icon {
  width: 56px; height: 56px;
  background: rgba(30,100,255,0.1);
  border: 1px solid rgba(30,100,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}
.mode-card-buy .mode-card-icon {
  background: rgba(47,184,110,0.1);
  border-color: rgba(47,184,110,0.2);
  color: #2fb86e;
}

.mode-card-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--fc); font-size: 9px; letter-spacing: 2px;
  background: rgba(30,100,255,0.15); color: var(--orange);
  border: 1px solid rgba(30,100,255,0.3); border-radius: 20px;
  padding: 4px 10px;
}

.mode-card-title {
  font-family: var(--fc); font-size: 22px; font-weight: 700;
  color: var(--white); letter-spacing: 0.5px; line-height: 1.2;
}
.mode-card-desc {
  font-size: 14px; color: var(--textdim); line-height: 1.7; font-weight: 300;
}
.mode-card-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  padding: 0; margin: 0;
}
.mode-card-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.4;
}
.mode-card-features li svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.mode-card-buy .mode-card-features li svg { color: #2fb86e; }

.mode-card-cta {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: var(--fc); font-size: 13px; letter-spacing: 2px;
  color: var(--orange); text-transform: uppercase; padding-top: 16px;
  border-top: 1px solid var(--glass-b);
}
.mode-card-buy .mode-card-cta { color: #2fb86e; }

.mode-footer-note {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 12px; letter-spacing: 0.5px;
  color: var(--textdim); text-align: center;
}
.mode-footer-note svg { color: var(--orange); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   FORM SHARED STYLES (back btn, badge, form-row, form-stack)
   ══════════════════════════════════════════════════════════ */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 11px; letter-spacing: 2px;
  color: var(--grey); background: none; border: 1px solid var(--glass-b);
  border-radius: var(--r); padding: 8px 14px; cursor: pointer;
  text-transform: uppercase; transition: all 0.2s;
}
.back-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

.back-btn-mobile {
  display: none;
  width: 100%; margin-bottom: 24px;
}

.form-mode-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 10px; letter-spacing: 3px;
  color: var(--orange); background: rgba(30,100,255,0.08);
  border: 1px solid rgba(30,100,255,0.2); border-radius: 4px;
  padding: 6px 12px; text-transform: uppercase; margin-bottom: 32px;
}
.form-mode-badge-buy {
  color: #2fb86e; background: rgba(47,184,110,0.08);
  border-color: rgba(47,184,110,0.2);
}

.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

/* ══════════════════════════════════════════════════════════
   INPUT VIEW
   bulb-dark + hero-bulb split the full screen diagonally
   View-canvas is fixed so images stay as you scroll
   ══════════════════════════════════════════════════════════ */
#view-input { min-height: 100vh; }

.view-canvas {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
}

/* Each image covers the full screen, clipped by diagonal split */
.vc-img {
  position: absolute; inset: -8%;
  background-size: cover; background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.15s ease-out;
}
.vc-left {
  background-position: 20% center;
  clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%);
  animation: drift-c 32s ease-in-out infinite alternate;
}
.vc-right {
  background-position: 78% center;
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 40% 100%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.vc-ov { position: absolute; inset: 0; pointer-events: none; }

.input-layout {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 380px 1fr;
  min-height: 100vh; padding-top: 64px;
}
.input-left {
  padding: 56px 40px 60px;
  display: flex; flex-direction: column; gap: 24px;
  background: rgba(5,7,9,0.28);
  backdrop-filter: blur(2px);
  border-right: 1px solid var(--glass-b);
}
.phase-tag {
  font-family: var(--fc); font-size: 10px; letter-spacing: 4px;
  color: var(--orange); text-transform: uppercase;
}
.input-title { font-family: var(--fd); font-size: 52px; line-height: 0.92; color: var(--white); }
.input-title em { color: var(--orange); font-style: normal; }
.input-desc { font-size: 14px; color: var(--textdim); font-weight: 300; line-height: 1.7; }


.promise-block { display: flex; gap: 0; border: 1px solid var(--glass-b); border-radius: var(--r); overflow: hidden; margin-top: auto; }
.promise-item { flex: 1; padding: 16px 12px; text-align: center; background: rgba(5,7,9,0.4); border-right: 1px solid var(--glass-b); }
.promise-item:last-child { border-right: none; }
.promise-num   { font-family: var(--fd); font-size: 36px; color: var(--orange); line-height: 1; }
.promise-label { font-family: var(--fc); font-size: 9px; letter-spacing: 2px; color: var(--grey); text-transform: uppercase; }

.input-right {
  padding: 56px 52px 60px;
  background: rgba(5,7,9,0.62);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
}
.scan-form { display: flex; flex-direction: column; gap: 36px; }
.form-section { display: flex; flex-direction: column; gap: 16px; }
.form-section-label {
  font-family: var(--fc); font-size: 11px; letter-spacing: 4px; color: var(--textdim);
  padding-bottom: 12px; border-bottom: 1px solid var(--glass-b);
  text-transform: uppercase;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { display: flex; flex-direction: column; gap: 9px; }
.field-group.full { grid-column: 1 / -1; }
.field-label { font-family: var(--fc); font-size: 13px; letter-spacing: 0.5px; color: rgba(200,216,232,0.75); font-weight: 400; }
.req { color: var(--orange); }
.field-input {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 14px 16px;
  color: var(--white); font-family: var(--fb); font-size: 15px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.field-input::placeholder { color: rgba(90,110,132,0.7); }
.field-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(30,100,255,0.1); }
.key-field-wrap { position: relative; }
.key-field-wrap .field-input { padding-right: 64px; }
.key-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--grey);
  font-family: var(--fc); font-size: 11px; letter-spacing: 1px; cursor: pointer;
}
.key-toggle:hover { color: var(--white); }
.field-note { font-size: 13px; color: var(--grey); font-style: italic; line-height: 1.5; }

/* SITUATIONAL CONTEXT SECTION */
.context-section {
  background: rgba(30,100,255,0.03);
  border: 1px solid rgba(30,100,255,0.12);
  border-radius: var(--rl);
  padding: 20px 22px;
  gap: 18px;
}
.context-section .form-section-label {
  display: flex; align-items: center; gap: 10px;
  border-bottom-color: rgba(30,100,255,0.15);
}
.section-label-badge {
  font-family: var(--fc); font-size: 9px; letter-spacing: 2px;
  background: rgba(30,100,255,0.12); color: var(--orange);
  border: 1px solid rgba(30,100,255,0.2); border-radius: 3px;
  padding: 2px 7px; line-height: 1.5;
}
.context-examples { display: flex; flex-direction: column; gap: 10px; }
.context-example-label {
  font-size: 12px; color: var(--grey); line-height: 1.6; font-style: italic;
}
.context-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ctx-chip {
  padding: 9px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; color: rgba(200,216,232,0.6);
  font-family: var(--fb); font-size: 13px; letter-spacing: 0;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.ctx-chip:hover { color: var(--white); border-color: rgba(30,100,255,0.35); background: rgba(30,100,255,0.08); }
.ctx-chip.active { background: rgba(30,100,255,0.14); border-color: var(--orange); color: var(--white); }

.context-textarea {
  resize: vertical; min-height: 110px; max-height: 280px;
  line-height: 1.7; font-size: 15px;
  font-family: var(--fb);
}
.context-note {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 11px; color: var(--textdim); font-style: italic; line-height: 1.5;
}
.context-note svg { flex-shrink: 0; margin-top: 1px; opacity: 0.5; }

.toggle-group { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-btn {
  padding: 10px 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); color: rgba(200,216,232,0.65); font-family: var(--fc);
  font-size: 13px; letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.toggle-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.07); }
.toggle-btn.active { background: rgba(30,100,255,0.18); border-color: var(--orange); color: var(--white); font-weight: 600; }

.form-actions { padding-top: 8px; }
.scan-btn { width: 100%; background: none; border: none; cursor: pointer; padding: 0; }
.scan-btn-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 32px; background: var(--orange); border-radius: var(--r);
  color: white; font-family: var(--fc); font-size: 16px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.scan-btn:hover .scan-btn-inner { background: var(--orange2); box-shadow: 0 0 60px rgba(30,100,255,0.5); transform: translateY(-2px); }
.scan-btn:disabled { opacity: 0.5; pointer-events: none; }

/* Error banner */
.error-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; margin-bottom: 14px;
  background: rgba(220, 60, 30, 0.12);
  border: 1px solid rgba(220, 60, 30, 0.4);
  border-radius: var(--r);
  animation: fadeIn 0.3s ease;
}
.error-banner-icon { font-size: 20px; flex-shrink: 0; color: #e05530; }
.error-banner-body { flex: 1; min-width: 0; }
.error-banner-title { font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #e05530; text-transform: uppercase; margin-bottom: 4px; }
.error-banner-msg { font-size: 13px; color: var(--muted); line-height: 1.5; }
.error-banner-retry {
  flex-shrink: 0; background: none; border: 1px solid rgba(220,60,30,0.5); cursor: pointer;
  padding: 8px 14px; border-radius: var(--r); color: #e05530;
  font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.error-banner-retry:hover { background: rgba(220,60,30,0.15); border-color: #e05530; }

/* ══════════════════════════════════════════════════════════
   LOADING VIEW
   One full-screen image per phase — crossfades on phase change
   Animated scan-line sweeps downward
   Subtle grid texture adds intelligence aesthetic
   ══════════════════════════════════════════════════════════ */
#view-loading { min-height: 100vh; }

.loading-canvas {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
}

/* Six image layers — one per phase, only .active has opacity:1 */
.lc-img {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4,0,0.2,1);
  animation: drift-a 24s ease-in-out infinite alternate;
}
.lc-img.active { opacity: 1; }

/* Every lc-img gets a slightly different drift timing via nth */
.lc-img:nth-child(2) { animation-name: drift-b; animation-duration: 28s; }
.lc-img:nth-child(3) { animation-name: drift-c; animation-duration: 30s; }
.lc-img:nth-child(4) { animation-name: drift-a; animation-duration: 26s; }
.lc-img:nth-child(5) { animation-name: drift-b; animation-duration: 32s; }
.lc-img:nth-child(6) { animation-name: drift-c; animation-duration: 22s; }

/* Heavy overlay keeps content crisp over any image */
.lc-ov {
  position: absolute; inset: 0; z-index: 1;
  background:
    rgba(5,7,9,0.74),
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(30,100,255,0.06) 0%, transparent 65%);
}

/* Scan-line — sweeps top to bottom on a 3.5s loop */
.lc-scan {
  position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg,
    transparent 0%, rgba(30,100,255,0.7) 25%,
    rgba(255,255,255,1) 50%, rgba(30,100,255,0.7) 75%, transparent 100%);
  box-shadow: 0 0 20px rgba(30,100,255,0.55), 0 0 60px rgba(30,100,255,0.18);
  animation: scan-sweep 3.5s linear infinite;
}
@keyframes scan-sweep {
  0%   { top: -2px;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { top: 100vh;  opacity: 0; }
}

/* Particle canvas — floats over entire loading view */
.particle-canvas {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; width: 100%; height: 100%;
}

/* Phase transition flash overlay */
.phase-flash-overlay {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(30,100,255,0.22) 0%, transparent 70%);
  transition: opacity 0.12s ease;
}
.phase-flash-overlay.flash {
  animation: phaseFlash 0.8s ease-out forwards;
}
@keyframes phaseFlash {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Enhanced phase items */
.loading-phases-list { display: flex; flex-direction: column; gap: 2px; }
.phase-item {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 16px; border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.phase-item.active {
  background: rgba(30,100,255,0.10);
  border-color: rgba(30,100,255,0.25);
  box-shadow: 0 0 20px rgba(30,100,255,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateX(4px);
}
.phase-item.done { opacity: 0.38; }
.pi-num   { font-family: var(--fd); font-size: 22px; color: var(--grey2); line-height: 1; width: 32px; transition: color 0.3s; }
.pi-label { font-family: var(--fc); font-size: 13px; letter-spacing: 0.5px; color: var(--grey); flex: 1; transition: color 0.3s; }
.pi-status{ font-family: var(--fc); font-size: 10px; letter-spacing: 1px; color: var(--orange); transition: color 0.3s; }
.phase-item.active .pi-num   { color: var(--orange); }
.phase-item.active .pi-label { color: var(--white); font-weight: 600; letter-spacing: 1px; }
.phase-item.done   .pi-status::before { content: '✓'; color: var(--green); }

/* Pct ring row — inline with stream header area */

.loading-wrap {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
  min-height: 100vh;
  padding: 64px min(10vw, 80px) 60px;
}
.loading-left  { display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
.loading-right {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 20px;
  position: sticky; top: 24px;
}

.loading-text-wrap { display: flex; flex-direction: column; gap: 14px; }
.loading-phase {
  font-family: var(--fd); font-size: clamp(42px,6vw,68px);
  color: var(--white); line-height: 1;
  animation: phase-flash 0.4s ease;
}
@keyframes phase-flash {
  0%  { opacity:0; transform:translateY(12px); }
  60% { opacity:0.7; }
  100%{ opacity:1; transform:none; }
}
.loading-label { font-family: var(--fc); font-size: 15px; letter-spacing: 1px; color: var(--text); line-height: 1.5; }
.loading-bar-wrap {
  width: 100%; height: 3px; background: rgba(255,255,255,0.07);
  border-radius: 2px; overflow: hidden; margin-top: 4px;
}
.loading-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-radius: 2px; position: relative;
}
.lb-glow {
  position: absolute; right: 0; top: -4px; width: 30px; height: 11px;
  background: radial-gradient(ellipse, rgba(30,100,255,0.85) 0%, transparent 70%);
}

/* Pct ring row — inline with stream header area */
.loading-pct-row {
  display: flex; align-items: center; gap: 20px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r);
}
.loading-pct-wrap { flex-shrink: 0; }
.loading-pct-ring {
  position: relative; width: 80px; height: 80px;
}
.pct-ring-svg {
  width: 80px; height: 80px;
  transform: rotate(-90deg);
}
.loading-pct-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
}
.loading-pct { font-family: var(--fd); font-size: 22px; color: var(--orange); line-height: 1; }
.loading-pct-label { font-family: var(--fc); font-size: 6px; letter-spacing: 2px; color: var(--grey2); }
.pct-row-info { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pct-row-phase {
  font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--orange); text-transform: uppercase;
}
.pct-row-desc {
  font-family: var(--fc); font-size: 11px; letter-spacing: 0.5px; color: var(--grey); line-height: 1.4;
}
.pct-ring-bg {
  fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 4;
}
.pct-ring-track {
  fill: none;
  stroke: url(#pctGrad); stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  filter: drop-shadow(0 0 4px rgba(30,100,255,0.7));
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16,1,0.3,1);
}


/* ══════════════════════════════════════════════════════════
   REPORT VIEW
   Ambient: bulb-dark + hero-bulb drift very subtly behind all content
   Hero: logo2 fills full width — cinematic header
   Territory: bulb-upright fills full-bleed section
   Footer: bulb-orange bleeds through action area
   ══════════════════════════════════════════════════════════ */
#view-report { background: var(--black); }

/* Fixed ambient behind entire report — very dim */
.report-ambient {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.ra-img {
  position: absolute; inset: -8%;
  background-size: 65% auto;
  background-position: 62% 48%;
  background-repeat: no-repeat;
  will-change: transform;
  opacity: 0.048;
  animation: drift-a 38s ease-in-out infinite alternate;
}
.ra-ov {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 10%, rgba(5,7,9,0.45) 100%),
    linear-gradient(to bottom, rgba(5,7,9,0.1) 0%, transparent 30%, transparent 70%, rgba(5,7,9,0.3) 100%);
}

.report-layout {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; gap: 60px;
  padding: 64px 0 80px;
}

/* HERO — logo2 as full-width image */
.report-hero {
  position: relative; width: 100%;
  height: clamp(340px,45vh,560px); overflow: hidden;
}
.rh-img {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center 30%;
  will-change: transform; animation: drift-a 22s ease-in-out infinite alternate;
  transition: transform 0.15s ease-out; /* mouse parallax */
}
.rh-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,7,9,0.3) 0%, rgba(5,7,9,0.18) 40%, rgba(5,7,9,1) 100%),
    linear-gradient(to right,  rgba(5,7,9,0.82) 0%, rgba(5,7,9,0.18) 50%, rgba(5,7,9,0.65) 100%);
}
.rh-content {
  position: absolute; bottom: 48px; left: min(10vw,72px); z-index: 2;
}
.report-eyebrow { font-family: var(--fc); font-size: 11px; letter-spacing: 5px; color: var(--orange); margin-bottom: 10px; }
.report-title   { font-family: var(--fd); font-size: clamp(40px,6vw,72px); color: var(--white); line-height: 1; margin-bottom: 14px; }
.report-meta    { font-family: var(--fc); font-size: 13px; letter-spacing: 0.5px; color: rgba(200,216,232,0.6); display: flex; gap: 18px; flex-wrap: wrap; }
.report-meta span { display: flex; align-items: center; gap: 5px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.rh-dial { position: absolute; right: min(10vw,72px); bottom: 40px; z-index: 2; }
.opp-dial-wrap { position: relative; width: 180px; height: 180px; }
.opp-dial { position: absolute; top: 0; left: 0; }
.dial-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.dial-score { font-family: var(--fd); font-size: 52px; color: var(--white); line-height: 1; }
.dial-label { font-family: var(--fc); font-size: 9px; letter-spacing: 2px; color: var(--textdim); }

/* Padded inner sections */
.section-block {
  display: flex; flex-direction: column; gap: 20px;
  padding: 0 min(10vw,72px);
}
.section-label {
  font-family: var(--fc); font-size: 12px; letter-spacing: 5px; color: var(--grey);
  display: flex; align-items: center; gap: 16px;
  text-transform: uppercase;
}
.section-label::after { content:''; flex:1; height:1px; background: var(--glass-b); }
.section-label.light { color: rgba(255,255,255,0.45); }
.section-label.light::after { background: rgba(255,255,255,0.09); }

/* HEATMAP EXPLAINER */
.heatmap-explainer {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(30,100,255,0.5);
  border-radius: var(--r);
  backdrop-filter: blur(8px);
}
.heatmap-desc {
  font-size: 14px; color: var(--text); line-height: 1.7; font-weight: 300;
}
.heatmap-desc strong { color: rgba(255,255,255,0.9); font-weight: 600; }

.heatmap-legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.hl-item {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--fc); font-size: 11px; letter-spacing: 0.5px; color: currentColor;
  opacity: 0.85;
}
.hl-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}

/* HEATMAP GRID */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.heatmap-cell {
  padding: 18px 20px; border-radius: 8px; border: 1px solid;
  display: flex; flex-direction: column; gap: 10px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default; position: relative; overflow: hidden;
}
.heatmap-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: currentColor; opacity: 0.5;
}
.heatmap-cell:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.heatmap-cell-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.heatmap-cell-label {
  font-family: var(--fc); font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9); line-height: 1.3; flex: 1;
}
.heatmap-cell-val {
  font-family: var(--fc); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px; white-space: nowrap; flex-shrink: 0;
  background: rgba(0,0,0,0.25); color: currentColor; border: 1px solid currentColor;
  opacity: 0.85;
}
.heatmap-cell-desc  {
  font-size: 12px; line-height: 1.6; font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.heatmap-cell-bar-wrap { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.heatmap-cell-bar   { height: 3px; border-radius: 3px; background: currentColor; opacity: 0.4; flex: 1; }
.heatmap-cell-pct   { font-family: var(--fc); font-size: 10px; letter-spacing: 1px; color: currentColor; opacity: 0.7; flex-shrink: 0; }
.heat-low      { background: rgba(47,184,110,0.07);  border-color: rgba(47,184,110,0.22);  color: #2fb86e; }
.heat-moderate { background: rgba(95,168,245,0.07);  border-color: rgba(95,168,245,0.22);  color: #5fa8f5; }
.heat-high     { background: rgba(30,100,255,0.07);   border-color: rgba(30,100,255,0.25);  color: #6aabff; }
.heat-extreme  { background: rgba(229,62,62,0.07);   border-color: rgba(229,62,62,0.22);  color: #e53e3e; }
.heat-low      .heatmap-cell-val { background: rgba(47,184,110,0.15); }
.heat-moderate .heatmap-cell-val { background: rgba(95,168,245,0.12); }
.heat-high     .heatmap-cell-val { background: rgba(30,100,255,0.12);  }
.heat-extreme  .heatmap-cell-val { background: rgba(229,62,62,0.12);  }

/* Territory card clickable */
.territory-clickable { cursor: pointer; }
.territory-clickable:hover { transform: translateY(-5px); box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(30,100,255,0.3); border-color: rgba(30,100,255,0.35) !important; }
.territory-view-link {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fc); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); opacity: 0.6; margin-top: 6px; transition: opacity 0.2s;
}
.territory-clickable:hover .territory-view-link { opacity: 1; }
.territory-anchor-block { scroll-margin-top: 100px; border-radius: var(--r); transition: background 0.5s; }
.territory-anchor-block.territory-highlight { background: rgba(30,100,255,0.07); outline: 1px solid rgba(30,100,255,0.2); }

/* PHASE BLOCKS */
.report-phases { display: flex; flex-direction: column; gap: 12px; }
.phase-block {
  background: rgba(8,11,16,0.72); border: 1px solid var(--glass-b);
  border-radius: var(--rl); overflow: hidden; backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.phase-block:hover { border-color: rgba(30,100,255,0.22); }
.phase-block-header {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 28px; background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--glass-b);
  cursor: pointer; user-select: none; position: relative; overflow: hidden;
}
.phase-block-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,100,255,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.phase-block-header:hover::before { opacity: 1; }
.phase-num     { font-family: var(--fd); font-size: 40px; color: var(--orange); opacity: 0.45; line-height: 1; flex-shrink: 0; width: 52px; }
.phase-title   { font-family: var(--fc); font-size: 18px; font-weight: 600; letter-spacing: 1.5px; color: var(--white); text-transform: uppercase; }
.phase-subtitle{ font-family: var(--fc); font-size: 12px; letter-spacing: 0.5px; color: var(--grey); margin-top: 3px; }
.phase-toggle  { margin-left: auto; color: var(--grey); transition: transform 0.3s; flex-shrink: 0; }
.phase-block.collapsed .phase-toggle { transform: rotate(-90deg); }
.phase-block-content { padding: 32px 36px; max-height: 8000px; overflow: hidden; transition: max-height 0.6s ease, padding 0.3s; }
.phase-block.collapsed .phase-block-content { max-height: 0; padding-top: 0; padding-bottom: 0; }

/* Formatted phase content */
.phase-content-text { font-size: 15px; color: var(--text); line-height: 1.9; font-weight: 300; }
.phase-content-text h3 {
  font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--orange); text-transform: uppercase;
  margin: 24px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(30,100,255,0.15);
}
.phase-content-text h3:first-child { margin-top: 0; }
.phase-content-text p { margin-bottom: 14px; color: var(--text); }
.phase-content-text p:last-child { margin-bottom: 0; }
.cite-link {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(232,89,12,0.1);
  border: 1px solid rgba(232,89,12,0.25);
  border-radius: 3px;
  padding: 0 4px;
  margin: 0 1px;
  vertical-align: super;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cite-link:hover {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}
.cite-ref {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 0 4px;
  margin: 0 1px;
  vertical-align: super;
  line-height: 1.4;
}
.phase-content-text strong { font-weight: 600; color: rgba(255,255,255,0.85); }
.phase-content-text ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 7px; }
.phase-content-text ul li {
  padding-left: 18px; position: relative; color: var(--text); font-size: 14px; line-height: 1.7;
}
.phase-content-text ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); opacity: 0.6;
}
.phase-content-text .highlight-box {
  background: rgba(30,100,255,0.05); border: 1px solid rgba(30,100,255,0.15);
  border-left: 3px solid var(--orange);
  border-radius: var(--r); padding: 14px 18px; margin: 14px 0;
  font-size: 13px; color: var(--textdim); line-height: 1.7;
}

/* Financial tables in phase 6 */
.phase-content-text table {
  width: 100%; border-collapse: collapse;
  margin: 18px 0; font-size: 13px;
}
.phase-content-text th {
  font-family: var(--fc); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); background: rgba(30,100,255,0.06);
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid rgba(30,100,255,0.2);
}
.phase-content-text td {
  padding: 10px 14px; color: var(--text); font-weight: 300; line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.phase-content-text tr:first-child td { font-weight: 500; color: rgba(255,255,255,0.75); }
.phase-content-text tr:hover td { background: rgba(255,255,255,0.02); }

.territory-intro {
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8;
  font-weight: 300; max-width: 800px; margin-top: 6px;
}
.territory-example { opacity: 0.6; }
.territory-example-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--fc); font-size: 9px; letter-spacing: 2px;
  color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  padding: 3px 7px;
}
.territory-example-note {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 11px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.25); margin-top: 8px;
}
.territory-example-note svg { flex-shrink: 0; color: rgba(255,255,255,0.3); }

/* TERRITORY — full-bleed, bulb-upright as background */
.territory-section {
  position: relative; width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px min(10vw,72px);
  overflow: hidden;
}
.ts-img {
  position: absolute; inset: -8%;
  background-size: cover; background-position: 58% center;
  will-change: transform;
  animation: drift-b 28s ease-in-out infinite alternate;
  transition: transform 0.15s ease-out;
}
.ts-ov {
  position: absolute; inset: 0;
  background:
    rgba(3,6,18,0.88),
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(30,100,255,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(30,100,255,0.04) 0%, transparent 60%);
}
.ts-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }

.territory-intro {
  font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.7;
  max-width: 640px; margin: 10px 0 32px; font-weight: 300;
}

.territory-map {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 8px;
}
.territory-card {
  background: rgba(8,12,28,0.7); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
/* Numbered accent top bar */
.territory-card::before {
  content:''; position: absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--orange), rgba(130,188,255,0.4));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
/* Glow behind card on hover */
.territory-card::after {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(30,100,255,0.05) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s ease;
}
.territory-card:hover::before { transform: scaleX(1); }
.territory-card:hover::after  { opacity: 1; }
.territory-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30,100,255,0.3);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 50px rgba(30,100,255,0.07);
}

.territory-num   {
  font-family: var(--fd); font-size: 80px; color: var(--orange); opacity: 0.06;
  position: absolute; bottom: 16px; right: 20px; line-height: 1; letter-spacing: -4px;
}
.territory-label {
  font-family: var(--fc); font-size: 10px; letter-spacing: 3px; color: var(--orange);
  text-transform: uppercase; display: flex; align-items: center; gap: 8px;
}
.territory-label::before {
  content: ''; display: inline-block; width: 20px; height: 1px; background: var(--orange); opacity: 0.6;
}
.territory-name  {
  font-family: var(--fc); font-size: 21px; font-weight: 700;
  color: var(--white); line-height: 1.25; letter-spacing: -0.3px;
}
.territory-desc  {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7;
  font-weight: 300; flex: 1;
}
.territory-score-wrap {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 14px;
}
.territory-score-label {
  font-family: var(--fc); font-size: 9px; letter-spacing: 1.5px; color: var(--grey2);
  text-transform: uppercase; white-space: nowrap;
}
.territory-score-bar-bg {
  flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}
.territory-score-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(30,100,255,0.5);
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}
.territory-score-val {
  font-family: var(--fd); font-size: 28px; color: var(--orange); line-height: 1; flex-shrink: 0;
}
.territory-score-100 {
  font-family: var(--fc); font-size: 9px; color: var(--grey2); letter-spacing: 0.5px; flex-shrink: 0;
}
.territory-view-link {
  font-family: var(--fc); font-size: 11px; letter-spacing: 1px; color: var(--orange);
  display: flex; align-items: center; gap: 6px; opacity: 0.7; transition: opacity 0.2s;
  text-transform: uppercase;
}
.territory-card:hover .territory-view-link { opacity: 1; }

/* FOOTER — bulb-orange bleeds through */
.report-footer {
  position: relative; overflow: hidden;
  padding: 36px min(10vw,72px);
  border-top: 1px solid var(--glass-b);
}
.rf-img {
  position: absolute; inset: -30%;
  background-size: cover; background-position: center;
  opacity: 0.07; filter: blur(2px);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.rf-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.action-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-family: var(--fc); font-size: 14px; font-weight: 600;
  letter-spacing: 2px; border-radius: var(--r); cursor: pointer;
  transition: all 0.25s; border: 1px solid; text-transform: uppercase;
}
.action-btn.primary   { background: var(--orange); border-color: var(--orange); color: white; }
.action-btn.primary:hover   { background: var(--orange2); box-shadow: 0 0 40px rgba(30,100,255,0.5); }
.action-btn.secondary { background: transparent; border-color: var(--glass-b); color: var(--grey); }
.action-btn.secondary:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.action-btn.small { padding: 10px 18px; font-size: 12px; letter-spacing: 1.5px; }

/* Report Action Bar (top + bottom download/email row) */
.report-action-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  margin-bottom: 24px;
}
.rab-left .rab-label {
  font-family: var(--fc); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--grey);
}
.rab-right {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end;
}
.email-report-row {
  display: flex; align-items: center; gap: 10px;
}
.email-report-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--fb); font-size: 13px;
  padding: 10px 14px;
  width: 220px;
  outline: none;
  transition: border-color 0.2s;
}
.email-report-input::placeholder { color: var(--grey); }
.email-report-input:focus { border-color: rgba(232,89,12,0.5); }
.email-success {
  font-family: var(--fc); font-size: 11px; letter-spacing: 2px;
  color: #2fb86e; text-transform: uppercase;
}
.email-report-error {
  font-size: 12px; color: #e8590c;
  font-family: var(--fb);
}

/* Patience notice */
/* KEEP-OPEN BANNER — pinned to bottom of screen during analysis */
.keep-open-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; gap: 20px;
  padding: 20px 36px;
  background: linear-gradient(90deg, rgba(4,8,20,0.98) 0%, rgba(6,12,30,0.98) 100%);
  border-top: 3px solid var(--orange);
  box-shadow: 0 -6px 50px rgba(30,100,255,0.3), 0 -1px 0 rgba(30,100,255,0.1);
  animation: kobGlow 3s ease-in-out infinite;
}
@keyframes kobGlow {
  0%, 100% { box-shadow: 0 -6px 50px rgba(30,100,255,0.3), 0 -1px 0 rgba(30,100,255,0.1); }
  50%       { box-shadow: 0 -6px 80px rgba(30,100,255,0.55), 0 -1px 0 rgba(30,100,255,0.3); }
}
.kob-icon {
  font-size: 32px; line-height: 1; flex-shrink: 0;
}
.kob-body {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
}
.kob-title {
  font-family: var(--fh); font-size: 16px; font-weight: 900;
  letter-spacing: 3px; color: var(--orange);
}
.kob-desc {
  font-family: var(--fc); font-size: 13px; letter-spacing: 0.4px;
  color: rgba(255,255,255,0.75); line-height: 1.5;
}
.kob-desc strong { color: #fff; font-weight: 700; }
.kob-timer {
  flex-shrink: 0; text-align: center;
  background: rgba(30,100,255,0.12);
  border: 1px solid rgba(30,100,255,0.4);
  border-radius: 8px;
  padding: 10px 20px;
  min-width: 90px;
}
.kob-timer-label {
  font-family: var(--fc); font-size: 9px; letter-spacing: 2px;
  color: var(--orange); font-weight: 700; margin-bottom: 4px;
}
.kob-timer-val {
  font-family: var(--fh); font-size: 18px; font-weight: 800;
  color: #fff; letter-spacing: 1px;
}

/* TAB-AWAY WARNING — shown only when user leaves tab */
.tab-away-warning {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background: rgba(2,5,18,0.96);
  backdrop-filter: blur(12px);
  border: 4px solid var(--orange);
  animation: tawFlash 1.2s ease-in-out infinite;
}
.taw-icon { font-size: 64px; line-height: 1; }
.taw-text { display: flex; flex-direction: column; gap: 10px; }
.taw-title {
  font-family: var(--fh); font-size: 40px; font-weight: 900;
  letter-spacing: 3px; color: #fff; text-transform: uppercase;
}
.taw-sub {
  font-family: var(--fc); font-size: 16px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7); max-width: 480px; line-height: 1.5;
}
@keyframes tawFlash {
  0%, 100% { border-color: var(--orange); box-shadow: 0 0 80px rgba(30,100,255,0.4) inset, 0 0 40px rgba(30,100,255,0.2); }
  50%       { border-color: rgba(30,100,255,0.3); box-shadow: none; }
}

/* LIVE AI STREAM TERMINAL */
.stream-terminal {
  position: relative; z-index: 10;
  width: 100%;
  background: rgba(4, 7, 14, 0.55);
  border: 1px solid rgba(30,100,255,0.18);
  border-top: 2px solid rgba(30,100,255,0.4);
  border-radius: var(--rl);
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset,
              0 32px 80px rgba(0,0,0,0.5),
              0 0 80px rgba(30,100,255,0.06);
  pointer-events: none;
  user-select: none;
}

.stream-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stream-dots { display: flex; gap: 6px; flex-shrink: 0; }
.sdot {
  width: 10px; height: 10px; border-radius: 50%;
}
.sdot-red   { background: #e74c3c; box-shadow: 0 0 4px rgba(231,76,60,0.6); }
.sdot-amber { background: #f39c12; box-shadow: 0 0 4px rgba(243,156,18,0.6); }
.sdot-green {
  background: var(--green);
  box-shadow: 0 0 6px rgba(47,184,110,0.8);
  animation: sdot-live 1.4s ease-in-out infinite;
}
@keyframes sdot-live { 0%,100%{box-shadow:0 0 4px rgba(47,184,110,0.5);} 50%{box-shadow:0 0 12px rgba(47,184,110,1);} }

.stream-title {
  font-family: var(--fc); font-size: 10px; letter-spacing: 3px; color: var(--orange);
  flex: 1; text-transform: uppercase;
}
.stream-tokens {
  font-family: var(--fc); font-size: 10px; letter-spacing: 1px; color: var(--grey2);
  flex-shrink: 0;
  transition: color 0.3s;
}
.stream-tokens.live { color: var(--green); }

.stream-body {
  padding: 16px 20px;
  height: 380px;
  overflow-y: auto;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(160, 200, 240, 0.65);
  word-break: break-word;
  white-space: pre-wrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 80%, transparent 100%);
}
.stream-body::-webkit-scrollbar { display: none; }

/* Idle state */
.stream-idle {
  display: flex; align-items: center; gap: 8px;
  color: var(--grey2); font-size: 12px;
}
.stream-idle-text { opacity: 0.5; }
.stream-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--orange); opacity: 0.8;
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink { 0%,100%{opacity:0.8;} 50%{opacity:0;} }

/* Live text node — appended by JS */
.stream-live-text {
  color: rgba(160, 200, 240, 0.7);
  position: relative;
}
/* Trailing cursor during stream */
.stream-live-text::after {
  content: '▋';
  color: var(--orange);
  animation: cursor-blink 0.7s step-end infinite;
  margin-left: 1px;
}
.stream-live-text.done::after { display: none; }

/* Phase prefix line */
.stream-phase-line {
  color: var(--orange);
  font-weight: bold;
  margin-bottom: 6px;
  opacity: 0.9;
}

/* SCROLLBAR */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .input-layout { grid-template-columns: 300px 1fr; }
  .territory-map { grid-template-columns: 1fr 1fr; }
  .mode-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .input-layout { grid-template-columns: 1fr; }
  .input-left { display: none; }
  .back-btn-mobile { display: flex; }
  .loading-wrap { grid-template-columns: 1fr; gap: 40px; padding: 80px 32px 40px; }
  .territory-map { grid-template-columns: 1fr; }
  .report-hero { height: 300px; }
  .rh-dial { display: none; }
  .mode-cards { grid-template-columns: 1fr; max-width: 520px; }
  .mode-layout { padding: 90px 24px 48px; gap: 36px; }
}
@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .nav-site-link { display: none; }
  .input-right { padding: 24px 16px 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .field-group.full { grid-column: 1; }
  .section-block { padding: 0 16px; }
  .territory-section { padding: 48px 16px; }
  .report-footer { padding: 24px 16px; gap: 12px; flex-direction: column; }
  .rf-inner { flex-direction: column; width: 100%; }
  .action-btn { width: 100%; justify-content: center; min-height: 48px; }
  .scan-form { gap: 28px; }
  .form-mode-badge { display: none; }
  .scan-btn-inner { font-size: 16px; padding: 18px 24px; letter-spacing: 2px; }
  .scan-btn { min-height: 56px; }

  /* Mode selection */
  .mode-layout { padding: 80px 16px 40px; gap: 28px; }
  .mode-card { padding: 28px 20px; }
  .mode-card-title { font-size: 22px; }
  .mode-card-desc { font-size: 15px; line-height: 1.55; }
  .mode-card-features li { font-size: 15px; }
  .mode-card-cta { font-size: 14px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .mode-subtitle { font-size: 16px; }

  /* Form fields */
  .field-label { font-size: 14px; letter-spacing: 0.3px; }
  .field-input { font-size: 16px; padding: 15px 16px; min-height: 52px; }
  .field-note { font-size: 14px; }
  .back-btn-mobile { min-height: 44px; font-size: 13px; }

  /* Phase blocks */
  .phase-title { font-size: 16px; }
  .phase-subtitle { font-size: 13px; }
  .phase-num { font-size: 32px; width: 44px; }
  .phase-block-header { padding: 18px 16px; min-height: 72px; }
  .phase-block-content { padding: 20px 16px; }
  .phase-content-text { font-size: 15px; line-height: 1.85; }
  .phase-content-text ul li { font-size: 15px; line-height: 1.7; }
  .phase-content-text h3 { font-size: 13px; }
  .phase-content-text .highlight-box { font-size: 14px; padding: 14px 16px; }
  .phase-content-text table { font-size: 13px; }
  .phase-content-text th { font-size: 11px; padding: 10px 12px; }
  .phase-content-text td { padding: 10px 12px; font-size: 13px; }

  /* Report sections */
  .heatmap-grid { grid-template-columns: 1fr 1fr; }
  .heatmap-cell-label { font-size: 13px; }
  .toggle-btn { font-size: 14px; padding: 12px 16px; min-height: 44px; }
  .section-label { font-size: 12px; }
  .territory-intro { font-size: 15px; }

  /* Loading screen */
  .loading-label { font-size: 14px; line-height: 1.55; }
  .loading-pct { font-size: 36px; }
  .loading-wrap { padding: 80px 20px 40px; }
}

/* ── PRICING PANEL ── */
.pricing-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  border: 1px solid rgba(30,100,255,0.25);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.pricing-panel-left {
  background: rgba(30,100,255,0.08);
  border-right: 1px solid rgba(30,100,255,0.2);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}
.pricing-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(30,100,255,0.7);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pricing-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: #1e64ff;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-tax {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  color: rgba(30,100,255,0.6);
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.pricing-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(240,244,248,0.35);
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
}
.pricing-panel-right {
  padding: 20px 24px;
}
.pricing-includes-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(240,244,248,0.3);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pricing-includes {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: rgba(240,244,248,0.85);
  line-height: 1.4;
}
.pricing-includes li svg { flex-shrink: 0; }
.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(240,244,248,0.5);
  padding: 12px 0 2px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 600px) {
  .pricing-panel { grid-template-columns: 1fr; }
  .pricing-panel-left { border-right: none; border-bottom: 1px solid rgba(30,100,255,0.2); padding: 16px 20px; flex-direction: row; gap: 16px; align-items: baseline; }
  .pricing-price { font-size: 42px; }
  .pricing-panel-right { padding: 16px 20px; }
  .pricing-includes li { font-size: 13px; }
}

/* ==========================================
   REPORT READY PAGE
   ========================================== */
/* ============================================================
   REPORT READY PAGE — matches splash aesthetic
   ============================================================ */
.rr-ready {
  position: relative;
  min-height: 100vh;
  background: #060912;
  overflow: hidden;
}

/* Particle canvas */
.rr-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ambient radial glows */
.rr-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
.rr-glow-a {
  width: 600px; height: 600px;
  top: -120px; left: -160px;
  background: radial-gradient(circle, rgba(41,121,255,0.12) 0%, transparent 70%);
}
.rr-glow-b {
  width: 500px; height: 500px;
  bottom: 0; right: -100px;
  background: radial-gradient(circle, rgba(232,89,12,0.10) 0%, transparent 70%);
}

/* Layout container */
.rr-layout {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 36px 60px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── HERO ROW ── */
.rr-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.rr-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 5px;
  color: #e8590c; text-transform: uppercase;
  margin-bottom: 16px;
}
.rr-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800; color: #fff;
  text-transform: uppercase; line-height: 0.95;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.rr-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 16px; color: rgba(255,255,255,0.5);
  max-width: 460px; line-height: 1.65;
}

/* Score ring */
.rr-hero-right { text-align: center; }
.rr-score-ring {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 10px;
}
.rr-score-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.rr-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}
.rr-ring-fill {
  fill: none;
  stroke: #2fb86e;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1);
}
.rr-score-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.rr-score-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px; font-weight: 800;
  line-height: 1; color: #2fb86e;
}
.rr-score-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px; letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; line-height: 1.3;
  text-align: center; margin-top: 4px;
}
.rr-score-verdict {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: rgba(255,255,255,0.6); text-transform: uppercase;
}

/* ── INTEL SECTION ── */
.rr-intel-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.rr-intel-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 5px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; white-space: nowrap;
}
.rr-intel-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

/* Card grid */
.rr-hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) { .rr-hl-grid { grid-template-columns: 1fr; } }

/* Intel card */
.rr-hl-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--hl-color, #e8590c);
  border-radius: 10px;
  padding: 22px 24px;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.rr-hl-card:hover {
  background: rgba(255,255,255,0.05);
}

/* Card phase label */
.rr-hl-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  color: var(--hl-color, #e8590c);
  text-transform: uppercase; margin-bottom: 14px;
  font-weight: 700; opacity: 0.8;
}

/* Quote block inside card */
.rr-hl-quote {
  font-family: 'Barlow', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.82);
  line-height: 1.65;
  border-left: none;
  padding: 0;
  margin: 0;
  font-style: normal;
}
.rr-hl-quote + .rr-hl-quote {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Locked card */
.rr-hl-card.rr-hl-locked {
  border-left-color: rgba(255,255,255,0.1);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}
.rr-hl-lock-icon {
  position: absolute; top: 16px; right: 18px;
  font-size: 13px; opacity: 0.3;
}
.blur-line { filter: blur(4px); }

.rr-hl-unlock-cta {
  text-align: center; padding: 10px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  color: rgba(255,255,255,0.2); text-transform: uppercase;
}

/* ── CTA SECTION ── */
.rr-cta-section {
  border: 1px solid rgba(232,89,12,0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,89,12,0.07) 0%, rgba(41,121,255,0.05) 100%);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.rr-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.rr-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.rr-cta-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 4px;
  color: #e8590c; text-transform: uppercase;
  margin-bottom: 12px; font-weight: 700;
}
.rr-cta-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; color: #fff;
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 12px;
}
.rr-cta-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 400px;
}
.rr-cta-right {
  display: flex; flex-direction: column;
  gap: 12px; min-width: 220px;
}
.rr-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #e8590c; color: #fff;
  border: none; border-radius: 8px;
  padding: 16px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.rr-btn-primary:hover { background: #d44d08; transform: translateY(-1px); }
.rr-btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75); border-radius: 8px;
  padding: 14px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
}
.rr-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }

.rr-email-wrap { display: flex; flex-direction: column; gap: 8px; }
.rr-email-inner { display: flex; gap: 6px; }
.rr-email-input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif; font-size: 13px;
  outline: none;
}
.rr-email-input:focus { border-color: #e8590c; }
.rr-email-input::placeholder { color: rgba(255,255,255,0.28); }
.rr-email-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8); border-radius: 6px;
  padding: 10px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.rr-email-btn:hover { background: rgba(255,255,255,0.16); }
.rr-email-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* New scan link */
.rr-new-scan { text-align: center; padding-top: 4px; }
.rr-new-scan button {
  background: none; border: none;
  font-family: 'Barlow', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.25);
  cursor: pointer; transition: color 0.2s; padding: 8px;
}
.rr-new-scan button:hover { color: rgba(255,255,255,0.55); }

/* Full report toggle */
.rr-full-report { display: none; }
.rr-full-report.visible { display: block; }

@media (max-width: 720px) {
  .rr-layout { padding: 48px 20px 40px; gap: 36px; }
  .rr-hero { grid-template-columns: 1fr; }
  .rr-hero-right { display: flex; align-items: center; gap: 20px; justify-content: flex-start; }
  .rr-score-ring { width: 100px; height: 100px; flex-shrink: 0; }
  .rr-score-num { font-size: 34px; }
  .rr-cta-inner { grid-template-columns: 1fr; }
  .rr-cta-right { min-width: unset; }
  .rr-cta-section { padding: 28px 20px; }
}

/* Full report toggle */
.rr-full-report { display: none; }
.rr-full-report.visible { display: block; }

@media (max-width: 640px) {
  .rr-stats-row { grid-template-columns: 1fr; }
  .rr-score-card { min-width: unset; }
  .rr-layout { padding: 50px 20px 40px; gap: 32px; }
  .rr-cta-section { padding: 24px 20px; }
  .rr-cta-buttons { flex-direction: column; align-items: center; }
  .rr-btn-primary, .rr-btn-secondary { width: 100%; justify-content: center; }
}

/* ── Online Report: Sources Section ─────────────────── */
.sources-grid { display: flex; flex-direction: column; gap: 28px; margin-top: 16px; }
.sources-category {}
.sources-cat-label {
  font-family: var(--fc);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px; font-weight: 700;
}
.sources-list { display: flex; flex-direction: column; gap: 8px; }
.source-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 12px 16px;
}
.source-id {
  font-family: var(--fc); font-size: 10px; letter-spacing: 1px;
  color: var(--orange); flex-shrink: 0; min-width: 28px;
  padding-top: 2px; font-weight: 700;
}
.source-body { flex: 1; min-width: 0; }
.source-link {
  font-size: 13px; font-weight: 600; color: #fff;
  text-decoration: none; display: block;
  margin-bottom: 4px; line-height: 1.4;
  transition: color 0.15s;
}
.source-link:hover { color: var(--orange); text-decoration: underline; }
.source-title-plain {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
  display: block; margin-bottom: 4px;
}
.source-desc {
  font-size: 12px; color: rgba(255,255,255,0.4);
  line-height: 1.5; margin-bottom: 4px;
}
.source-domain {
  font-size: 11px; color: rgba(255,255,255,0.25);
  font-family: var(--fc); letter-spacing: 0.5px;
}

