/* ============================================================
   Cme Capital Exchange — Design System
   Modern FX & Copy Trading UI · Dark Emerald Fintech Theme
   ============================================================ */

:root {
  --bg: #060a14;
  --bg-2: #0a1020;
  --bg-3: #0e1628;
  --surface: #101a2e;
  --surface-2: #152238;
  --line: rgba(148, 178, 255, 0.12);
  --line-strong: rgba(148, 178, 255, 0.22);
  --text: #eef3fd;
  --text-2: #a8b6d3;
  --text-3: #6b7a99;
  --brand: #00c389;
  --brand-2: #00e5a0;
  --brand-soft: rgba(0, 197, 137, 0.12);
  --blue: #4d8dff;
  --gold: #f5c044;
  --red: #ff5c6c;
  --green: #2fdc8c;
  --grad: linear-gradient(135deg, #00e5a0 0%, #00b3ff 100%);
  --grad-warm: linear-gradient(135deg, #f5c044 0%, #ff8a3d 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-1: 0 10px 30px rgba(2, 6, 18, 0.5);
  --shadow-2: 0 26px 60px rgba(2, 6, 18, 0.6);
  --glow: 0 0 0 1px rgba(0, 229, 160, 0.25), 0 14px 44px rgba(0, 197, 137, 0.28);
  --font-display: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --header-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(0, 197, 137, 0.13), transparent 62%),
    radial-gradient(760px 520px at -12% 24%, rgba(77, 141, 255, 0.10), transparent 60%),
    radial-gradient(700px 700px at 55% 115%, rgba(0, 179, 255, 0.07), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.02em; font-weight: 700; }

::selection { background: rgba(0, 197, 137, 0.35); color: #fff; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(16, 26, 46, 0.55), rgba(10, 16, 32, 0.2)); border-block: 1px solid var(--line); }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 197, 137, 0.09);
  border: 1px solid rgba(0, 197, 137, 0.28);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: clamp(15.5px, 1.6vw, 18px); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: 17.5px; }
.small { font-size: 13.5px; color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--grad); color: #04121d; box-shadow: 0 12px 30px rgba(0, 197, 137, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 197, 137, 0.45); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(16, 26, 46, 0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(0, 229, 160, 0.5); color: var(--brand-2); transform: translateY(-2px); }
.btn-soft { background: var(--brand-soft); color: var(--brand-2); border: 1px solid rgba(0, 197, 137, 0.25); }
.btn-soft:hover { background: rgba(0, 197, 137, 0.2); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(16, 26, 46, 0.8); border: 1px solid var(--line); color: var(--text-2);
}
.chip svg { width: 15px; height: 15px; color: var(--brand-2); }
.badge-up, .badge-down, .badge-warn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.badge-up { color: var(--green); background: rgba(47, 220, 140, 0.12); }
.badge-down { color: var(--red); background: rgba(255, 92, 108, 0.12); }
.badge-warn { color: var(--gold); background: rgba(245, 192, 68, 0.13); }

.icon-wrap {
  width: 54px; height: 54px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(0, 229, 160, 0.16), rgba(0, 179, 255, 0.1));
  border: 1px solid rgba(0, 197, 137, 0.3);
  color: var(--brand-2);
}
.icon-wrap svg { width: 25px; height: 25px; }
.icon-wrap.gold { background: rgba(245, 192, 68, 0.12); border-color: rgba(245, 192, 68, 0.35); color: var(--gold); }
.icon-wrap.blue { background: rgba(77, 141, 255, 0.12); border-color: rgba(77, 141, 255, 0.35); color: var(--blue); }
.icon-wrap.red { background: rgba(255, 92, 108, 0.1); border-color: rgba(255, 92, 108, 0.3); color: var(--red); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: linear-gradient(90deg, rgba(0, 197, 137, 0.14), rgba(0, 179, 255, 0.1));
  border-bottom: 1px solid var(--line);
  font-size: 12.8px; color: var(--text-2);
  position: relative; z-index: 60;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 7px 0; }
.topbar a { color: var(--text-2); transition: color 0.2s; }
.topbar a:hover { color: var(--brand-2); }
.topbar-group { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--brand-2); }
.topbar .socials { display: flex; gap: 6px; }
.topbar .socials a { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); }
.topbar .socials a svg { width: 13px; height: 13px; color: var(--text-2); }
.topbar .socials a:hover svg { color: var(--brand-2); }
.topbar .socials a:hover { border-color: rgba(0, 229, 160, 0.4); }

