/* ============================================================
   TopXFunded — Hero (galaxy / prop-trading theme)
   ============================================================ */

:root {
  --bg-0: #03040c;
  --bg-1: #070b1d;
  --ink: #f1f5fd;
  --ink-dim: #9aa7c7;
  --ink-faint: #5b6788;
  --accent: #3b82f6;
  --accent-soft: #60a5fa;
  --orange: #fb923c;
  --purple: #c084fc;
  --display: "Orbitron", sans-serif;
  --body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body);
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
}

/* ===== Hero shell ===== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  background:
    radial-gradient(1200px 700px at 70% 20%, rgba(49, 64, 145, .28), transparent 60%),
    radial-gradient(900px 600px at 20% 80%, rgba(30, 41, 99, .25), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero > *:not(#stars) { z-index: 2; }

/* ===== Navigation ===== */

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3.8vh, 40px) clamp(20px, 4.5vw, 64px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  color: var(--ink);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.logo-mark img { width: 42px; height: 43px; display: block; }
.logo-mark svg { display: none; }

.nav-links {
  display: flex;
  gap: clamp(20px, 3.2vw, 48px);
}

.nav-links a {
  position: relative;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  padding: 8px 2px;
  transition: color .25s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active { color: var(--accent-soft); }

/* small arc above the active link, like the reference */
.nav-links a.active::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 13px;
  border: 1.5px solid var(--orange);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  opacity: .9;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: 1px solid rgba(147, 197, 253, .55);
  border-radius: 8px;
  padding: 13px 22px;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(59, 130, 246, .35);
  transition: box-shadow .25s, transform .25s;
}

.btn:hover {
  box-shadow: 0 0 36px rgba(59, 130, 246, .65);
  transform: translateY(-1px);
}

.btn svg { width: 16px; height: 16px; }

/* ===== Tagline ===== */

.tagline {
  margin-top: clamp(18px, 3.5vh, 40px);
  font-family: var(--display);
  font-size: clamp(10px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: .28em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: #dde8ff;
  padding: .75em 2.2em;
  border: 1px solid rgba(147, 197, 253, .35);
  border-radius: 50px;
  background: rgba(7, 11, 30, .55);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 18px rgba(96, 165, 250, .18),
    inset 0 0 12px rgba(96, 165, 250, .06);
  text-shadow: 0 0 18px rgba(147, 197, 253, .55);
}

/* ===== Center stage: ghost word, planet, display word ===== */

.stage {
  position: relative;
  width: 100%;
  height: clamp(270px, 42vh, 460px);
  display: grid;
  place-items: center;
}

.ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(70px, 14vw, 200px);
  letter-spacing: .02em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(59, 130, 246, .30), rgba(59, 130, 246, .08));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.planet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, clamp(220px, 40vh, 400px));
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 36% 30%,
    #aecdfd 0%, #5d9bf7 24%, #2563eb 48%, #14328c 70%, #060c26 100%);
  box-shadow:
    0 0 70px rgba(59, 130, 246, .55),
    0 0 170px rgba(37, 99, 235, .35),
    inset -28px -34px 80px rgba(2, 4, 18, .85),
    inset 14px 18px 50px rgba(190, 219, 255, .35);
}

/* swirling cloud texture */
.planet::before {
  content: "";
  position: absolute;
  inset: -32%;
  background:
    radial-gradient(closest-side at 32% 42%, rgba(199, 224, 255, .85), transparent 58%),
    radial-gradient(closest-side at 68% 62%, rgba(23, 64, 189, .95), transparent 52%),
    radial-gradient(closest-side at 56% 24%, rgba(147, 197, 253, .75), transparent 48%),
    radial-gradient(closest-side at 42% 74%, rgba(96, 165, 250, .6), transparent 50%),
    conic-gradient(from 40deg, transparent, rgba(147, 197, 253, .4) 18%, transparent 36%,
                   rgba(29, 78, 216, .5) 58%, transparent 78%);
  filter: blur(16px);
  animation: swirl 26s linear infinite;
}

/* dark limb so the sphere reads as 3-D */
.planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, transparent 55%, rgba(2, 4, 18, .78) 100%);
}

@keyframes swirl {
  to { transform: rotate(360deg); }
}

.display {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 10vw, 140px);
  letter-spacing: .03em;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(10, 16, 40, .9);
  user-select: none;
}

