/* ============================================================
   INTRO DELUXE — 3D / parallax / interaction layer
   Scoped to #intro-view. Reveal "hidden" states are gated behind
   #intro-view.fx-ready so content stays visible if JS never runs.
   ============================================================ */

#intro-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #60a5fa, #a855f7 50%, #ec4899);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
  z-index: 60;
  pointer-events: none;
  will-change: transform;
}

/* ---- Scroll reveal ---- */
#intro-view.fx-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
#intro-view.fx-ready [data-reveal="left"]  { transform: translate3d(-60px, 0, 0); }
#intro-view.fx-ready [data-reveal="right"] { transform: translate3d(60px, 0, 0); }
#intro-view.fx-ready [data-reveal="scale"] { transform: scale(0.9); }
#intro-view.fx-ready [data-reveal].revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ---- 3D tilt ---- */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  position: relative;
  /* Stabilize compositing so per-frame tilt updates don't flicker. */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tilt-3d.is-tilting { transition: transform 0.08s linear; }
.tilt-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 0%),
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tilt-3d.is-tilting::after { opacity: 1; }

/* lift inner mock layers for depth */
.depth-1 { transform: translateZ(28px); }
.depth-2 { transform: translateZ(55px); }
.depth-3 { transform: translateZ(85px); }

/* ---- Spotlight hover (cursor-tracking glow) ---- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(168, 85, 247, 0.18),
    transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}
.spotlight:hover::before { opacity: 1; }

/* ---- Shine sweep ---- */
.shine { position: relative; overflow: hidden; }
.shine::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.shine:hover::before { left: 130%; }

/* ===================== HERO upgrades ===================== */
.promo-hero { position: relative; perspective: 1200px; }

.promo-hero h2 .highlight-text,
.hero-gradient-animated {
  background: linear-gradient(110deg, #60a5fa, #a855f7, #ec4899, #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-gradient-pan 8s ease infinite;
}
@keyframes hero-gradient-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.word-rotator { display: inline-grid; vertical-align: bottom; }
.word-rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.6em) rotateX(-90deg);
  transform-origin: bottom;
  animation: word-cycle 9s infinite;
}
.word-rotator > span:nth-child(1) { animation-delay: 0s; }
.word-rotator > span:nth-child(2) { animation-delay: 3s; }
.word-rotator > span:nth-child(3) { animation-delay: 6s; }
@keyframes word-cycle {
  0%, 2%    { opacity: 0; transform: translateY(0.6em) rotateX(-90deg); }
  6%, 30%   { opacity: 1; transform: translateY(0) rotateX(0deg); }
  36%, 100% { opacity: 0; transform: translateY(-0.6em) rotateX(90deg); }
}

/* floating decorative orbs behind hero (mouse-parallax) */
.hero-deco { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 0; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 6px 18px rgba(255, 255, 255, 0.25),
    inset 0 -10px 24px rgba(0, 0, 0, 0.4),
    0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  transform: translate3d(
    calc(var(--px, 0) * var(--depth, 1) * 1px),
    calc(var(--py, 0) * var(--depth, 1) * 1px), 0);
  transition: transform 0.25s ease-out;
  animation: orb-float var(--float, 10s) ease-in-out infinite alternate;
}
@keyframes orb-float {
  from { translate: 0 0; }
  to   { translate: 0 -22px; }
}
.hero-content-3d { position: relative; z-index: 2; }

