/* STC Landing, page-specific styles */

/* ============ BOOT BAR ============ */
/* Slim first-paint loading bar. It is pure CSS from the first frame, the
   crawl animation needs no JS, so it moves even while landing.js is still
   downloading; JS only finishes and removes it on window load. scaleX (not
   width) so the whole thing lives on the compositor and never triggers
   layout; position:fixed + 3px so it can't shift content (CLS). */
.boot-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;              /* above .nav (100), it belongs to the chrome, not the page */
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 60%, var(--magenta) 100%);
  box-shadow: 0 0 12px rgba(123, 75, 255, 0.55);
  transform: scaleX(0);
  transform-origin: 0 50%;
  /* Crawl to ~85% and hold: the last 15% belongs to the real load event.
     A bar that hits 100% on its own is a progress lie. */
  animation: boot-crawl 2.4s cubic-bezier(0.15, 0.6, 0.3, 1) forwards;
}
@keyframes boot-crawl {
  from { transform: scaleX(0); }
  to   { transform: scaleX(0.85); }
}
/* landing.js adds .done on window load: snap to full, then fade. The node is
   removed on animationend (with a timeout fallback) so the fixed layer does
   not sit above the nav forever. */
.boot-bar.done { animation: boot-finish 0.55s ease-out forwards; }
@keyframes boot-finish {
  0%   { transform: scaleX(0.85); opacity: 1; }
  55%  { transform: scaleX(1);    opacity: 1; }
  100% { transform: scaleX(1);    opacity: 0; }
}
/* Reduced motion: a bar that exists only to move has no reduced-motion
   variant worth keeping, hide it outright. JS still removes the node. */
@media (prefers-reduced-motion: reduce) {
  .boot-bar { display: none; }
}

/* ============ HEADLINE STAGGER ============ */
/* Armed only when landing.js adds .hl-animate to <body> (and it checks
   prefers-reduced-motion before doing so). The default state below the
   media query is "fully visible", with JS off nothing is ever hidden.
   fill-mode backwards is what hides each element during its delay. */
.hl-animate .hero-copy .eyebrow    { animation: hl-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards; }
.hl-animate .hero-copy h1          { animation: hl-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards; }
/* The child span animates on its own later delay: while the parent h1 fades
   in, the gradient phrase is still in its own from-state (hidden), so the
   plain line lands first and the payoff line follows. */
.hl-animate .hero-copy h1 .grad-text { display: inline-block; animation: hl-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s backwards; }
.hl-animate .hero-copy .lead       { animation: hl-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.60s backwards; }
.hl-animate .hero-copy .hero-cta   { animation: hl-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.72s backwards; }
.hl-animate .hero-copy .hero-proof { animation: hl-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.84s backwards; }
@keyframes hl-in {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none;             filter: none; }
}
/* Belt and braces: the JS gate already skips tagging, but a user can flip
   the OS setting after the class is on the body. */
@media (prefers-reduced-motion: reduce) {
  .hl-animate .hero-copy .eyebrow,
  .hl-animate .hero-copy h1,
  .hl-animate .hero-copy h1 .grad-text,
  .hl-animate .hero-copy .lead,
  .hl-animate .hero-copy .hero-cta,
  .hl-animate .hero-copy .hero-proof { animation: none; }
}

/* ============ HERO DEPTH ============ */
/* Two blobs + one accent, plus a faint grid. Decoration only: aria-hidden in
   the markup, pointer-events none here, z-index 0 under the .container
   (z-index 1). Blur is applied once and never animated, only transform
   moves, so each blob is a static texture the GPU slides around. Parked
   inside .hero (overflow:hidden), so off-canvas drift can never grow a
   horizontal scrollbar at 360px. */
