/* ============================================================
   APEX TRADING — LANDING PAGE STYLES
   Dark + Gold aesthetic. Premium trading UI.
   ============================================================ */

/* Use Sora as display font (distinctive, modern) + DM Sans body */
.apex-landing {
  --apex-display: 'Sora', system-ui, sans-serif;
  --apex-body: 'DM Sans', system-ui, sans-serif;
  --apex-mono: 'JetBrains Mono', monospace;
  --primary-light: #F0C946;
  --primary-dark: #B8860B;
  font-family: var(--apex-body);
  background: #0A0D11;
  color: #F4F4F5;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

.apex-landing * { box-sizing: border-box; }

.apex-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.apex-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 13, 17, 0.6);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding .3s ease, background .3s ease;
}
.apex-nav.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 13, 17, 0.85);
}

.apex-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.apex-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #F4F4F5;
}
.apex-brand img {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.25), 0 4px 12px rgba(var(--primary-rgb), 0.15);
}
.apex-brand span {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.apex-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.apex-nav-links a {
  color: rgba(244,244,245,0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}
.apex-nav-links a:hover { color: var(--primary); }
.apex-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--primary);
  transition: right .25s ease;
}
.apex-nav-links a:hover::after { right: 0; }

.apex-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.apex-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #F4F4F5;
  width: 38px; height: 38px;
  border-radius: 9px;
  cursor: pointer;
}

.apex-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(10, 13, 17, 0.95);
  backdrop-filter: blur(14px);
}
.apex-mobile-menu.is-open { display: flex; }
.apex-mobile-menu a {
  color: rgba(244,244,245,0.85);
  text-decoration: none;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.apex-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--apex-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.apex-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #0A0D11;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.apex-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.apex-btn-outline {
  background: transparent;
  color: #F4F4F5;
  border-color: rgba(255,255,255,0.15);
}
.apex-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.apex-btn-ghost {
  background: transparent;
  color: #F4F4F5;
  border-color: transparent;
}
.apex-btn-ghost:hover { color: var(--primary); }
.apex-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */
.apex-hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  /* NO grid pattern background — replaced with radial glows + flowing lines */
}

.apex-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.apex-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: glow-drift 22s ease-in-out infinite alternate;
}
.apex-hero-glow-1 {
  width: 520px; height: 520px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(var(--primary-rgb),0.35), transparent 70%);
}
.apex-hero-glow-2 {
  width: 600px; height: 600px;
  top: 15%; right: -12%;
  background: radial-gradient(circle, rgba(var(--primary-rgb),0.22), transparent 70%);
  animation-delay: -7s;
}
.apex-hero-glow-3 {
  width: 380px; height: 380px;
  bottom: -10%; left: 35%;
  background: radial-gradient(circle, rgba(34,197,94,0.10), transparent 70%);
  animation-delay: -14s;
}
@keyframes glow-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.1); }
  100% { transform: translate(-30px,40px) scale(0.95); }
}

.apex-hero-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.7;
}
.apex-flowing-line {
  stroke-dasharray: 6 8;
  animation: line-flow 14s linear infinite;
}
.apex-flowing-line-2 {
  animation-duration: 18s;
  animation-direction: reverse;
}
@keyframes line-flow {
  to { stroke-dashoffset: -200; }
}