.premium-btn {
  background: linear-gradient(135deg, #6366f1, #a855f7 55%, #ec4899);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.45);
  position: relative;
  animation: hero-gradient-pan 6s ease infinite;
  will-change: transform;
}
.premium-btn:hover { box-shadow: 0 16px 44px rgba(168, 85, 247, 0.65); }

/* ===================== REGION MARQUEE ===================== */
.region-marquee {
  position: relative;
  overflow: hidden;
  margin: 1rem auto 5rem;
  max-width: 1100px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.region-track { display: flex; gap: 1rem; width: max-content; animation: region-scroll 32s linear infinite; }
.region-marquee:hover .region-track { animation-play-state: paused; }
@keyframes region-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.3rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.region-chip .flag { font-size: 1.25rem; }

/* ===================== STATS (count-up) ===================== */
.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 7rem;
  padding: 0 1.5rem;
  perspective: 1000px;
}
@media (max-width: 768px) { .intro-stats { grid-template-columns: repeat(2, 1fr); } }
.stat-3d {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.stat-3d .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-3d .stat-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}

/* ===================== PROCESS ===================== */
.process-step-card { perspective: 800px; }
.process-icon { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.process-step-card:hover .process-icon { transform: scale(1.15) rotate(-8deg); }

/* ===================== FAQ accordion ===================== */
.faq-item {
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.faq-item:hover { border-color: rgba(168, 85, 247, 0.35); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: #a855f7;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}
.faq-item.open .faq-a { max-height: 260px; opacity: 1; margin-top: 0.75rem; }

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  #intro-view.fx-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .word-rotator > span,
  .hero-orb,
  .region-track,
  .hero-gradient-animated,
  .promo-hero h2 .highlight-text,
  .premium-btn { animation: none !important; }
  .word-rotator > span:nth-child(1) { opacity: 1; transform: none; }
  .word-rotator > span:nth-child(2),
  .word-rotator > span:nth-child(3) { display: none; }
  .tilt-3d { transform: none !important; }
  .float-card, .sc-bar, .sc-live-dot, .sc-feed-row, .ai-spark { animation: none !important; }
}

/* ============================================================
   INTRO DELUXE v2 — hero product showcase, bento grid, testimonials
   ============================================================ */

/* shared section scaffolding */
.intro-section { max-width: 1140px; margin: 0 auto 8rem; padding: 0 1.5rem; }
.intro-section.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 1.1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 99px;
  background: rgba(168, 85, 247, 0.08);
}
.intro-h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
.intro-h2 .grad {
  background: linear-gradient(110deg, #60a5fa, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro-sub { font-size: 1.12rem; color: #a1a1aa; line-height: 1.65; max-width: 640px; }
.intro-section.center .intro-sub { margin: 0 auto; }
@media (max-width: 768px) { .intro-h2 { font-size: 1.9rem; } }

/* ---------- HERO PRODUCT SHOWCASE ---------- */
.hero-showcase {
  position: relative;
  max-width: 1040px;
  margin: 0 auto 8rem;
  padding: 0 1.5rem;
  perspective: 1600px;
}
.showcase-panel {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(30, 27, 60, 0.92), rgba(12, 14, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  transform-style: preserve-3d;
  overflow: hidden;
}
.showcase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 70% -10%, rgba(168, 85, 247, 0.22), transparent 55%);
  pointer-events: none;
}
.sc-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.4rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1rem;
}
.sc-dot { width: 11px; height: 11px; border-radius: 50%; }
.sc-dot.r { background: #ef4444; } .sc-dot.y { background: #eab308; } .sc-dot.g { background: #22c55e; }
.sc-urlbar {
  margin-left: 0.6rem;
  flex: 1;
  max-width: 320px;
  height: 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center;
  padding: 0 0.7rem;
  font-size: 0.7rem; color: #94a3b8; gap: 0.4rem;
}
.sc-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: #f87171;
}
.sc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: sc-pulse 1.4s ease-in-out infinite; }
@keyframes sc-pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(239,68,68,0); } }