/* letters crossing the planet become wireframe outlines */
.display .outline {
  color: transparent;
  -webkit-text-stroke: 2px #dbe7ff;
  text-shadow: none;
}

.planet-label {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(58px, 11vh, 110px));
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: clamp(12px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: #e3edff;
  text-shadow: 0 0 16px rgba(96, 165, 250, .8);
  white-space: nowrap;
}

/* ===== Orbit arc + satellites ===== */

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

/* satellite centers sit ON the SVG arc: the path is drawn in a 1440x800
   viewBox with preserveAspectRatio="none", so percentage coordinates taken
   from the curve hold at any viewport size (t=.22 / t=.78 on the quadratic) */
.sat {
  position: absolute;
  transform: translate(-50%, -50%);
}

.sat-left  { left: 19.7%; top: 61.7%; }
.sat-right { left: 80.3%; top: 61.7%; }

.sat-tag {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.sat-left  .sat-tag { right: calc(100% + 12px); }
.sat-right .sat-tag { left: calc(100% + 12px); }

.sat-label {
  font-family: var(--display);
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.sat-line {
  position: relative;
  width: clamp(20px, 2.5vw, 44px);
  height: 1px;
  background: rgba(255, 255, 255, .5);
  margin: 0 12px;
}

.sat-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

.sat-line.flip::after { right: auto; left: -3px; }

.sat-planet {
  position: relative;
  width: clamp(54px, 7vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: bob 7s ease-in-out infinite;
}

/* thin ring around each satellite */
.sat-planet::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
}

.sat-orange {
  background: radial-gradient(circle at 35% 32%,
    #fdcf8f 0%, #f59e0b 35%, #b45309 65%, #3b1c04 100%);
  box-shadow: 0 0 34px rgba(251, 146, 60, .5), inset -8px -10px 22px rgba(20, 8, 0, .8);
}

.sat-purple {
  background: radial-gradient(circle at 35% 32%,
    #e6c8fd 0%, #a855f7 38%, #6b21a8 68%, #1d0533 100%);
  box-shadow: 0 0 34px rgba(192, 132, 252, .5), inset -8px -10px 22px rgba(10, 0, 20, .8);
  animation-delay: -3.5s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ===== Copy + hero CTAs ===== */

.copy {
  max-width: 700px;
  margin-top: clamp(18px, 3.5vh, 32px);
  padding: 0 20px;
  font-family: var(--display);
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.55;
  text-align: center;
  color: #9aa7c7;
}

.copy-hl {
  color: var(--accent-soft);
  font-weight: 600;
  text-shadow: 0 0 20px rgba(96, 165, 250, .5);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(26px, 5vh, 48px);
  flex-wrap: wrap;
  justify-content: center;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(96, 165, 250, .4);
  box-shadow: none;
  color: var(--ink-dim);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(96, 165, 250, .75);
  box-shadow: 0 0 18px rgba(59, 130, 246, .2);
}

/* ===== Scroll cue ===== */

.scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: auto 0 20px;
  padding-top: clamp(12px, 2.5vh, 36px);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-faint);
  transition: color .25s;
}

.scroll:hover { color: var(--ink-dim); }

.scroll-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 8px;
}

.scroll-icon i {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  animation: drop 1.8s ease-in-out infinite;
}

@keyframes drop {
  0%   { transform: translateY(-6px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ===== Responsive ===== */

/* the outward labels need ~220px of clear space beside each planet;
   below this width they would clip the viewport edge, so drop them */
@media (max-width: 1480px) {
  .sat-tag { display: none; }
}

@media (max-width: 1200px) {
  .sat-left  { left: 19.7%; top: 61.7%; }
  .sat-right { left: 80.3%; top: 61.7%; }
}

/* ===== Mobile hamburger ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile drawer overlay ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1000;
}
.nav-overlay.is-open { display: block; }

/* ===== Mobile drawer panel ===== */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #0b1220;
  border-left: 1px solid rgba(255,255,255,.07);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 40px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--ink-dim);
  cursor: pointer;
  padding: 8px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
}
.nav-drawer-close:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.nav-drawer-close svg { width: 18px; height: 18px; }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
}
.nav-drawer-links a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.nav-drawer-links a:hover { color: var(--ink); }
.nav-drawer-links a.active { color: var(--accent-soft); }

.nav-drawer-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav .btn-nav { display: none; }
}

@media (max-width: 640px) {
  .sat { display: none; }
  .tagline br { display: none; }
}

@media (max-width: 560px) {
  .logo { font-size: 16px; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-mark svg { width: 15px; height: 15px; }
  .btn-nav { padding: 11px 14px; font-size: 11px; }
  .hero-ctas { gap: 12px; }
}

/* ============================================================
   Below-fold sections
   ============================================================ */

/* ===== Shared section chrome ===== */

.section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-family: var(--display);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-dim);
  margin-bottom: clamp(40px, 6vh, 64px);
}

