/* ==========================================================================
   AI Crypto Spot Hunter — landing page
   Dark theme · gold (Gold plan) & purple (Alpha Gold) accents
   ========================================================================== */

:root {
  --bg: #0a0e17;
  --bg-alt: #0e1424;
  --card: #121a2e;
  --card-border: #1f2a45;
  --text: #e8ecf4;
  --muted: #9aa5bd;
  --gold: #f0b90b;
  --gold-soft: rgba(240, 185, 11, 0.12);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.12);
  --green: #2ebd85;
  --radius: 14px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand { font-family: "Sora", "Inter", system-ui, sans-serif; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; margin-top: 34px; }

.grad-gold {
  background: linear-gradient(120deg, #f7d354, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-purple {
  background: linear-gradient(120deg, #c084fc, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-teal {
  background: linear-gradient(120deg, #5eead4, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-block { display: block; text-align: center; margin-top: 22px; }

.btn-primary { background: var(--gold); color: #141414; box-shadow: 0 6px 24px rgba(240, 185, 11, 0.25); }
.btn-primary:hover { background: #ffcb2e; }
.btn-gold { background: var(--gold); color: #141414; }
.btn-alpha { background: var(--purple); color: #fff; box-shadow: 0 6px 24px rgba(168, 85, 247, 0.3); }
.btn-ghost { background: transparent; border-color: var(--card-border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--gold); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--card-border); border-radius: 8px;
  color: var(--text); font-size: 1.3rem; padding: 4px 12px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(240, 185, 11, 0.10), transparent),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(168, 85, 247, 0.12), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-copy .pill { margin-bottom: 16px; }
.hero-markets-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.market-divider {
  color: #475569;
  font-size: 0.8rem;
}
.market-tag-sub {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; font-weight: 800; }
.hero-subhead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.35;
}
.lead { margin: 16px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chips {
  list-style: none; margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-chips li {
  background: var(--card); border: 1px solid var(--card-border);
  padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-chips li b { color: var(--text); }
.risk-inline { margin-top: 22px; font-size: 0.85rem; color: #d3a4a4; }
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; text-align: center; }
.section-title.left, .section-sub.left { text-align: left; margin-left: 0; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 44px; max-width: 640px; }
.center.left { text-align: left; margin-top: 30px; }

/* Section split (copy + mascot figure) */
.section-split {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.mascot { text-align: center; }
.mascot img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.12);
  object-fit: contain;
}
.mascot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }

/* Cards with media */
.card-media { padding: 0; overflow: hidden; }
.card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--card-border);
}
.card-media h3, .card-media ul { margin-left: 22px; margin-right: 22px; }
.card-media .card-tags { margin: 18px 22px 6px; }
.card-media .card-tags + h3 { margin-top: 6px; }
.card-media h3 { margin-top: 18px; }
.card-media ul { margin-bottom: 24px; }
.card-media p { margin-left: 22px; margin-right: 22px; margin-bottom: 24px; }
.mb-2 { margin-bottom: 8px; }

.tech-grid { margin-bottom: 40px; }

/* Plan card mascots */
.plan-media {
  margin: -10px -6px 16px;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(240, 185, 11, 0.14), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.plan-alpha .plan-media {
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(168, 85, 247, 0.16), transparent);
}
.plan-media img {
  max-height: 260px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 0.95rem; }
.card-ico { font-size: 1.9rem; margin-bottom: 12px; }
.card-gold { border-color: rgba(240, 185, 11, 0.4); }
.card-purple { border-color: rgba(168, 85, 247, 0.4); }

.ticks { list-style: none; }
.ticks li { padding: 5px 0; color: var(--muted); font-size: 0.95rem; }

.note { margin-top: 22px; font-size: 0.86rem; color: var(--muted); text-align: center; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 40px; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--card-border); font-size: 0.93rem; }
.compare thead th { background: rgba(240, 185, 11, 0.08); font-family: "Sora", sans-serif; }
.compare th:nth-child(3), .compare td:nth-child(3) { color: var(--gold); }
.compare th:nth-child(4), .compare td:nth-child(4) { color: var(--purple); }
.compare thead th:nth-child(4) { background: rgba(168, 85, 247, 0.08); }

/* ---------- Plans ---------- */
.plan { position: relative; padding: 34px 30px; }
.plan-gold { border-color: rgba(240, 185, 11, 0.45); }
.plan-alpha { border-color: rgba(168, 85, 247, 0.5); }
.ribbon {
  position: absolute; top: -13px; right: 22px;
  background: var(--purple); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}
.ribbon-gold {
  background: var(--gold);
  color: #141414;
  box-shadow: 0 4px 14px rgba(240, 185, 11, 0.4);
}
.btn-icon {
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}
.plan h3 { font-size: 1.5rem; }
.plan-tag { color: var(--muted); font-size: 0.9rem; margin: 4px 0 14px; }
.plan-desc { color: var(--text); font-size: 0.94rem; margin-bottom: 16px; line-height: 1.55; }
.upgrade-note { font-size: 0.84rem; color: #c084fc; margin-top: 12px; text-align: center; }

.badge-live {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.35);
  vertical-align: middle;
  margin-left: 8px;
}
.card-lead { color: var(--text); font-size: 0.95rem; margin-bottom: 14px; font-weight: 500; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
/* ---------- Coming soon panel ---------- */
.soon-panel {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--purple-soft), transparent 60%);
  border: 1px dashed rgba(168, 85, 247, 0.5);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.soon-panel p { color: var(--muted); margin-top: 8px; max-width: 720px; font-size: 0.95rem; }

/* ---------- Steps ---------- */
.step { text-align: left; }
.step-num {
  display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center;
  background: var(--gold); color: #141414; font-weight: 800; border-radius: 50%;
  margin-bottom: 14px; font-family: "Sora", sans-serif;
}
.step a { font-weight: 600; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 4px 20px;
}
summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 0 16px; font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 70px 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%, rgba(240, 185, 11, 0.14), transparent),
    var(--bg-alt);
  text-align: center;
}
.cta-band p { color: var(--muted); margin: 10px 0 26px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--card-border); padding: 56px 0 34px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { margin-bottom: 12px; font-size: 0.95rem; }
.footer-grid a { display: block; color: var(--muted); font-size: 0.9rem; padding: 3px 0; }
.footer-grid a:hover { color: var(--gold); }
.disclaimer {
  border-top: 1px solid var(--card-border);
  padding-top: 22px; font-size: 0.82rem; color: var(--muted); line-height: 1.6;
}

/* ---------- Risk band (F04) ---------- */
.risk-band {
  padding: 70px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
}
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.risk-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}
.risk-grid h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.risk-grid p { color: var(--muted); }

.footer-logo { height: 52px; width: auto; display: block; margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-copy .section-sub.left, .hero-copy .section-title.left { text-align: center; }
  .hero-cta, .hero-chips { justify-content: center; }
  .section-split { grid-template-columns: 1fr; }
  .mascot { order: -1; }
  .risk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--card-border);
    padding: 10px 20px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--card-border); }
  .nav-links a.btn { margin-top: 12px; border-bottom: none; text-align: center; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 60px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* v003: approved visuals, benefit-led plans and accessible navigation */
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 200; background: var(--gold); color: #141414; padding: 10px 16px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid #67e8f9; outline-offset: 5px; }
.nav-links { gap: 21px; }
.nav-links a { white-space: nowrap; }
.plan { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); scroll-margin-top: 84px; }
.plan-gold { border-color: rgba(240,185,11,.45); }
.plan-alpha { border-color: rgba(168,85,247,.5); }
.plan-media { margin: -10px -6px 22px; }
.plan-media img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; }
.cta-support { color: var(--muted); font-size: .86rem; margin-top: 14px; text-align: center; }
.coming-label { display: block; color: #d8b4fe; font-weight: 700; letter-spacing: .06em; font-size: .76rem; margin-bottom: 14px; }
.pipeline-visual img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.pipeline-stages { margin-top: 26px; }
.pipeline-stages h3 { color: #67e8f9; margin-bottom: 8px; font-size: 1.05rem; }
.pipeline-stages p { color: var(--muted); }
.program-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 36px; }
.program-heading .section-title, .program-heading .section-sub { text-align: left; }
.program-heading .section-sub { margin-bottom: 0; }
.program-heading img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.final-visual { max-width: 800px; margin: 0 auto 32px; }
.final-visual img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.grid > *, .hero-grid > *, .program-heading > * { min-width: 0; }
@media (max-width: 1000px) {
  .nav-inner { height: auto; min-height: var(--nav-h); flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links { display: flex; flex-wrap: wrap; position: static; width: 100%; padding: 12px 0; }
  .js-nav .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; background: var(--bg-alt); padding: 10px 20px 18px; border-bottom: 1px solid var(--card-border); }
  .js-nav .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  html:not(.js-nav) .nav-toggle { display: none; }
}
@media (max-width: 760px) {
  .program-heading { grid-template-columns: 1fr; gap: 24px; }
  .plan-media img { width: auto; max-width: 100%; max-height: 340px; margin: auto; }
  .plan { padding: 28px 20px; }
  .compare th, .compare td { padding: 12px 10px; font-size: .82rem; }
  .btn { max-width: 100%; }
  .soon-panel { padding: 24px 20px; }
}

/* v005: concise hero hook and free-signals onboarding explanation */
.lead strong { color: var(--text); display: block; margin-bottom: 10px; font-weight: 600; }
.hero-cta-note { margin-top: 16px; max-width: 540px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
@media (max-width: 900px) { .hero-cta-note { margin-left: auto; margin-right: auto; } }

/* v007: user-initiated motion; approved responsive pictures remain the default. */
.motion-visual { position: relative; }
.motion-toggle { display: none !important; }
.scene-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #07111c; border-radius: var(--radius); }
.scene-motion[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ======================================================================
   v008 — Kimi scene choreography: SVG overlays composited over approved
   stills. 8s loops, clean seams. Animation runs only while .is-playing.
   ====================================================================== */
.scene-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  border-radius: var(--radius);
}
.is-playing .scene-fx { opacity: 1; }
.is-playing .scene-fx .fx { animation-play-state: running; }
.scene-fx .fx { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* ---------- W01 · hero: establish → energy build → scan → settle ---------- */
@keyframes w01-breathe {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  20% { opacity: 0.45; }
  45% { opacity: 0.9; transform: scale(1.06); }
  70% { opacity: 0.75; }
  85% { opacity: 0.5; transform: scale(0.97); }
}
.w01-breathe { transform-origin: 650px 158px; animation: w01-breathe 8s ease-in-out infinite; }

@keyframes w01-ring {
  0% { transform: scale(0.55); opacity: 0; }
  18% { opacity: 0.8; }
  55% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
.w01-ring { transform-origin: 650px 158px; animation: w01-ring 8s ease-out infinite; }
.w01-ring.r1 { animation-delay: 0.9s; }
.w01-ring.r2 { animation-delay: 1.8s; }

@keyframes w01-sweep {
  0%, 52% { transform: skewX(-18deg) translateX(0); opacity: 0; }
  58% { opacity: 0.85; }
  78% { transform: skewX(-18deg) translateX(1250px); opacity: 0.85; }
  84%, 100% { transform: skewX(-18deg) translateX(1250px); opacity: 0; }
}
.w01-sweep { animation: w01-sweep 8s ease-in-out infinite; }

@keyframes w01-mote {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.85; }
  60% { opacity: 0.6; }
  90%, 100% { transform: translateY(-70px); opacity: 0; }
}
.w01-mote { animation: w01-mote 8s linear infinite; }
.w01-mote.m1 { animation-delay: -1.2s; } .w01-mote.m2 { animation-delay: -2.6s; }
.w01-mote.m3 { animation-delay: -3.4s; } .w01-mote.m4 { animation-delay: -4.8s; }
.w01-mote.m5 { animation-delay: -5.6s; } .w01-mote.m6 { animation-delay: -6.9s; }

/* ---------- W02 · pipeline: scan → evaluate → validate ---------- */
@keyframes w02-stage {
  0%, 6% { opacity: 0; }
  12%, 34% { opacity: 1; }
  42%, 100% { opacity: 0.14; }
}
.w02-stage { animation: w02-stage 8s ease-in-out infinite; }
.w02-stage.s1 { animation-delay: 0s; animation-name: w02-stage-mid; }
.w02-stage.s2 { animation-name: w02-stage-late; }
@keyframes w02-stage-mid {
  0%, 32% { opacity: 0; }
  40%, 62% { opacity: 1; }
  70%, 100% { opacity: 0.14; }
}
@keyframes w02-stage-late {
  0%, 60% { opacity: 0; }
  68%, 90% { opacity: 1; }
  96%, 100% { opacity: 0.35; }
}

@keyframes w02-tab {
  0%, 100% { opacity: 0.35; }
  10%, 34% { opacity: 1; }
}
.w02-tab { animation: w02-tab 8s ease-in-out infinite; }
.w02-tab.t1 { animation-name: w02-tab-mid; }
.w02-tab.t2 { animation-name: w02-tab-late; }
@keyframes w02-tab-mid { 0%, 32% { opacity: 0.35; } 40%, 62% { opacity: 1; } 70%, 100% { opacity: 0.35; } }
@keyframes w02-tab-late { 0%, 60% { opacity: 0.35; } 68%, 90% { opacity: 1; } 100% { opacity: 0.5; } }

@keyframes w02-lens {
  0% { transform: translateX(0); opacity: 0; }
  4% { opacity: 1; }
  30% { transform: translateX(0); }
  38% { transform: translateX(320px); }
  62% { transform: translateX(320px); }
  70% { transform: translateX(630px); }
  92% { transform: translateX(630px); opacity: 1; }
  97%, 100% { transform: translateX(630px); opacity: 0; }
}
.w02-lens { animation: w02-lens 8s ease-in-out infinite; }

@keyframes w02-flow {
  0%, 8% { stroke-dashoffset: 640; opacity: 0.9; }
  70% { stroke-dashoffset: 0; opacity: 0.9; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0.45; }
}
.w02-flow { stroke-dasharray: 640; animation: w02-flow 8s ease-in-out infinite; }

@keyframes w02-dot {
  0%, 30% { opacity: 0; transform: scale(0.4); }
  38%, 88% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0.35; }
}
.w02-dot { transform-origin: center; transform-box: fill-box; animation: w02-dot 8s ease-in-out infinite; }
.w02-dot.d1 { animation-name: w02-dot-late; }
@keyframes w02-dot-late { 0%, 58% { opacity: 0; transform: scale(0.4); } 68%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0.5; } }

/* ---------- W08 · Alpha Gold: restrained violet/gold depth ---------- */
@keyframes w08-haze {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}
.w08-haze { animation: w08-haze 10s ease-in-out infinite; }

@keyframes w08-glint {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 0.95; transform: scale(1.25); }
}
.w08-glint { transform-box: fill-box; transform-origin: center; animation: w08-glint 4s ease-in-out infinite; }
.w08-glint.g1 { animation-delay: -1.3s; } .w08-glint.g2 { animation-delay: -2.7s; }