.hero-depth {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-depth::before {
  /* Faint grid, masked so it exists only around the headline area instead of
     fighting the page-wide .ambient grid. Static, no animation cost. */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 223, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 223, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 65% at 35% 35%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 35% 35%, black 30%, transparent 80%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: blob-drift 26s ease-in-out infinite alternate;
}
.blob-a {
  width: 460px; height: 460px;
  top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.28), transparent 68%);
}
.blob-b {
  width: 520px; height: 520px;
  top: 24%; right: -14%;
  background: radial-gradient(circle, rgba(123, 75, 255, 0.30), transparent 68%);
  animation-duration: 34s;
  animation-delay: -9s;    /* negative delays desync the three orbits so they never breathe in unison */
}
.blob-c {
  width: 300px; height: 300px;
  bottom: 4%; left: 26%;
  background: radial-gradient(circle, rgba(185, 75, 255, 0.22), transparent 68%);
  animation-duration: 40s;
  animation-delay: -18s;
}
@keyframes blob-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(56px, 38px, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 640px;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy .lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-1);
  margin-top: 24px;
  max-width: 560px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
@media (max-width: 560px) {
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.proof-item { color: var(--text-2); font-size: 13px; }
.proof-item .big {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* === 3D HERO SCENE === */
.hero-scene {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  min-height: 560px;
}
.scene-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-8deg);
  animation: scene-breathe 10s ease-in-out infinite;
}
@keyframes scene-breathe {
  0%, 100% { transform: rotateX(12deg) rotateY(-8deg); }
  50% { transform: rotateX(10deg) rotateY(-4deg); }
}
/* Keep the floating cards inside the frame instead of poking past the viewport
   edge (the body clips overflow-x, so a stray card just vanished at the seam).
   The stage is scaled down as the space shrinks; the animation is dropped on
   the way so its keyframe transform cannot wipe the scale out. min-width on the
   nodes comes down too, so the whole cluster fits a phone. */
@media (max-width: 1100px) {
  .scene-stage { animation: none; transform: scale(0.86) rotateX(12deg) rotateY(-8deg); }
}
@media (max-width: 980px) {
  .hero-scene { min-height: 460px; }
  .scene-stage { transform: scale(0.72) rotateX(10deg) rotateY(-6deg); }
  .node { min-width: 200px; }
}
@media (max-width: 560px) {
  .hero-scene { min-height: 380px; overflow: hidden; }
  .scene-stage { transform: scale(0.56) rotateX(8deg) rotateY(-4deg); }
  .node { min-width: 190px; }
}

.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(123, 75, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
}
.orbit-1 { width: 560px; height: 560px; border-color: rgba(79,195,247,0.14); }
.orbit-2 { width: 400px; height: 400px; border-color: rgba(123,75,255,0.2); }
.orbit-3 { width: 260px; height: 260px; border-color: rgba(185,75,255,0.22); }