.site-header {
  position: sticky; top: 0; z-index: 55;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(6, 10, 20, 0.92); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
.nav-bar { display: flex; align-items: center; gap: 26px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 8px 22px rgba(0, 197, 137, 0.4); }
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-text b { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; }
.brand-text span { font-size: 9.5px; letter-spacing: 0.34em; color: var(--brand-2); font-weight: 700; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 14.8px; font-weight: 500; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav-link svg { width: 13px; height: 13px; transition: transform 0.25s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(148, 178, 255, 0.08); }
.main-nav > li:hover .nav-link svg { transform: rotate(180deg); }
.nav-link.active { color: var(--brand-2); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 10px);
  min-width: 340px;
  background: rgba(13, 20, 38, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.main-nav > li:hover .dropdown, .main-nav > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.drop-grid { display: grid; gap: 2px; }
.drop-grid.two { grid-template-columns: 1fr 1fr; min-width: 560px; }
.drop-item { display: flex; gap: 13px; padding: 11px 12px; border-radius: 12px; transition: background 0.18s; align-items: flex-start; }
.drop-item:hover { background: rgba(0, 197, 137, 0.09); }
.drop-item .d-ic { width: 36px; height: 36px; border-radius: 11px; background: rgba(0, 197, 137, 0.1); border: 1px solid rgba(0, 197, 137, 0.22); display: grid; place-items: center; color: var(--brand-2); flex: none; }
.drop-item .d-ic svg { width: 17px; height: 17px; }
.drop-item b { display: block; font-size: 14.3px; font-weight: 600; }
.drop-item small { display: block; color: var(--text-3); font-size: 12.3px; margin-top: 1px; line-height: 1.4; }
.drop-item.active b { color: var(--brand-2); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); place-items: center; }
.burger svg { width: 20px; height: 20px; }
.burger .ic-close { display: none; }
body.menu-open .burger .ic-close { display: block; }
body.menu-open .burger .ic-menu { display: none; }
body.menu-open { overflow: hidden; }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 54;
  background: rgba(4, 7, 15, 0.98);
  padding: calc(var(--header-h) + 40px) 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.7, 0, 0.3, 1);
  display: none;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 17px 4px; font-size: 16.5px; font-weight: 600; font-family: var(--font-display); }
