/* =========================================
   NINJABR — TECH OVERLAY
   Layers HUD chrome, radar, terminal, ops log,
   transmission dividers, and glow effects on top
   of the original landing.
   ========================================= */

:root {
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --orange-line: rgba(249, 115, 22, 0.6);
  --orange-line-soft: rgba(249, 115, 22, 0.22);
}

.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }

/* =========================================
   ATMOSPHERE LAYER — fixed background
   ========================================= */
.tech-atmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Grid */
.tech-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(249,115,22,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 80%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  to { background-position: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
}

/* Glow blobs */
.tech-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.tech-glow-1 {
  top: -10%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 60%);
  animation: glowFloat 18s ease-in-out infinite alternate;
}
.tech-glow-2 {
  bottom: -20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(40,179,98,0.06), transparent 60%);
  animation: glowFloat 24s ease-in-out infinite alternate-reverse;
}
@keyframes glowFloat {
  from { transform: translate(0,0); }
  to   { transform: translate(8%, -6%); }
}

/* Radar SVG positioned top-right of hero area */
.tech-radar {
  position: absolute;
  top: 4%;
  right: -6%;
  width: 700px;
  height: 700px;
  opacity: 0.35;
  pointer-events: none;
}
.tech-radar-sweep {
  transform-origin: 300px 300px;
  animation: radarSpin 6s linear infinite;
}
@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

/* Scanline */
.tech-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(249,115,22,0.04) 45%,
    rgba(249,115,22,0.10) 50%,
    rgba(249,115,22,0.04) 55%,
    transparent 100%);
  animation: scanline 9s linear infinite;
  mix-blend-mode: screen;
}
@keyframes scanline {
  0%   { transform: translateY(-100vh); }
  100% { transform: translateY(110vh); }
}

/* Push real content above atmos */
nav.nav, section, footer, .marquee-band, .transmission, .ops-log {
  position: relative;
  z-index: 1;
}
nav.nav { z-index: 100; }
.ops-log { z-index: 90; }

/* =========================================
   NAV ENHANCEMENTS
   ========================================= */
.nav {
  border-bottom: 1px solid rgba(249, 115, 22, 0.18);
  background: rgba(8, 8, 8, 0.78);
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-line), transparent);
  opacity: 0.7;
}
.logo-version {
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  margin-left: 4px;
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-card);
  transform: translateY(-1px);
}

/* =========================================
   HERO — HUD CORNERS + ENHANCEMENTS
   ========================================= */
.hero { overflow: visible; }

.hud-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 2;
  color: var(--orange);
}
.hud-corner::before, .hud-corner::after {
  content: '';
  position: absolute;
  background: currentColor;
  box-shadow: 0 0 8px var(--orange-glow);
}
.hud-corner::before { width: 100%; height: 1px; }
.hud-corner::after  { width: 1px; height: 100%; }
.hud-corner-tl { top: 60px; left: 16px; }
.hud-corner-tl::before { top: 0; left: 0; }
.hud-corner-tl::after  { top: 0; left: 0; }
.hud-corner-tr { top: 60px; right: 16px; }
.hud-corner-tr::before { top: 0; right: 0; }
.hud-corner-tr::after  { top: 0; right: 0; }
.hud-corner-bl { bottom: 24px; left: 16px; }
.hud-corner-bl::before { bottom: 0; left: 0; }
.hud-corner-bl::after  { bottom: 0; left: 0; }
.hud-corner-br { bottom: 24px; right: 16px; }
.hud-corner-br::before { bottom: 0; right: 0; }
.hud-corner-br::after  { bottom: 0; right: 0; }