/* ===== Stats bar ===== */

.stats-bar {
  background: rgba(10, 16, 40, .85);
  border-top: 1px solid rgba(59, 130, 246, .18);
  border-bottom: 1px solid rgba(59, 130, 246, .18);
  backdrop-filter: blur(12px);
  padding: 28px 24px;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 40px;
  flex: 1 1 160px;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  background: linear-gradient(135deg, #fff 30%, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(96, 165, 250, .2);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat-item { padding: 8px 20px; }
}

/* ===== How It Works ===== */

.hiw {
  padding: clamp(64px, 10vh, 100px) 24px;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  position: relative;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(48px, 7vh, 72px);
}

/* dashed orbit line threading the three checkpoint orbs.
   spans center-to-center of the outer columns (1/6 .. 5/6) */
.steps-track {
  position: absolute;
  top: 47px;            /* vertical center of a 94px orb */
  left: 16.66%;
  right: 16.66%;
  height: 0;
  border-top: 1px dashed rgba(96, 165, 250, .4);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

/* glowing planet-orb checkpoint */
.step-orb {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #dbe7ff;
  background: radial-gradient(circle at 36% 30%,
    #3b73d6 0%, #1f49a0 48%, #0a1942 78%, #060d28 100%);
  border: 1px solid rgba(96, 165, 250, .45);
  box-shadow:
    0 0 34px rgba(37, 99, 235, .45),
    inset -6px -8px 18px rgba(2, 4, 18, .75),
    inset 7px 7px 16px rgba(147, 197, 253, .28);
  margin-bottom: 28px;
  transition: transform .3s, box-shadow .3s;
}

/* slowly rotating dashed ring around each orb */
.step-orb::before {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, .3);
  animation: spin 22s linear infinite;
}

.step-orb svg { width: 40px; height: 40px; }

.step:hover .step-orb {
  transform: translateY(-5px);
  box-shadow:
    0 0 46px rgba(59, 130, 246, .7),
    inset -6px -8px 18px rgba(2, 4, 18, .75),
    inset 7px 7px 16px rgba(147, 197, 253, .35);
}

/* numbered badge clipped to the orb's upper-right */
.step-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: 2px solid var(--bg-0);
  box-shadow: 0 0 14px rgba(59, 130, 246, .75);
}

.step-tag {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.step h3 {
  font-family: var(--display);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 12px;
}

.step p {
  font-family: var(--body);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 320px;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  /* line runs vertically down the centered orbs instead */
  .steps-track {
    top: 47px;
    bottom: 47px;
    left: 50%;
    right: auto;
    height: auto;
    width: 0;
    border-top: none;
    border-left: 1px dashed rgba(96, 165, 250, .4);
    transform: translateX(-50%);
  }
}

/* ===== Challenge Pricing ===== */

.challenges {
  padding: clamp(64px, 10vh, 100px) 24px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  position: relative;
}

@media (max-width: 860px) {
  .hiw,
  .challenges { padding-top: 40px; padding-bottom: 40px; }
}

/* subtle radial glow behind the cards */
.challenges::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, .12), transparent 70%);
  pointer-events: none;
}

/* centered flex so a wrapped row stays centered instead of left-aligned */
.plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

/* ===== Individual Plan Card ===== */

.plan {
  --accent: #60a5fa;
  --accent-2: #3b82f6;
  --glow: 96, 165, 250;
  position: relative;
  flex: 1 1 208px;
  max-width: 232px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13, 22, 54, .85), rgba(8, 13, 35, .88));
  border: 1px solid rgba(59, 130, 246, .16);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--glow), .55);
  box-shadow: 0 18px 50px rgba(6, 10, 30, .7), 0 0 0 1px rgba(var(--glow), .3);
}