.m-acc > button svg { width: 16px; height: 16px; color: var(--brand-2); transition: transform 0.25s; }
.m-acc.open > button svg { transform: rotate(180deg); }
.m-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.m-acc.open .m-acc-body { max-height: 640px; }
.m-acc-body a { display: block; padding: 10px 6px 10px 16px; color: var(--text-2); font-size: 15px; border-left: 2px solid var(--line); margin: 4px 0 8px; }
.m-acc-body a:hover, .m-acc-body a.active { color: var(--brand-2); border-color: var(--brand-2); }
.m-actions { display: grid; gap: 12px; margin-top: 26px; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { position: relative; padding: clamp(56px, 7vw, 100px) 0 clamp(60px, 7vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 800px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 197, 137, 0.16), transparent);
  filter: blur(10px);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: 0.4; pointer-events: none;
  background-image: linear-gradient(rgba(148, 178, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 178, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(34px, 4.9vw, 60px); margin-bottom: 22px; }
.hero h1 .text-grad { display: inline; }
.hero .lead { font-size: clamp(16px, 1.8vw, 19px); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
.hero-visual::after {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; z-index: -1; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(0, 229, 160, 0.25), rgba(0, 179, 255, 0.12));
  filter: blur(46px);
}
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(13, 20, 38, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-1);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-num { font-family: var(--font-display); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.float-card .fc-label { font-size: 11.5px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }
.float-card.fc-1 { top: 8%; left: -34px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 12%; right: -26px; animation-delay: 1.8s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- ticker tape ---------- */
.ticker-band {
  border-block: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.85);
  overflow: hidden; position: relative; z-index: 2;
  direction: ltr;
}
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker-band:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 13.6px; }
.tk b { font-weight: 600; letter-spacing: 0.02em; }
.tk .tk-price { font-variant-numeric: tabular-nums; color: var(--text-2); transition: color 0.3s; }
.tk .tk-flash-up { color: var(--green) !important; }
.tk .tk-flash-down { color: var(--red) !important; }

/* ---------- stats ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { padding: 28px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(21, 34, 56, 0.7), rgba(13, 20, 38, 0.5)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; inset: auto -20% -45% 30%; height: 120px; background: radial-gradient(closest-side, rgba(0, 197, 137, 0.18), transparent); }
.stat-num { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
.stat-num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: linear-gradient(165deg, rgba(21, 34, 56, 0.66), rgba(11, 18, 33, 0.75));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 229, 160, 0.4); box-shadow: var(--shadow-2); }
.card h3 { font-size: 19.5px; margin: 18px 0 10px; }
.card p { color: var(--text-2); font-size: 14.8px; }
.card .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--brand-2); font-weight: 600; font-size: 14.3px; }
.card .card-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.card:hover .card-link svg { transform: translateX(5px); }
.card-tag { position: absolute; top: 18px; right: 18px; }

/* feature rows (image + content) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5.5vw, 76px); align-items: center; }
.split.split-wide { grid-template-columns: 0.9fr 1.1fr; }
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
.split-media::before {
  content: ""; position: absolute; inset: -4% -5% auto; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 197, 137, 0.22), transparent); filter: blur(30px);
}
.split h2 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 18px; }
.split .lead { margin-bottom: 26px; }

.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.check-list li b { color: var(--text); font-weight: 600; }
.check-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 197, 137, 0.15); border: 1px solid rgba(0, 197, 137, 0.4); color: var(--brand-2); margin-top: 1px; }
.check-ic svg { width: 12px; height: 12px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: step; position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: linear-gradient(165deg, rgba(21, 34, 56, 0.6), rgba(11, 18, 33, 0.7)); border: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 46px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.6px; }

/* ---------- market cards ---------- */
.market-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.market-top { display: flex; align-items: center; justify-content: space-between; }
.market-sym { display: flex; align-items: center; gap: 12px; }
.sym-badge { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; background: rgba(0, 197, 137, 0.12); border: 1px solid rgba(0, 197, 137, 0.3); color: var(--brand-2); }
.sym-badge.blue { background: rgba(77, 141, 255, 0.12); border-color: rgba(77, 141, 255, 0.3); color: var(--blue); }
.sym-badge.gold { background: rgba(245, 192, 68, 0.12); border-color: rgba(245, 192, 68, 0.35); color: var(--gold); }
.sym-badge.red { background: rgba(255, 92, 108, 0.1); border-color: rgba(255, 92, 108, 0.3); color: var(--red); }
.market-sym b { font-size: 15.5px; display: block; }
.market-sym small { color: var(--text-3); font-size: 12.3px; }
.spark { width: 100%; height: 52px; }
.market-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--text-3); }
.market-foot .price { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- trader cards ---------- */
.traders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trader-card { padding: 26px 22px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.trader-head { display: flex; align-items: center; gap: 13px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #051019; position: relative; }
.avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(0, 229, 160, 0.4); }
.trader-head b { font-size: 16px; display: block; }
.trader-head small { color: var(--text-3); font-size: 12.4px; display: flex; align-items: center; gap: 5px; }
.trader-head small svg { width: 12px; height: 12px; color: var(--gold); }
.trader-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 13px 0; border-block: 1px solid var(--line); }
.trader-stats div span { display: block; font-size: 11.4px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.trader-stats div b { font-size: 15.5px; font-variant-numeric: tabular-nums; }
.trader-stats .up { color: var(--green); }
.trader-risk { font-size: 12.6px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.risk-pips { display: inline-flex; gap: 3px; }
.risk-pips i { width: 14px; height: 5px; border-radius: 3px; background: rgba(148, 178, 255, 0.18); }
.risk-pips i.on-g { background: var(--green); }
.risk-pips i.on-y { background: var(--gold); }
.risk-pips i.on-r { background: var(--red); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 18, 33, 0.6); }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.6px; }
.data-table th {
  text-align: left; padding: 15px 20px; font-size: 12.2px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600; background: rgba(21, 34, 56, 0.75); border-bottom: 1px solid var(--line);
}
.data-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text-2); font-variant-numeric: tabular-nums; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background 0.18s; }
.data-table tbody tr:hover { background: rgba(0, 197, 137, 0.05); }
.data-table td strong, .data-table td .strong { color: var(--text); font-weight: 600; }
.data-table .pair { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.flag-badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(77, 141, 255, 0.12); border: 1px solid rgba(77, 141, 255, 0.25); color: var(--blue); font-family: var(--font-display); }

