/* ================================================================
   NEXTRADE — style.css
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body) + JetBrains Mono
   ================================================================ */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --font-display:   'Bricolage Grotesque', sans-serif;
  --font-body:      'Plus Jakarta Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --bg-darker:      #0f172a; /* dark blue/black */
  --bg:             #05090f;
  --bg-2:           #0a1120;
  --bg-3:           #0e1829;
  --bg-card:        #0d1627;
  --bg-card-hover:  #111e33;
  --border:         rgba(59,130,246,.12);
  --border-hover:   rgba(59,130,246,.3);

  --text-1:         #ffffff;
  --text-2:         #94a3b8;
  --text-3:         #4a6080;

  --accent:         #3b82f6;
  --accent-light:   rgba(59,130,246,.15);
  --accent-orange:  #ff6b35;
  --accent-green:   #10b981;
  --accent-purple:  #8b5cf6;
  --accent-red:     #ef4444;

  --radius:         16px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --t:              .25s cubic-bezier(.4,0,.2,1);
  --shadow-card:    0 4px 24px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.04) inset;
  --shadow-hover:   0 20px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border-hover);
}

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Section Gap ────────────────────────────────────────────────── */
.section-gap { padding: 96px 0; }

/* ── Section Header ─────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(59,130,246,.2);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}
.section-header { margin-bottom: 56px; }

/* Colored text helpers */
.text-accent  { color: var(--accent-orange); }
.text-blue    { color: var(--accent); }
.text-green   { color: var(--accent-green); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #ff6b35, #ff9058);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .97rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  box-shadow: 0 6px 28px rgba(255,107,53,.35);
  position: relative;
  overflow: hidden;
}
.btn-cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .5s ease;
}
.btn-cta-primary:hover::after { transform: translateX(110%) skewX(-12deg); }
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,107,53,.45); color: #fff; }
.btn-cta-primary:active { transform: translateY(0); }

.btn-cta-xl { padding: 18px 40px; font-size: 1.05rem; }

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: transparent;
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--t);
}
.btn-cta-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.play-circle {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.btn-primary-custom {
  background: linear-gradient(135deg, #ff6b35, #ff9058);
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255,107,53,.3);
}

/* ── Card base ──────────────────────────────────────────────────── */
.card-base {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card-base:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-live {
  background: rgba(16,185,129,.1);
  color: var(--accent-green);
  border: 1px solid rgba(16,185,129,.2);
}
.badge-award {
  background: rgba(245,158,11,.08);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,.2);
}

/* ── Pulse dots ─────────────────────────────────────────────────── */
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--accent-green);
  border-radius: 50%;
  opacity: .4;
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing { 0%{transform:scale(1);opacity:.4} 100%{transform:scale(2.5);opacity:0} }

/* ── Ticker ─────────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  height: 42px;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 55s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-right: 1px solid var(--border);
  height: 42px;
  font-size: .78rem;
  cursor: default;
  transition: background .2s;
}
.ticker-item:hover { background: rgba(59,130,246,.07); }
.t-sym   { color: var(--text-2); font-weight: 600; letter-spacing: .01em; }
.t-price { color: var(--text-1); font-family: var(--font-mono); font-weight: 700; }
.t-chg   { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.t-chg.up   { color: var(--accent-green); background: rgba(16,185,129,.1); }
.t-chg.down { color: var(--accent-red);   background: rgba(239,68,68,.1); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 42px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.min-vh-100-offset { min-height: calc(100vh - 160px); }

/* BG layers */
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  top: -150px; right: -100px;
  animation: orbFloat1 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,.1) 0%, transparent 70%);
  bottom: 0; left: 5%;
  animation: orbFloat2 13s ease-in-out infinite;
}
.hero-orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(139,92,246,.07) 0%, transparent 70%);
  top: 40%; left: 45%;
  animation: orbFloat1 8s ease-in-out infinite reverse;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(15px,-25px)} }

.hero-copy-col { position: relative; z-index: 2; padding-top: 20px; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.05em;
  margin-bottom: 22px;
}
.hero-heading-accent {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-2);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