/* per-tier accent palette (echoes the hero satellites) */
.plan--starter  { --accent: #fb923c; --accent-2: #f59e0b; --glow: 251, 146, 60; }
.plan--explorer { --accent: #60a5fa; --accent-2: #3b82f6; --glow: 96, 165, 250; }
.plan--trader   { --accent: #22d3ee; --accent-2: #06b6d4; --glow: 34, 211, 238; }
.plan--flagship { --accent: #818cf8; --accent-2: #4f46e5; --glow: 129, 140, 248; }
.plan--elite    { --accent: #c084fc; --accent-2: #a855f7; --glow: 192, 132, 252; }

/* colored top edge */
.plan-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(var(--glow), .6);
}

/* ----- Featured card ----- */
.plan-featured {
  flex-basis: 224px;
  max-width: 248px;
  border-color: rgba(var(--glow), .5);
  box-shadow: 0 0 0 1px rgba(var(--glow), .35), 0 24px 64px rgba(8, 12, 40, .7);
  background: linear-gradient(180deg, rgba(30, 34, 86, .6), rgba(10, 14, 40, .9));
  transform: translateY(-14px);
}

.plan-featured:hover { transform: translateY(-20px); }

.plan-featured .plan-head { padding-top: 42px; }

.plan-ribbon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(var(--glow), .65);
}

/* ----- Head: tier / account size ----- */
.plan-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 24px 20px 18px;
}

.plan-tier {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}

.plan-size {
  font-family: var(--display);
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--ink);
}

.plan-sub {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ----- Profit-split highlight ----- */
.plan-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 20px;
  padding: 13px 0;
  border-radius: 12px;
  background: rgba(var(--glow), .1);
  border: 1px solid rgba(var(--glow), .22);
}

.split-pct {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(var(--glow), .5);
}

.split-lbl {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ----- Rules list ----- */
.plan-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 6px;
  flex: 1;
}

.plan-rules li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  gap: 8px;
}

.plan-rules li:last-child { border-bottom: none; }

.rule-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.rule-val {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-dim);
}

.rule-val.target { color: #86efac; }

/* ----- Foot: fee + CTA ----- */
.plan-foot {
  margin-top: auto;
  padding: 14px 20px 22px;
}

.plan-fee {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}

.plan-amount {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--ink);
}

.plan-cycle {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.btn-plan {
  display: flex;
  width: 100%;
  justify-content: center;
  font-size: 12px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(var(--glow), .5);
  box-shadow: 0 0 22px rgba(var(--glow), .35);
}

.btn-plan:hover {
  box-shadow: 0 0 36px rgba(var(--glow), .6);
}

.plans-note {
  margin-top: 36px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-faint);
}

/* ===== Rules Section ===== */

.rules-section {
  padding: clamp(64px, 10vh, 100px) 24px;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 6vh, 56px);
}

/* per-card accent palette (scoped to .rule-card so it beats the base default) */
.rule-card.rc-emerald { --accent: #34d399; --glow: 52, 211, 153; }
.rule-card.rc-blue    { --accent: #60a5fa; --glow: 96, 165, 250; }
.rule-card.rc-cyan    { --accent: #22d3ee; --glow: 34, 211, 238; }
.rule-card.rc-amber   { --accent: #fbbf24; --glow: 251, 191, 36; }
.rule-card.rc-violet  { --accent: #a78bfa; --glow: 167, 139, 250; }
.rule-card.rc-pink    { --accent: #e879f9; --glow: 232, 121, 249; }

.rule-card {
  --accent: #60a5fa;
  --glow: 96, 165, 250;
  position: relative;
  background: linear-gradient(180deg, rgba(13, 20, 48, .72), rgba(8, 12, 32, .72));
  border: 1px solid rgba(var(--glow), .18);
  border-radius: 18px;
  padding: 26px 26px 28px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

/* soft colored glow bleeding from the top-right corner */
.rule-card::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), .2), transparent 70%);
  pointer-events: none;
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--glow), .5);
  box-shadow: 0 16px 44px rgba(6, 10, 28, .6);
}

.rule-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.rule-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(var(--glow), .12);
  border: 1px solid rgba(var(--glow), .3);
  color: var(--accent);
  box-shadow: 0 0 22px rgba(var(--glow), .25);
  flex-shrink: 0;
}