@keyframes w08-floor {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(1420px); opacity: 0; }
}
.w08-floor { animation: w08-floor 10s linear infinite; }

@keyframes w08-speck-slow {
  0% { transform: translate(0, 0); opacity: 0.2; }
  50% { opacity: 0.7; }
  100% { transform: translate(14px, -22px); opacity: 0.2; }
}
@keyframes w08-speck-fast {
  0% { transform: translate(0, 0); opacity: 0.15; }
  50% { opacity: 0.6; }
  100% { transform: translate(-18px, -30px); opacity: 0.15; }
}
.w08-speck { animation: w08-speck-slow 9s ease-in-out infinite alternate; }
.w08-speck.k1 { animation-name: w08-speck-fast; }
.w08-speck.i1 { animation-delay: -2s; } .w08-speck.i2 { animation-delay: -4s; }
.w08-speck.i3 { animation-delay: -1s; } .w08-speck.i4 { animation-delay: -5s; }
.w08-speck.i5 { animation-delay: -3s; } .w08-speck.i6 { animation-delay: -6s; }

/* ---------- W09 · referrals: sequential connection activation ---------- */
@keyframes w09-hub {
  0% { transform: scale(0.6); opacity: 0; }
  6% { opacity: 0.9; }
  30% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.w09-hub { transform-box: fill-box; transform-origin: center; animation: w09-hub 8s ease-out infinite; }
.w09-hub.h1 { animation-delay: 0.5s; }
.w09-hub.h2 { animation-delay: 1s; }

@keyframes w09-sat {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  4%, 18% { opacity: 1; transform: scale(1.2); }
  26% { opacity: 0.55; transform: scale(0.95); }
}
.w09-sat { transform-box: fill-box; transform-origin: center; animation: w09-sat 8s ease-in-out infinite; }
.w09-sat.s1 { animation-delay: 0.7s; } .w09-sat.s2 { animation-delay: 1.4s; }
.w09-sat.s3 { animation-delay: 2.1s; } .w09-sat.s4 { animation-delay: 2.8s; }

/* ---------- W10 · partnership LIVE: orbit draw → attribution highlight ---------- */
@keyframes w10-orbit {
  0% { stroke-dashoffset: var(--len, 900); opacity: 0.6; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  88% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: 0.55; }
}
.w10-orbit { stroke-dasharray: var(--len, 900); animation: w10-orbit 8s ease-in-out infinite; }
.w10-orbit.o1 { --len: 760; animation-name: w10-orbit-late; }
@keyframes w10-orbit-late {
  0%, 14% { stroke-dashoffset: 760; opacity: 0.6; }
  62% { stroke-dashoffset: 0; opacity: 1; }
  90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.55; }
}

@keyframes w10-ticket {
  0%, 30% { stroke-dashoffset: 1300; opacity: 0.7; }
  62% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0.8; }
}
.w10-ticket { stroke-dasharray: 1300; animation: w10-ticket 8s ease-in-out infinite; }