/* ---------- account compare ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 900px; margin-inline: auto; }
.plan { padding: 38px 34px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(170deg, rgba(21, 34, 56, 0.75), rgba(11, 18, 33, 0.85)); position: relative; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.plan:hover { transform: translateY(-6px); }
.plan.featured { border-color: rgba(0, 229, 160, 0.55); box-shadow: var(--glow); }
.plan-flag { position: absolute; top: -14px; left: 34px; padding: 5px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--grad); color: #04121d; }
.plan h3 { font-size: 23px; margin-bottom: 6px; }
.plan .plan-sub { color: var(--text-3); font-size: 14px; margin-bottom: 22px; }
.plan-price { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
.plan-price small { font-size: 15px; color: var(--text-3); font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }
.plan ul { margin: 24px 0 30px; display: grid; gap: 12px; }
.plan ul li { display: flex; gap: 11px; align-items: center; color: var(--text-2); font-size: 14.8px; }
.plan ul li svg { width: 17px; height: 17px; color: var(--brand-2); flex: none; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(21, 34, 56, 0.6), rgba(11, 18, 33, 0.75)); display: flex; flex-direction: column; gap: 18px; }
.testi-stars { display: inline-flex; gap: 3px; color: var(--gold); }
.testi-stars svg { width: 16px; height: 16px; }
.testi p { color: var(--text-2); font-size: 15px; flex: 1; }
.testi-user { display: flex; align-items: center; gap: 13px; }
.testi-user .avatar { width: 44px; height: 44px; font-size: 14px; }
.testi-user .avatar::after { display: none; }
.testi-user b { font-size: 14.6px; display: block; }
.testi-user small { color: var(--text-3); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 800px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(16, 26, 46, 0.55); overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: rgba(0, 229, 160, 0.4); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; text-align: left; font-weight: 600; font-size: 15.6px; }
.faq-q svg { width: 17px; height: 17px; color: var(--brand-2); flex: none; transition: transform 0.3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a > div { padding: 0 22px 20px; color: var(--text-2); font-size: 14.8px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 76px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 380px at 20% 0%, rgba(0, 197, 137, 0.16), transparent 65%); pointer-events: none; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 13.4px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--brand-2); }
.crumbs svg { width: 12px; height: 12px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 16px; max-width: 780px; }
.page-hero .lead { max-width: 680px; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.page-hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; }
.page-hero-stats .phs b { font-family: var(--font-display); font-size: 26px; display: block; }
.page-hero-stats .phs span { font-size: 13px; color: var(--text-3); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(10, 16, 32, 0.8); border: 1px solid var(--line-strong);
  color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 197, 137, 0.16); }
.field textarea { min-height: 140px; resize: vertical; }
.field select option { background: var(--bg-3); }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(16, 26, 46, 0.55); transition: border-color 0.25s, transform 0.25s; }
.contact-card:hover { border-color: rgba(0, 229, 160, 0.4); transform: translateY(-4px); }
.contact-card b { display: block; font-size: 16px; margin-bottom: 3px; }
.contact-card p { color: var(--text-2); font-size: 14.2px; }

/* ---------- tabs ---------- */
.tabs-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; justify-content: center; }
.tab-btn { padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 600; font-size: 14.2px; transition: all 0.22s; background: rgba(16, 26, 46, 0.5); }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { background: var(--grad); color: #04121d; border-color: transparent; }
.tab-panel { display: none; animation: fadeUp 0.4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(44px, 6vw, 72px); text-align: center; border: 1px solid rgba(0, 229, 160, 0.35); background: linear-gradient(140deg, rgba(0, 197, 137, 0.16), rgba(0, 179, 255, 0.1) 70%), var(--bg-3); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(148, 178, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 178, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(27px, 3.8vw, 42px); margin-bottom: 14px; }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(7, 11, 20, 0.9); padding: clamp(56px, 7vw, 84px) 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 48px; }
.footer-brand p { color: var(--text-2); font-size: 14.2px; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all 0.22s; }
.footer-social a svg { width: 16px; height: 16px; color: var(--text-2); }
.footer-social a:hover { border-color: var(--brand); background: rgba(0, 197, 137, 0.12); }
.footer-social a:hover svg { color: var(--brand-2); }
.footer-col h4 { font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-2); font-size: 14.3px; transition: color 0.18s, padding-left 0.18s; }
.footer-col a:hover { color: var(--brand-2); padding-left: 4px; }
.risk-box { border: 1px solid var(--line); background: rgba(16, 26, 46, 0.5); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 34px; }
.risk-box h5 { display: flex; align-items: center; gap: 9px; font-size: 13.6px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.risk-box h5 svg { width: 16px; height: 16px; }
.risk-box p { color: var(--text-3); font-size: 12.8px; line-height: 1.7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--brand-2); }