/* HUD line — chip flavor */
.hud-line {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 10.5px;
}
.hud-line .mono { color: var(--orange); }
.hud-uptime, .hud-region {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Big counter glow + tabular nums tweaks */
.counter-number {
  position: relative;
}
.counter:nth-child(3) .counter-number::before {
  content: '';
  position: absolute;
  inset: -6px -10px;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}

/* Sparkline */
.counter-spark {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 36px;
  margin-top: 12px;
  opacity: 0.85;
}

/* Hero headline glitch */
.hero-headline {
  position: relative;
}
.hero-headline .hl-orange {
  position: relative;
  display: inline-block;
}
.hero-headline .hl-orange::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: underlineSweep 3.5s ease-in-out infinite;
}
@keyframes underlineSweep {
  0%, 100% { transform: scaleX(0.3); transform-origin: left; opacity: 0.6; }
  50%      { transform: scaleX(1);   transform-origin: left; opacity: 1; }
}

/* Hero discoveries panel (consumer-facing live feed) */
.discoveries {
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(13,13,13,0.85), rgba(8,8,8,0.92));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(249,115,22,0.06);
  position: relative;
}
.discoveries::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.7;
}
.discoveries-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
}
.discoveries-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.disc-title-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.disc-sep { color: var(--text-faint); }
.disc-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
}
.discoveries-meta {
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.disc-meta-num {
  font-weight: 700;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: -0.01em;
}
.disc-meta-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.discoveries-body {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}
.disc-row {
  display: grid;
  grid-template-columns: 60px 130px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  transition: background 0.2s ease;
  animation: discIn 0.5s cubic-bezier(0.22,1,0.36,1);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.disc-row:last-child { border-bottom: none; }
.disc-row:hover { background: rgba(249,115,22,0.05); }
@keyframes discIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.disc-time {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.disc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
  width: fit-content;
}
.disc-icon { font-size: 12px; }
.disc-orange { color: var(--orange); }
.disc-orange .disc-pill { color: var(--orange); border-color: rgba(249,115,22,0.4); background: rgba(249,115,22,0.06); }
.disc-cyan   .disc-pill { color: var(--cat-cyan); border-color: rgba(66,212,255,0.35); background: rgba(66,212,255,0.06); }
.disc-red    .disc-pill { color: var(--cat-red); border-color: rgba(255,66,66,0.35); background: rgba(255,66,66,0.06); }
.disc-green  .disc-pill { color: var(--success); border-color: rgba(40,179,98,0.35); background: rgba(40,179,98,0.06); }
.disc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.disc-row-title {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.disc-row-meta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.disc-kpi {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.disc-kpi-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.disc-orange .disc-kpi-val { color: var(--orange); }
.disc-cyan   .disc-kpi-val { color: var(--cat-cyan); }
.disc-red    .disc-kpi-val { color: var(--cat-red); }
.disc-green  .disc-kpi-val { color: var(--success); }
.disc-kpi-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Old terminal styles removed — replaced by .discoveries panel */
.hero-terminal { display: none; }
@keyframes termLineIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Crosshair — animated reticle + coords */
.hero-crosshair {
  bottom: 80px;
  right: 60px;
  color: var(--orange);
  opacity: 0.9;
}
.reticle-spin { transform-origin: 60px 60px; animation: radarSpin 12s linear infinite; }
.reticle-pulse {
  transform-origin: 60px 60px;
  animation: reticlePulse 1.8s ease-in-out infinite;
}
@keyframes reticlePulse {
  0%, 100% { r: 3; opacity: 1; }
  50%      { r: 6; opacity: 0.4; }
}
.reticle-coords {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.reticle-lock {
  color: var(--orange);
  margin-top: 2px;
  animation: pulse 1.6s ease-in-out infinite;
}

/* =========================================
   TRANSMISSION DIVIDER
   ========================================= */
.transmission {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.transmission::before, .transmission::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-line), transparent);
}
.transmission::before { top: -1px; }
.transmission::after  { bottom: -1px; }
.transmission-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.tx-tag { color: var(--orange); }
.tx-bars {
  flex: 1;
  display: flex;
  gap: 3px;
  align-items: center;
  height: 18px;
}
.tx-bars span {
  display: block;
  width: 3px;
  background: var(--orange);
  border-radius: 1px;
  opacity: 0.7;
  animation: txBar 1.6s ease-in-out infinite;
}
@keyframes txBar {
  0%, 100% { height: 4px; opacity: 0.3; }
  50%      { height: 16px; opacity: 1; }
}
.tx-status {
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================================
   ARSENAL TOOL CARDS — uptime bar + corners
   ========================================= */
.tool-card {
  isolation: isolate;
}
.tool-card::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2.2s ease-in-out infinite;
}
.tool-card .tool-uptime-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bg-elev);
  overflow: hidden;
}
.tool-card .tool-uptime-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: translateX(-100%);
  animation: uptimeSlide 3s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes uptimeSlide {
  to { transform: translateX(100%); }
}

/* Scanning hover effect */
.tool-card:hover {
  box-shadow: 0 8px 32px rgba(249,115,22,0.18), inset 0 0 0 1px rgba(249,115,22,0.4);
}

/* =========================================
   SPY CARDS — data feed dots
   ========================================= */
.sw-card {
  overflow: hidden;
}
.sw-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(249,115,22,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.sw-card:hover::after { opacity: 1; }
.sw-card h3 { position: relative; z-index: 1; }
.sw-card p { position: relative; z-index: 1; }

/* =========================================
   NUMBER BLOCKS — load bar + scan
   ========================================= */
.number-block {
  position: relative;
  padding-right: 0;
}
.number-block .big-number {
  position: relative;
}
.number-block .big-number::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 80%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.number-block.revealed .big-number::after { transform: scaleX(1); }

/* =========================================
   PRICING — holographic featured + scan
   ========================================= */
.price-card-featured {
  background:
    linear-gradient(180deg, rgba(13,13,13,0.95), rgba(249,115,22,0.06) 250%),
    radial-gradient(circle at 50% 0%, rgba(249,115,22,0.18), transparent 70%);
  overflow: hidden;
}
.price-card-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange), transparent 30%, transparent 70%, var(--orange));
  z-index: -1;
  opacity: 0.5;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); opacity: 0.4; }
  50%      { filter: hue-rotate(-8deg); opacity: 0.7; }
}
.price-card-featured::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,133,51,0.08) 50%, transparent 60%);
  animation: holoScan 5s linear infinite;
  pointer-events: none;
}
@keyframes holoScan {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================
   FLOATING OPS LOG
   ========================================= */
.ops-log {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(249,115,22,0.08);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.ops-log.collapsed {
  transform: translateY(calc(100% - 44px));
}
.ops-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid var(--border);
}
.ops-log-title {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ops-log-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 22px; height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s ease;
}
.ops-log-toggle:hover { border-color: var(--orange); color: var(--orange); }

.ops-log-body {
  padding: 10px 14px;
  max-height: 220px;
  overflow: hidden;
  position: relative;
  font-size: 11px;
  line-height: 1.7;
}
.ops-log-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(8,8,8,0.95));
  pointer-events: none;
}
.op-line {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: termLineIn 0.3s ease-out;
}
.op-line:last-child { border-bottom: none; }
.op-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
}
.op-who {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.op-city {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 500;
}
.op-msg {
  grid-column: 2;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: -2px;
}
.op-tag {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid;
}
.op-tag.spy { color: var(--orange); border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.06); }
.op-tag.ai  { color: var(--cat-purple); border-color: rgba(148,66,255,0.3); background: rgba(148,66,255,0.06); }
.op-tag.hub { color: var(--success); border-color: rgba(40,179,98,0.3); background: rgba(40,179,98,0.06); }
.op-tag.vel { color: var(--cat-cyan); border-color: rgba(66,212,255,0.3); background: rgba(66,212,255,0.06); }