@keyframes w10-ticket-glow {
  0%, 45% { opacity: 0; }
  62% { opacity: 1; }
  78% { opacity: 0.55; }
  92%, 100% { opacity: 0.9; }
}
.w10-ticket-glow { animation: w10-ticket-glow 8s ease-in-out infinite; }

@keyframes w10-ped {
  0% { transform: scale(0.6); opacity: 0; }
  8% { opacity: 0.9; }
  36% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.w10-ped { transform-box: fill-box; transform-origin: center; animation: w10-ped 8s ease-out infinite; }
.w10-ped.p1 { animation-delay: 1.1s; }
.w10-ped.p2 { animation-delay: 2.2s; }

/* ---------- v008 visual polish ---------- */
.card { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(240, 185, 11, 0.35); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.plan { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); }
h1, .section-title { letter-spacing: -0.01em; }
.lead { max-width: 560px; }
.hero-media { position: relative; }
.motion-visual > picture img { border-radius: var(--radius); }
.scene-fx { overflow: hidden; }

/* ---------- Visual Gravity & Premium Differentiation (CRO Brief) ---------- */
#gold, #alpha, #plans, #free, #how, #referrals, #partnership, #faq, #technology {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

@keyframes gold-ambient {
  0%, 100% { border-color: rgba(240, 185, 11, 0.45); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
  50% { border-color: rgba(240, 185, 11, 0.8); box-shadow: 0 14px 45px rgba(240, 185, 11, 0.16); }
}
@keyframes alpha-ambient {
  0%, 100% { border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
  50% { border-color: rgba(192, 132, 252, 0.85); box-shadow: 0 14px 45px rgba(168, 85, 247, 0.22); }
}
.plan-gold { animation: gold-ambient 11s ease-in-out infinite; }
.plan-alpha { animation: alpha-ambient 11s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .plan-gold, .plan-alpha { animation: none; }
}

/* Progressive enhancement reveal */
.js-reveal .reveal-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal .reveal-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Magnetic CTA (Desktop fine-pointer only, max 4px via JS) */
.magnetic-cta {
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .magnetic-cta {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1), background 0.15s ease, box-shadow 0.15s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .magnetic-cta {
    transform: none !important;
    transition: none !important;
  }
}

/* Metrics & Radar Badges */
.badge-metric {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.16);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.4);
  vertical-align: middle;
  margin-right: 6px;
}

.badge-radar {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(240, 185, 11, 0.16);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.4);
  vertical-align: middle;
  margin-right: 6px;
}

/* Market Badges (Binance Spot & Binance Alpha) */
.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.3;
  vertical-align: middle;
}
.market-badge-spot {
  background: rgba(240, 185, 11, 0.16);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.55);
  box-shadow: 0 2px 10px rgba(240, 185, 11, 0.15);
}
.market-badge-alpha {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.6);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.2);
}

/* Feature & Subscription Tags */
.tag-new {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}
.tag-advantage {
  display: inline-block;
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
}
.tag-radar {
  display: inline-block;
  background: rgba(240, 185, 11, 0.2);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
}
.tag-unlimited {
  display: inline-block;
  background: rgba(46, 189, 133, 0.2);
  color: #2ebd85;
  border: 1px solid rgba(46, 189, 133, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
}
.tag-dual {
  display: inline-block;
  background: rgba(168, 85, 247, 0.22);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
}

/* Reusable Engine Badge Group */
.engine-badge-group,
.plan-engine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 14px;
  margin: 10px 0 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.engine-spot {
  background: rgba(240, 185, 11, 0.08);
  border: 1px solid rgba(240, 185, 11, 0.25);
}
.engine-dual {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.engine-badge-group__badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.engine-badge-plus {
  color: #c084fc;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 2px;
  display: inline-block;
  vertical-align: middle;
}
.engine-badge-group__description,
.engine-badge-sub {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Comparison Table Highlights */
.compare-feature-cell {
  font-weight: 600;
}
.compare-row-highlight {
  background: rgba(34, 211, 238, 0.04);
}
.compare-new-row {
  background: rgba(244, 63, 94, 0.04);
}
.compare-gold-col {
  color: #fde047 !important;
  font-weight: 600;
}
.compare-alpha-col {
  color: #d8b4fe !important;
  font-weight: 600;
}

.disclaimer-mini {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.55;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.text-center { text-align: center; }

/* ---------- Engine 1, Engine 2 & Pipeline Stage Visual Cards ---------- */
.card-media .motion-visual > picture img {
  border-radius: 0;
}
.card-media .scene-fx {
  border-radius: 0;
}
.card-media .card-lead {
  margin-bottom: 12px;
}
.pipeline-stages {
  margin-top: 24px;
}
.pipeline-stage-card {
  border-color: rgba(34, 211, 238, 0.28);
}
.pipeline-stage-card:hover {
  border-color: rgba(240, 185, 11, 0.5);
}
.pipeline-stage-card h3 {
  color: #67e8f9;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.pipeline-stage-card p {
  margin-bottom: 22px;
  line-height: 1.6;
}

/* ---------- ENG1 · Binance Spot Signal Intelligence ---------- */
@keyframes eng1-level-draw {
  0%, 8% { stroke-dashoffset: 600; opacity: 0.35; }
  38%, 78% { stroke-dashoffset: 0; opacity: 0.95; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0.35; }
}
.eng1-level {
  stroke-dasharray: 600;
  animation: eng1-level-draw 7s ease-in-out infinite;
}
.eng1-level.l1 { animation-delay: 0.35s; }
.eng1-level.l2 { animation-delay: 0.7s; }
.eng1-level.l3 { animation-delay: 1.05s; }
.eng1-level.l4 { animation-delay: 1.4s; }

@keyframes eng1-breakout {
  0%, 100% { transform: scale(0.85); opacity: 0.45; }
  50% { transform: scale(1.45); opacity: 1; }
}
.eng1-breakout-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: eng1-breakout 2.8s ease-in-out infinite;
}

@keyframes eng1-radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.eng1-radar-sweep {
  transform-origin: 838px 182px;
  animation: eng1-radar-spin 5.5s linear infinite;
}

@keyframes eng1-blip-pulse {
  0%, 100% { transform: scale(0.75); opacity: 0.35; }
  45% { transform: scale(1.5); opacity: 1; }
}
.eng1-blip {
  transform-box: fill-box;
  transform-origin: center;
  animation: eng1-blip-pulse 3.2s ease-in-out infinite;
}
.eng1-blip.b1 { animation-delay: 0.6s; }
.eng1-blip.b2 { animation-delay: 1.2s; }
.eng1-blip.b3 { animation-delay: 1.8s; }
.eng1-blip.b4 { animation-delay: 2.4s; }

@keyframes eng1-gauge-pulse {
  0%, 100% { opacity: 0.55; transform: rotate(0deg) scale(0.97); }
  50% { opacity: 1; transform: rotate(18deg) scale(1.04); }
}
.eng1-gauge {
  transform-origin: 885px 434px;
  animation: eng1-gauge-pulse 4s ease-in-out infinite;
}

/* ---------- ENG2 · Binance Alpha Hunter ---------- */
@keyframes eng2-core-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 0.95; }
}
.eng2-core-breathe {
  transform-origin: 500px 290px;
  animation: eng2-core-breathe 5s ease-in-out infinite;
}

@keyframes eng2-orbit-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes eng2-orbit-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.eng2-orbit-ring {
  transform-origin: 500px 290px;
  animation: eng2-orbit-cw 14s linear infinite;
}
.eng2-orbit-outer {
  transform-origin: 500px 290px;
  animation: eng2-orbit-ccw 20s linear infinite;
}

@keyframes eng2-badge-trace {
  0%, 100% { stroke-dashoffset: 380; opacity: 0.55; }
  50% { stroke-dashoffset: 0; opacity: 1; }
}
.eng2-listing-badge {
  stroke-dasharray: 380;
  animation: eng2-badge-trace 4.5s ease-in-out infinite;
}

@keyframes eng2-beacon-ping {
  0% { transform: scale(0.65); opacity: 0.95; }
  80%, 100% { transform: scale(2.35); opacity: 0; }
}
.eng2-beacon-ping {
  transform-origin: 500px 290px;
  animation: eng2-beacon-ping 3.2s ease-out infinite;
}

@keyframes eng2-spike-bar {
  0%, 100% { transform: scaleY(0.45); opacity: 0.45; }
  50% { transform: scaleY(1.12); opacity: 0.95; }
}
.eng2-spike {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: eng2-spike-bar 2.4s ease-in-out infinite;
}
.eng2-spike.s1 { animation-delay: 0.35s; }
.eng2-spike.s2 { animation-delay: 0.7s; }
.eng2-spike.s3 { animation-delay: 1.05s; }

@keyframes eng2-wave-sweep {
  0% { transform: translateX(0); opacity: 0; }
  15%, 85% { opacity: 0.9; }
  100% { transform: translateX(190px); opacity: 0; }
}
.eng2-wave-scan {
  animation: eng2-wave-sweep 4.2s ease-in-out infinite;
}

@keyframes eng2-gauge-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}
.eng2-gauge {
  transform-origin: 856px 248px;
  animation: eng2-gauge-pulse 3.6s ease-in-out infinite;
}