.apex-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.apex-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.apex-pulse {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.apex-hero-title {
  font-family: var(--apex-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.apex-hero-title span {
  display: block;
}
.apex-gold-stroke {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apex-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.apex-hero-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(244,244,245,0.7);
  max-width: 520px;
  margin: 0 0 32px;
}

.apex-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.apex-hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.apex-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(244,244,245,0.65);
}
.apex-trust-item svg {
  color: var(--primary);
}

/* Hero visual / trade card */
.apex-hero-visual {
  position: relative;
}

.apex-tradecard {
  background: linear-gradient(180deg, rgba(24,28,35,0.95) 0%, rgba(18,22,28,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(var(--primary-rgb),0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  z-index: 2;
}

.apex-tradecard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.apex-tradecard-pair {
  display: flex; gap: 12px; align-items: center;
}
.apex-coin-orb {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(247,147,26,0.1);
}
.apex-tradecard-name {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 15px;
}
.apex-tradecard-sub {
  font-size: 11.5px;
  color: rgba(244,244,245,0.5);
  margin-top: 2px;
}
.apex-tradecard-meta {
  text-align: right;
}
.apex-tradecard-price {
  font-family: var(--apex-mono);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  transition: color .3s;
}
.apex-tradecard-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.apex-up { color: #22C55E; }
.apex-down { color: #EF4444; }

/* Chart */
.apex-chart-wrap {
  position: relative;
  margin: 0 -6px;
}
.apex-chart {
  width: 100%;
  height: 200px;
  display: block;
}
.apex-chart-grid line {
  stroke: rgba(255,255,255,0.04);
  stroke-width: 1;
}
.apex-chart-yaxis {
  position: absolute;
  top: 0; right: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0 28px;
  pointer-events: none;
  font-family: var(--apex-mono);
  font-size: 10px;
  color: rgba(244,244,245,0.4);
}

.apex-tradecard-foot {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.apex-tradecard-stat span {
  display: block;
  font-size: 11px;
  color: rgba(244,244,245,0.5);
  margin-bottom: 4px;
}
.apex-tradecard-stat b {
  font-family: var(--apex-mono);
  font-size: 13.5px;
  font-weight: 600;
}

/* Floating tickers */
.apex-float-ticker {
  position: absolute;
  background: rgba(24,28,35,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6);
  z-index: 3;
  animation: floaty 4s ease-in-out infinite;
}
.apex-float-ticker-1 {
  top: 10%;
  left: -32px;
  animation-delay: -1s;
}
.apex-float-ticker-2 {
  bottom: 10%;
  right: -24px;
  animation-delay: -2.5s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.apex-mini-spark {
  width: 60px; height: 24px;
}
.apex-mini-spark svg { width: 100%; height: 100%; }
.apex-mini-name {
  font-family: var(--apex-display);
  font-size: 12px;
  font-weight: 700;
}
.apex-mini-change {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--apex-mono);
}

/* Ticker strip */
.apex-ticker-strip {
  position: relative;
  margin-top: 70px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  z-index: 2;
}
.apex-ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker-roll 50s linear infinite;
  white-space: nowrap;
  font-family: var(--apex-mono);
  font-size: 13px;
  width: max-content;
}
.apex-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.apex-ticker-item .pair { font-weight: 600; color: rgba(244,244,245,0.85); }
.apex-ticker-item .price { color: rgba(244,244,245,0.7); }
@keyframes ticker-roll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.apex-partners {
  padding: 50px 0;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.apex-partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,244,245,0.4);
  margin-bottom: 24px;
}
.apex-partners-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.apex-partner-logo {
  color: rgba(244,244,245,0.45);
  transition: color .3s, transform .3s;
}
.apex-partner-logo:hover { color: var(--primary); transform: translateY(-2px); }

/* ============================================================
   SECTIONS — common
   ============================================================ */
.apex-section {
  padding: 110px 0;
  position: relative;
}

.apex-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.apex-section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.apex-section-title {
  font-family: var(--apex-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.apex-section-title-left {
  text-align: left;
}
.apex-section-sub {
  color: rgba(244,244,245,0.6);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}

/* Reveal-on-scroll */
.apex-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--delay, 0s);
}
.apex-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.apex-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.apex-feature-card {
  position: relative;
  display: block;
  padding: 32px;
  background: linear-gradient(180deg, rgba(24,28,35,0.6) 0%, rgba(18,22,28,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), border-color .35s, box-shadow .35s;
}
.apex-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.12), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.apex-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 24px 60px -20px rgba(var(--primary-rgb), 0.18);
}
.apex-feature-card:hover::before { opacity: 1; }

.apex-feature-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 16px;
  transition: transform .4s;
}
.apex-feature-card:hover .apex-feature-icon { transform: scale(1.08) rotate(-3deg); }
.apex-feature-icon img,
.apex-feature-icon svg {
  width: 36px; height: 36px;
  object-fit: contain;
}
.apex-feature-title {
  font-family: var(--apex-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.apex-feature-desc {
  font-size: 14px;
  color: rgba(244,244,245,0.6);
  line-height: 1.65;
  margin: 0 0 20px;
}
.apex-feature-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  color: var(--primary);
  transition: transform .3s, background .3s;
}
.apex-feature-card:hover .apex-feature-arrow {
  background: var(--primary);
  color: #0A0D11;
  transform: rotate(0deg);
}
.apex-feature-card:hover .apex-feature-arrow svg {
  animation: arrow-pop .4s ease;
}
@keyframes arrow-pop {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.2) translate(2px,-2px); }
  100% { transform: scale(1) translate(0,0); }
}

/* ============================================================
   MARKETS / COINS
   ============================================================ */
.apex-markets-section {
  background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.025) 50%, transparent 100%);
}

.apex-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  margin: 0 auto 36px;
  display: flex;
  width: fit-content;
}
.apex-tab {
  background: transparent;
  border: 0;
  color: rgba(244,244,245,0.6);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--apex-body);
}
.apex-tab.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #0A0D11;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
.apex-tab:not(.is-active):hover { color: #F4F4F5; }

.apex-coins-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.apex-coin-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(24,28,35,0.7) 0%, rgba(18,22,28,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  cursor: pointer;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.apex-coin-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
}
.apex-coin-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.apex-coin-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.apex-coin-name {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 15px;
}
.apex-coin-symbol {
  font-size: 11.5px;
  color: rgba(244,244,245,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.apex-coin-price {
  font-family: var(--apex-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.apex-coin-change {
  font-family: var(--apex-mono);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.apex-coin-spark {
  height: 36px;
  width: 100%;
}
.apex-coin-spark svg {
  width: 100%; height: 100%;
}

/* Live strip chart */
.apex-live-strip {
  background: linear-gradient(180deg, rgba(24,28,35,0.7) 0%, rgba(18,22,28,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
}
.apex-live-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.apex-live-strip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(244,244,245,0.65);
  margin-bottom: 6px;
}
.apex-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.apex-live-strip-price {
  font-family: var(--apex-mono);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.apex-live-strip-change {
  font-size: 13px;
  font-weight: 600;
}
.apex-live-strip-actions {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  padding: 4px;
  border-radius: 999px;
}
.apex-mini-tab {
  background: transparent;
  border: 0;
  color: rgba(244,244,245,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--apex-mono);
}
.apex-mini-tab.is-active {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
}

.apex-live-strip-chart {
  width: 100%;
  height: 220px;
  display: block;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.apex-howit {
  padding-top: 60px;
}
.apex-howit-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.apex-howit-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}

.apex-howit-illustration {
  position: relative;
  width: 100%; height: 100%;
}
.apex-illustration-orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.3), transparent 70%),
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: inset 0 0 60px rgba(var(--primary-rgb), 0.1);
  animation: orb-spin 30s linear infinite;
}
.apex-illustration-orb::before {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
  border-radius: 50%;
}
.apex-illustration-orb::after {
  content: '';
  position: absolute;
  inset: 30%;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 50%;
}
@keyframes orb-spin {
  to { transform: rotate(360deg); }
}
.apex-illustration-card {
  position: absolute;
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(24,28,35,0.95) 0%, rgba(18,22,28,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: floaty 5s ease-in-out infinite;
}
.apex-illustration-card svg { width: 40px; height: 40px; }
.apex-illustration-card-1 { top: 6%; left: 12%; animation-delay: 0s; }
.apex-illustration-card-2 { top: 16%; right: 8%; animation-delay: -1.5s; }
.apex-illustration-card-3 { bottom: 12%; left: 28%; animation-delay: -3s; }

.apex-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.apex-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.apex-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #0A0D11;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--apex-display);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
}
.apex-step h4 {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
}
.apex-step p {
  font-size: 14px;
  color: rgba(244,244,245,0.6);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.apex-stats-band {
  padding: 70px 0;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.04) 100%),
    #0A0D11;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}
.apex-stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.06), transparent 70%);
}
.apex-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.apex-stat-cell {
  position: relative;
}
.apex-stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
  transform: translateY(-50%);
}
.apex-stat-value {
  font-family: var(--apex-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.apex-stat-label {
  font-size: 13px;
  color: rgba(244,244,245,0.6);
  margin-top: 10px;
  font-weight: 500;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.apex-benefits-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 50px;
}

.apex-benefit-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(24,28,35,0.7) 0%, rgba(18,22,28,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.apex-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.2);
}
.apex-benefit-big {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.apex-benefit-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.apex-benefit-pill {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 14px;
}
.apex-pill-title {
  font-size: 11px;
  color: rgba(244,244,245,0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.apex-pill-value {
  font-family: var(--apex-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-light);
  margin-top: 4px;
  line-height: 1;
}
.apex-pill-meta {
  font-size: 11px;
  color: rgba(244,244,245,0.45);
  margin-top: 4px;
  font-family: var(--apex-mono);
}

.apex-benefit-chartbox {
  position: relative;
  flex: 1;
}
.apex-benefit-pricebox {
  margin-bottom: 12px;
}
.apex-benefit-priceval {
  font-family: var(--apex-mono);
  font-size: 22px;
  font-weight: 700;
}
.apex-benefit-priceloss {
  font-size: 11px;
  color: rgba(244,244,245,0.5);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.apex-benefit-chart {
  width: 100%;
  height: 120px;
  display: block;
}
.apex-benefit-range {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.apex-benefit-range span {
  font-family: var(--apex-mono);
  font-size: 10.5px;
  color: rgba(244,244,245,0.4);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}
.apex-benefit-range span.is-active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.apex-benefit-mid {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(24,28,35,0.7) 100%);
  border-color: rgba(var(--primary-rgb), 0.2);
}
.apex-benefit-mid h3, .apex-benefit-side h3 {
  font-family: var(--apex-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.apex-benefit-mid p {
  font-size: 13.5px;
  color: rgba(244,244,245,0.65);
  line-height: 1.6;
  margin: 0;
}
.apex-benefit-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.05);
}
.apex-benefit-image img,
.apex-benefit-image svg {
  width: 100%; height: 100%; object-fit: cover;
}
.apex-benefit-image-card {
  margin-top: auto;
  margin-bottom: 0;
}
.apex-benefit-side {
  display: flex;
  flex-direction: column;
}
.apex-benefit-store {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.apex-benefit-store-label {
  font-size: 12.5px;
  color: rgba(244,244,245,0.65);
  margin-bottom: 10px;
  line-height: 1.4;
}
.apex-benefit-store-btns {
  display: flex;
  gap: 8px;
}
.apex-store-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #F4F4F5;
  text-decoration: none;
  transition: all .25s;
}
.apex-store-btn:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.3);
}
.apex-store-label {
  font-size: 12px;
  font-weight: 600;
}

/* Marquee */
.apex-marquee {
  margin-top: 30px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.apex-marquee-track {
  display: flex;
  gap: 12px;
  animation: marquee-roll 35s linear infinite;
  width: max-content;
}
.apex-marquee-pill {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  white-space: nowrap;
}
@keyframes marquee-roll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.apex-testimonials-section {
  position: relative;
}
.apex-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.apex-testimonial {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, rgba(24,28,35,0.7) 0%, rgba(18,22,28,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s, border-color .35s;
}
.apex-testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.apex-testimonial-quote {
  opacity: 0.6;
}
.apex-testimonial-stars {
  display: flex;
  gap: 3px;
}
.apex-testimonial-text {
  font-size: 14.5px;
  color: rgba(244,244,245,0.8);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.apex-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.apex-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(var(--primary-rgb), 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.apex-testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.apex-testimonial-initials {
  font-family: var(--apex-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-light);
}
.apex-testimonial-name {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 14px;
}
.apex-testimonial-role {
  font-size: 12px;
  color: rgba(244,244,245,0.5);
}

/* ============================================================
   CTA
   ============================================================ */
.apex-cta-section {
  padding: 60px 0 110px;
}
.apex-cta-card {
  position: relative;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--primary-rgb), 0.04) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
}
.apex-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.3), transparent 60%);
  pointer-events: none;
}
.apex-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.apex-cta-orb-1 {
  width: 200px; height: 200px;
  background: var(--primary);
  top: -50px; left: -50px;
}
.apex-cta-orb-2 {
  width: 250px; height: 250px;
  background: var(--primary);
  bottom: -80px; right: -60px;
}
.apex-cta-card h2 {
  position: relative;
  font-family: var(--apex-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.apex-cta-card p {
  position: relative;
  color: rgba(244,244,245,0.75);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.apex-cta-card .apex-btn {
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.apex-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 70px 0 24px;
}
.apex-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.apex-footer-brand p {
  font-size: 13.5px;
  color: rgba(244,244,245,0.6);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 280px;
}
.apex-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.apex-footer-logo img {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.apex-footer-logo span {
  font-family: var(--apex-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.apex-footer-col h4 {
  font-family: var(--apex-display);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
}
.apex-footer-col a {
  display: block;
  color: rgba(244,244,245,0.55);
  text-decoration: none;
  font-size: 13.5px;
  padding: 4px 0;
  transition: color .2s;
}
.apex-footer-col a:hover { color: var(--primary); }

.apex-newsletter {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 10px;
}
.apex-newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 16px;
  color: #F4F4F5;
  font-size: 13px;
  outline: none;
  font-family: var(--apex-body);
}
.apex-newsletter input::placeholder { color: rgba(244,244,245,0.4); }
.apex-newsletter button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 0;
  padding: 10px 20px;
  color: #0A0D11;
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--apex-body);
}
.apex-newsletter-note {
  font-size: 11.5px;
  color: rgba(244,244,245,0.45);
  margin: 0;
  line-height: 1.5;
}

.apex-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(244,244,245,0.5);
  flex-wrap: wrap;
  gap: 14px;
}
.apex-footer-legal {
  display: flex;
  gap: 24px;
}
.apex-footer-legal a {
  color: rgba(244,244,245,0.5);
  text-decoration: none;
  transition: color .2s;
}
.apex-footer-legal a:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .apex-hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .apex-hero { padding: 120px 0 80px; }
  .apex-features-grid { grid-template-columns: repeat(2, 1fr); }
  .apex-coins-grid { grid-template-columns: repeat(3, 1fr); }
  .apex-howit-grid { grid-template-columns: 1fr; gap: 50px; }
  .apex-howit-visual { max-width: 320px; }
  .apex-benefits-grid { grid-template-columns: 1fr 1fr; }
  .apex-benefit-big { grid-column: span 2; }
  .apex-testimonials-grid { grid-template-columns: 1fr; }
  .apex-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .apex-nav-links { display: none; }
  .apex-nav-toggle { display: flex; align-items: center; justify-content: center; }
  .apex-nav-actions .apex-btn-ghost { display: none; }
  .apex-hero { padding: 110px 0 60px; }
  .apex-section { padding: 70px 0; }
  .apex-section-head { margin-bottom: 40px; }
  .apex-features-grid { grid-template-columns: 1fr; }
  .apex-coins-grid { grid-template-columns: 1fr 1fr; }
  .apex-stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .apex-stat-cell:not(:last-child)::after { display: none; }
  .apex-benefits-grid { grid-template-columns: 1fr; }
  .apex-benefit-big { grid-column: span 1; }
  .apex-footer-top { grid-template-columns: 1fr; gap: 36px; }
  .apex-cta-card { padding: 50px 24px; }
  .apex-float-ticker-1, .apex-float-ticker-2 { display: none; }
  .apex-live-strip-head { flex-direction: column; align-items: flex-start; }
}
