/* ==========================================================================
   APEX NEURAL — APEX ISTITUTIONAL GM v2.10
   Ultra-Luxury Quantitative Trading Desk Stylesheet
   ========================================================================== */

:root {
  --bg-obsidian: #04060A;
  --bg-deep: #070B12;
  --bg-panel: #0B101B;
  --bg-panel-elevated: #101726;
  --bg-glass: rgba(11, 16, 27, 0.82);

  --gold-primary: #D4AF37;
  --gold-bright: #FACC15;
  --gold-soft: rgba(212, 175, 55, 0.16);
  --gold-border: rgba(212, 175, 55, 0.28);

  --emerald: #10B981;
  --emerald-bright: #34D399;
  --emerald-soft: rgba(16, 185, 129, 0.14);

  --cyan: #06B6D4;
  --crimson: #EF4444;
  --youtube: #FF0033;
  --tiktok-cyan: #25F4EE;
  --tiktok-pink: #FE2C55;

  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --font-display: 'Syne', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(212, 175, 55, 0.13), transparent 65%),
    radial-gradient(ellipse 60% 45% at 90% 25%, rgba(16, 185, 129, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   1. TOP INSTITUTIONAL TELEMETRY BAR
   ========================================================================== */
.telemetry-bar {
  background: #020306;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.telemetry-left, .telemetry-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.t-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
}

.t-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.t-gold { color: var(--gold-bright); font-weight: 700; }
.t-green { color: var(--emerald-bright); font-weight: 700; }

/* ==========================================================================
   2. STICKY LUXURY NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(4, 6, 10, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 15px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #FACC15 0%, #B48608 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.brand-crest svg {
  width: 24px;
  height: 24px;
  color: #04060A;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-bright);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

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

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

.lang-switch {
  display: inline-flex;
  background: #0B101B;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.lang-btn.active {
  background: linear-gradient(135deg, #FACC15, #CA8A04);
  color: #04060A;
}

.btn-telegram-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FACC15 0%, #CA8A04 100%);
  color: #04060A;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.22);
  transition: all 0.2s ease;
}

.btn-telegram-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.35);
}

/* ==========================================================================
   3. HERO SECTION & INTERACTIVE MT5 TERMINAL REPLICA
   ========================================================================== */
.hero {
  padding: 64px 0 80px;
  position: relative;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 52px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFF7CC 0%, #FACC15 45%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 30px;
  line-height: 1.68;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #FACC15 0%, #CA8A04 100%);
  color: #04060A;
  font-weight: 800;
  font-size: 14px;
  padding: 15px 26px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.25);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(250, 204, 21, 0.38);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 24px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-glass:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi-mini-card {
  background: rgba(11, 16, 27, 0.85);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  border-radius: 10px;
  padding: 13px 14px;
}

.kpi-mini-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.kpi-mini-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Hero Right: Quick Acquisition Dual Summary Box */
.hero-offer-card {
  background: linear-gradient(165deg, rgba(16, 23, 38, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.hero-offer-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-bright), var(--gold-bright), var(--emerald-bright));
}

.offer-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.offer-box-free {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
}

.offer-box-paid {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
}

.offer-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.offer-tag.free { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.offer-tag.paid { background: rgba(250, 204, 21, 0.2); color: #FACC15; }

.mini-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.mp-item {
  background: #060911;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.mp-item:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.mp-item .mp-t { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.mp-item .mp-v { font-family: var(--font-mono); font-size: 13px; font-weight: 800; color: var(--gold-bright); margin-top: 2px; }

/* ==========================================================================
   4. LIVE MT5 TERMINAL SIMULATOR (EXACT REPLICA OF APEX ISTITUTIONAL GM v2.10)
   ========================================================================== */
.mt5-window {
  background: #06080E;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(212, 175, 55, 0.08);
}

.mt5-titlebar {
  background: #0C111D;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.mt5-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mt5-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mt5-viewport {
  display: grid;
  grid-template-columns: 335px 305px 1fr;
  min-height: 520px;
  position: relative;
  background: #05070B;
}

/* Left Panel: Apex Istitutional GM v2.10 Main Dashboard */
.ea-dash-panel {
  background: #0A0E17;
  border-right: 2px solid #D4AF37;
  padding: 16px;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.ea-dash-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.ea-dash-title {
  font-size: 14px;
  font-weight: 800;
  color: #FACC15;
  letter-spacing: 0.6px;
}

.ea-dash-sub {
  font-size: 10px;
  color: #34D399;
  margin-top: 2px;
}

.ea-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5.5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11.5px;
}

.ea-row .lbl { color: #94A3B8; font-weight: 600; }
.ea-row .val { color: #FFFFFF; font-weight: 800; }
.ea-row .val.green { color: #34D399; }
.ea-row .val.gold { color: #FACC15; }

.led-strip-box {
  background: #05080F;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}

.led-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  margin-top: 7px;
}

.led-cell {
  height: 12px;
  border-radius: 3px;
  background: #1E293B;
  transition: background 0.3s ease;
}

.led-cell.on-green { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.6); }
.led-cell.on-gold { background: #FACC15; box-shadow: 0 0 8px rgba(250,204,21,0.6); }

/* Center Panel: Real-Time Algo Leaderboard (TOP 18) */
.ea-lb-panel {
  background: #080C14;
  border-right: 1px solid rgba(212, 175, 55, 0.28);
  padding: 14px;
  font-family: var(--font-mono);
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.ea-lb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.ea-lb-list {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  font-size: 10.5px;
  overflow-y: auto;
}

.lb-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  padding: 3.5px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}

.lb-item.top3 {
  background: rgba(212, 175, 55, 0.1);
  border-left: 2px solid #FACC15;
}

.lb-rank { color: #FACC15; font-weight: 800; }
.lb-name { color: #F8FAFC; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-usd  { color: #34D399; font-weight: 800; }

/* Right Panel: Quantum Heikin-Ashi Live Chart Canvas */
.ea-chart-area {
  position: relative;
  background: #04060A;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#quantumChartCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-overlay-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  background: rgba(5, 8, 15, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  pointer-events: none;
}

/* ==========================================================================
   5. SECTION HEADERS & GENERAL LAYOUT
   ========================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 16, 27, 0.55) 0%, rgba(4, 6, 10, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sec-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}

.sec-head p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ==========================================================================
   6. H24 YOUTUBE LIVE & OFFICIAL TIKTOK BROADCAST HUB
   ========================================================================== */
.broadcast-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.broadcast-card {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.broadcast-card.yt-card {
  border-color: rgba(255, 0, 51, 0.35);
}

.broadcast-card.tt-card {
  border-color: rgba(37, 244, 238, 0.35);
}

.live-pill-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 51, 0.16);
  border: 1px solid #FF0033;
  color: #FF4D6D;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.live-pill-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 244, 238, 0.12);
  border: 1px solid var(--tiktok-cyan);
  color: var(--tiktok-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.video-stage {
  margin: 20px 0;
  background: #04060B;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 51, 0.14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px);
}

.play-orb-btn {
  position: relative;
  z-index: 3;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF0033, #B80024);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 0 40px rgba(255, 0, 51, 0.65);
  transition: transform 0.25s ease;
}

.play-orb-btn:hover {
  transform: scale(1.1);
}

.tiktok-stage {
  margin: 20px 0;
  background: radial-gradient(circle at 30% 20%, rgba(37, 244, 238, 0.14), rgba(254, 44, 85, 0.12), #05070C);
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: 14px;
  height: 290px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  border-radius: 11px;
  background: linear-gradient(135deg, #FF0033 0%, #C70028 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: 0.2s;
}

.btn-youtube:hover { filter: brightness(1.12); transform: translateY(-2px); }

.btn-tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  border-radius: 11px;
  background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
  color: #04060A;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: 0.2s;
}

.btn-tiktok:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ==========================================================================
   7. ARCHITECTURE & 6-STEP QUANTITATIVE ENGINE
   ========================================================================== */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.arch-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s ease;
  position: relative;
}

.arch-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.arch-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
}

.arch-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.arch-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. HOW TO GET FREE WITH IB ($0) — 4 STEPS + IB TRANSFER BOX
   ========================================================================== */
.ib-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ib-step-card {
  background: linear-gradient(180deg, #0D1422 0%, #080C15 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  padding: 26px 22px;
  position: relative;
}

.ib-step-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #34D399;
  background: rgba(16, 185, 129, 0.14);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}

.ib-step-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
}

.ib-step-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.ib-transfer-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. 5-TIER PRICING CARDS ($0 IB + 499 / 1,999 / 2,999 / 7,999 USDT)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
}

.price-card.free-tier {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, #0B101B 100%);
  border: 2px solid #10B981;
}

.price-card.popular-tier {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.14) 0%, #0B101B 100%);
  border: 2px solid var(--gold-bright);
  box-shadow: 0 20px 60px rgba(250, 204, 21, 0.14);
}

.price-card.vip-tier {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.2) 0%, #090D16 100%);
  border: 2px solid #F59E0B;
}

.ribbon-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon-top.green { background: #10B981; color: #04060A; }
.ribbon-top.gold  { background: #FACC15; color: #04060A; }
.ribbon-top.vip   { background: linear-gradient(90deg, #F59E0B, #FACC15); color: #04060A; }

.plan-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-amount {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 10px 0 4px;
}

.plan-amount span {
  font-size: 13px;
  color: var(--gold-bright);
  font-weight: 600;
}

.plan-save {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald-bright);
  min-height: 18px;
  margin-bottom: 14px;
}

.plan-features {
  list-style: none;
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li b { color: #FFF; }

/* ==========================================================================
   10. 12 CAPITAL TIERS PRESET EXPLORER & DOWNLOADS
   ========================================================================== */
.preset-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-tab {
  background: #0B101B;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--gold-bright);
  color: #04060A;
  border-color: var(--gold-bright);
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.preset-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s;
}

.preset-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.preset-cap {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

.preset-file {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 6px 0 12px;
  word-break: break-all;
}

.preset-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.btn-dl-set {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  transition: 0.2s;
}

.btn-dl-set:hover {
  background: var(--gold-bright);
  color: #04060A;
}

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 20px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  display: none;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open {
  border-color: var(--gold-border);
}

/* ==========================================================================
   12. MODALS (USDT CHECKOUT & IB TRANSFER TEMPLATE)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #0B101B;
  border: 1px solid var(--gold-bright);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,0.9);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .presets-grid { grid-template-columns: repeat(3, 1fr); }
  .mt5-viewport { grid-template-columns: 310px 280px 1fr; }
}

@media (max-width: 960px) {
  .hero-top-grid, .broadcast-grid { grid-template-columns: 1fr; }
  .ib-steps-grid, .arch-grid, .pricing-grid, .presets-grid { grid-template-columns: repeat(2, 1fr); }
  .mt5-viewport { grid-template-columns: 1fr; }
  .ea-chart-area { height: 320px; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero-kpi-strip, .ib-steps-grid, .arch-grid, .pricing-grid, .presets-grid, .mini-price-grid {
    grid-template-columns: 1fr;
  }
}