@keyframes eng2-laser-draw {
  0%, 10% { stroke-dashoffset: 180; opacity: 0.35; }
  45%, 80% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.35; }
}
.eng2-laser {
  stroke-dasharray: 180;
  animation: eng2-laser-draw 5s ease-in-out infinite;
}
.eng2-laser.r1 { animation-delay: 0.4s; }
.eng2-laser.r2 { animation-delay: 0.8s; }

/* ---------- STG1 · 01 • 24/7 Dual-Market Scan ---------- */
@keyframes stg1-radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes stg1-ring-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.stg1-radar-sweep {
  transform-origin: 500px 294px;
  animation: stg1-radar-spin 6.5s linear infinite;
}
.stg1-globe-ring {
  transform-origin: 500px 294px;
  animation: stg1-ring-ccw 18s linear infinite;
}

@keyframes stg1-target-pulse {
  0%, 100% { transform: scale(0.78); opacity: 0.38; }
  50% { transform: scale(1.38); opacity: 1; }
}
.stg1-target {
  transform-box: fill-box;
  transform-origin: center;
  animation: stg1-target-pulse 3s ease-in-out infinite;
}
.stg1-target.t1 { animation-delay: 0.75s; }
.stg1-target.t2 { animation-delay: 1.5s; }
.stg1-target.t3 { animation-delay: 2.25s; }

/* ---------- STG2 · 02 • Multi-Layer Evaluation ---------- */
@keyframes stg2-layer-cascade {
  0%, 100% { opacity: 0.32; }
  35%, 65% { opacity: 1; }
}
.stg2-card, .stg2-conn {
  animation: stg2-layer-cascade 4.8s ease-in-out infinite;
}
.stg2-card.c1, .stg2-conn.c1 { animation-delay: 1.1s; }
.stg2-card.c2, .stg2-conn.c2 { animation-delay: 2.2s; }

@keyframes stg2-chart-sweep {
  0% { transform: translateX(0); opacity: 0; }
  12%, 88% { opacity: 0.9; }
  100% { transform: translateX(440px); opacity: 0; }
}
.stg2-chart-scan {
  animation: stg2-chart-sweep 5.2s ease-in-out infinite;
}

@keyframes stg2-reticle-lock {
  0%, 100% { transform: rotate(0deg) scale(0.92); opacity: 0.65; }
  50% { transform: rotate(90deg) scale(1.12); opacity: 1; }
}
.stg2-reticle {
  transform-origin: 824px 290px;
  animation: stg2-reticle-lock 4.5s ease-in-out infinite;
}

/* ---------- STG3 · 03 • Model Validation & Metrics ---------- */
@keyframes stg3-input-glow {
  0%, 100% { opacity: 0.35; }
  45% { opacity: 1; }
}
.stg3-input {
  animation: stg3-input-glow 4.5s ease-in-out infinite;
}
.stg3-input.i1 { animation-delay: 0.9s; }
.stg3-input.i2 { animation-delay: 1.8s; }

@keyframes stg3-core-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.14); opacity: 1; }
}
@keyframes stg3-core-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.stg3-core-glow {
  transform-origin: 606px 294px;
  animation: stg3-core-breathe 4.2s ease-in-out infinite;
}
.stg3-core-ring {
  transform-origin: 606px 294px;
  animation: stg3-core-spin 15s linear infinite;
}

@keyframes stg3-beam-pulse {
  0%, 20% { stroke-dashoffset: 120; opacity: 0.35; }
  55%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.35; }
}
.stg3-verified-beam {
  stroke-dasharray: 120;
  animation: stg3-beam-pulse 3.8s ease-in-out infinite;
}

@keyframes stg3-metrics-highlight {
  0%, 100% { opacity: 0.45; }
  55% { opacity: 1; }
}
.stg3-metrics-card {
  animation: stg3-metrics-highlight 4.2s ease-in-out infinite;
}