.node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translate3d(var(--x), var(--y), var(--z));
  background: linear-gradient(180deg, rgba(20,24,36,0.95), rgba(10,12,20,0.95));
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  padding: 14px;
  min-width: 220px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  animation: node-float 6s ease-in-out infinite;
}
.node-tg { animation-delay: 0s; }
.node-ai {
  min-width: 200px;
  background: linear-gradient(180deg, rgba(30,20,55,0.95), rgba(15,10,30,0.95));
  border-color: rgba(123,75,255,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(123,75,255,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  animation-delay: -2s;
}
.node-mt5 { animation-delay: -4s; }

@keyframes node-float {
  0%, 100% { transform: translate(-50%, -50%) translate3d(var(--x), var(--y), var(--z)); }
  50% { transform: translate(-50%, -50%) translate3d(var(--x), calc(var(--y) - 10px), var(--z)); }
}

.node-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.node-icon.tg { background: linear-gradient(135deg, #29B6F6, #0288D1); }
.node-icon.tg svg { width: 16px; height: 16px; }
.node-icon.mt5 {
  background: linear-gradient(135deg, #FF8F00, #E65100);
  color: white;
  letter-spacing: 0.04em;
}
.node-title { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.node-sub { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.node-sub .live { color: var(--up); }
.signal-msg {
  margin-top: 10px;
  padding: 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 12px;
}
.msg-line { color: var(--text-0); }
.msg-line + .msg-line { margin-top: 4px; }
.msg-dim { color: var(--text-2); font-size: 11px; }
.msg-act { padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; margin-right: 6px; }
.msg-act.buy { background: rgba(0,230,168,0.18); color: var(--up); }
.msg-px { color: var(--cyan); }

/* AI core */
.node-core { position: relative; height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.core-ring {
  position: absolute;
  width: 50px; height: 50px;
  border: 1.5px solid var(--cyan);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 2.2s linear infinite;
}
.core-ring-2 {
  width: 34px; height: 34px;
  border-color: var(--violet);
  border-bottom-color: transparent;
  animation-duration: 1.6s;
  animation-direction: reverse;
}
.core-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 16px var(--violet);
}
.core-label {
  position: absolute;
  bottom: -2px;
  font-size: 9px; letter-spacing: 0.15em;
  color: var(--text-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

.parse-out {
  padding: 10px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-1);
}
.parse-out .accent { color: var(--cyan); }

.fill-row { display: flex; gap: 10px; margin-top: 10px; align-items: flex-start; padding: 10px; background: rgba(0,230,168,0.06); border: 1px solid rgba(0,230,168,0.2); border-radius: 8px; }
.fill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); margin-top: 5px; flex-shrink: 0; animation: pulse 1.4s infinite; }
.fill-text { font-size: 12px; }
.fill-meta { font-size: 10px; color: var(--text-2); margin-top: 2px; }

.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wire {
  stroke-dasharray: 6 6;
  animation: wire-flow 1.5s linear infinite;
}
.wire-2 { animation-delay: -0.5s; }
@keyframes wire-flow { to { stroke-dashoffset: -24; } }

.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  opacity: .7;
}
.p1 { top: 20%; left: 15%; animation: float 8s ease-in-out infinite; }
.p2 { top: 30%; right: 25%; background: var(--violet); box-shadow: 0 0 10px var(--violet); animation: float 7s ease-in-out infinite -2s; }
.p3 { bottom: 30%; left: 30%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); animation: float 9s ease-in-out infinite -4s; }
.p4 { bottom: 20%; right: 15%; animation: float 10s ease-in-out infinite -1s; }
.p5 { top: 50%; right: 10%; background: var(--violet); box-shadow: 0 0 8px var(--violet); animation: float 6s ease-in-out infinite -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(-30px); opacity: 1; }
}

.bg-chart {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}
.bg-chart svg { width: 100%; height: 100%; }

/* Ticker strip */
.ticker-wrap {
  margin-top: 60px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.ticker-item .up { color: var(--up); }
.ticker-item .down { color: var(--down); }
.ticker-item .sym { color: var(--text-0); font-weight: 500; }

/* ============ HOW IT WORKS ============ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-arrow { justify-self: center; }
  /* Rotate the SVG, not the .how-arrow box: the box also carries .reveal, and
     `.reveal.in { transform: none }` was resetting a rotate on the box the
     instant it scrolled into view, so the arrows pointed sideways between
     stacked cards instead of down. The svg child is untouched by reveal. */
  .how-arrow svg { transform: rotate(90deg); }
}
.how-step {
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: left;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { font-size: 15px; color: var(--text-1); }
.how-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 24px;
}
.how-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.how-tg-icon { font-size: 28px; color: var(--cyan); }
.how-ai {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--violet);
  display: flex; align-items: center; justify-content: center;
  animation: spin 3s linear infinite;
}
.how-ai-core {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: var(--glow-brand);
}
.how-mt5 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  padding: 6px 10px;
  background: linear-gradient(135deg, #FF8F00, #E65100);
  border-radius: 8px;
  font-size: 14px;
}
.how-chip {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 10px;
  font-size: 11px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-2);
}
.how-arrow {
  align-self: center;
  width: 60px;
}
.how-arrow svg { width: 100%; }

/* ============ FEATURES ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
/* Once there were nine feature cards, the wide first card left a hole in the
   3-column grid. Every card is now one column, so the grid is a clean 3x3. */
.feature-lg { grid-column: span 1; }

.card h3 { margin-bottom: 10px; font-size: 20px; }
.card p { font-size: 14px; color: var(--text-1); }
.feature-ico {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,195,247,0.1), rgba(123,75,255,0.1));
  border: 1px solid var(--border-hi);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.feature-ico::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(79,195,247,0.2), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover .feature-ico::after { opacity: 1; }