.ops-log-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.ops-log-bar {
  flex: 1;
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.ops-log-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  width: 40%;
  animation: loadbarSlide 1.8s linear infinite;
}

/* =========================================
   MARQUEE — tech upgrade
   ========================================= */
.marquee-band {
  background: var(--bg-sunken);
  position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.marquee-band::before { left: 0; background: linear-gradient(90deg, var(--bg-sunken), transparent); }
.marquee-band::after  { right: 0; background: linear-gradient(270deg, var(--bg-sunken), transparent); }

/* =========================================
   CTA FINAL — tech glow ring
   ========================================= */
.cta-final {
  position: relative;
}
.cta-final::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px dashed rgba(249,115,22,0.2);
  border-radius: 50%;
  animation: radarSpin 60s linear infinite;
  pointer-events: none;
}
.cta-final .cta-headline em { color: var(--text-faint); }

/* =========================================
   SECTIONS — small noise + matrix touches
   ========================================= */
.section-head { position: relative; }
.section-head::before {
  content: '';
  display: block;
  position: absolute;
  left: 32px;
  top: -12px;
  width: 36px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange-glow);
}
.section-head-center::before {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================
   GLITCH on big numbers (subtle)
   ========================================= */
.big-number, .counter-number {
  position: relative;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .tech-radar { display: none; }
  .ops-log { width: 280px; }
  .hud-corner-tl, .hud-corner-tr, .hud-corner-bl, .hud-corner-br { display: none; }
  .hero-crosshair { display: none; }
  .hero-cta-meta { display: none; }
}
@media (max-width: 640px) {
  .ops-log { display: none; }
  .hero-terminal { font-size: 11px; }
  .terminal-body { font-size: 11px; min-height: 140px; max-height: 140px; }
  .transmission-inner { flex-wrap: wrap; gap: 12px; }
  .tx-bars { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-radar-sweep, .tech-grid, .tech-scanline, .tech-glow-1, .tech-glow-2,
  .reticle-spin, .reticle-pulse, .cta-loadbar-fill, .ops-log-bar-fill,
  .tool-card::after, .tool-card .tool-uptime-bar::before,
  .term-cursor, .price-card-featured::before, .price-card-featured::after,
  .tx-bars span, .cta-final::after {
    animation: none !important;
  }
}


/* =========================================
   DOSSIE STAMP — diagonal classified mark
   ========================================= */
.dossie-stamp {
  position: absolute;
  top: 32px;
  right: 56px;
  transform: rotate(-8deg);
  border: 3px double rgba(255, 59, 48, 0.55);
  padding: 8px 18px 6px;
  color: rgba(255, 59, 48, 0.75);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-align: center;
  z-index: 4;
  pointer-events: none;
  opacity: 0.85;
  background: rgba(255, 59, 48, 0.03);
  text-shadow: 0 0 1px rgba(255,59,48,0.3);
  filter: drop-shadow(0 2px 0 rgba(255,59,48,0.15));
  animation: stampWobble 6s ease-in-out infinite;
}
.dossie-stamp::before, .dossie-stamp::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px; background: rgba(255,59,48,0.4);
}
.dossie-stamp::before { top: 50%; transform: translateY(-0.5px); }
.dossie-stamp::after  { display: none; }
.stamp-line { display: block; line-height: 1.05; }
.stamp-line-1 { font-size: 11px; letter-spacing: 0.32em; }
.stamp-line-2 { font-size: 22px; letter-spacing: 0.14em; padding: 2px 0; }
.stamp-line-3 { font-size: 9.5px; letter-spacing: 0.28em; font-family: var(--mono); opacity: 0.7; }
@keyframes stampWobble {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(-7.2deg) translateY(-1px); }
}
@media (max-width: 900px) {
  .dossie-stamp { top: 12px; right: 12px; transform: rotate(-6deg) scale(0.7); }
}