/* ---------- v3 · Hero Animated Backdrop & High-Conversion Terminal Layout ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}
.hero-backdrop-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-container {
  position: relative;
  z-index: 1;
}
@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 40px;
    align-items: center;
  }
}

@keyframes hbg-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hbg-orbit-left {
  transform-origin: 340px 290px;
  animation: hbg-orbit-spin 36s linear infinite;
}

@keyframes hbg-telemetry-flow {
  0% { stroke-dashoffset: 1600; opacity: 0.35; }
  50% { stroke-dashoffset: 0; opacity: 0.9; }
  100% { stroke-dashoffset: -1600; opacity: 0.35; }
}
.hbg-telemetry-path {
  stroke-dasharray: 800;
  animation: hbg-telemetry-flow 12s linear infinite;
}

@keyframes hbg-candles-float {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(-8px); opacity: 0.32; }
}
.hbg-candles {
  animation: hbg-candles-float 6s ease-in-out infinite;
}

/* Glassmorphic Terminal Frame around W01 */
.hero-terminal-frame {
  background: rgba(15, 22, 38, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(240, 185, 11, 0.38);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(240, 185, 11, 0.12),
    0 0 60px rgba(168, 85, 247, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-terminal-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 185, 11, 0.65);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.65),
    0 0 55px rgba(240, 185, 11, 0.2),
    0 0 70px rgba(168, 85, 247, 0.18);
}
.hero-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 14, 23, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
}
.terminal-dots {
  display: inline-flex;
  gap: 6px;
}
.terminal-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-dots i:nth-child(1) { background: #ef4444; }
.terminal-dots i:nth-child(2) { background: #f0b90b; }
.terminal-dots i:nth-child(3) { background: #2ebd85; }
.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
@keyframes live-dot-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.65; box-shadow: 0 0 0 0 rgba(46, 189, 133, 0.7); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(46, 189, 133, 0); }
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ebd85;
  display: inline-block;
  animation: live-dot-pulse 2s ease-in-out infinite;
}
.terminal-tg-pill {
  background: rgba(34, 211, 238, 0.14);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
}
.terminal-tg-pill:hover {
  background: rgba(34, 211, 238, 0.25);
  color: #ffffff;
  text-decoration: none;
}
.hero-terminal-frame .motion-visual > picture img,
.hero-terminal-frame .scene-fx {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.hero-terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 14, 23, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-terminal-footer b {
  color: var(--text);
}

/* Full-width Privilege Chips Dock below Hero columns */
.hero-chips-dock {
  margin-top: 32px;
  padding: 14px 18px;
  background: rgba(18, 25, 41, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-chips-dock li {
  background: rgba(10, 14, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  flex: 1 1 auto;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-chips-dock {
    justify-content: center;
  }
  .hero-terminal-footer {
    justify-content: center;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hbg-orbit-left,
  .hbg-telemetry-path,
  .hbg-candles,
  .live-dot {
    animation: none !important;
  }
}

/* ---------- v4 · Refined Institutional Top Navigation Bar (Static, Zero Animation) ---------- */
.nav {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.96) 0%, rgba(10, 14, 23, 0.90) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 185, 11, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 5px 12px 5px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 185, 11, 0.24);
  flex-shrink: 0;
}
.brand:hover {
  border-color: rgba(240, 185, 11, 0.5);
  background: rgba(240, 185, 11, 0.05);
}
.brand-logo {
  height: 38px;
  width: auto;
  border-radius: 6px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-acronym {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f8fafc;
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #f0b90b;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 8px;
  border-radius: 999px;
}
.nav-links a {
  color: #cbd5e1;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}
.nav-pill-free {
  background: rgba(46, 189, 133, 0.08);
  border-color: rgba(46, 189, 133, 0.28) !important;
  color: #a7f3d0 !important;
}
.nav-pill-free:hover,
.nav-pill-free.active {
  background: rgba(46, 189, 133, 0.18) !important;
  border-color: rgba(46, 189, 133, 0.55) !important;
  color: #ffffff !important;
}
.nav-pill-gold {
  background: rgba(240, 185, 11, 0.10);
  border-color: rgba(240, 185, 11, 0.34) !important;
  color: #fde047 !important;
}
.nav-pill-gold:hover,
.nav-pill-gold.active {
  background: rgba(240, 185, 11, 0.22) !important;
  border-color: rgba(240, 185, 11, 0.65) !important;
  color: #ffffff !important;
}
.nav-pill-alpha {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.42) !important;
  color: #e9d5ff !important;
}
.nav-pill-alpha:hover,
.nav-pill-alpha.active {
  background: rgba(168, 85, 247, 0.26) !important;
  border-color: rgba(192, 132, 252, 0.75) !important;
  color: #ffffff !important;
}
.nav-pill-academy {
  background: rgba(34, 211, 238, 0.10);
  border-color: rgba(34, 211, 238, 0.40) !important;
  color: #67e8f9 !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
}
.nav-pill-academy:hover,
.nav-pill-academy.active {
  background: rgba(34, 211, 238, 0.22) !important;
  border-color: rgba(34, 211, 238, 0.85) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.45);
}
.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-free { background: #2ebd85; }
.dot-gold { background: #f0b90b; }
.dot-alpha { background: #c084fc; }
.dot-academy {
  background: #22d3ee;
  box-shadow: 0 0 6px #22d3ee;
}
.nav-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 3px;
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .nav-links {
    border-radius: 14px;
    background: var(--bg-alt);
  }
  .nav-sep {
    display: none;
  }
}

/* ---------- SCOUT · Free Channel Mascot Animation ---------- */
.mascot-motion {
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.mascot-motion img {
  display: block;
}

@keyframes scout-eye-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.45; }
  50% { transform: scale(1.25); opacity: 0.95; }
}
@keyframes scout-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.scout-eye-glow {
  transform-origin: 530px 128px;
  animation: scout-eye-pulse 3.4s ease-in-out infinite;
}
.scout-eye-ring {
  transform-origin: 530px 128px;
  animation: scout-ring-spin 10s linear infinite;
}

@keyframes scout-chevron-trace {
  0%, 10% { stroke-dashoffset: 240; opacity: 0.35; }
  50%, 80% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.35; }
}
.scout-chevron {
  stroke-dasharray: 240;
  animation: scout-chevron-trace 4.8s ease-in-out infinite;
}
.scout-chevron.c1 {
  animation-delay: 0.9s;
}

@keyframes scout-scan-vertical {
  0% { transform: translateY(0); opacity: 0; }
  15%, 85% { opacity: 0.75; }
  100% { transform: translateY(760px); opacity: 0; }
}
.scout-scan-band {
  animation: scout-scan-vertical 6.5s ease-in-out infinite;
}

@keyframes scout-mote-rise {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 0.9; }
  100% { transform: translateY(-90px); opacity: 0; }
}
.scout-mote {
  animation: scout-mote-rise 5s ease-out infinite;
}
.scout-mote.m1 { animation-delay: 1.2s; }
.scout-mote.m2 { animation-delay: 2.4s; }
.scout-mote.m3 { animation-delay: 3.6s; }

/* ---------- W07 · Gold Plan Hunter Hawk Animation ---------- */
@keyframes w07-eye-flare {
  0%, 100% { transform: scale(0.88); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}
@keyframes w07-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.w07-eye-glow {
  transform-origin: 776px 86px;
  animation: w07-eye-flare 3.2s ease-in-out infinite;
}
.w07-orbit-ring {
  transform-origin: 785px 255px;
  animation: w07-orbit-spin 16s linear infinite;
}

@keyframes w07-laser-draw {
  0%, 10% { stroke-dashoffset: 600; opacity: 0.3; }
  45%, 80% { stroke-dashoffset: 0; opacity: 0.9; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
.w07-laser {
  stroke-dasharray: 600;
  animation: w07-laser-draw 6s ease-in-out infinite;
}
.w07-laser.l1 {
  animation-delay: 1.2s;
}

@keyframes w07-node-pulse {
  0%, 100% { transform: scale(0.75); opacity: 0.35; }
  50% { transform: scale(1.45); opacity: 1; }
}
.w07-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: w07-node-pulse 3.2s ease-in-out infinite;
}
.w07-node.n1 { animation-delay: 0.7s; }
.w07-node.n2 { animation-delay: 1.4s; }
.w07-node.n3 { animation-delay: 2.1s; }

/* ---------- W05 · Execution Architecture Shield (f04-risk-intelligence) ---------- */
@keyframes w05-aura-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 0.9; }
}
@keyframes w05-spin-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes w05-spin-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.w05-aura {
  transform-origin: 703px 292px;
  animation: w05-aura-breathe 4.5s ease-in-out infinite;
}
.w05-ring-cw {
  transform-origin: 703px 292px;
  animation: w05-spin-cw 18s linear infinite;
}
.w05-ring-ccw {
  transform-origin: 703px 292px;
  animation: w05-spin-ccw 24s linear infinite;
}

@keyframes w05-shield-draw {
  0%, 10% { stroke-dashoffset: 820; opacity: 0.4; }
  50%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.4; }
}
.w05-shield-trace {
  stroke-dasharray: 820;
  animation: w05-shield-draw 6s ease-in-out infinite;
}

@keyframes w05-check-draw {
  0%, 25% { stroke-dashoffset: 160; opacity: 0.3; }
  55%, 90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
.w05-check {
  stroke-dasharray: 160;
  animation: w05-check-draw 6s ease-in-out infinite;
}

@keyframes w05-box-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.w05-box {
  animation: w05-box-glow 4s ease-in-out infinite;
}
.w05-box.b1 { animation-delay: 0.8s; }
.w05-box.b2 { animation-delay: 1.6s; }
.w05-box.b3 { animation-delay: 2.4s; }

/* ---------- W11 · Final CTA Horizon Starburst Animation ---------- */
@keyframes w11-arc-flow {
  0%, 10% { stroke-dashoffset: 600; opacity: 0.4; }
  50%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.4; }
}
.w11-horizon-arc {
  stroke-dasharray: 600;
  animation: w11-arc-flow 6.5s ease-in-out infinite;
}

@keyframes w11-star-pulse {
  0%, 100% { transform: scale(0.88); opacity: 0.65; }
  50% { transform: scale(1.22); opacity: 1; }
}
.w11-star-flare {
  transform-origin: 855px 198px;
  animation: w11-star-pulse 3.8s ease-in-out infinite;
}

@keyframes w11-ring-expand {
  0% { transform: scale(0.6); opacity: 0.9; }
  85%, 100% { transform: scale(2.8); opacity: 0; }
}
.w11-star-ring {
  transform-origin: 855px 198px;
  animation: w11-ring-expand 4.4s ease-out infinite;
}
.w11-star-ring.r1 {
  animation-delay: 2.2s;
}

@keyframes w11-ray-sweep {
  0%, 15% { stroke-dashoffset: 320; opacity: 0.3; }
  55%, 85% { stroke-dashoffset: 0; opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
.w11-ray {
  stroke-dasharray: 320;
  animation: w11-ray-sweep 5s ease-in-out infinite;
}
.w11-ray.r1 {
  animation-delay: 1.1s;
}

/* ---------- v5 · Supercharged Animations for W01, W08 (Alpha Gold VIP), W09, W10, W07, W05, W11 & SCOUT ---------- */
.footer-brand {
  display: inline-block;
}

/* W01 Supercharged Hero Core & Hunter Hawk */
.w01-orbit-cw {
  transform-origin: 682px 162px;
  animation: eng2-orbit-cw 14s linear infinite;
}
.w01-orbit-ccw {
  transform-origin: 682px 162px;
  animation: eng2-orbit-ccw 20s linear infinite;
}
.w01-eye-flare {
  transform-origin: 826px 88px;
  animation: w07-eye-flare 2.8s ease-in-out infinite;
}
.w01-eye-ring {
  transform-origin: 826px 88px;
  animation: eng2-orbit-cw 8s linear infinite;
}
.w01-armor-trace,
.w01-chart-laser {
  stroke-dasharray: 650;
  animation: w07-laser-draw 5.5s ease-in-out infinite;
}
.w01-chart-laser.l1 {
  animation-delay: 1.1s;
}

/* W08 Supercharged Alpha Gold VIP (Apex in Violet Market-Scanning Environment) */
.w08-radar-cw {
  transform-origin: 235px 215px;
  animation: eng2-orbit-cw 12s linear infinite;
}
.w08-radar-ccw {
  transform-origin: 235px 215px;
  animation: eng2-orbit-ccw 18s linear infinite;
}
.w08-radar-sweep {
  transform-origin: 235px 215px;
  animation: eng2-orbit-cw 4.8s linear infinite;
}
.w08-blip {
  transform-box: fill-box;
  transform-origin: center;
  animation: eng1-blip-pulse 2.6s ease-in-out infinite;
}
.w08-blip.b1 { animation-delay: 0.6s; }
.w08-blip.b2 { animation-delay: 1.2s; }
.w08-blip.b3 { animation-delay: 1.8s; }

.w08-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: eng2-spike-bar 2.2s ease-in-out infinite;
}
.w08-bar.s1 { animation-delay: 0.35s; }
.w08-bar.s2 { animation-delay: 0.7s; }
.w08-bar.s3 { animation-delay: 1.05s; }

.w08-eye-pulse {
  transform-origin: 785px 81px;
  animation: w07-eye-flare 2.6s ease-in-out infinite;
}
.w08-eye-ring {
  transform-origin: 785px 81px;
  animation: eng2-orbit-cw 7s linear infinite;
}
.w08-crystal-pulse {
  transform-origin: 802px 200px;
  animation: eng2-core-breathe 3.2s ease-in-out infinite;
}
@keyframes w08-diamond-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 1; }
}
.w08-crystal-diamond {
  transform-origin: 802px 200px;
  animation: w08-diamond-pulse 2.8s ease-in-out infinite;
}
.w08-armor-laser,
.w08-portal-arc,
.w08-wave-laser {
  stroke-dasharray: 750;
  animation: w07-laser-draw 5.2s ease-in-out infinite;
}
.w08-armor-laser.a1,
.w08-wave-laser.w1 {
  animation-delay: 1.2s;
}

/* W09 Supercharged Referrals Network */
.w09-core-glow {
  transform-origin: 737px 256px;
  animation: eng2-core-breathe 3.8s ease-in-out infinite;
}
.w09-orbit-cw {
  transform-origin: 737px 256px;
  animation: eng2-orbit-cw 14s linear infinite;
}
.w09-orbit-ccw {
  transform-origin: 737px 256px;
  animation: eng2-orbit-ccw 20s linear infinite;
}
.w09-arc-laser {
  stroke-dasharray: 380;
  animation: w07-laser-draw 4.6s ease-in-out infinite;
}
.w09-arc-laser.a1 { animation-delay: 0.5s; }
.w09-arc-laser.a2 { animation-delay: 1.0s; }
.w09-arc-laser.a3 { animation-delay: 1.5s; }
.w09-arc-laser.a4 { animation-delay: 2.0s; }

@keyframes w09-ring-ripple {
  0% { transform: scale(0.55); opacity: 0.9; }
  85%, 100% { transform: scale(1.9); opacity: 0; }
}
.w09-sat-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: w09-ring-ripple 3.6s ease-out infinite;
}
.w09-sat-ring.s1 { animation-delay: 0.7s; }
.w09-sat-ring.s2 { animation-delay: 1.4s; }
.w09-sat-ring.s3 { animation-delay: 2.1s; }
.w09-sat-ring.s4 { animation-delay: 2.8s; }