.sc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.9rem; }
@media (max-width: 680px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem;
}
.sc-card-title { font-size: 0.78rem; font-weight: 700; color: #cbd5e1; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.45rem; }
.sc-card-title .tag { margin-left: auto; font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(96,165,250,0.18); color: #93c5fd; }

/* live feed rows */
.sc-feed-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); opacity: 0; animation: sc-row-in 0.6s ease forwards; }
.sc-feed-row:nth-child(1) { animation-delay: 0.2s; }
.sc-feed-row:nth-child(2) { animation-delay: 0.45s; }
.sc-feed-row:nth-child(3) { animation-delay: 0.7s; }
.sc-feed-row:nth-child(4) { animation-delay: 0.95s; }
.sc-feed-row:last-child { border-bottom: none; }
@keyframes sc-row-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
.sc-flag { font-size: 1.05rem; flex-shrink: 0; }
.sc-row-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sc-row-bars i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.13); }
.sc-row-bars i:last-child { width: 55%; background: rgba(255,255,255,0.07); }
.sc-row-new { font-size: 0.55rem; font-weight: 800; color: #34d399; border: 1px solid rgba(52,211,153,0.4); border-radius: 4px; padding: 1px 4px; }

/* AI insight card with bar chart */
.sc-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding-top: 0.3rem; }
.sc-bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #a855f7, #6366f1);
  transform: scaleY(0.05);
  transform-origin: bottom;
  animation: sc-bar-grow 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sc-bar:nth-child(1) { --h: 0.45; animation-delay: 0.3s; }