.rule-icon svg { width: 27px; height: 27px; }

.rule-metric {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(var(--glow), .45);
  white-space: nowrap;
}

.rule-metric.symbol { font-size: clamp(34px, 3.8vw, 46px); }

.rule-metric small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: 4px;
  color: var(--ink-dim);
}

.rule-card h3 {
  font-family: var(--display);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.rule-card p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-dim);
}

/* ===== Testimonials ===== */

.testimonials {
  padding: clamp(64px, 10vh, 100px) 24px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  position: relative;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vh, 60px);
}

.testi-card {
  --accent: #60a5fa;
  --glow: 96, 165, 250;
  position: relative;
  background: linear-gradient(180deg, rgba(13, 20, 48, .72), rgba(8, 12, 32, .72));
  border: 1px solid rgba(var(--glow), .18);
  border-radius: 18px;
  padding: 26px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), .18), transparent 70%);
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--glow), .5);
  box-shadow: 0 16px 44px rgba(6, 10, 28, .6);
}

.testi-card.tc-blue    { --accent: #60a5fa; --glow: 96, 165, 250; }
.testi-card.tc-orange  { --accent: #fb923c; --glow: 251, 146, 60; }
.testi-card.tc-cyan    { --accent: #22d3ee; --glow: 34, 211, 238; }
.testi-card.tc-violet  { --accent: #818cf8; --glow: 129, 140, 248; }
.testi-card.tc-purple  { --accent: #c084fc; --glow: 192, 132, 252; }
.testi-card.tc-emerald { --accent: #34d399; --glow: 52, 211, 153; }

.testi-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(8, 12, 32, .85) 100%);
  border: 1px solid rgba(var(--glow), .45);
  box-shadow: 0 0 16px rgba(var(--glow), .4), inset 0 0 12px rgba(var(--glow), .15);
  flex-shrink: 0;
}

.testi-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testi-name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}

.testi-info {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.testi-stars {
  font-size: 13px;
  color: #fbbf24;
  letter-spacing: 2px;
  line-height: 1;
}

.testi-quote {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-dim);
  font-style: italic;
  flex: 1;
}

.testi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--glow), .12);
}