/* ---------- misc ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 130%);
  background: rgba(13, 20, 38, 0.97); border: 1px solid rgba(0, 229, 160, 0.45);
  color: var(--text); padding: 14px 22px; border-radius: 14px; font-size: 14.4px; font-weight: 500;
  box-shadow: var(--shadow-2); z-index: 100; transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  display: flex; align-items: center; gap: 11px; max-width: min(92vw, 480px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(16, 26, 46, 0.7); border: 1px solid var(--line); font-size: 13.6px; color: var(--text-2); font-weight: 500; }
.pill svg { width: 14px; height: 14px; color: var(--brand-2); }

.num-list { counter-reset: nl; display: grid; gap: 0; }
.num-list li { counter-increment: nl; display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.num-list li:last-child { border-bottom: 0; }
.num-list li::before { content: counter(nl, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--brand-2); border: 1px solid rgba(0, 197, 137, 0.4); background: rgba(0, 197, 137, 0.1); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.num-list b { display: block; margin-bottom: 3px; }
.num-list p { color: var(--text-2); font-size: 14.4px; }

.job-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16, 26, 46, 0.5); transition: border-color 0.25s, transform 0.25s; }
.job-row:hover { border-color: rgba(0, 229, 160, 0.4); transform: translateX(6px); }
.job-row h3 { font-size: 17.5px; margin-bottom: 6px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 13px; height: 13px; color: var(--brand-2); }

.location-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(21, 34, 56, 0.6), rgba(11, 18, 33, 0.7)); }
.location-card h3 { font-size: 18px; margin: 16px 0 8px; }
.location-card p, .location-card address { color: var(--text-2); font-size: 14.4px; font-style: normal; line-height: 1.75; }

.legal h3 { font-size: 19px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-bottom: 12px; }
.legal-content { max-width: 860px; }

.marquee-logos { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.session-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.session-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(16, 26, 46, 0.55); text-align: center; }
.session-card .s-flag { font-family: var(--font-display); font-weight: 700; font-size: 15px; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 197, 137, 0.12); border: 1px solid rgba(0, 197, 137, 0.3); color: var(--brand-2); }
.session-card h3 { font-size: 17px; margin-bottom: 4px; }
.session-card p { color: var(--text-3); font-size: 13.2px; }
.session-card .s-time { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--text); font-variant-numeric: tabular-nums; }

.h-impact { display: inline-flex; gap: 3px; }
.h-impact i { width: 8px; height: 8px; border-radius: 50%; background: rgba(148, 178, 255, 0.16); }
.h-impact.high i { background: var(--red); }
.h-impact.med i:nth-child(-n+2) { background: var(--gold); }
.h-impact.low i:first-child { background: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .traders-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .main-nav, .nav-actions .btn { display: none; }
  .burger { display: grid; }
  .mobile-menu { display: block; }
  .nav-actions .btn-icon-only { display: inline-grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .float-card.fc-1 { left: -8px; }
  .float-card.fc-2 { right: -8px; }
  .split, .split.split-wide { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .session-row { grid-template-columns: repeat(2, 1fr); }
  .topbar .topbar-hide { display: none; }
}
@media (max-width: 720px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3, .testi-grid, .traders-grid { grid-template-columns: 1fr; }
  .grid-3.keep-2 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.cols-4 { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner { justify-content: center; }
  .topbar .topbar-group:first-child { display: none; }
  .hero { padding-top: 46px; }
  .page-hero-stats { gap: 20px; }
  .session-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container, .container-wide { width: calc(100% - 36px); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 20px; }
  .btn { padding: 13px 20px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