/* Trustpilot */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(0,182,122,.06);
  border: 1px solid rgba(0,182,122,.15);
  border-radius: 50px;
  margin-bottom: 40px;
}
.trust-stars { color: #00b67a; font-size: .95rem; letter-spacing: 2px; }
.trust-text { font-size: .8rem; color: var(--text-2); }
.trustpilot-logo { color: #00b67a; font-weight: 700; }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hstat { text-align: center; padding: 0 28px; }
.hstat:first-child { padding-left: 0; }
.hstat-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.hstat-lab { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.hstat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Hero Panel (right) ─────────────────────────────────────────── */
.hero-panel-col { position: relative; z-index: 2; }
.hero-panel-wrap { position: relative; padding: 20px 40px 20px 20px; }

/* Floating chips */
.panel-float-chip {
  position: absolute;
  background: rgba(13,22,39,.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  z-index: 10;
  animation: chipFloat 4s ease-in-out infinite;
}
.chip-top-right  { top: -10px; right: 0; animation-delay: 0s; }
.chip-bottom-left { bottom: 50px; left: -10px; animation-delay: 2s; }
@keyframes chipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.chip-label { font-size: .68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.chip-val { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.chip-val.orange { color: var(--accent-orange); }
.chip-val.green  { color: var(--accent-green); }

/* Market panel card */
.market-panel-card {
  background: rgba(13,22,39,.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.06);
}
.mpc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.mpc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .88rem;
}
.green-dot { background: var(--accent-green); }
.mpc-tabs { display: flex; gap: 4px; }
.mpc-tab {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-3);
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.mpc-tab.active, .mpc-tab:hover { background: var(--accent-light); color: var(--accent); }

/* Chart area */
.mpc-chart-area {
  padding: 14px 20px 8px;
  border-bottom: 1px solid var(--border);
}
.mpc-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.chart-pair-name { font-size: .8rem; color: var(--text-2); margin-bottom: 2px; }
.chart-pair-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; }
.chart-change-badge {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}
.chart-change-badge.up   { color: var(--accent-green); background: rgba(16,185,129,.12); }
.chart-change-badge.down { color: var(--accent-red);   background: rgba(239,68,68,.12); }
#heroChart { width: 100%; display: block; }

/* Market rows */
.mpc-list { padding: 6px 0; }
.mpc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  transition: background var(--t);
  cursor: pointer;
}
.mpc-row:hover { background: rgba(59,130,246,.05); }
.mpc-coin-icon {
  width: 32px; height: 32px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.mpc-pair { flex: 0 0 90px; }
.mpc-pair-name { font-weight: 700; font-size: .83rem; display: block; }
.mpc-pair-sub  { color: var(--text-3); font-size: .7rem; }
.mpc-sparkline-wrap { flex: 1; }
.spark-canvas { display: block; }
.mpc-price-col { text-align: right; flex-shrink: 0; }
.mpc-price { display: block; font-family: var(--font-mono); font-weight: 700; font-size: .85rem; }
.mpc-chg {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
}
.mpc-chg.up   { color: var(--accent-green); background: rgba(16,185,129,.1); }
.mpc-chg.down { color: var(--accent-red);   background: rgba(239,68,68,.1); }

.mpc-view-all {
  display: block;
  text-align: center;
  padding: 13px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  transition: background var(--t);
}
.mpc-view-all:hover { background: var(--accent-light); }

/* Platform badges below panel */
.panel-platform-badges {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}
.plat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ── Brands Strip ────────────────────────────────────────────────── */
.brands-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.brands-label {
  text-align: center;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.brand-item {
  padding: 8px 28px;
  border-right: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-3);
  white-space: nowrap;
  transition: color var(--t);
}
.brand-item:last-child { border-right: none; }
.brand-item:hover { color: var(--text-2); }

/* ── WHY CARDS ──────────────────────────────────────────────────── */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  border-radius: 2px 2px 0 0;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.why-card-wide {
  background: linear-gradient(135deg, #0d1627 0%, #0a1426 100%);
  border-color: rgba(59,130,246,.15);
  padding: 0;
  overflow: hidden;
}
.why-card-wide:hover { transform: translateY(-4px); }

.why-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.icon-orange { background: rgba(255,107,53,.12); border-color: rgba(255,107,53,.2); color: var(--accent-orange); }
.icon-blue   { background: rgba(59,130,246,.1);  border-color: var(--border);       color: var(--accent); }
.icon-green  { background: rgba(16,185,129,.1);  border-color: rgba(16,185,129,.2); color: var(--accent-green); }
.icon-purple { background: rgba(139,92,246,.1);  border-color: rgba(139,92,246,.2); color: var(--accent-purple); }

.why-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.why-desc  { color: var(--text-2); font-size: .88rem; line-height: 1.7; }

/* Why card visual (coins) */
.why-card-visual {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,.05), rgba(255,107,53,.03));
  border-left: 1px solid var(--border);
  min-height: 180px;
}
.coins-visual { position: relative; }
.coin-stack { position: relative; width: 80px; margin: 0 auto; }
.coin {
  width: 70px; height: 18px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  position: absolute;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 4px 12px rgba(245,158,11,.3);
}
.c1 { top: 0; }
.c2 { top: 14px; }
.c3 { top: 28px; }
.c4 { top: 42px; }
.coin-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.floating-badge {
  position: absolute;
  top: -30px; right: -40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  animation: chipFloat 3s ease-in-out infinite;
}
.why-metrics { display: flex; gap: 20px; }
.wmetric { display: flex; flex-direction: column; }
.wmetric-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
.wmetric-lab { font-size: .7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }

/* Spreads visual */
.spread-bar-row { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--text-2); margin-bottom: 8px; }
.spread-bar-row > span:first-child { width: 65px; flex-shrink: 0; }
.spread-bar { flex: 1; height: 5px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.spread-fill { height: 100%; background: linear-gradient(90deg, var(--accent-green), #34d399); border-radius: 3px; }
.spread-val { font-family: var(--font-mono); font-weight: 700; width: 30px; text-align: right; flex-shrink: 0; }
.metric-big { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.metric-lab { font-size: .7rem; color: var(--text-3); text-transform: uppercase; margin-top: 2px; }

/* Execution visual */
.execution-visual { text-align: center; }
.exec-meter { display: inline-flex; align-items: baseline; gap: 4px; }
.exec-value { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--accent-orange); line-height: 1; }
.exec-unit  { font-size: 1.2rem; color: var(--text-2); font-weight: 600; }
.exec-label { font-size: .78rem; color: var(--text-3); margin-top: 4px; }
.exec-bar-wrap { display: flex; align-items: center; gap: 10px; }
.exec-bar-track { flex: 1; height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.exec-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-orange), #fbbf24); border-radius: 3px; }
.exec-bar-pct { font-size: .7rem; color: var(--accent-orange); font-weight: 700; white-space: nowrap; }

/* Security badges */
.security-badges { display: flex; flex-direction: column; gap: 9px; }
.sec-badge { font-size: .83rem; color: var(--text-2); display: flex; align-items: center; gap: 8px; }

/* Platform icons */
.platform-icons { display: flex; gap: 12px; }
.plat-icon-card { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.plat-icon-circle {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}
.plat-icon-card > span { font-size: .72rem; color: var(--text-2); font-weight: 600; }

/* ── ACCOUNT CARDS ──────────────────────────────────────────────── */
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}
.account-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.account-featured {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px rgba(59,130,246,.2), 0 20px 60px rgba(59,130,246,.12);
}
.account-popular-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
}

.account-card-head {
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.account-head-blue   { background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(59,130,246,.02)); border-bottom: 1px solid var(--border); }
.account-head-orange { background: linear-gradient(135deg, rgba(255,107,53,.1), rgba(255,107,53,.02)); border-bottom: 1px solid var(--border); }
.account-head-green  { background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.02)); border-bottom: 1px solid var(--border); }

.account-head-icon {
  width: 46px; height: 46px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.account-head-blue   .account-head-icon { color: var(--accent); }
.account-head-orange .account-head-icon { color: var(--accent-orange); }
.account-head-green  .account-head-icon { color: var(--accent-green); }

.account-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.account-tagline { color: var(--text-2); font-size: .8rem; line-height: 1.55; margin: 0; text-transform: uppercase; letter-spacing: .03em; }

.account-specs-list { padding: 20px 28px; flex: 1; }
.aspec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(59,130,246,.06);
}
.aspec-row:last-child { border-bottom: none; }
.aspec-label { font-size: .75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.aspec-val   { font-weight: 700; font-size: .88rem; font-family: var(--font-mono); }
.highlight-val { color: var(--accent-green); }
.yes-badge {
  background: rgba(16,185,129,.1);
  color: var(--accent-green);
  border: 1px solid rgba(16,185,129,.2);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.account-card-footer { padding: 20px 28px 28px; }
.btn-account {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: var(--t);
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-1);
}
.btn-account:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-account-featured {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,.35);
}
.btn-account-featured:hover { box-shadow: 0 8px 32px rgba(59,130,246,.5); color: #fff; transform: translateY(-2px); }

.compare-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  transition: var(--t);
}
.compare-link:hover { border-color: var(--accent); background: var(--accent-light); }

/* ── PROMO CARDS ────────────────────────────────────────────────── */
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.promo-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.promo-card-featured {
  background: linear-gradient(145deg, #0f1d35, #0d1627);
  border-color: rgba(255,107,53,.25);
}
.promo-hot-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: linear-gradient(135deg, #ff6b35, #ff9058);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.promo-card-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid;
  margin-bottom: 20px;
}
.promo-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.promo-desc  { color: var(--text-2); font-size: .88rem; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.promo-stat-row { display: flex; gap: 24px; margin-bottom: 20px; }
.pstat-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.pstat-lab { font-size: .7rem; color: var(--text-3); text-transform: uppercase; margin-top: 2px; }
.promo-big-val {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 4px;
}
.promo-big-val span { font-size: 3rem; }
.promo-big-sub { font-size: .8rem; color: var(--text-2); margin-bottom: 24px; }
.promo-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  transition: gap var(--t);
}
.promo-read-more:hover { gap: 10px; }
.promo-cta {
  display: inline-flex;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff6b35, #ff9058);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,107,53,.3);
  transition: var(--t);
}
.promo-cta:hover { box-shadow: 0 8px 32px rgba(255,107,53,.5); transform: translateY(-2px); }

/* Wheel preview */
.promo-wheel-preview {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.wheel-segment {
  padding: 6px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c, var(--border));
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c, var(--text-2));
}

/* ── FEATURE CARDS ──────────────────────────────────────────────── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-card-wide { padding: 0; overflow: hidden; }
.feat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.feat-blue   { background: rgba(59,130,246,.1);  border-color: var(--border);       color: var(--accent); }
.feat-orange { background: rgba(255,107,53,.1);  border-color: rgba(255,107,53,.2); color: var(--accent-orange); }
.feat-green  { background: rgba(16,185,129,.1);  border-color: rgba(16,185,129,.2); color: var(--accent-green); }
.feat-purple { background: rgba(139,92,246,.1);  border-color: rgba(139,92,246,.2); color: var(--accent-purple); }

.feat-title  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feat-desc   { color: var(--text-2); font-size: .88rem; line-height: 1.7; }

/* Payment visual */
.feat-visual-col { padding: 28px; background: linear-gradient(135deg, rgba(59,130,246,.04), rgba(255,107,53,.02)); }
.payment-visual { position: relative; width: 200px; }
.pv-card {
  background: linear-gradient(135deg, #1e3a5f, #1a3254);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px;
  width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.pv-card-2 { position: absolute; bottom: -30px; right: 0; transform: rotate(-6deg); background: linear-gradient(135deg, #1c3044, #f59e0b22); }
.pv-card-inner { display: block; }
.pv-card-chip { width: 28px; height: 20px; background: linear-gradient(135deg, #d4af37, #f0d060); border-radius: 4px; margin-bottom: 16px; }
.pv-card-logo { font-weight: 900; font-size: .9rem; color: #fff; font-style: italic; margin-bottom: 8px; }
.pv-btc-icon  { font-size: 1.4rem; color: #f59e0b; margin-bottom: 8px; }
.pv-card-num  { font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.5); }
.pv-globe {
  position: absolute;
  top: -20px; right: -10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; color: var(--accent);
  animation: chipFloat 5s ease-in-out infinite;
}
.pv-globe i { font-size: 1rem; }

/* Payment methods */
.payment-methods-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-badge {
  padding: 5px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
}
.pm-more { color: var(--accent); border-color: rgba(59,130,246,.2); background: var(--accent-light); }

/* Support availability */
.support-availability { display: flex; flex-direction: column; gap: 10px; }
.avail-row { display: flex; align-items: center; gap: 10px; font-size: .83rem; color: var(--text-2); }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.avail-dot.on { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }

.btn-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  transition: gap var(--t);
}
.btn-feat-link:hover { gap: 10px; }

/* Welcome bonus visual */
.welcome-bonus-visual { text-align: center; padding: 12px; background: rgba(16,185,129,.05); border: 1px solid rgba(16,185,129,.15); border-radius: 12px; }
.wb-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--accent-green); line-height: 1; }
.wb-label  { font-size: .78rem; color: var(--text-2); margin-bottom: 4px; }
.wb-max    { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; color: var(--text-1); }

/* Instruments count */
.instruments-count { display: flex; gap: 16px; flex-wrap: wrap; }
.inst-item { text-align: center; }
.inst-num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.inst-lab { font-size: .68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }

/* Mini market table */
.mini-market-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mini-mrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(59,130,246,.06);
  font-size: .8rem;
}
.mini-mrow:last-child { border-bottom: none; }
.mm-sym   { font-weight: 700; flex: 1; }
.mm-price { font-family: var(--font-mono); font-weight: 600; flex: 1; text-align: center; }
.mm-chg   { flex: 1; text-align: right; font-size: .75rem; }

/* ── CTA SECTION ────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0d1e3a 0%, #0a1528 100%);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 24px;
  padding: 48px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.cta-inner {
  background: linear-gradient(135deg, #0d1e3a 0%, #0a1528 100%);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 24px;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 0 80px rgba(59,130,246,.06);
}
.cta-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(59,130,246,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 10px 0 14px;
}
.cta-sub { color: var(--text-2); font-size: 1rem; max-width: 560px; }
.cta-checkmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.cta-checkmarks span { font-size: .85rem; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.cta-note { font-size: .78rem; color: var(--text-3); }

/* ── Scroll Top ─────────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,53,.4);
}
.scroll-top-btn.show { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { transform: scale(1.08); }

/* ── Responsiveness ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 60px 0 60px; }
  .hero-heading { font-size: clamp(2.4rem, 7vw, 4rem); }
  .hero-stats { gap: 0; }
  .cta-inner { padding: 40px 28px; }
  .hstat { padding: 0 16px; }
}

@media (max-width: 767.98px) {
  .section-gap { padding: 64px 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hstat-divider { display: none; }
  .hstat { padding: 0; width: 45%; }
  .why-card, .feature-card, .account-card { padding: 24px; }
  .cta-inner { padding: 32px 20px; }
  .brands-row { gap: 0; }
  .brand-item { padding: 8px 16px; font-size: .72rem; }
}

@media (max-width: 575.98px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-cta-primary, .hero-ctas .btn-cta-ghost { width: 100%; justify-content: center; }
  .panel-float-chip { display: none; }
  .promo-big-val { font-size: 3.5rem; }
}

/* ── Trading Pages Responsive ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .table-responsive table { font-size: 0.85rem; }
  .table-responsive th, .table-responsive td { padding: 12px 16px !important; }
}

@media (max-width: 767.98px) {
  /* Tables - make them scrollable horizontally */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-responsive table { min-width: 600px; }
  .table-responsive th, .table-responsive td { padding: 10px 14px !important; font-size: 0.8rem !important; white-space: nowrap; }
  
  /* Section headers */
  .section-gap { padding: 48px 0; }
  
  /* Flex sections */
  section > .container > .row > div > div[style*="display: flex"] { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
  /* Tables on mobile */
  .table-responsive table { min-width: 500px; }
  .table-responsive th, .table-responsive td { padding: 8px 10px !important; font-size: 0.75rem !important; }
  
  /* Cards padding */
  .container { padding-left: 16px; padding-right: 16px; }
  
  /* Grid stats */
  section > .container > div[style*="display: grid"] { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  section > .container > div[style*="display: grid"] > div { padding: 16px !important; }
}

/* ================================================================
   SHARED TRADING PAGE STYLES (tpage-hero)
   Used by: accounts, instruments, platforms, syntx pages
   ================================================================ */

/* Hero banner shared by all trading sub-pages */
.tpage-hero {
  position: relative;
  padding: 60px 0 50px;
  background: #05090f;
  overflow: hidden;
  text-align: center;
}
.tpage-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.tpage-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.tpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.tpage-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: -.03em;
}
.tpage-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* CTA section responsive fix for trading pages */
@media (max-width: 767.98px) {
  .cta-section { padding: 32px 24px; }
  .tpage-hero  { padding: 90px 0 60px; }
}
@media (max-width: 575.98px) {
  .cta-section { padding: 28px 18px; text-align: center; }
  .cta-section .text-lg-end { text-align: center !important; }
  .tpage-hero  { padding: 80px 0 52px; }
  .tpage-h1    { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .tpage-sub   { font-size: .95rem; }
}