/* =========================================
   SPYWALL — the centerpiece evidence board
   ========================================= */
.spywall {
  margin-top: 14px;
  position: relative;
  padding: 50px 28px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(249,115,22,0.04), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(255,59,48,0.04), transparent 40%),
    linear-gradient(180deg, #0c0a08 0%, #100d0a 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 0 0 1px rgba(249,115,22,0.05),
    inset 0 80px 80px -40px rgba(0,0,0,0.6),
    0 30px 80px rgba(0,0,0,0.6);
  overflow: hidden;
}
/* Cork texture via SVG noise */
.spywall::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.018) 0 1px, transparent 1px),
    radial-gradient(circle at 38% 71%, rgba(255,255,255,0.018) 0 1px, transparent 1px),
    radial-gradient(circle at 62% 18%, rgba(249,115,22,0.04) 0 2px, transparent 2px),
    radial-gradient(circle at 88% 88%, rgba(255,255,255,0.014) 0 1px, transparent 1px);
  background-size: 17px 17px, 23px 23px, 41px 41px, 13px 13px;
  pointer-events: none;
  opacity: 0.9;
}

.spy-section-tape {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) rotate(-0.6deg);
  background: repeating-linear-gradient(
    -55deg,
    rgba(249,115,22,0.85) 0 16px,
    rgba(255, 200, 80, 0.85) 16px 32px
  );
  color: #0a0a0a;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  padding: 6px 24px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(0,0,0,0.1);
  z-index: 5;
  border-radius: 1px;
}
.spy-section-tape span { mix-blend-mode: multiply; }