.testi-badge {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.testi-amount {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(var(--glow), .45);
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Testimonials mobile carousel ===== */
@media (max-width: 640px) {
  .testimonials { padding-left: 0; padding-right: 0; }
  .testimonials .section-inner { width: 100%; }

  .testi-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 20px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .testi-grid::-webkit-scrollbar { display: none; }

  .testi-card {
    flex: 0 0 calc(100vw - 56px);
    scroll-snap-align: center;
    max-width: 320px;
  }
}

/* Carousel dots */
.testi-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.testi-dot.active {
  background: var(--accent-soft);
  transform: scale(1.3);
}
@media (max-width: 640px) {
  .testi-dots { display: flex; }
}

/* ===== Final CTA ===== */

.final-cta {
  position: relative;
  padding: clamp(80px, 14vh, 140px) 24px;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow: hidden;
  text-align: center;
}

.final-cta-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%,
    #3b73d6 0%, #1f49a0 30%, #0a1942 60%, #060d28 100%);
  box-shadow:
    0 0 120px rgba(59, 130, 246, .4),
    0 0 300px rgba(37, 99, 235, .2),
    inset -40px -50px 100px rgba(2, 4, 18, .85),
    inset 20px 26px 70px rgba(147, 197, 253, .22);
  opacity: .18;
  pointer-events: none;
}

.final-cta-orb::before {
  content: "";
  position: absolute;
  inset: -32%;
  background:
    radial-gradient(closest-side at 32% 42%, rgba(199, 224, 255, .75), transparent 58%),
    radial-gradient(closest-side at 68% 62%, rgba(23, 64, 189, .9), transparent 52%),
    conic-gradient(from 40deg, transparent, rgba(147, 197, 253, .35) 18%, transparent 36%);
  filter: blur(22px);
  animation: swirl 28s linear infinite;
  border-radius: 50%;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.cta-title-accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-sub {
  font-family: var(--display);
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--ink-dim);
  max-width: 560px;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(28px, 4.5vh, 44px);
}

.cta-btn-primary {
  padding: 16px 32px;
  font-size: 14px;
}

.cta-trust {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cta-trust li svg {
  width: 14px;
  height: 14px;
  color: #34d399;
  flex-shrink: 0;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--bg-0);
  border-top: 1px solid rgba(59, 130, 246, .12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 40px;
}

.footer-top {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 260px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo { text-decoration: none; }
.footer-logo em { color: var(--accent-soft); }

.footer-brand-sub {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ink-faint);
  border: 1px solid rgba(96, 165, 250, .16);
  background: rgba(10, 16, 40, .6);
  text-decoration: none;
  transition: color .25s, border-color .25s, box-shadow .25s;
}

.footer-social:hover {
  color: var(--accent-soft);
  border-color: rgba(96, 165, 250, .5);
  box-shadow: 0 0 14px rgba(96, 165, 250, .25);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-nav {
  flex: 1;
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 90px;
}

.footer-col-title {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.footer-col a {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover { color: var(--ink-dim); }

.footer-divider {
  height: 1px;
  background: rgba(96, 165, 250, .1);
  margin-bottom: 32px;
}

.footer-disc {
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 840px;
  margin: 0 auto 24px;
  text-align: center;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover { color: var(--ink-dim); }

@media (max-width: 860px) {
  .footer-brand { flex: none; max-width: 100%; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ===== Responsive — below fold ===== */

/* once the row can no longer hold five cards, stop lifting the featured one
   so the wrapped rows line up flush */
@media (max-width: 1180px) {
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
}

@media (max-width: 880px) {
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .plan, .plan-featured {
    flex-basis: 100%;
    max-width: 360px;
  }
  .rules-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* ===== Challenge Pricing — Interactive ===== */

/* Step labels */
.ch-step-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin: 0 0 .8rem;
}

.ch-step-num { color: #60a5fa; margin-right: .2rem; }

/* Type grid — large card tabs */
.ch-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  margin-bottom: 1.8rem;
}

.ch-type-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  color: var(--ink-dim);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 1.1rem .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all .18s;
  min-height: 58px;
}

.ch-type-card:hover {
  border-color: rgba(96,165,250,.3);
  color: var(--ink);
  background: rgba(255,255,255,.05);
}

.ch-type-card--active {
  background: rgba(96,165,250,.1);
  border-color: rgba(96,165,250,.5);
  color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96,165,250,.18), 0 4px 20px rgba(37,99,235,.18);
}

.ch-type-icon { display: flex; align-items: center; opacity: .85; }

.ch-pop-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: .2rem .6rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Size grid */
.ch-size-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .5rem;
  margin-bottom: 1.6rem;
}

.ch-size-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  color: var(--ink-dim);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  padding: .85rem .5rem;
  cursor: pointer;
  text-align: center;
  transition: all .18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-size-card:hover { border-color: rgba(96,165,250,.3); color: var(--ink); }

.ch-size-card--active {
  background: rgba(96,165,250,.12);
  border-color: rgba(96,165,250,.55);
  color: #60a5fa;
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.15);
}

/* Main card */
.ch-main-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Left panel */
.ch-left-panel {
  background: rgba(255,255,255,.025);
  border-right: 1px solid rgba(255,255,255,.07);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.ch-most-pop-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: .25rem .65rem;
  border-radius: 20px;
  align-self: flex-start;
}

.ch-left-account {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.ch-left-price-block { display: flex; flex-direction: column; gap: .2rem; }

.ch-price-pre {
  font-size: .9rem;
  color: var(--ink-dim);
  font-weight: 500;
  min-height: 1.2rem;
}

.ch-price-big {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.ch-price-fee {
  font-size: .64rem;
  letter-spacing: .14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: .1rem;
}

.ch-start-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: .84rem;
  padding: .88rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
}

.ch-start-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(37,99,235,.6); }

.ch-section-label {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin: 0 0 .55rem;
}

.ch-plat-grid { display: flex; flex-direction: column; gap: .4rem; }

.ch-plat-card {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .48rem .75rem;
  font-size: .76rem;
  color: var(--ink-dim);
  align-self: flex-start;
}

.ch-plat-logo-mt5 {
  background: #1e40af;
  color: #fff;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .03em;
  padding: .22rem .42rem;
  border-radius: 4px;
}

.ch-plat-logo-io { display: flex; align-items: center; color: var(--ink-faint); }

.ch-soon-badge {
  background: #d97706;
  color: #fff;
  font-size: .5rem;
  font-weight: 700;
  padding: .12rem .38rem;
  border-radius: 4px;
  letter-spacing: .04em;
  margin-left: .3rem;
}

.ch-payout-pills { display: flex; flex-direction: column; gap: .4rem; }

.ch-payout-pill {
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-faint);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .5rem .8rem;
}

.ch-payout-pill--active {
  color: #60a5fa;
  background: rgba(96,165,250,.1);
  border-color: rgba(96,165,250,.3);
}

/* Right panel */
.ch-right-panel {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}

.ch-rules-header {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--ink);
  text-transform: uppercase;
  padding-bottom: .85rem;
  margin-bottom: .2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ch-rules-list { list-style: none; padding: 0; margin: 0; flex: 1; }

.ch-rules-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .68rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .82rem;
  gap: 1rem;
}

.ch-rules-list li:last-child { border-bottom: none; }

.ch-rule-label { color: var(--ink-dim); }

.ch-rule-right {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}

.ch-rule-val { font-weight: 600; color: var(--ink); }
.ch-rule-val--accent { color: #60a5fa; }
.ch-rule-val--check { color: #22c55e; }

.ch-info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .54rem;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
  cursor: help;
}

/* Support row */
.ch-support-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.1rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
}

.ch-support-icon {
  width: 38px;
  height: 38px;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.ch-support-text { display: flex; flex-direction: column; gap: .12rem; flex: 1; }
.ch-support-text strong { font-size: .83rem; color: var(--ink); }
.ch-support-text span { font-size: .72rem; color: var(--ink-faint); }

.ch-live-badge {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 600;
  color: #22c55e;
  flex-shrink: 0;
}

.ch-live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: ch-live-pulse 2s ease-in-out infinite;
}

@keyframes ch-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

/* Trust bar */
.ch-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: .6rem;
  margin-bottom: .5rem;
}

.ch-trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: .85rem 1rem;
}