.feature-ico svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: url(#fIcoGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}
/* gradient stroke fallback via CSS color since SVG strokes won't pick gradient w/o defs in same SVG */
.feature-ico svg { stroke: #B088FF; }
.card:hover .feature-ico .ico-bolt path,
.ico-bolt svg path { animation: bolt-pulse 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes bolt-pulse { 0%, 100% { stroke: #4FC3F7; filter: drop-shadow(0 0 0 transparent); } 50% { stroke: #B94BFF; filter: drop-shadow(0 0 6px rgba(185,75,255,0.6)); } }

.ico-target svg .r1, .ico-target svg .r2, .ico-target svg .r3 { transform-origin: center; transform-box: fill-box; }
.card:hover .ico-target .r1 { animation: tgt 2s linear infinite; }
.card:hover .ico-target .r2 { animation: tgt 1.4s linear infinite reverse; }
.ico-target .r3 { fill: #B088FF; stroke: none; }
@keyframes tgt { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.ico-shield svg .check { stroke-dasharray: 20; stroke-dashoffset: 20; }
.card:hover .ico-shield .check { animation: check 0.6s ease-out forwards; }
@keyframes check { to { stroke-dashoffset: 0; } }

.ico-brain svg .core { fill: #B088FF; stroke: none; }
.ico-brain svg .orb, .ico-brain svg .orb2 { transform-origin: center; transform-box: fill-box; opacity: 0.7; }
.card:hover .ico-brain .orb { animation: brain 2s linear infinite; }
.card:hover .ico-brain .orb2 { animation: brain 3s linear infinite reverse; opacity: 0.4; }
@keyframes brain { from { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.05); } to { transform: rotate(360deg) scale(1); } }

.ico-lock svg .dot { fill: #4FC3F7; stroke: none; }
.card:hover .ico-lock svg { animation: lock-shake 0.4s ease-in-out; }
@keyframes lock-shake { 25% { transform: translateX(-1px); } 75% { transform: translateX(1px); } }

.ico-cycle svg { transition: transform 0.6s ease-out; }
.card:hover .ico-cycle svg { transform: rotate(180deg); }

.ico-chart svg rect { transform-origin: bottom; transform-box: fill-box; }
/* new unique icons */
.ico-ladder svg .rung { transform-origin: left center; transform-box: fill-box; }
.card:hover .ico-ladder .r-a { animation: rung 1.2s ease-in-out infinite; }
.card:hover .ico-ladder .r-b { animation: rung 1.2s ease-in-out infinite -0.4s; }
.card:hover .ico-ladder .r-c { animation: rung 1.2s ease-in-out infinite -0.8s; }
@keyframes rung { 0%,100% { transform: scaleX(1); opacity: .7; } 50% { transform: scaleX(1); opacity: 1; } }
.card:hover .ico-funnel svg { animation: funnel-drip 1.6s ease-in-out infinite; }
@keyframes funnel-drip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(1.5px); } }
.ico-gauge svg .hub { fill: #B088FF; stroke: none; }
.ico-gauge svg .needle { transform-origin: 16px 25px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card:hover .ico-gauge .needle { transform: rotate(38deg); }
.card:hover .ico-chart .b1 { animation: bar 1.2s ease-in-out infinite; }
.card:hover .ico-chart .b2 { animation: bar 1.2s ease-in-out infinite -0.3s; }
.card:hover .ico-chart .b3 { animation: bar 1.2s ease-in-out infinite -0.6s; }
.card:hover .ico-chart .b4 { animation: bar 1.2s ease-in-out infinite -0.9s; }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }

/* Hover-tilt */
.tilt { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt-scene { transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }

/* Reels */
.reels-section { padding-bottom: 80px; }
.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .reels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .reels-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.reel { position: relative; }
.reel-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-hi);
  cursor: pointer;
  transition: transform .3s, border-color .3s;
}
.reel-thumb:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: 0 20px 50px rgba(123,75,255,0.25); }
.reel-1 { background: linear-gradient(135deg, #ff7e5f, #feb47b 40%, #7B4BFF); }
.reel-2 { background: linear-gradient(135deg, #00E6A8 0%, #4FC3F7 50%, #7B4BFF); }
.reel-3 { background: linear-gradient(135deg, #B94BFF, #5B2FD1 50%, #11141F); }
.reel-4 { background: linear-gradient(160deg, #FF4D6D 0%, #B94BFF 50%, #4FC3F7); }
.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7));
}
.reel-content {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 2;
}
.reel-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.reel-title { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: white; line-height: 1.3; }
.reel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
  z-index: 3;
}
.reel-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.reel-play svg { width: 22px; height: 22px; fill: #11141F; margin-left: 3px; }
.reel-meta {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between;
  font-size: 10px;
  color: white;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform .2s;
  animation: wa-bob 3s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: wa-ripple 2s ease-out infinite;
}
@keyframes wa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes wa-ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.wa-fab:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* Footer address */
.foot-addr { color: var(--text-2); font-size: 13px; line-height: 1.7; }
.foot-addr a { color: var(--cyan); padding: 0; }

.latency-viz { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.lat-bar { display: grid; grid-template-columns: 120px 1fr 50px; gap: 12px; align-items: center; font-size: 12px; color: var(--text-2); }
.lat-track { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.lat-fill { height: 100%; background: var(--grad-brand); border-radius: 3px; animation: lat-grow 2s ease-out; }
@keyframes lat-grow { from { width: 0 !important; } }
.lat-bar .mono { color: var(--text-0); font-size: 12px; }

/* ============ ARCHITECTURE ============ */
.arch-stage {
  position: relative;
  padding: 40px 20px;
}
.iso-scene {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  perspective: 1600px;
}
.iso-slab {
  position: relative;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(20,24,36,0.9), rgba(10,12,20,0.9));
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  transform: rotateX(12deg) rotateY(-12deg);
  transform-style: preserve-3d;
  box-shadow: -20px 10px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.slab-label {
  position: absolute;
  top: -10px; left: 20px;
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  background: var(--bg-0);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.slab-1 { border-color: rgba(79,195,247,0.25); }
.slab-2 { border-color: rgba(123,75,255,0.3); box-shadow: -20px 10px 50px rgba(0,0,0,0.4), 0 0 30px rgba(123,75,255,0.1), inset 0 1px 0 rgba(255,255,255,0.05); }
.slab-3 { border-color: rgba(185,75,255,0.25); }
.slab-4 { border-color: rgba(0,230,168,0.2); }

.iso-conn {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  margin: 0 auto;
  transform: rotateX(12deg) rotateY(-12deg) translateX(-40%);
  box-shadow: 0 0 8px rgba(123,75,255,0.6);
  position: relative;
  animation: conn-pulse 2s ease-in-out infinite;
}
.iso-conn::before {
  content: "";
  position: absolute;
  top: 0; left: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: conn-travel 1.5s linear infinite;
}
@keyframes conn-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes conn-travel { 0% { top: 0; } 100% { top: 32px; } }

.slab-icons { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.src-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 12px;
}
.tg-glyph { color: var(--cyan); }

.router { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.router-box {
  flex: 1;
  min-width: 200px;
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.router-box.router-ai {
  border-color: rgba(123,75,255,0.4);
  background: linear-gradient(135deg, rgba(30,20,55,0.95), rgba(15,10,30,0.95));
}
.rb-title { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.rb-sub { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.router-arrow { color: var(--violet); font-size: 20px; }

.bridges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.bridge-node {
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  opacity: 0.4;
  transition: opacity .3s;
}
.bridge-node.active {
  opacity: 1;
  border-color: rgba(123,75,255,0.5);
  background: linear-gradient(135deg, rgba(30,20,55,0.9), rgba(15,10,30,0.9));
  box-shadow: 0 0 20px rgba(123,75,255,0.2);
}
.bn-port { font-size: 16px; color: var(--cyan); font-weight: 600; }
.bn-name { font-size: 12px; margin-top: 4px; color: var(--text-1); }
.bn-tag { font-size: 9px; letter-spacing: 0.2em; color: var(--violet); margin-top: 4px; }

.mt5-cluster { margin-top: 12px; }
.mt5-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,143,0,0.08), rgba(230,81,0,0.04));
  border: 1px solid rgba(255,143,0,0.3);
  border-radius: var(--r-sm);
}
.mt5-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF8F00, #E65100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700;
  color: white;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.mt5-name { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.mt5-sub { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.mt5-state { margin-left: auto; color: var(--up); font-size: 11px; letter-spacing: 0.15em; }

@media (max-width: 880px) {
  .iso-scene { perspective: none; max-width: 100%; }
  .iso-slab { transform: none !important; padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05); }
  .iso-conn { transform: none !important; height: 24px; margin: 0 auto; }
  .bridges { grid-template-columns: 1fr; }
  .slab-icons { gap: 6px; }
  .src-chip { padding: 6px 10px; font-size: 11px; }
  .router { flex-direction: column; gap: 10px; }
  .router-arrow { transform: rotate(90deg); }
  .router-box { width: 100%; }
  .arch-stage { padding: 24px 0; }
  .mt5-box { flex-wrap: wrap; }
  .mt5-state { margin-left: 0; }
}

/* === Mobile-only hero scene fix === */
@media (max-width: 980px) {
  .hero-scene { min-height: 420px; max-width: 100%; overflow: hidden; }
  .scene-stage { transform: rotateX(8deg) rotateY(-4deg) scale(0.78); }
  .node { min-width: 180px; padding: 10px; }
  .signal-msg { font-size: 11px; }
  .parse-out { font-size: 10px; }
}
@media (max-width: 560px) {
  .hero-scene { min-height: 360px; }
  .scene-stage { transform: rotateX(8deg) rotateY(-4deg) scale(0.6); }
  .hero-copy .lead { font-size: 16px; }
  .proof-item .big { font-size: 18px; }
  .proof-item { font-size: 11px; }
  .hero-cta .btn { width: 100%; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2s infinite;
  text-decoration: none;
}
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.6); } 50% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); } }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } }

/* Contact section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info .ci-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 12px;
  text-decoration: none; color: inherit; transition: border-color .15s;
}
.contact-info .ci-item:hover { border-color: var(--border-hi); }
.contact-info .ci-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad-brand-soft); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ci-l { font-size: 11px; font-family: var(--f-mono); letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }
.ci-v { font-family: var(--f-display); font-weight: 500; margin-top: 2px; word-break: break-all; }
.contact-form { padding: 28px; background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--border-hi); border-radius: var(--r-lg); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 540px) { .cf-row { grid-template-columns: 1fr; } }
.contact-form .input { margin-bottom: 14px; }
.contact-form textarea.input { min-height: 120px; resize: vertical; font-family: inherit; }
.cf-success {
  display: none; padding: 14px; margin-top: 12px;
  background: rgba(0,230,168,0.08); border: 1px solid rgba(0,230,168,0.3);
  border-radius: var(--r-sm); color: var(--up); font-size: 14px;
}
.cf-success.on { display: block; }

/* ============ STATS ============ */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(123,75,255,0.04), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-n { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-family: var(--f-display); }
.stat-l { color: var(--text-2); margin-top: 8px; font-size: 14px; }

/* ============ PRICING ============ */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  margin-top: 32px;
}
.bt-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.bt-btn.active { background: var(--grad-brand); color: white; box-shadow: 0 0 20px rgba(123,75,255,0.35); }
.bt-save {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(0,230,168,0.2);
  color: var(--up);
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.bt-btn.active .bt-save { background: rgba(255,255,255,0.2); color: white; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } }
.tier { display: flex; flex-direction: column; padding: 32px; position: relative; }
.tier.featured {
  transform: translateY(-12px);
  border-color: rgba(123,75,255,0.4);
  background: linear-gradient(180deg, rgba(30,20,55,0.5), rgba(10,12,20,0.9));
  box-shadow: 0 30px 80px rgba(123,75,255,0.18);
}
@media (max-width: 960px) { .tier.featured { transform: none; } }
/* The card sets overflow:hidden for its sheen, which was clipping the ribbon
   that deliberately straddles the top edge, it showed as a half-cut pill.
   Let the featured card overflow so the ribbon is whole. */
.tier.featured { overflow: visible; }
.featured-ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  background: var(--grad-brand);
  color: white;
  border-radius: var(--r-full);
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(123,75,255,0.35);
}
.tier-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tier-name { font-family: var(--f-display); font-size: 24px; font-weight: 600; }
.tier-tag { font-size: 10px; letter-spacing: 0.18em; color: var(--text-3); }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.tier-price .price { font-family: var(--f-display); font-size: 56px; font-weight: 600; letter-spacing: -0.03em; }
.tier-price .per { color: var(--text-2); font-size: 14px; }
.tier-yearly { font-size: 11px; color: var(--text-3); margin-bottom: 24px; }
.tier-cta { width: 100%; margin-bottom: 28px; }
.tier-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tier-feats li { font-size: 14px; color: var(--text-1); }
.tier-feats li strong { color: var(--text-0); }
.tier-feats li.dim { color: var(--text-3); }

/* ============ FAQ ============ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--border-hi); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-2);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--violet); }
.faq-body { padding-top: 14px; color: var(--text-1); font-size: 14px; line-height: 1.6; }
.faq-body code { font-family: var(--f-mono); background: var(--bg-2); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

/* ============ CONTACT ============ */
.contact { padding-top: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ci-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.ci-item:hover { border-color: var(--border-hi); transform: translateY(-1px); }
.ci-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ci-l { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--text-3); text-transform: uppercase; }
.ci-v { font-family: var(--f-display); font-weight: 500; font-size: 15px; margin-top: 2px; }
.contact-form {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.contact-form textarea.input { min-height: 120px; resize: vertical; font-family: var(--f-body); }
.cf-success {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: rgba(0,230,168,0.08);
  border: 1px solid rgba(0,230,168,0.3);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--up);
}
.cf-success.on { display: block; }

/* ============ FINAL CTA ============ */
.final-cta { padding-bottom: 160px; }
.final-box {
  position: relative;
  text-align: center;
  padding: 80px 32px;
  background: linear-gradient(180deg, rgba(30,20,55,0.5), rgba(10,12,20,0.8));
  border: 1px solid rgba(123,75,255,0.3);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.final-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(79,195,247,0.2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(185,75,255,0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ============ FOOTER ============ */
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-title {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-0);
}
.foot-grid a {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  padding: 4px 0;
  transition: color .15s;
}
.foot-grid a:hover { color: var(--text-0); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  color: var(--text-3);
  font-size: 12px;
}
.foot-bottom .dot-small {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 8px var(--up);
  margin-left: 4px;
}

/* ============ REVIEWS ============ */
.reviews {
  padding: 120px 0;
  position: relative;
}
.reviews .section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.reviews .section-head p { color: var(--text-2); margin-top: 16px; }

.rv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
@media (max-width: 760px) { .rv-grid { grid-template-columns: 1fr; } }

.rv-card {
  position: relative;
  padding: 28px 26px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, background .2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(0,209,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.rv-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}
.rv-card:hover::before { opacity: 1; }
.rv-card-wide { grid-column: span 2; }
@media (max-width: 760px) { .rv-card-wide { grid-column: span 1; } }

.rv-quote-mark {
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 0.6;
  color: var(--cyan);
  opacity: 0.35;
  margin-bottom: 12px;
  font-weight: 700;
}
.rv-quote {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-0);
  margin: 0 0 14px;
  font-weight: 400;
  text-wrap: pretty;
  flex-grow: 1;
}
.rv-card-wide .rv-quote { font-size: 22px; }
.rv-quote-tr {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 14px;
  font-style: italic;
  border-left: 2px solid var(--border-hi);
  padding-left: 10px;
}

.rv-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.rv-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.rv-meta { flex: 1; min-width: 0; }
.rv-name { font-weight: 600; font-size: 14px; color: var(--text-0); }
.rv-handle { font-size: 11px; color: var(--text-3); letter-spacing: 0.06em; margin-top: 2px; }
.rv-stars { color: #FFB800; font-size: 13px; letter-spacing: 1px; flex-shrink: 0; }

.rv-tap {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s, color .2s;
}
.rv-card:hover .rv-tap {
  opacity: 1;
  transform: translateX(0);
  color: var(--cyan);
}

.rv-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  background: rgba(123,75,255,0.15);
  border: 1px solid rgba(123,75,255,0.4);
  color: var(--violet);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.rv-card:has(.rv-badge):hover .rv-tap { opacity: 0; }

/* Stats row */
.rv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr) ;
  align-items: center;
  gap: 0;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.rv-stat { text-align: center; }
.rv-stat-num {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.rv-stat-stars { color: #FFB800; font-size: 14px; letter-spacing: 2px; margin-top: 6px; }
.rv-stat-l { font-size: 11px; letter-spacing: 0.1em; color: var(--text-3); margin-top: 8px; text-transform: uppercase; }
.rv-stat-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--border-hi), transparent);
  justify-self: center;
  position: absolute;
}
.rv-stats { position: relative; }
.rv-stats > .rv-stat-divider:nth-of-type(1) { left: 25%; }
.rv-stats > .rv-stat-divider:nth-of-type(2) { left: 50%; }
.rv-stats > .rv-stat-divider:nth-of-type(3) { left: 75%; }
@media (max-width: 760px) {
  .rv-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .rv-stat-divider { display: none; }
}

/* Lightbox */
.rv-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  animation: rv-fade .2s ease-out;
}
.rv-lightbox.open { display: flex; }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }

.rv-lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 100%;
}
.rv-lb-frame {
  position: relative;
  max-height: calc(100vh - 140px);
  background: #1a1a1f;
  border-radius: 28px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,209,255,0.1);
  animation: rv-pop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes rv-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.rv-lb-img {
  display: block;
  max-height: calc(100vh - 156px);
  max-width: 100%;
  border-radius: 22px;
  object-fit: contain;
}
.rv-lb-caption {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  text-transform: uppercase;
}

.rv-lb-close, .rv-lb-nav {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-0);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  transition: background .15s, transform .15s, border-color .15s;
}
.rv-lb-close:hover, .rv-lb-nav:hover {
  background: rgba(0,209,255,0.18);
  border-color: var(--cyan);
  transform: scale(1.05);
}
.rv-lb-close {
  top: 24px;
  right: 24px;
  width: 44px; height: 44px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.rv-lb-nav {
  top: 50%;
  width: 52px; height: 52px;
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
  transform: translateY(-50%);
}
.rv-lb-nav:hover { transform: translateY(-50%) scale(1.05); }
.rv-lb-prev { left: 24px; }
.rv-lb-next { right: 24px; }
@media (max-width: 640px) {
  .rv-lb-prev { left: 8px; }
  .rv-lb-next { right: 8px; }
  .rv-lb-nav { width: 42px; height: 42px; font-size: 28px; }
}