.w09-left-ring {
  transform-origin: 230px 270px;
  animation: eng2-orbit-cw 16s linear infinite;
}

/* W10 Supercharged Partnership VIP Card */
.w10-card-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: eng2-spike-bar 2.5s ease-in-out infinite;
}
.w10-card-bar.b1 { animation-delay: 0.4s; }
.w10-card-bar.b2 { animation-delay: 0.8s; }
.w10-card-bar.b3 { animation-delay: 1.2s; }
.w10-card-wheel {
  transform-origin: 818px 210px;
  animation: eng2-orbit-cw 10s linear infinite;
}

/* SCOUT, W07, W05, W11 Extra Radar & Orbit Elements */
.scout-hud-ring {
  transform-origin: 170px 180px;
  animation: eng2-orbit-cw 14s linear infinite;
}
.scout-hud-inner {
  transform-origin: 170px 180px;
  animation: eng2-orbit-ccw 10s linear infinite;
}
.scout-hud-sweep {
  transform-origin: 170px 180px;
  animation: eng2-orbit-cw 5s linear infinite;
}
.w07-left-cw {
  transform-origin: 205px 225px;
  animation: eng2-orbit-cw 13s linear infinite;
}
.w07-left-ccw {
  transform-origin: 205px 225px;
  animation: eng2-orbit-ccw 18s linear infinite;
}
.w07-left-sweep {
  transform-origin: 205px 225px;
  animation: eng2-orbit-cw 5.2s linear infinite;
}
.w07-eye-ring {
  transform-origin: 776px 86px;
  animation: eng2-orbit-cw 8s linear infinite;
}
.w05-left-ring {
  transform-origin: 215px 280px;
  animation: eng2-orbit-cw 15s linear infinite;
}
.w11-star-orbit {
  transform-origin: 855px 198px;
  animation: eng2-orbit-cw 16s linear infinite;
}

/* ==========================================================================
   v6 · Complete Mobile Hero Repair & Responsive Architecture (<900px & <768px)
   Preserves 100% of Desktop (>=901px) design, branding, and animations.
   ========================================================================== */

/* Keep badge labels unbroken across all viewports */
.market-badge,
.tag-new,
.tag-advantage,
.tag-radar,
.tag-unlimited,
.tag-dual {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Compact desktop nav between 1001px and 1360px (e.g. 1024px laptop/tablet landscape) so 10 links fit with zero overflow */
@media (max-width: 1360px) and (min-width: 1001px) {
  .nav .container.nav-inner {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    gap: 6px;
    padding: 4px 8px 4px 4px;
  }
  .brand-logo {
    height: 28px;
  }
  .brand-acronym {
    font-size: 0.82rem;
  }
  .brand-sub {
    display: none;
  }
  .nav-links {
    gap: 2px;
    padding: 3px 5px;
  }
  .nav-links a {
    font-size: 0.67rem;
    padding: 4px 5px;
    gap: 3px;
  }
  .nav-dot {
    width: 5px;
    height: 5px;
  }
  .nav-sep {
    display: none;
  }
}

@media (max-width: 1000px) {
  .nav .container.nav-inner {
    min-height: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .js-nav .nav-links {
    top: 100%;
    border-radius: 0 0 16px 16px;
    background: rgba(12, 18, 32, 0.98);
    backdrop-filter: blur(18px);
    padding: 12px 18px 18px;
    gap: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  }
  .js-nav .nav-links a {
    padding: 10px 14px;
    border-radius: 10px;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 36px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .hero-copy {
    text-align: left;
    width: 100%;
    max-width: 100%;
  }
  .hero-copy .lead {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: flex-start;
  }
  .hero-cta-note {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: left;
  }
  .hero-media {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }
  /* Adapt decorative SVG backdrop on tablet/mobile so mid-canvas lines do not cut across text */
  .hero-bg-svg .hbg-orbit-left {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0.65;
  }
  .hero-bg-svg .hbg-telemetry-path {
    opacity: 0.16;
  }
  .hero-bg-svg path[stroke-dasharray] {
    opacity: 0.12;
  }
  .hero-bg-svg .hbg-candles {
    opacity: 0.10;
  }

  /* Two-Level Engine Badge Layout on Mobile and Tablets (<= 900px) */
  .engine-badge-group,
  .plan-engine-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    margin: 12px 0 18px;
    gap: 10px; /* 8-12px vertical spacing between Level 1 and Level 2 */
    width: 100%;
    box-sizing: border-box;
  }
  .engine-badge-group__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
  }
  .engine-badge-group__badges .market-badge {
    margin: 0;
  }
  .engine-badge-group__description,
  .engine-badge-sub {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted);
    white-space: normal;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }
  .container {
    padding: 0 16px;
  }
  .nav .container.nav-inner {
    min-height: 64px;
    gap: 8px;
    align-items: center;
  }
  .brand {
    padding: 4px 9px 4px 5px;
    gap: 7px;
    min-width: 0;
  }
  .brand-logo {
    height: 30px;
  }
  .brand-acronym {
    font-size: 0.82rem;
  }
  .brand-sub {
    font-size: 0.60rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-toggle {
    padding: 4px 10px;
    font-size: 1.15rem;
  }

  /* Compact, high-conversion mobile hero container */
  .hero {
    padding: 16px 0 26px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 1 & 2. Compact Binance Spot / Alpha badges + 24/7 Dual-Engine Signals label */
  .hero-markets-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px 8px;
    margin-bottom: 10px;
  }
  .hero-markets-bar .market-badge {
    font-size: 0.68rem;
    padding: 3px 10px;
  }
  /* Hide the second bullet divider after BINANCE ALPHA so 24/7 DUAL-ENGINE SIGNALS starts cleanly on row 2 */
  .hero-markets-bar .market-badge-alpha + .market-divider {
    display: none;
  }
  .hero-markets-bar .market-tag-sub {
    flex: 0 0 100%;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-top: 1px;
  }

  /* 3. Fluid, balanced mobile headline */
  .hero h1 {
    font-size: clamp(1.62rem, 6.4vw, 2.12rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin: 0;
  }

  /* 4. Readable full-width introductory descriptions */
  .hero-subhead {
    font-size: clamp(0.92rem, 3.8vw, 1.03rem);
    line-height: 1.4;
    margin-top: 8px;
    color: #dbe4f0;
  }
  .hero .lead {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-top: 8px;
    max-width: 100%;
  }
  .hero .lead strong {
    display: inline;
    margin-bottom: 0;
  }

  /* 5 & 6. Full-width, compact, conversion-focused CTA buttons (wrap cleanly in FR/ES/AR without clipping) */
  .hero-cta {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    width: 100%;
  }
  .hero-cta .btn,
  .hero-cta .btn-lg,
  .plan .btn,
  .soon-panel .btn,
  #free .btn,
  #referrals .btn,
  #partnership .btn,
  .cta-band .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.3;
    border-radius: 11px;
    text-align: center;
    white-space: normal;
    text-wrap: balance;
    box-sizing: border-box;
  }
  .hero-cta-note {
    margin-top: 8px;
    font-size: 0.75rem;
    line-height: 1.42;
    color: var(--muted);
  }

  /* 7. Dedicated full-width LIVE 24/7 Trading Engine card */
  .hero-media {
    width: 100%;
    max-width: 100%;
    margin: 2px 0 0;
  }
  .hero-terminal-frame {
    border-radius: 13px;
  }
  .hero-terminal-bar {
    padding: 8px 11px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .hero-terminal-bar .terminal-dots {
    gap: 4px;
    flex-shrink: 0;
  }
  .hero-terminal-bar .terminal-dots i {
    width: 7px;
    height: 7px;
  }
  .hero-terminal-bar .terminal-status {
    font-size: 0.60rem;
    letter-spacing: 0.02em;
    gap: 5px;
    min-width: 0;
    line-height: 1.2;
  }
  .hero-terminal-bar .live-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
  }
  .hero-terminal-bar .terminal-tg-pill {
    font-size: 0.62rem;
    padding: 3px 8px;
    flex-shrink: 0;
  }
  .hero-terminal-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.73rem;
    text-align: start;
    line-height: 1.35;
  }

  /* 8. Compactly arranged feature highlight chips */
  .hero-chips-dock {
    margin-top: 14px;
    padding: 9px 10px;
    gap: 6px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-chips-dock li {
    padding: 6px 10px;
    font-size: 0.76rem;
    border-radius: 8px;
    justify-content: flex-start;
    line-height: 1.3;
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
  }
  .hero-chips-dock .market-badge {
    font-size: 0.62rem;
    padding: 2px 8px;
  }
  .hero-chips-dock .tag-advantage,
  .hero-chips-dock .tag-new,
  .hero-chips-dock .tag-dual {
    font-size: 0.62rem;
    padding: 2px 7px;
    margin-inline-end: 2px;
  }
}

/* Ultra-narrow mobile viewports (320px - 359px) */
@media (max-width: 359px) {
  .container {
    padding: 0 12px;
  }
  .brand-sub {
    display: none;
  }
  .hero h1 {
    font-size: 1.46rem;
  }
  .hero-markets-bar .market-divider {
    display: none;
  }
  .hero-cta .btn,
  .hero-cta .btn-lg,
  .plan .btn {
    font-size: 0.84rem;
    padding: 11px 10px;
    white-space: normal;
  }
  .hero-terminal-bar {
    padding: 7px 9px;
    gap: 4px;
  }
  .hero-terminal-bar .terminal-dots {
    display: none;
  }
  .hero-terminal-bar .terminal-status {
    font-size: 0.54rem;
    letter-spacing: 0.01em;
  }
  .hero-terminal-bar .terminal-tg-pill {
    font-size: 0.56rem;
    padding: 2px 6px;
  }
  .hero-chips-dock {
    padding: 8px;
  }
  .hero-chips-dock li {
    font-size: 0.68rem;
    padding: 5px 7px;
    flex-wrap: wrap;
  }
  /* Mobile Two-Level Engine Badge Layout */
  .engine-badge-group,
  .plan-engine-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    margin: 12px 0 18px;
    gap: 10px; /* 8-12px vertical spacing between Level 1 and Level 2 */
    width: 100%;
    box-sizing: border-box;
  }
  .engine-badge-group__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
  }
  .engine-badge-group__badges .market-badge {
    margin: 0;
  }
  .engine-badge-group__description,
  .engine-badge-sub {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted);
    white-space: normal;
  }
  .card {
    padding: 20px 16px;
  }
  .card-media h3,
  .card-media ul,
  .card-media p,
  .card-media .card-tags {
    margin-inline: 14px;
  }
}