.ch-trust-icon {
  width: 38px;
  height: 38px;
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.ch-trust-item div { display: flex; flex-direction: column; gap: .08rem; min-width: 0; }
.ch-trust-item strong { font-size: .8rem; color: var(--ink); display: block; }
.ch-trust-item span { font-size: .68rem; color: var(--ink-faint); }

/* Responsive */
@media (max-width: 1100px) {
  .ch-trust-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ch-type-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-size-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .ch-main-card { grid-template-columns: 1fr; }
  .ch-left-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 560px) {
  .ch-size-grid { grid-template-columns: repeat(3, 1fr); }
  .ch-trust-bar { grid-template-columns: 1fr 1fr; }
}

.ch-selector-label {
  text-align: center;
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--ink-faint);
  margin: 0 0 .65rem;
  text-transform: uppercase;
}

.ch-type-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: .35rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.6rem;
}

.ch-type-tab {
  background: none;
  border: none;
  color: var(--ink-dim);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .5rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.ch-type-tab:hover { color: var(--ink); background: rgba(255,255,255,.05); }

.ch-type-tab--active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 16px rgba(37,99,235,.4);
}

.ch-tab-badge {
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .1em;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  padding: .15rem .4rem;
  color: #fff;
}

.ch-type-tab:not(.ch-type-tab--active) .ch-tab-badge {
  background: rgba(96,165,250,.15);
  color: #60a5fa;
}

/* Size Pills */
.ch-size-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 2rem;
}

.ch-size-pill {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--ink-dim);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  min-width: 60px;
  transition: all .18s;
}

.ch-size-pill:hover { border-color: rgba(96,165,250,.35); color: var(--ink); }

.ch-size-pill--active {
  background: rgba(96,165,250,.12);
  border-color: rgba(96,165,250,.5);
  color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96,165,250,.18);
}

/* Detail Card */
.ch-detail-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.ch-card-left {
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  background: rgba(255,255,255,.02);
}

.ch-card-badge {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #60a5fa;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 6px;
  padding: .28rem .65rem;
  align-self: flex-start;
}

.ch-price-block { display: flex; flex-direction: column; gap: .3rem; }

.ch-save-badge {
  display: inline-block;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.28);
  color: #22c55e;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .2rem .55rem;
  border-radius: 5px;
  align-self: flex-start;
}