.spy-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.spy-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-top: 30px;
}
@media (max-width: 1100px) {
  .spy-cards { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 600px) {
  .spy-cards { grid-template-columns: 1fr; }
}

.sw-card {
  position: relative;
  background: #faf6ec;
  color: #1a1a1a;
  border-radius: 4px;
  padding: 14px 14px 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 12px 28px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.4);
  font-family: 'Rajdhani', sans-serif;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  will-change: transform;
}
.sw-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02) !important;
  z-index: 10;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 4px 12px rgba(249,115,22,0.3);
}
.sw-card-1 { transform: rotate(-3.2deg); }
.sw-card-2 { transform: rotate(2.1deg) translateY(12px); }
.sw-card-3 { transform: rotate(-1.4deg) translateY(-6px); }
.sw-card-4 { transform: rotate(2.6deg) translateY(8px); }
.sw-card-5 { transform: rotate(-2.4deg); }

.spy-pin {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #ff6b6b, #c41818 60%, #7a0000 100%);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5), inset -2px -2px 3px rgba(0,0,0,0.3);
  z-index: 3;
}
.spy-pin::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  filter: blur(0.5px);
}
.spy-tape {
  position: absolute;
  top: -10px; left: 18%;
  width: 46px; height: 22px;
  background: rgba(255, 240, 180, 0.55);
  border: 1px solid rgba(255, 240, 180, 0.35);
  transform: rotate(-6deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  backdrop-filter: blur(1px);
}
.spy-tape::before, .spy-tape::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,0.3);
}
.spy-tape::before { left: 30%; }
.spy-tape::after { left: 70%; }