/* ==========================================================================
   v9 · Official AICSH 5-Language Header Selector, Typography & Arabic RTL
   ========================================================================== */
.nav .container.nav-inner {
  max-width: 1420px;
  gap: 8px;
}
.nav-links {
  gap: 3px;
  padding: 4px 6px;
}
.nav-links a {
  font-size: 0.75rem;
  padding: 5px 7px;
  gap: 4px;
  white-space: nowrap;
}
@media (max-width: 1380px) and (min-width: 1001px) {
  .nav .container.nav-inner {
    gap: 5px;
    padding-inline: 10px;
  }
  .brand {
    gap: 6px;
    padding: 4px 7px 4px 4px;
  }
  .brand-logo {
    height: 26px;
  }
  .brand-acronym {
    font-size: 0.78rem;
  }
  .brand-sub {
    display: none;
  }
  .nav-links {
    gap: 1px;
    padding: 3px 4px;
  }
  .nav-links a {
    font-size: 0.62rem;
    padding: 4px 4px;
    gap: 2.5px;
  }
  .nav-sep {
    display: none;
  }
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(240, 185, 11, 0.42);
  color: #f8fafc;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  direction: ltr;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.lang-btn:hover,
.lang-switcher.open .lang-btn {
  background: rgba(240, 185, 11, 0.14);
  border-color: rgba(240, 185, 11, 0.78);
  box-shadow: 0 0 16px rgba(240, 185, 11, 0.22);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Glowing browser language suggestion indicator on the switcher button */
.lang-btn.has-suggestion {
  border-color: rgba(34, 211, 238, 0.85);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.35), 0 0 24px rgba(240, 185, 11, 0.20);
  animation: langBtnGlow 2.8s ease-in-out infinite;
}
@keyframes langBtnGlow {
  0%, 100% {
    border-color: rgba(34, 211, 238, 0.75);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.30), 0 0 20px rgba(240, 185, 11, 0.15);
  }
  50% {
    border-color: rgba(240, 185, 11, 0.95);
    box-shadow: 0 0 16px rgba(240, 185, 11, 0.45), 0 0 28px rgba(34, 211, 238, 0.35);
  }
}
.lang-suggest-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  display: inline-block;
  margin-inline-start: 2px;
  animation: langDotPulse 1.8s ease-in-out infinite;
}
@keyframes langDotPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}
.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-caret {
  font-size: 0.68rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.lang-switcher.open .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  list-style: none;
  max-height: min(360px, calc(100vh - 88px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 196px;
  background: rgba(12, 18, 32, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(240, 185, 11, 0.38);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.72);
  display: none;
  z-index: 260;
}
.lang-switcher.open .lang-menu {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  direction: ltr;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}
.lang-option.active {
  background: rgba(240, 185, 11, 0.15);
  color: #fde047;
}

/* Suggested browser language option inside the menu */
.lang-option.is-suggested {
  border: 1px dashed rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.06);
}
.lang-option.is-suggested:hover,
.lang-option.is-suggested:focus-visible {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.85);
}
.lang-option.is-suggested.active {
  border-color: rgba(240, 185, 11, 0.65);
  background: rgba(240, 185, 11, 0.16);
}
.lang-suggest-pill {
  font-size: 0.58rem;
  font-weight: 700;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.38);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lang-name {
  flex: 1;
  text-align: left;
}
.lang-tag {
  font-size: 0.66rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.lang-option.active .lang-tag {
  color: #141414;
  background: var(--gold);
}
.lang-check {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0;
  width: 12px;
  text-align: center;
  transition: opacity 0.15s ease;
}
.lang-option.active .lang-check {
  opacity: 1;
}

@media (max-width: 767px) {
  .lang-btn {
    padding: 5px 8px;
    font-size: 0.70rem;
    gap: 5px;
  }
  .lang-flag {
    width: 18px;
    height: 12.5px;
  }
  .lang-menu {
    min-width: 184px;
  }
}

/* Mobile drawer optimization for nav pills including Trading Academy button */
@media (max-width: 1000px) {
  .js-nav .nav-links .nav-pill-academy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 4px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.45) !important;
    color: #67e8f9 !important;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.20);
    text-align: center;
  }
  .js-nav .nav-links .nav-pill-academy:hover,
  .js-nav .nav-links .nav-pill-academy.active {
    background: rgba(34, 211, 238, 0.22) !important;
    border-color: rgba(34, 211, 238, 0.85) !important;
    color: #ffffff !important;
  }
}