.ch-price-main {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.ch-price-sub {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.ch-price-sub s { color: rgba(255,255,255,.3); }

.ch-start-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .85rem;
  text-decoration: none;
  transition: opacity .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
}

.ch-start-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(37,99,235,.6); }

.ch-meta-label {
  font-size: .58rem;
  letter-spacing: .18em;
  color: var(--ink-faint);
  margin: 0 0 .5rem;
  text-transform: uppercase;
}

.ch-plat-logos { display: flex; flex-direction: column; gap: .4rem; }

.ch-plat-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--ink-dim);
}

.ch-plat-icon {
  width: 30px;
  height: 24px;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .52rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.ch-freq-pills { display: flex; gap: .4rem; flex-wrap: wrap; }

.ch-freq-pill {
  font-size: .7rem;
  font-weight: 600;
  color: var(--ink-faint);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: .28rem .6rem;
}

.ch-freq-pill--active {
  color: #60a5fa;
  background: rgba(96,165,250,.1);
  border-color: rgba(96,165,250,.28);
}

/* Rules list */
.ch-card-right { padding: 1.8rem 1.8rem; }

.ch-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ch-rules-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  font-size: .84rem;
  gap: 1rem;
}

.ch-rules-list li:last-child { border-bottom: none; }

.ch-rule-label { color: var(--ink-dim); }

.ch-rule-val { font-weight: 600; color: var(--ink); text-align: right; }
.ch-rule-val--accent { color: #60a5fa; }
.ch-rule-val--check { color: #22c55e; }

/* Comparison table */
.ch-compare-wrap { margin-top: .5rem; }

.ch-compare-title {
  text-align: center;
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.ch-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
}

.ch-compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: .81rem;
}

.ch-compare-table thead th {
  padding: .9rem .8rem;
  text-align: center;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-faint);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ch-compare-table .ch-feat-col {
  text-align: left;
  padding-left: 1.1rem;
  color: var(--ink-dim);
  font-weight: 500;
  white-space: nowrap;
}

.ch-compare-table tbody td {
  padding: .7rem .8rem;
  text-align: center;
  color: var(--ink-dim);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.ch-compare-table tbody tr:last-child td { border-bottom: none; }

.ch-col-pop {
  background: rgba(96,165,250,.06) !important;
  border-left: 1px solid rgba(96,165,250,.14) !important;
  border-right: 1px solid rgba(96,165,250,.14) !important;
  color: var(--ink) !important;
  font-weight: 500;
}

.ch-pop-badge {
  display: block;
  font-size: .5rem;
  letter-spacing: .12em;
  color: #60a5fa;
  margin-top: .2rem;
  font-weight: 700;
}

.ch-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,.14);
  border-radius: 50%;
  color: #22c55e;
  font-size: .72rem;
  font-weight: 700;
}

.ch-price-from { color: #60a5fa !important; font-weight: 700 !important; }

/* Responsive */
@media (max-width: 860px) {
  .ch-detail-card { grid-template-columns: 1fr; }
  .ch-card-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 560px) {
  .ch-type-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; border-radius: 10px; }
  .ch-type-tab { font-size: .76rem; padding: .45rem .85rem; }
}

/* ===== Floating Chat Bubble (Tawk.to) ===== */

.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 18px rgba(37, 99, 235, .55), 0 0 0 0 rgba(37, 99, 235, .35);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: chat-pulse 2.8s ease-out infinite;
  text-decoration: none;
}

.chat-bubble:hover,
.chat-bubble:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .75);
  animation: none;
  outline: none;
}

.chat-bubble svg {
  width: 28px;
  height: 28px;
  color: #fff;
  flex-shrink: 0;
  pointer-events: none;
}

/* Unread badge */
.chat-bubble__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #03040c;
  display: none;
}

.chat-bubble--unread .chat-bubble__badge { display: block; }

@keyframes chat-pulse {
  0%   { box-shadow: 0 4px 18px rgba(37,99,235,.55), 0 0 0 0 rgba(37,99,235,.45); }
  70%  { box-shadow: 0 4px 18px rgba(37,99,235,.55), 0 0 0 18px rgba(37,99,235,0); }
  100% { box-shadow: 0 4px 18px rgba(37,99,235,.55), 0 0 0 0 rgba(37,99,235,0); }
}