.spy-thumb {
  height: 130px;
  border-radius: 3px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.spy-thumb-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%),
    linear-gradient(135deg, #FF7B5C, #C13E1E);
  color: #fff;
}
.spy-brand {
  font-family: 'Anton', sans-serif;
  font-size: 38px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.spy-brand i { font-style: normal; color: #ffe0c5; }
.spy-platform {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 100px;
}
.spy-thumb-2 {
  background: linear-gradient(160deg, #1f1f1f, #2a1810);
  color: #fff;
  padding: 10px;
}
.spy-frame-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: #ff6b6b;
  background: rgba(0,0,0,0.5);
  padding: 3px 7px;
  border: 1px solid rgba(255,107,107,0.4);
  border-radius: 2px;
}
.spy-frame-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.05;
  text-align: center;
  padding: 0 16px;
}
.spy-frame-dur {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: var(--mono);
  font-size: 9px;
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.spy-frame-dur-green { color: #28B362; border: 1px solid rgba(40,179,98,0.4); }

.spy-thumb-3 {
  background: linear-gradient(180deg, #0f1f15, #0a1a0e);
  padding: 14px;
  align-items: stretch;
  justify-content: flex-end;
}
.spy-spark {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}

.spy-thumb-4 {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(249,115,22,0.4), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #1a0e06);
  color: #fff;
}
.spy-amount-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: #F97316;
  margin-bottom: 4px;
}
.spy-amount {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(249,115,22,0.4);
}
.spy-amount-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.spy-thumb-5 {
  background: linear-gradient(140deg, #1a0a18, #2a0e1a);
  color: #fff;
  padding: 10px;
}
.spy-win-roas {
  font-family: 'Anton', sans-serif;
  font-size: 54px;
  line-height: 0.9;
  color: #FF3B30;
  text-shadow: 0 2px 12px rgba(255,59,48,0.4);
  letter-spacing: -0.02em;
}
.spy-win-roas i {
  font-family: 'Rajdhani', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-left: 6px;
  color: rgba(255,255,255,0.6);
  vertical-align: middle;
}
.spy-win-spend {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

.spy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.spy-cat {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid;
}
.spy-cat-orange { color: #C13E1E; border-color: rgba(193,62,30,0.4); background: rgba(193,62,30,0.07); }
.spy-cat-cyan   { color: #0d7c8e; border-color: rgba(13,124,142,0.4); background: rgba(13,124,142,0.07); }
.spy-cat-green  { color: #1c7a3f; border-color: rgba(28,122,63,0.4); background: rgba(28,122,63,0.07); }
.spy-cat-red    { color: #C1102A; border-color: rgba(193,16,42,0.4); background: rgba(193,16,42,0.07); }
.spy-time {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.45);
  text-transform: uppercase;
}

.spy-headline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.spy-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,0.15);
}
.spy-kpis > div {
  display: flex;
  flex-direction: column;
}
.spy-kpis b {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}
.spy-kpis i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-top: 1px;
}

.spy-scribble {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  color: #d62828;
  text-shadow: 0 1px 0 rgba(214,40,40,0.1);
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 4;
}
.spy-scribble-1 { top: -22px; right: -14px; transform: rotate(8deg); }
.spy-scribble-2 { bottom: -28px; right: -10px; transform: rotate(-7deg); }
.spy-scribble-3 { top: -26px; left: -10px; transform: rotate(-9deg); }
.spy-scribble-4 { bottom: -30px; left: -14px; transform: rotate(6deg); }
.spy-scribble-5 { top: -24px; right: -12px; transform: rotate(7deg); font-size: 22px; }

.spy-redacted {
  position: absolute;
  top: 40%; left: -10%;
  font-family: 'Anton', sans-serif;
  font-size: 38px;
  letter-spacing: 0.08em;
  color: rgba(193, 16, 42, 0.85);
  border: 3px double rgba(193,16,42,0.8);
  padding: 4px 14px;
  transform: rotate(-12deg);
  pointer-events: none;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

.spywall-foot {
  position: relative;
  z-index: 2;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.spywall-foot b {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.spywall-sep { color: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
  .sw-card { padding: 12px; }
  .sw-card-1, .sw-card-2, .sw-card-3, .sw-card-4, .sw-card-5 {
    transform: rotate(-1.5deg) !important;
  }
  .spy-scribble { font-size: 16px; }
}

/* =========================================
   EDITORIAL HERO — bigger, more dramatic
   ========================================= */
.hero-headline {
  font-size: clamp(40px, 6vw, 84px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
  font-weight: 600 !important;
}
.hero-headline em {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
}

/* Chat-bubble variant for Card 3 */
.spy-thumb-3-chat {
  background: linear-gradient(160deg, #0e1f15, #143020) !important;
  padding: 14px !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.spy-chat-bubble {
  position: relative;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.15;
  padding: 10px 14px;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 88%;
  margin-top: 6px;
}
.spy-chat-bubble::after {
  content: '';
  position: absolute;
  left: 8px; bottom: -6px;
  width: 0; height: 0;
  border: 6px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