/* ---------- Font Fallbacks for Arabic (ar) and Simplified Chinese (zh-Hans) ---------- */
html[lang="ar"] body {
  font-family: "Inter", "Noto Sans Arabic", "Segoe UI", "Tahoma", "Arial", sans-serif;
  line-height: 1.72;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .btn,
html[lang="ar"] .compare thead th {
  font-family: "Sora", "Noto Sans Arabic", "Segoe UI", "Tahoma", sans-serif;
  letter-spacing: 0;
}
html[lang^="zh"] body {
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
}
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4,
html[lang^="zh"] .btn,
html[lang^="zh"] .compare thead th {
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- Font Fallbacks for Hindi / Devanagari (hi-IN) ---------- */
html[lang^="hi"] body {
  font-family: "Inter", "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  line-height: 1.72;
}
html[lang^="hi"] h1,
html[lang^="hi"] h2,
html[lang^="hi"] h3,
html[lang^="hi"] h4,
html[lang^="hi"] .btn,
html[lang^="hi"] .compare thead th {
  font-family: "Sora", "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  letter-spacing: 0;
}

/* ---------- Logical Arabic RTL (dir="rtl") Layout Support ---------- */
html[dir="rtl"] body {
  direction: rtl;
}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-title.left,
html[dir="rtl"] .section-sub.left,
html[dir="rtl"] .center.left,
html[dir="rtl"] .step,
html[dir="rtl"] .compare th,
html[dir="rtl"] .compare td,
html[dir="rtl"] .hero-cta-note,
html[dir="rtl"] .hero-terminal-footer,
html[dir="rtl"] .ticks li,
html[dir="rtl"] #faq details,
html[dir="rtl"] .risk-band,
html[dir="rtl"] .soon-panel,
html[dir="rtl"] .footer-grid {
  text-align: start;
}
html[dir="rtl"] .section-title:not(.left),
html[dir="rtl"] .section-sub:not(.left),
html[dir="rtl"] .note,
html[dir="rtl"] .disclaimer-mini,
html[dir="rtl"] .text-center,
html[dir="rtl"] .cta-band .center {
  text-align: center;
}
/* Keep brand, terminal bar, market badges, and language options LTR for visual clarity */
html[dir="rtl"] .brand,
html[dir="rtl"] .hero-terminal-bar,
html[dir="rtl"] .market-badge,
html[dir="rtl"] .engine-badge-group__badges,
html[dir="rtl"] .lang-btn,
html[dir="rtl"] .lang-option {
  direction: ltr;
}
html[dir="rtl"] .btn-icon {
  margin-inline-end: 6px;
  margin-inline-start: 0;
}
html[dir="rtl"] .tag-new,
html[dir="rtl"] .tag-advantage,
html[dir="rtl"] .tag-radar,
html[dir="rtl"] .tag-unlimited,
html[dir="rtl"] .tag-dual,
html[dir="rtl"] .badge-metric,
html[dir="rtl"] .badge-radar,
html[dir="rtl"] .coming-label {
  margin-inline-end: 6px;
  margin-inline-start: 0;
}
html[dir="rtl"] .ribbon {
  right: auto;
  left: 22px;
}
html[dir="rtl"] .js-nav .nav-links a {
  justify-content: flex-start;
  text-align: start;
}

/* ========================================================================
   AICSH Free Trading Skills Academy Section
   ======================================================================== */
.academy-section {
  padding: 80px 0;
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
}
.academy-card {
  background: linear-gradient(135deg, rgba(16, 24, 42, 0.95), rgba(11, 16, 29, 0.98));
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(34, 211, 238, 0.08);
  position: relative;
  overflow: hidden;
}
.academy-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 70%);
  pointer-events: none;
}
.academy-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.academy-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.academy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.4);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: academyGlow 3.5s ease-in-out infinite;
}
@keyframes academyGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 211, 238, 0); }
  50% { box-shadow: 0 0 14px rgba(34, 211, 238, 0.35); }
}
.academy-plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.12);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.academy-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 12px;
  color: #f8fafc;
}
.academy-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 14px;
  line-height: 1.5;
}
.academy-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0 0 18px;
}
.academy-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #22d3ee;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
}
.trust-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}
.academy-brand-banner {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}
.brand-formula {
  background: rgba(240, 185, 11, 0.08);
  border: 1px dashed rgba(240, 185, 11, 0.38);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.04em;
}
.academy-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.academy-microcopy {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 8px 0 2px;
  line-height: 1.45;
}
.academy-risk-note {
  font-size: 0.74rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Right Column Skills Grid */
.academy-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.academy-skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.academy-skill-card:hover {
  transform: translateY(-2px);
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.32);
}
.skill-icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  flex-shrink: 0;
}
.skill-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}
.skill-text span {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 2px;
}

/* Process Strip */
.academy-process-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}
.process-node {
  display: flex;
  align-items: center;
  gap: 6px;
}
.process-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.18);
  color: #22d3ee;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-sep {
  color: rgba(34, 211, 238, 0.45);
  font-weight: 700;
}

/* Responsive & RTL */
@media (max-width: 960px) {
  .academy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .academy-card {
    padding: 32px 24px;
  }
}
@media (max-width: 540px) {
  .academy-skills-grid {
    grid-template-columns: 1fr;
  }
  .academy-card {
    padding: 24px 18px;
  }
  .academy-cta-wrap .btn {
    width: 100%;
    justify-content: center;
  }
  .academy-process-strip {
    font-size: 0.76rem;
    padding: 10px 12px;
  }
}

html[dir="rtl"] .academy-trust {
  border-left: none;
  border-right: 3px solid #22d3ee;
  border-radius: 10px 0 0 10px;
}
html[dir="rtl"] .process-sep {
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
  .academy-badge {
    animation: none;
  }
  .academy-skill-card:hover {
    transform: none;
  }
}


/* ========================================================================
   AICSH Trading Revolution Animated Welcome Banner (TradingRevolutionWelcome)
   ======================================================================== */
@keyframes trw-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}

@keyframes trw-glow-pulse {
  0%, 100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes trw-frame-sweep {
  0% {
    transform: translate3d(-135%, 0, 0) skewX(-24deg);
    opacity: 0;
  }
  14% {
    opacity: 0.95;
  }
  46% {
    transform: translate3d(235%, 0, 0) skewX(-24deg);
    opacity: 0.95;
  }
  58%, 100% {
    transform: translate3d(235%, 0, 0) skewX(-24deg);
    opacity: 0;
  }
}

.trading-revolution-welcome {
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  direction: ltr;
  will-change: transform;
  animation: trw-float 5.6s ease-in-out infinite;
}

.trw-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 653 / 315;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(ellipse 85% 80% at 50% 45%, rgba(12, 31, 60, 0.95), rgba(7, 12, 24, 0.99));
  border: 1px solid rgba(34, 211, 238, 0.42);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.48),
    0 0 20px rgba(34, 211, 238, 0.14);
}

/* Soft pulsing cyan border glow (GPU-friendly opacity animation) */
.trw-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(103, 232, 249, 0.78);
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.22);
  pointer-events: none;
  z-index: 2;
  will-change: opacity;
  animation: trw-glow-pulse 5.6s ease-in-out infinite;
}

/* Restrained light sweep strictly masked to the outer decorative frame border */
.trw-border-sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.trw-border-sweep::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 211, 238, 0.25) 25%,
    rgba(165, 243, 252, 0.95) 50%,
    rgba(34, 211, 238, 0.25) 75%,
    transparent 100%
  );
  will-change: transform, opacity;
  animation: trw-frame-sweep 5.6s ease-in-out infinite;
}

.hero-media .trw-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* Subtle hover elevation on desktop pointer devices only */
@media (hover: hover) and (pointer: fine) {
  .trw-frame {
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.4, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  }
  .trw-frame:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 232, 249, 0.82);
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.56),
      0 0 26px rgba(34, 211, 238, 0.24);
  }
}

/* Preserve RTL layout while never mirroring the illustrated characters or baked text */
html[dir="rtl"] .trading-revolution-welcome,
html[dir="rtl"] .trw-frame,
html[dir="rtl"] .hero-media .trw-img {
  direction: ltr;
}

@media (max-width: 900px) {
  .trading-revolution-welcome {
    margin: 0 auto 14px;
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .trading-revolution-welcome {
    margin: 0 0 12px;
    max-width: 100%;
  }
  .trw-frame {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trading-revolution-welcome,
  .trw-frame::before,
  .trw-border-sweep::before {
    animation: none !important;
  }
  .trw-frame,
  .trw-frame:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* Prevent 11-item desktop navbar from causing horizontal overflow at 1024px–1440px across all 6 languages */
@media (min-width: 1001px) {
  .nav .container.nav-inner {
    max-width: 100%;
    box-sizing: border-box;
  }
  .nav-links {
    min-width: 0;
    flex-shrink: 1;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 1520px) and (min-width: 1181px) {
  .nav .container.nav-inner {
    gap: 6px;
    padding-inline: 14px;
  }
  .brand-sub {
    display: none;
  }
  .nav-links {
    gap: 2px;
    padding: 3px 5px;
  }
  .nav-links a {
    font-size: 0.68rem;
    padding: 4px 5.5px;
    gap: 3px;
  }
  .nav-sep {
    display: none;
  }
}
@media (max-width: 1180px) and (min-width: 1001px) {
  .nav .container.nav-inner {
    gap: 4px;
    padding-inline: 8px;
  }
  .brand {
    padding: 3px 6px 3px 4px;
    gap: 5px;
  }
  .brand-logo {
    height: 24px;
  }
  .brand-acronym {
    font-size: 0.74rem;
  }
  .nav-links {
    gap: 1px;
    padding: 2px 3px;
  }
  .nav-links a {
    font-size: 0.56rem;
    padding: 3px 3px;
    gap: 2px;
  }
}
/* Keep the welcome visual still on touch devices; the primary hero remains the priority. */
@media (hover: none), (pointer: coarse) {
  .trading-revolution-welcome,
  .trw-frame::before,
  .trw-border-sweep::before {
    animation: none;
  }
}

/* ---------- Compact Footer Legal Disclosures ---------- */
.footer-legal {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
  opacity: 0.85;
}
.footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 6px 18px;
}
.footer-legal details {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.footer-legal details[open] {
  flex-basis: 100%;
  max-width: 780px;
  margin: 6px auto 2px;
}
.footer-legal summary {
  padding: 2px 0;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  justify-content: center;
  gap: 5px;
}
.footer-legal summary:hover {
  color: #cbd5e1;
}
.footer-legal summary::after {
  content: "+";
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-legal details[open] summary::after {
  content: "−";
}
.footer-legal details p {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 6px 10px 8px;
  text-align: left;
  line-height: 1.55;
}
.footer-legal details a {
  color: inherit;
  text-decoration: underline;
}
.footer-seo-links {
  margin: 0 0 8px;
  font-size: 0.74rem;
  color: var(--muted);
}
.footer-seo-links a {
  color: inherit;
  text-decoration: none;
}
.footer-seo-links a:hover {
  color: #cbd5e1;
  text-decoration: underline;
}