.sc-bar:nth-child(2) { --h: 0.7; animation-delay: 0.4s; }
.sc-bar:nth-child(3) { --h: 0.55; animation-delay: 0.5s; }
.sc-bar:nth-child(4) { --h: 0.9; animation-delay: 0.6s; background: linear-gradient(180deg, #ec4899, #a855f7); }
.sc-bar:nth-child(5) { --h: 0.65; animation-delay: 0.7s; }
.sc-bar:nth-child(6) { --h: 1; animation-delay: 0.8s; background: linear-gradient(180deg, #60a5fa, #22d3ee); }
@keyframes sc-bar-grow { to { transform: scaleY(var(--h, 1)); } }
.ai-summary { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 6px; }
.ai-summary i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.ai-summary i:nth-child(2) { width: 80%; }
.ai-summary i:nth-child(3) { width: 60%; background: rgba(255,255,255,0.06); }
.ai-spark { display: inline-block; animation: ai-twinkle 2.2s ease-in-out infinite; }
@keyframes ai-twinkle { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { font-size: 0.68rem; font-weight: 600; color: #c4b5fd; background: rgba(168,85,247,0.14); border: 1px solid rgba(168,85,247,0.28); border-radius: 99px; padding: 4px 10px; }

/* floating cards around the showcase */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  background: rgba(20, 22, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem; font-weight: 600; color: #e2e8f0;
  white-space: nowrap;
  z-index: 3;
  transform: translate3d(calc(var(--px,0)*var(--depth,1)*1px), calc(var(--py,0)*var(--depth,1)*1px), 0);
  transition: transform 0.25s ease-out;
  animation: orb-float var(--float, 9s) ease-in-out infinite alternate;
}
.float-card .fc-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; }
.float-card.fc-1 { top: -22px; left: 4%; --depth: 2.6; --float: 8s; }
.float-card.fc-2 { top: 30%; right: -10px; --depth: 3.4; --float: 7s; }
.float-card.fc-3 { bottom: -20px; left: 16%; --depth: 2; --float: 10s; }
.float-card.fc-4 { bottom: 22%; left: -14px; --depth: 3; --float: 9s; }
@media (max-width: 760px) { .float-card { display: none; } }

/* ---------- BENTO GRID ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}
@media (max-width: 860px) { .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }
.bento-card {
  position: relative;
  border-radius: 20px;
  padding: 1.6rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.bento-card:hover { transform: translateY(-6px); border-color: rgba(168,85,247,0.4); }
.bento-card.span-2 { grid-column: span 2; }
@media (max-width: 560px) { .bento-card.span-2 { grid-column: span 1; } }
.bento-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -60px;
  background: radial-gradient(circle, var(--glow, rgba(168,85,247,0.25)), transparent 70%);
  pointer-events: none;
}
.bento-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--ico-bg, rgba(168,85,247,0.16));
  border: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 1;
}
.bento-title { font-size: 1.2rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.bento-desc { font-size: 0.95rem; color: #9ca3af; line-height: 1.55; position: relative; z-index: 1; }
.bento-visual { margin-top: 1.1rem; position: relative; z-index: 1; }
/* mini globe ring visual */
.mini-globe { width: 96px; height: 96px; border-radius: 50%; position: relative; margin: 0.5rem auto 0; background: radial-gradient(circle at 35% 30%, rgba(96,165,250,0.5), rgba(99,102,241,0.15) 60%, transparent 70%); border: 1px solid rgba(96,165,250,0.4); }
.mini-globe::before, .mini-globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); }
.mini-globe::before { transform: rotateZ(60deg) scaleX(0.4); }
.mini-globe::after { transform: rotateZ(-60deg) scaleX(0.4); }
/* mini timeline visual */
.mini-timeline { display: flex; align-items: center; gap: 0; }
.mini-timeline .node { width: 12px; height: 12px; border-radius: 50%; background: #a855f7; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(168,85,247,0.18); }
.mini-timeline .line { flex: 1; height: 2px; background: linear-gradient(90deg, #a855f7, rgba(168,85,247,0.2)); }
.mini-timeline .node.dim { background: rgba(255,255,255,0.25); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
/* stacked docs (dedup) */
.mini-docs { position: relative; height: 60px; }
.mini-docs span { position: absolute; width: 46px; height: 56px; border-radius: 7px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); }
.mini-docs span:nth-child(1) { left: 0; transform: rotate(-8deg); }
.mini-docs span:nth-child(2) { left: 22px; transform: rotate(4deg); }
.mini-docs span:nth-child(3) { left: 44px; transform: rotate(-3deg); background: linear-gradient(160deg, rgba(52,211,153,0.3), rgba(52,211,153,0.05)); border-color: rgba(52,211,153,0.4); }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  border-radius: 18px;
  padding: 1.8rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}
.testi-stars { color: #fbbf24; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.testi-quote { font-size: 1rem; color: #e2e8f0; line-height: 1.6; margin-bottom: 1.4rem; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1rem; flex-shrink: 0; }
.testi-name { font-size: 0.92rem; font-weight: 700; color: #f1f5f9; }
.testi-role { font-size: 0.8rem; color: #94a3b8; }

/* ============================================================
   BACKGROUND FX — richer aurora (beams, stars, particles, grid)
   Layers live inside .aurora-bg (fixed, oversized). They inherit its
   scroll-driven drift/rotation for extra parallax life.
   ============================================================ */

/* Richer base: deeper indigo core, still fading to #0b1020 at the
   corners so the rotating-aurora wedge fix stays intact. */
#intro-view {
  background: radial-gradient(ellipse at 50% -12%, #1d1747 0%, #130f31 42%, #0b1020 100%);
}

/* Punchier, more saturated blobs */
.aurora-blob { filter: blur(85px) saturate(1.45); opacity: 0.62; }
.aurora-blob-4 { opacity: 0.5; }
.aurora-blob-5 { opacity: 0.55; }

/* ---- Rotating light beams (god-rays) ---- */
.fx-beams {
  position: absolute;
  inset: -10%;
  background: conic-gradient(from 0deg at 50% 42%,
    transparent 0deg, rgba(168,85,247,0.14) 9deg, transparent 20deg,
    transparent 52deg, rgba(96,165,250,0.12) 60deg, transparent 72deg,
    transparent 150deg, rgba(236,72,153,0.12) 160deg, transparent 172deg,
    transparent 250deg, rgba(34,211,238,0.10) 260deg, transparent 272deg);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: fx-beam-spin 46s linear infinite;
  will-change: transform;
}
@keyframes fx-beam-spin { to { transform: rotate(360deg); } }

/* ---- Twinkling starfield (tiled) ---- */
.fx-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.4px 1.4px at 32% 62%, rgba(199,210,254,0.85), transparent),
    radial-gradient(1.2px 1.2px at 55% 28%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.8px 1.8px at 70% 75%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 85% 40%, rgba(216,180,254,0.8), transparent),
    radial-gradient(1.5px 1.5px at 44% 88%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.3px 1.3px at 92% 12%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.1px 1.1px at 8% 80%, rgba(186,230,253,0.8), transparent);
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.5;
  animation: fx-twinkle 5.5s ease-in-out infinite;
}
.fx-stars-2 {
  background-size: 500px 500px;
  background-position: 140px 60px;
  opacity: 0.35;
  animation: fx-twinkle 8s ease-in-out infinite reverse;
}
@keyframes fx-twinkle { 0%,100% { opacity: 0.55; } 50% { opacity: 0.2; } }

/* ---- Drifting glow particles (fireflies) ---- */
.fx-particles { position: absolute; inset: 0; }
.fx-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 8px 2px rgba(168,85,247,0.7);
  opacity: 0.7;
  animation: fx-drift 14s ease-in-out infinite;
}
.fx-particles span:nth-child(1)  { left: 8%;  top: 70%; --dx: 30px;  --dy: -60px; animation-duration: 16s; animation-delay: 0s;  }
.fx-particles span:nth-child(2)  { left: 18%; top: 82%; --dx: -20px; --dy: -80px; animation-duration: 19s; animation-delay: 2s;  background: rgba(196,181,253,0.9); box-shadow: 0 0 8px 2px rgba(96,165,250,0.7); }
.fx-particles span:nth-child(3)  { left: 27%; top: 60%; --dx: 40px;  --dy: -50px; animation-duration: 13s; animation-delay: 1s;  }
.fx-particles span:nth-child(4)  { left: 38%; top: 78%; --dx: -30px; --dy: -70px; animation-duration: 21s; animation-delay: 4s;  }
.fx-particles span:nth-child(5)  { left: 47%; top: 66%; --dx: 25px;  --dy: -90px; animation-duration: 17s; animation-delay: 0.5s;background: rgba(244,114,182,0.9); box-shadow: 0 0 8px 2px rgba(236,72,153,0.7); }
.fx-particles span:nth-child(6)  { left: 56%; top: 84%; --dx: -35px; --dy: -55px; animation-duration: 15s; animation-delay: 3s;  }
.fx-particles span:nth-child(7)  { left: 64%; top: 58%; --dx: 20px;  --dy: -75px; animation-duration: 20s; animation-delay: 2.5s;}
.fx-particles span:nth-child(8)  { left: 72%; top: 80%; --dx: -25px; --dy: -65px; animation-duration: 14s; animation-delay: 1.5s;background: rgba(165,243,252,0.9); box-shadow: 0 0 8px 2px rgba(34,211,238,0.7); }
.fx-particles span:nth-child(9)  { left: 80%; top: 64%; --dx: 35px;  --dy: -85px; animation-duration: 18s; animation-delay: 5s;  }
.fx-particles span:nth-child(10) { left: 88%; top: 76%; --dx: -20px; --dy: -60px; animation-duration: 22s; animation-delay: 0s;  }
.fx-particles span:nth-child(11) { left: 14%; top: 45%; --dx: 28px;  --dy: -70px; animation-duration: 16s; animation-delay: 3.5s;}
.fx-particles span:nth-child(12) { left: 33%; top: 38%; --dx: -32px; --dy: -50px; animation-duration: 19s; animation-delay: 2s;  background: rgba(196,181,253,0.9); }
.fx-particles span:nth-child(13) { left: 60%; top: 42%; --dx: 22px;  --dy: -80px; animation-duration: 15s; animation-delay: 4.5s;}
.fx-particles span:nth-child(14) { left: 76%; top: 36%; --dx: -28px; --dy: -65px; animation-duration: 21s; animation-delay: 1s;  }
.fx-particles span:nth-child(15) { left: 90%; top: 50%; --dx: 18px;  --dy: -90px; animation-duration: 17s; animation-delay: 3s;  background: rgba(244,114,182,0.9); }
@keyframes fx-drift {
  0%   { transform: translate(0, 0); opacity: 0; }
  15%  { opacity: 0.8; }
  85%  { opacity: 0.8; }
  100% { transform: translate(var(--dx, 20px), var(--dy, -70px)); opacity: 0; }
}

/* ---- Faint perspective grid for depth ---- */
.fx-grid {
  position: absolute;
  left: -20%; right: -20%; bottom: 0;
  height: 45%;
  background-image:
    linear-gradient(rgba(139,92,246,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(420px) rotateX(68deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  opacity: 0.5;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .fx-beams, .fx-stars, .fx-stars-2, .fx-particles span { animation: none !important; }
  .fx-particles span { opacity: 0.6; }
}

/* ============================================================
   FLICKER-FREE HOVER — pure CSS, no per-frame mouse tracking.
   Replaces the removed JS tilt / spotlight / magnetic / parallax.
   Hover is a single one-shot transition (lift + soft glow), so the
   browser never re-runs hit-testing or recomposites the animated
   background every frame.
   ============================================================ */

/* The old tilt elements now just lift gently on hover. preserve-3d /
   backface-visibility are harmless leftovers; no JS drives them. */
.tilt-3d {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
}
.tilt-3d:hover {
  transform: translateY(-6px);
}
/* Soft static sheen on hover (glare gradient sits at its default top-
   center anchor; no JS updates --gx/--gy). */
.tilt-3d:hover::after { opacity: 1; }

/* Spotlight glow now renders statically (centered) on hover — its
   --mx/--my keep their default 50% values since JS no longer updates
   them. Pleasant and completely stable. */

/* Showcase panel: a touch more lift since it's the centerpiece. */
.showcase-panel.tilt-3d:hover { transform: translateY(-8px); }

/* Floating cards / hero orbs no longer parallax-track the mouse; they
   simply keep their gentle float keyframes (transform-only, cheap). */

/* ============================================================
   v3 FLAT RESTYLE — completely static, flicker-proof design.
   The animated aurora (large blurred + mix-blend-mode: screen layers,
   the #1 flicker source on Windows/Chrome) is removed entirely and
   replaced with a static gradient + dot-grid. Glass/neon surfaces
   become flat solid cards. No filter:blur, no mix-blend-mode, no
   backdrop-filter, no background animation anywhere.
   ============================================================ */

/* --- Kill the animated background outright --- */
#intro-view .aurora-bg { display: none !important; }

/* Nuke every backdrop-filter in the intro (incl. inline ones on the mock
   dashboards) — re-sampling a blurred backdrop on hover is a flicker source. */
#intro-view *,
#intro-view *::before,
#intro-view *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* --- Static, textured background --- */
#intro-view {
  background:
    radial-gradient(1000px 620px at 50% -8%, #1a1733 0%, #0e0e18 46%, #08080e 100%) !important;
}
#intro-view::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 0%, transparent 78%);
}
/* one calm static accent glow up top — pure gradient, no blur/animation */
#intro-view::after {
  content: "";
  position: fixed;
  top: -14%; left: 50%;
  width: 760px; height: 520px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(124, 92, 246, 0.20) 0%, rgba(124, 92, 246, 0) 68%);
}

/* --- Remove leftover decorative motion --- */
.hero-orb { display: none !important; }
.float-card { animation: none !important; }
.premium-btn,
.promo-hero h2 .highlight-text,
.hero-gradient-animated,
.intro-h2 .grad { animation: none !important; }
.premium-btn {
  background: linear-gradient(135deg, #6366f1, #a855f7) !important;
  background-size: auto !important;
}

/* --- Flat solid surfaces (no glass, no glow blobs) --- */
.stat-3d,
.bento-card,
.testi-card,
.showcase-panel,
.float-card,
.sc-card {
  background: #14141d !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}
.sc-card { background: #191922 !important; }
.bento-card::after,
.showcase-panel::before { display: none !important; }

/* slightly brighter section surfaces for the inline-styled feature blocks */
.feature-block,
.feature-block.reverse {
  background: #14141d !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* --- Stable, crisp hover (border lights up + gentle lift) --- */
.stat-3d, .bento-card, .testi-card, .feature-block, .process-step-card, .faq-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.stat-3d:hover,
.bento-card:hover,
.testi-card:hover,
.process-step-card:hover,
.showcase-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5) !important;
}
.feature-block:hover { border-color: rgba(139, 92, 246, 0.5) !important; }

/* keep content above the fixed background pseudo-elements */
#promo-banner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .ai-spark, .sc-live-dot, .sc-bar, .sc-feed-row, .word-rotator > span { animation: none !important; }
}
