@charset "UTF-8";

/* ============================================================
   DOYOS Global Markets — Modern Design System
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --font: Inter, Manrope, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1240px;
  --header-h: 78px;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-xl: 46px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --ease-spring: cubic-bezier(.175,.885,.32,1.275);
  --shadow: 0 22px 70px rgba(0,15,46,.14);
  --shadow-lg: 0 45px 110px rgba(0,13,41,.24);
  --shadow-glow: 0 0 40px rgba(22,136,237,.15);
  --blue: #1688ed;
  --cyan: #18c9e6;
  --indigo: #3547d7;
  --violet: #7157ea;
  --green: #16c78d;
  --red: #f05f7a;
  --amber: #f5ad36;
  --focus: #68d7f7;
  --logo-bg: rgba(255,255,255,.97);
}

/* ---------- Dark Theme ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030b18;
  --bg-2: #081a30;
  --surface: #0d2138;
  --surface-2: #112a47;
  --surface-3: #16314f;
  --glass: rgba(15,36,62,.78);
  --glass-strong: rgba(11,28,52,.95);
  --text: #f3f9ff;
  --muted: #a6bdd2;
  --subtle: #7c93a8;
  --line: rgba(140,204,241,.16);
  --line-strong: rgba(105,208,255,.30);
  --hero-glow: rgba(28,179,244,.18);
  --card-glow: rgba(36,181,238,.12);
  --soft-blue: rgba(31,166,236,.16);
  --soft-violet: rgba(113,87,234,.18);
  --soft-green: rgba(22,199,141,.15);
  --footer: #020711;
}

/* ---------- Light Theme ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6faff;
  --bg-2: #eef5fc;
  --surface: #ffffff;
  --surface-2: #f4f9fe;
  --surface-3: #e9f3fb;
  --glass: rgba(255,255,255,.82);
  --glass-strong: rgba(255,255,255,.97);
  --text: #08182e;
  --muted: #51697f;
  --subtle: #6f8498;
  --line: rgba(21,73,116,.12);
  --line-strong: rgba(20,132,208,.26);
  --hero-glow: rgba(24,172,233,.18);
  --card-glow: rgba(31,143,222,.09);
  --soft-blue: rgba(27,151,224,.1);
  --soft-violet: rgba(104,82,231,.1);
  --soft-green: rgba(19,168,119,.1);
  --footer: #07162a;
  --shadow: 0 22px 70px rgba(20,71,108,.12);
  --shadow-lg: 0 42px 100px rgba(16,65,103,.18);
  --shadow-glow: 0 0 40px rgba(24,172,233,.1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---------- Utility ---------- */
.icon {
  width: 1.18em;
  height: 1.18em;
  display: inline-block;
  vertical-align: -.18em;
  flex: none;
}

.container { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.container.narrow { width: min(860px, calc(100% - 44px)); }
.container.wide { width: min(1420px, calc(100% - 36px)); }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  background: #fff;
  color: #07162a;
  border-radius: 12px;
  font-weight: 800;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 18px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #55d6f4;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 6px rgba(35,195,235,.11);
  animation: eyebrow-pulse 2.5s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(35,195,235,.11); }
  50% { box-shadow: 0 0 0 10px rgba(35,195,235,.05); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.12;
  margin: 0 0 .75em;
  letter-spacing: -.035em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6.4vw, 6.25rem); font-weight: 840; }
h2 { font-size: clamp(2.15rem, 4.2vw, 4rem); font-weight: 820; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 780; }
h4 { font-size: 1.04rem; font-weight: 760; letter-spacing: -.012em; }
p { margin: 0 0 1.15em; color: var(--muted); }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.75;
  text-wrap: pretty;
}

/* ============================================================
   ADVANCED: Global Polish
   ============================================================ */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(22,136,237,.3);
  color: #fff;
  text-shadow: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Text Accent ---------- */
.text-accent {
  color: var(--cyan);
}

.muted { color: var(--muted); }
.caption { font-size: .82rem; color: var(--subtle); }
.strong { font-weight: 750; color: var(--text); }

/* ---------- Risk Bar ---------- */
.risk-bar {
  position: relative;
  z-index: 120;
  background: #021126;
  border-bottom: 1px solid rgba(121,196,239,.15);
  color: #b5cee2;
  font-size: .78rem;
}
.risk-bar .container {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.risk-bar a {
  color: #5ad4f9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.risk-bar a:hover { color: #fff; }

/* ============================================================
   HEADER — Sticky + Glass Blur
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background .35s, box-shadow .35s, border-color .35s;
}

.site-header.scrolled {
  background: var(--glass-strong);
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
  border-bottom-color: var(--line-strong);
}
.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: .7;
  pointer-events: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 10px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }

/* ---------- Desktop Nav ---------- */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
  flex: 1;
}

.nav-group {
  position: relative;
}

.nav-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: none;
  background: none;
  font-weight: 720;
  font-size: .92rem;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: color .2s, background .2s;
}
.nav-trigger:hover,
.nav-group:hover .nav-trigger {
  color: var(--text);
  background: var(--soft-blue);
}
.nav-trigger .icon { transition: transform .3s var(--ease); }
.nav-group:hover .nav-trigger .icon { transform: rotate(180deg); }
.nav-trigger::after,
.nav-simple::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-trigger:hover::after,
.nav-group:hover .nav-trigger::after,
.nav-simple:hover::after { transform: scaleX(1); }

.nav-simple {
  padding: 8px 14px;
  font-weight: 720;
  font-size: .92rem;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: color .2s, background .2s;
}
.nav-simple:hover {
  color: var(--text);
  background: var(--soft-blue);
}

/* ---------- Mega Panel ---------- */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: min(820px, 90vw);
  background: var(--glass-strong);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), visibility .25s;
  /* Extra padding-top creates invisible hover bridge to nav-trigger */
  padding-top: 40px;
  margin-top: -12px;
}

.nav-group:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.mega-feature {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.mega-feature h3 { font-size: 1.1rem; margin-bottom: 10px; }
.mega-feature p { font-size: .88rem; margin-bottom: 16px; }

.mega-col h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--subtle);
  margin: 0 0 12px;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .15s;
}
.mega-link:hover {
  background: var(--soft-blue);
  transform: translateX(3px);
}
.mega-link b { display: block; font-size: .88rem; font-weight: 720; color: var(--text); }
.mega-link small { display: block; font-size: .76rem; color: var(--subtle); margin-top: 2px; }

.mega-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--soft-blue);
  flex-shrink: 0;
  transition: background .2s;
}
.mega-link:hover .mega-icon { background: rgba(22,136,237,.22); }

/* ---------- Nav Actions ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.login-btn { display: inline-flex; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-xs);
  transition: background .2s, border-color .2s;
}
.icon-btn:hover {
  background: var(--soft-blue);
  border-color: var(--line-strong);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
html[data-theme="light"] .theme-toggle .sun-icon { display: block; }
html[data-theme="light"] .theme-toggle .moon-icon { display: none; }

.menu-toggle { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 750;
  font-size: .92rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .3s, background .3s;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transition: left .5s;
}
.btn:hover::after { left: 100%; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 20px rgba(22,136,237,.3), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-primary:hover {
  box-shadow: 0 8px 35px rgba(22,136,237,.45), inset 0 1px 0 rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(22,136,237,.25), inset 0 1px 0 rgba(255,255,255,.08);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--soft-blue);
  border-color: var(--line-strong);
}

.btn-sm { padding: 10px 20px; font-size: .84rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 720;
  color: var(--blue);
  transition: gap .25s var(--ease), color .2s, transform .2s;
}
.text-link:hover { gap: 10px; color: var(--cyan); transform: translateX(2px); }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 110px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow-drift 8s ease-in-out infinite;
}

@keyframes hero-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-copy { max-width: 640px; }
.hero-copy .lead { color: var(--muted); margin-bottom: 28px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--subtle);
  margin-top: 18px;
}

/* ---------- Hero KPIs ---------- */
.hero-kpis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(0,0,0,.06);
}
.hero-kpis::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  z-index: 1;
}

.hero-kpi {
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .3s;
}
.hero-kpi:last-child { border-right: 0; }
.hero-kpi:hover { background: var(--soft-blue); }

.hero-kpi strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 820;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-kpi span {
  font-size: .78rem;
  color: var(--subtle);
}

/* ---------- Hero Visual ---------- */
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 32%;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  height: auto;
  transition: transform .6s var(--ease);
}
.hero-visual:hover img {
  transform: scale(1.02) translateY(-4px);
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  animation: badge-float 3s ease-in-out infinite;
}
.hero-badge b { display: block; font-size: .88rem; }
.hero-badge span { font-size: .76rem; color: var(--subtle); }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 750;
  color: var(--subtle);
  white-space: nowrap;
  padding-left: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22,199,141,.6); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(22,199,141,0); }
}

.tv-ticker { flex: 1; min-width: 0; padding-left: 0; }

/* ============================================================
   STATS BAND
   ============================================================ */
.section-tight { padding: 0; }

.stats-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(0,0,0,.06);
}
.stats-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  z-index: 1;
}

.stat {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .3s;
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--soft-blue); }

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 840;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #78e9ff, #2da7f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: .78rem;
  color: var(--subtle);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 76px 0; position: relative; background: radial-gradient(1200px 520px at 50% -6%, rgba(22,136,237,.05), transparent 70%), radial-gradient(circle at 1px 1px, rgba(140,204,241,.05) 1px, transparent 0); background-size: auto, 32px 32px; background-color: var(--bg); }
.section-sm { padding: 46px 0; position: relative; background: radial-gradient(1000px 460px at 50% -10%, rgba(22,136,237,.045), transparent 70%), radial-gradient(circle at 1px 1px, rgba(140,204,241,.05) 1px, transparent 0); background-size: auto, 32px 32px; background-color: var(--bg); }
.section-alt {
  background:
    radial-gradient(1100px 420px at 50% -12%, var(--card-glow), transparent 72%),
    var(--bg-2);
}
.section-dark { background: var(--surface); }

.section + .section::before,
.section + .section-sm::before,
.section-sm + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 72%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.section-head > .title-wrap { max-width: 600px; }
.section-head > p { max-width: 480px; font-size: 1rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > .title-wrap { max-width: 760px; }
.section-head.center > p { margin-left: auto; margin-right: auto; }
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }

/* ============================================================
   CARDS — Glassmorphism + Glow
   ============================================================ */
.card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, background .3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18), 0 0 0 1px rgba(22,136,237,.2);
  border-color: var(--line-strong);
  background: var(--surface);
}

.card .icon-box { margin-bottom: 16px; }

/* ---------- Market Cards ---------- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.markets-grid .market-card:nth-child(1),
.markets-grid .market-card:nth-child(2),
.markets-grid .market-card:nth-child(3) { grid-column: span 2; }
.markets-grid .market-card:nth-child(4),
.markets-grid .market-card:nth-child(5) { grid-column: span 3; }

.market-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}
.market-card > * { position: relative; z-index: 2; }

.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--blue)), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.market-card:hover::before { opacity: 1; }

.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% -10%, var(--card-glow), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.market-card:hover::after { opacity: 1; }
.market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.18), 0 0 0 1px var(--accent, rgba(105,208,255,.18));
  border-color: var(--accent, var(--line-strong));
  background: var(--surface);
}

.market-code {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--subtle);
  opacity: .6;
}

.market-card .icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft, var(--soft-blue));
  border: 1px solid var(--line);
  margin-bottom: 18px;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.market-card:hover .icon-box {
  transform: scale(1.08) rotate(-3deg);
  border-color: var(--accent, var(--line-strong));
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.market-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.market-card p { font-size: .9rem; margin-bottom: 16px; }

.market-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.market-meta span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--subtle);
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 20px;
}

/* ---------- Account Cards ---------- */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.account-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}
.account-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.account-card:hover::before { opacity: 1; }
.account-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  border-color: var(--line-strong);
  background: var(--surface);
}

.account-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--blue), var(--cyan), var(--violet)) border-box;
  box-shadow: 0 0 0 1px rgba(22,136,237,.2), 0 16px 46px rgba(22,136,237,.2);
}
.account-card.featured::before { opacity: 1; }
.account-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px var(--blue), 0 22px 56px rgba(22,136,237,.28);
}
.account-card.featured::after {
  content: "Most popular";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(22,136,237,.35);
}

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--soft-blue);
  border: 1px solid rgba(22,136,237,.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.price-line strong {
  font-size: 1.95rem;
  font-weight: 850;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #8fe1ff, #4f9dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-line span { font-size: .84rem; color: var(--subtle); margin-left: 6px; }

.account-spec {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--line);
}
.account-spec:last-of-type { border-bottom: 0; }
.account-spec span { color: var(--subtle); }
.account-spec b { font-weight: 720; color: var(--text); }

.account-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ---------- Comparison Table ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  white-space: nowrap;
}
.compare-table thead th {
  background: var(--surface-2);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
}
.compare-table tbody tr { transition: background .2s; }
.compare-table tbody tr:hover { background: var(--surface-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 760; color: var(--text); white-space: normal; }
.compare-table .group-cell { color: var(--muted); font-weight: 600; font-size: .82rem; }
.compare-table .hl { color: var(--blue); font-weight: 760; }
.compare-table .tag-cell { display: inline-block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--soft-blue); border: 1px solid rgba(22,136,237,.28); padding: 3px 10px; border-radius: 999px; }

/* ---------- Resource Cards ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.resource-card {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, background .3s;
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,.14);
  border-color: var(--line-strong);
  background: var(--surface);
}

.resource-card .text-link { margin-top: auto; padding-top: 18px; }

.resource-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-color: var(--line-strong);
}
.resource-card:first-child .feature-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(22,136,237,.16), transparent 60%),
    linear-gradient(135deg, rgba(113,87,234,.12), rgba(22,136,237,.06));
  border-right: 1px solid var(--line);
}
.resource-card:first-child .feature-media img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-sm);
}
.resource-card:first-child .feature-body { padding: 40px; display: flex; flex-direction: column; }

.resource-card .icon-box { margin-bottom: 14px; }

/* ---------- Document Cards ---------- */
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--line-strong);
  background: var(--surface);
}
.document-card h3 { margin: 0 0 10px; }
.document-card p { margin: 0 0 20px; flex: 1; }
.document-card .text-link { margin-top: auto; }

/* ============================================================
   ICON BOX
   ============================================================ */
.icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--soft-blue);
  flex-shrink: 0;
}
.icon-box.green { background: var(--soft-green); }
.icon-box.violet { background: var(--soft-violet); }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--muted);
  font-size: .95rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .visual { order: -1; }

.visual { position: relative; }
.visual::before {
  content: "";
  position: absolute;
  inset: 12% 10% 18%;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}
.visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 540px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 55px rgba(13,58,102,.28));
  transition: transform .5s var(--ease);
}
.visual .floating-proof { z-index: 2; }
.visual:hover img { transform: translateY(-6px); }
.floating-proof {
  position: absolute;
  bottom: 15px;
  right: -15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  animation: badge-float 3.5s ease-in-out infinite;
}
.floating-proof b { display: block; font-size: .84rem; }
.floating-proof small { display: block; font-size: .72rem; color: var(--subtle); }

/* ============================================================
   TRUST PANEL
   ============================================================ */
.trust-panel {
  background: linear-gradient(135deg, rgba(22,136,237,.08), rgba(113,87,234,.06));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 50px;
  margin-bottom: 30px;
}

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

.trust-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.trust-item .icon { margin: 0 auto 12px; width: 28px; height: 28px; }
.trust-item b { display: block; font-size: .92rem; margin-bottom: 6px; }
.trust-item small { font-size: .82rem; color: var(--subtle); }

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  border-bottom: none;
  padding-bottom: 0;
}

.tab-btn {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 720;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s, background .25s;
}
.tab-btn:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.tab-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 26px rgba(22,136,237,.32);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeSlideUp .4s var(--ease); }

/* ============================================================
   LIVE GRID / SESSIONS
   ============================================================ */
.live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.live-workspace .live-grid {
  position: relative;
  background-image: url('../img/market-dashboard.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.live-workspace .live-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,36,62,.85) 0%, rgba(15,36,62,.95) 100%);
  z-index: 0;
  border-radius: var(--radius);
}
.live-workspace .live-grid > * {
  position: relative;
  z-index: 1;
}

.widget-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
}
.widget-card.small { min-height: 350px; }
.widget-card > div { width: 100%; height: 100%; }

.session-stack { display: flex; flex-direction: column; gap: 12px; }

.session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s;
}
.session-card:hover { background: var(--soft-blue); border-color: var(--line-strong); }

.session-city {
  display: flex;
  align-items: center;
  gap: 12px;
}
.session-city b { display: block; font-size: .92rem; }
.session-city small { font-size: .78rem; color: var(--subtle); }

.session-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--soft-blue);
}

.session-time { text-align: right; }
.session-time b { display: block; font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.session-status {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 6px;
}
.session-status.open { color: var(--green); background: rgba(22,199,141,.12); }
.session-status.closed { color: var(--red); background: rgba(240,95,122,.1); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-weight: 750;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: 14px;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform .3s var(--ease), color .2s, border-color .2s, background .2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.faq-list summary:hover { color: var(--blue); }
.faq-list summary:hover::after { border-color: var(--blue); color: var(--blue); }

.faq-list details p {
  padding: 0 0 20px;
  font-size: .92rem;
}

/* ============================================================
   CTA PANEL
   ============================================================ */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(22,136,237,.14), transparent 60%),
    linear-gradient(135deg, rgba(22,136,237,.1), rgba(113,87,234,.08));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(22,136,237,.2);
}
.cta-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  z-index: 2;
}
.cta-panel h2 { margin-bottom: 12px; }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; }

/* ============================================================
   GRID UTILITIES
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================================
   PAGE HERO (Sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 92px 0 64px;
  background: var(--bg-2);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 50px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--subtle);
  margin-bottom: 18px;
  padding: 8px 16px;
  width: fit-content;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.breadcrumbs::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 8px rgba(35,195,235,.45);
}
.breadcrumbs a { color: var(--subtle); transition: color .2s; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs strong { color: var(--text); }

.page-hero .hero-actions { margin-top: 26px; }

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .3s;
}
.hero-chip:hover {
  border-color: var(--blue);
  background: var(--soft-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,136,237,.15);
}

.page-hero-visual {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(22,136,237,.12), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,15,46,.18);
  overflow: hidden;
}
.page-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 18px 50px rgba(22,136,237,.16));
  transition: transform .5s var(--ease);
}
.page-hero-visual:hover img { transform: translateY(-5px); }
.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, var(--hero-glow), transparent 70%);
  filter: blur(10px);
  animation: hero-glow-drift 9s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Hero Trust Strip ---------- */
.trust-strip-section { padding: 4px 0 0; }
.trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}
.trust-strip .ts-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .88rem;
  font-weight: 660;
  color: var(--muted);
}
.trust-strip .ts-item .icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--blue);
}

/* ---------- Quick Nav ---------- */
.quick-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.quick-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.quick-nav-inner::-webkit-scrollbar { display: none; }
.quick-nav-inner a {
  padding: 8px 16px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--subtle);
  border-radius: 20px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.quick-nav-inner a:hover,
.quick-nav-inner a.active {
  color: var(--blue);
  background: var(--soft-blue);
}

/* ============================================================
   OFFICE GRID
   ============================================================ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.office-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.office-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--blue)), transparent);
  opacity: .7;
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--line-strong);
}
.office-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.office-card p { font-size: .88rem; }
.office-card .channel-tag { margin-bottom: 14px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,136,237,.15);
}

.form-success {
  display: none;
  padding: 14px 18px;
  background: rgba(22,199,141,.1);
  border: 1px solid rgba(22,199,141,.3);
  border-radius: var(--radius-xs);
  color: var(--green);
  font-weight: 700;
  font-size: .92rem;
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calculator-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

/* ============================================================
   LEGAL LAYOUT
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
}
.legal-nav a {
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--subtle);
  border-radius: var(--radius-xs);
  transition: color .2s, background .2s;
}
.legal-nav a:hover { color: var(--text); background: var(--soft-blue); }
.legal-nav a.active { color: var(--blue); background: var(--soft-blue); }

.legal-content { max-width: 780px; }
.legal-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal-content h3 { font-size: 1.15rem; margin-top: 2em; }
.legal-content p { font-size: .95rem; }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin-bottom: 8px; color: var(--muted); font-size: .95rem; }

/* ============================================================
   PAYMENT GRID
   ============================================================ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s;
}
.payment-card:hover { background: var(--soft-blue); border-color: var(--line-strong); }

/* ============================================================
   CONTACT LAYOUT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ============================================================
   ARTICLE GRID
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card .card-body { padding: 24px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-card {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
  transition: transform .3s var(--ease);
}
.process-card:hover { transform: translateY(-3px); }

.process-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  font-weight: 840;
  color: var(--blue);
  opacity: .3;
  margin-bottom: 12px;
}

.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--line-strong);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 300;
  background: var(--glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner h4 { margin: 0 0 4px; font-size: 1rem; }
.cookie-banner p { margin: 0; font-size: .84rem; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-scrim {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(0,8,22,.65);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}
.menu-open .drawer-scrim { opacity: 1; visibility: visible; }

.mobile-drawer {
  display: none;
  position: fixed;
  z-index: 210;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100dvh;
  padding: 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  transform: translateX(105%);
  transition: transform .4s var(--ease);
  overflow: auto;
  overflow-x: hidden;
  border-left: 1px solid var(--line-strong);
}
.menu-open .mobile-drawer { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.drawer-head .brand { width: 160px; }

.drawer-group {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.drawer-group h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--subtle);
  margin: 0 0 9px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 8px;
  color: var(--muted);
  font-weight: 690;
  border-radius: var(--radius-xs);
  transition: color .2s, background .2s;
}
.drawer-link:hover { color: var(--text); background: var(--soft-blue); }

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background:
    radial-gradient(900px 300px at 50% -40%, rgba(22,136,237,.12), transparent 70%),
    var(--footer);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-about { grid-row: span 2; }
.footer-brand { width: 160px; margin-bottom: 16px; }
.footer-about p { font-size: .88rem; margin-bottom: 16px; }

.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}
.social-btn:hover { background: var(--soft-blue); border-color: var(--line-strong); }

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--subtle);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: .88rem;
  color: var(--muted);
  display: inline-block;
  transition: color .2s, transform .25s var(--ease);
}
.site-footer .footer-col a:hover { color: #fff; transform: translateX(4px); }

.regulatory-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 30px;
}
.regulatory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.regulatory-head b { font-size: .92rem; }
.regulatory-box p { font-size: .82rem; margin-bottom: 8px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--subtle);
}

.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--subtle); transition: color .2s, transform .25s var(--ease); }
.footer-legal a:hover { color: #fff; transform: translateY(-1px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Fade Slide Up ---------- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Stagger children ---------- */
.stagger > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger > .reveal:nth-child(2) { transition-delay: .12s; }
.stagger > .reveal:nth-child(3) { transition-delay: .19s; }
.stagger > .reveal:nth-child(4) { transition-delay: .26s; }
.stagger > .reveal:nth-child(5) { transition-delay: .33s; }
.stagger > .reveal:nth-child(6) { transition-delay: .40s; }

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.widget-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--subtle);
  font-size: .88rem;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-xs);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   FLOATING PROOF (alternative placement)
   ============================================================ */
.hero-visual .floating-proof {
  position: absolute;
  right: 10px;
  bottom: 15%;
}

/* ============================================================
   DATA TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.data-table thead {
  background: var(--surface-2);
}

.data-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 750;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--subtle);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.data-table tbody tr {
  transition: background .2s;
}
.data-table tbody tr:hover {
  background: var(--soft-blue);
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   RISK CALLOUT
   ============================================================ */
.risk-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(240,95,122,.06);
  border: 1px solid rgba(240,95,122,.2);
  border-radius: var(--radius-sm);
}
.risk-callout .icon {
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}
.risk-callout p {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
}

/* ============================================================
   ARTICLE BODY / META / THUMB
   ============================================================ */
.article-body { padding: 24px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--subtle);
}
.article-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ============================================================
   CALC PANEL / RESULT
   ============================================================ */
.calc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.calc-result {
  text-align: center;
  padding: 20px;
  background: var(--soft-blue);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}
.result-label {
  font-size: .82rem;
  color: var(--subtle);
  margin-bottom: 4px;
}
.result-value {
  font-size: 1.8rem;
  font-weight: 840;
  color: var(--text);
}

/* ============================================================
   CONTACT METHODS / PANEL
   ============================================================ */
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s;
}
.contact-method:hover { background: var(--soft-blue); border-color: var(--line-strong); }

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* ============================================================
   CONTACT CHANNELS — Premium Cards
   ============================================================ */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .65;
}
.channel-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(14px);
  pointer-events: none;
}
.channel-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: var(--surface);
}
.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  transition: transform .3s var(--ease), background .3s;
}
.channel-icon .icon { width: 27px; height: 27px; }
.channel-card:hover .channel-icon { transform: scale(1.1) rotate(-5deg); }
.channel-tag {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  padding: 5px 11px;
  border-radius: 999px;
}
.channel-card h3 { margin: 0; font-size: 1.05rem; }
.channel-card p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.6; flex: 1; }
.channel-card .text-link { margin-top: 10px; font-size: .88rem; }

/* ---------- Support Facts Strip ---------- */
.support-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.support-fact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.support-fact + .support-fact { border-left: 1px solid var(--line); padding-left: 24px; }
.support-fact .icon-box { margin: 0; }
.support-fact b { display: block; font-size: .95rem; color: var(--text); }
.support-fact small { display: block; color: var(--subtle); font-size: .78rem; margin-top: 3px; line-height: 1.5; }

/* ============================================================
   COMPANY PAGES — Premium Sections
   ============================================================ */
.channel-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Mission Panel ---------- */
.mission-panel {
  position: relative;
  padding: 60px 64px 56px;
  text-align: center;
  background: linear-gradient(135deg, var(--glass-strong), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.mission-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet), var(--blue));
  background-size: 200% 100%;
  animation: mission-flow 6s linear infinite;
}
.mission-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -300px;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--hero-glow), transparent 65%);
  pointer-events: none;
}
@keyframes mission-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.mission-quote {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 740;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--text);
}
.mission-quote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission-sub {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto 36px;
  font-size: .95rem;
  color: var(--muted);
}
.mission-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.mission-fact {
  padding: 22px 16px;
}
.mission-fact + .mission-fact { border-left: 1px solid var(--line); }
.mission-fact b {
  display: block;
  font-size: 1.05rem;
  font-weight: 820;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #78e9ff, #2da7f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.mission-fact span {
  display: block;
  font-size: .76rem;
  color: var(--subtle);
}

/* ---------- Licence Band ---------- */
.license-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 60px;
}
.license-cell {
  position: relative;
  padding: 38px 26px;
  text-align: center;
  overflow: hidden;
}
.license-cell + .license-cell { border-left: 1px solid var(--line); }
.license-cell::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -70px;
  width: 200px;
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--hero-glow), transparent 70%);
  pointer-events: none;
}
.license-cell b {
  position: relative;
  display: block;
  font-size: 1.5rem;
  font-weight: 840;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #78e9ff, #2da7f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.license-cell span {
  position: relative;
  display: block;
  font-size: .8rem;
  color: var(--subtle);
}

.process-card .icon-box { margin: 0 auto 14px; }
.office-card .icon-box { margin-bottom: 18px; }

/* ============================================================
   FORM CARD / NOTE
   ============================================================ */
.form-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-note {
  font-size: .82rem;
  color: var(--subtle);
  margin-top: 12px;
}

/* ============================================================
   DOCUMENT TOP
   ============================================================ */
.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   GLOSSARY
   ============================================================ */
.glossary dt {
  font-weight: 750;
  font-size: 1rem;
  color: var(--text);
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--line);
}
.glossary dd {
  margin: 0;
  padding: 8px 0 14px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.glossary dd:last-child { border-bottom: 0; }

/* ============================================================
   NOTICE
   ============================================================ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(22,136,237,.06);
  border: 1px solid rgba(22,136,237,.2);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--muted);
}
.notice .icon { flex-shrink: 0; color: var(--blue); margin-top: 2px; }

/* ============================================================
   OFFICE LINE / META
   ============================================================ */
.office-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.office-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
}
.office-line .icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}
.office-line a { color: var(--blue); }
.office-line a:hover { color: var(--cyan); }

/* ============================================================
   PROSE (Rich text content)
   ============================================================ */
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose p { font-size: .95rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 1.15em; }
.prose li { margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--cyan); }
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--soft-blue);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-style: italic;
  color: var(--muted);
}

/* ============================================================
   STATUS BADGE
   ============================================================ */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: .76rem;
  font-weight: 750;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue);
  background: var(--soft-blue);
}
.status.active { color: var(--green); background: rgba(22,199,141,.12); }
.status.pending { color: var(--amber); background: rgba(245,173,54,.12); }
.status.inactive { color: var(--red); background: rgba(240,95,122,.1); }
.status.core { color: var(--blue); background: var(--soft-blue); }
.status.risk { color: var(--amber); background: rgba(245,173,54,.12); }
.status.trading { color: var(--cyan); background: rgba(24,201,230,.1); }
.status.website { color: var(--violet); background: rgba(113,87,234,.12); }
.status.privacy { color: var(--green); background: rgba(22,199,141,.12); }
.status.compliance { color: var(--blue); background: rgba(22,136,237,.1); }
.status.conduct { color: var(--indigo); background: rgba(53,71,215,.12); }
.status.support { color: var(--green); background: rgba(22,199,141,.12); }

/* ============================================================
   ADVANCED: Scroll Progress Bar
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  z-index: 9999;
  transition: width .1s linear;
  box-shadow: 0 0 10px rgba(22,136,237,.5);
}

/* ============================================================
   ADVANCED: Floating Particles
   ============================================================ */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}

.particle:nth-child(1) { width: 4px; height: 4px; background: rgba(22,136,237,.4); left: 10%; top: 70%; animation: p1 7s 0s ease-in-out infinite; }
.particle:nth-child(2) { width: 6px; height: 6px; background: rgba(24,201,230,.3); left: 25%; top: 80%; animation: p2 9s 1s ease-in-out infinite; }
.particle:nth-child(3) { width: 3px; height: 3px; background: rgba(113,87,234,.35); left: 45%; top: 75%; animation: p3 6s 2s ease-in-out infinite; }
.particle:nth-child(4) { width: 5px; height: 5px; background: rgba(22,199,141,.3); left: 65%; top: 85%; animation: p4 8s .5s ease-in-out infinite; }
.particle:nth-child(5) { width: 4px; height: 4px; background: rgba(22,136,237,.25); left: 80%; top: 70%; animation: p5 10s 3s ease-in-out infinite; }
.particle:nth-child(6) { width: 3px; height: 3px; background: rgba(245,173,54,.3); left: 35%; top: 90%; animation: p6 7.5s 1.5s ease-in-out infinite; }
.particle:nth-child(7) { width: 5px; height: 5px; background: rgba(53,71,215,.3); left: 55%; top: 65%; animation: p7 8.5s 2.5s ease-in-out infinite; }
.particle:nth-child(8) { width: 4px; height: 4px; background: rgba(22,136,237,.2); left: 90%; top: 80%; animation: p8 11s 4s ease-in-out infinite; }

@keyframes p1 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(40px,-80px) scale(1); } 90% { opacity: 1; } }
@keyframes p2 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(-50px,-100px) scale(1); } 90% { opacity: 1; } }
@keyframes p3 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(60px,-60px) scale(1); } 90% { opacity: 1; } }
@keyframes p4 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(-30px,-90px) scale(1); } 90% { opacity: 1; } }
@keyframes p5 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(20px,-110px) scale(1); } 90% { opacity: 1; } }
@keyframes p6 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(-40px,-70px) scale(1); } 90% { opacity: 1; } }
@keyframes p7 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(50px,-95px) scale(1); } 90% { opacity: 1; } }
@keyframes p8 { 0%,100% { opacity: 0; transform: translate(0,0) scale(0); } 10% { opacity: 1; } 50% { opacity: .6; transform: translate(-35px,-130px) scale(1); } 90% { opacity: 1; } }

/* ============================================================
   ADVANCED: Animated Candlestick Chart (CSS Only)
   ============================================================ */
.candle-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 10px 0;
}

.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  animation: candle-grow .6s var(--ease) backwards;
}

.candle:nth-child(1) { animation-delay: .1s; }
.candle:nth-child(2) { animation-delay: .2s; }
.candle:nth-child(3) { animation-delay: .3s; }
.candle:nth-child(4) { animation-delay: .4s; }
.candle:nth-child(5) { animation-delay: .5s; }
.candle:nth-child(6) { animation-delay: .6s; }
.candle:nth-child(7) { animation-delay: .7s; }
.candle:nth-child(8) { animation-delay: .8s; }
.candle:nth-child(9) { animation-delay: .9s; }
.candle:nth-child(10) { animation-delay: 1s; }
.candle:nth-child(11) { animation-delay: 1.1s; }
.candle:nth-child(12) { animation-delay: 1.2s; }

@keyframes candle-grow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.candle-body {
  width: 100%;
  max-width: 18px;
  border-radius: 3px;
  position: relative;
}

.candle-body.green {
  background: linear-gradient(180deg, #16c78d, #0fa87a);
  box-shadow: 0 0 8px rgba(22,199,141,.3);
}
.candle-body.red {
  background: linear-gradient(180deg, #f05f7a, #d94460);
  box-shadow: 0 0 8px rgba(240,95,122,.3);
}

.candle-wick {
  width: 2px;
  background: var(--line-strong);
  border-radius: 1px;
}

.candle.wick-top .candle-wick { order: -1; margin-bottom: -2px; }
.candle.wick-bottom .candle-wick { order: 1; margin-top: -2px; }

/* ============================================================
   ADVANCED: 3D Card Tilt
   ============================================================ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

.tilt-card-inner {
  transition: transform .3s var(--ease);
  transform-style: preserve-3d;
}

.tilt-card:hover .tilt-card-inner {
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
}

.tilt-card .card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(22,136,237,.15), transparent 60%);
}
.tilt-card:hover .card-glow { opacity: 1; }

/* ============================================================
   ADVANCED: Glowing Border Animation
   ============================================================ */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 35%, var(--blue) 50%, var(--cyan) 62%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
  pointer-events: none;
  animation: glow-rotate 4s linear infinite;
}
.glow-border:hover::before { opacity: 1; }

@keyframes glow-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }



/* ============================================================
   ADVANCED: Parallax
   ============================================================ */
.parallax {
  will-change: transform;
  transition: transform .1s linear;
}

/* ============================================================
   ADVANCED: Mobile Menu Accordion
   ============================================================ */
.drawer-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 11px 8px;
  color: var(--text);
  font-weight: 720;
  font-size: .92rem;
  border-radius: var(--radius-xs);
  transition: background .2s;
  user-select: none;
  -webkit-user-select: none;
}
.drawer-group-title:hover { background: var(--soft-blue); }

.drawer-group-title .icon {
  transition: transform .3s var(--ease);
}
.drawer-group-title.open .icon {
  transform: rotate(180deg);
}

.drawer-group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s;
  opacity: 0;
}
.drawer-group-content.open {
  max-height: 600px;
  opacity: 1;
}

@media (min-width: 1121px) {
  .drawer-group-title { display: none; }
  .drawer-group-content { max-height: none; opacity: 1; overflow: visible; }
}

/* ============================================================
   ADVANCED: Animated Number Highlight
   ============================================================ */
.stat-number {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   ADVANCED: Hero Grid Pattern Background
   ============================================================ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero > * { position: relative; z-index: 1; }

/* ============================================================
   ADVANCED: Section Divider Waves
   ============================================================ */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider .wave-fill { fill: var(--bg-2); }
.wave-divider.flip { transform: rotate(180deg); margin-top: 0; margin-bottom: -1px; }

/* ============================================================
   ADVANCED: Smooth Theme Transition
   ============================================================ */
html[data-theme] body,
html[data-theme] .site-header,
html[data-theme] .site-footer,
html[data-theme] .risk-bar,
html[data-theme] .cookie-banner {
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}

/* ============================================================
   ADVANCED: Image Reveal on Load
   ============================================================ */
.img-reveal {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.img-reveal.loaded {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   ADVANCED: Typing Cursor Effect
   ============================================================ */
.typing-text::after {
  content: "|";
  animation: blink .8s step-end infinite;
  color: var(--blue);
  font-weight: 300;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ============================================================
   ADVANCED: Marquee / Infinite Scroll
   ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  gap: 40px;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   ADVANCED V2: Aurora Ambient Backgrounds
   ============================================================ */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero > *:not(.aurora),
.page-hero > *:not(.aurora) { position: relative; z-index: 1; }

.aurora-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
.aurora .a1 {
  width: 540px;
  height: 540px;
  left: -150px;
  top: -170px;
  background: radial-gradient(circle at 35% 35%, rgba(34,211,238,.16), rgba(53,71,215,.1) 45%, transparent 70%);
  animation: aurora-a 22s ease-in-out infinite;
}
.aurora .a2 {
  width: 470px;
  height: 470px;
  right: -130px;
  top: 10px;
  background: radial-gradient(circle at 60% 40%, rgba(113,87,234,.15), rgba(24,201,230,.08) 45%, transparent 70%);
  animation: aurora-b 26s ease-in-out infinite;
}
.aurora .a3 {
  width: 390px;
  height: 390px;
  left: 36%;
  bottom: -190px;
  background: radial-gradient(circle at 50% 50%, rgba(22,136,237,.13), transparent 66%);
  animation: aurora-c 30s ease-in-out infinite;
}
html[data-theme="light"] .aurora .a1 {
  background: radial-gradient(circle at 35% 35%, rgba(34,211,238,.2), rgba(53,71,215,.09) 45%, transparent 70%);
}
html[data-theme="light"] .aurora .a2 {
  background: radial-gradient(circle at 60% 40%, rgba(113,87,234,.18), rgba(24,201,230,.1) 45%, transparent 70%);
}
html[data-theme="light"] .aurora .a3 {
  background: radial-gradient(circle at 50% 50%, rgba(22,136,237,.16), transparent 66%);
}

@keyframes aurora-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 45px) scale(1.12); }
}
@keyframes aurora-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 35px) scale(.92); }
}
@keyframes aurora-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -55px) scale(1.15); }
}

/* ============================================================
   ADVANCED V2: Cinematic Entry Animations
   ============================================================ */
@keyframes title-rise {
  from { opacity: 0; transform: translateY(38px); clip-path: inset(0 0 100% 0); }
  55% { opacity: 1; }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}
@keyframes fade-blur-in {
  from { opacity: 0; filter: blur(6px); transform: translateY(12px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.hero h1,
.page-hero h1 { animation: title-rise .95s var(--ease) both; }
.hero .eyebrow { animation: fade-blur-in .9s var(--ease) both; }
.hero .lead { animation: fade-blur-in 1s .12s var(--ease) both; }
.hero .hero-actions { animation: fade-blur-in 1s .24s var(--ease) both; }
.page-hero .eyebrow { animation: fade-blur-in .9s var(--ease) both; }

/* ============================================================
   ADVANCED V2: Gradient Accents on Numbers
   ============================================================ */
.stat strong,
.hero-kpi strong {
  background: linear-gradient(115deg, var(--text) 30%, var(--blue) 65%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-line strong {
  background: linear-gradient(115deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   ADVANCED V2: Card Hover Shine
   ============================================================ */
.card::after,
.market-card::after,
.account-card::after,
.resource-card::after,
.office-card::after,
.article-card::after,
.document-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255,255,255,.07), transparent 42%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover::after,
.market-card:hover::after,
.account-card:hover::after,
.resource-card:hover::after,
.office-card:hover::after,
.article-card:hover::after,
.document-card:hover::after { opacity: 1; }

/* ============================================================
   ADVANCED V2: Image Zoom on Hover
   ============================================================ */
.article-card { overflow: hidden; }
.article-card img { transition: transform .65s var(--ease); }
.article-card:hover img { transform: scale(1.06); }
.resource-card:first-child { overflow: hidden; }
.resource-card:first-child .feature-media img { transition: transform .65s var(--ease); }
.resource-card:first-child:hover .feature-media img { transform: scale(1.04); }
.hero-visual img { filter: drop-shadow(0 18px 60px rgba(22,136,237,.18)); }

/* ============================================================
   ADVANCED V2: Magnetic Buttons
   ============================================================ */
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  transform: translate(calc(var(--mg-x, 0px) * .35), calc(var(--mg-y, 0px) * .35));
  will-change: transform;
}
.btn:hover {
  transform: translate(calc(var(--mg-x, 0px) * .35), calc(var(--mg-y, 0px) * .35)) translateY(-2px);
}
.btn:active {
  transform: translate(calc(var(--mg-x, 0px) * .3), calc(var(--mg-y, 0px) * .3)) scale(.97);
}

/* ============================================================
   ADVANCED V2: Cursor Glow (desktop)
   ============================================================ */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(56,189,248,.1), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
html[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(24,172,233,.1), transparent 62%);
}
.cursor-glow.visible { opacity: 1; }

/* ============================================================
   ADVANCED V2: Back To Top
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  z-index: 280;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  color: var(--text);
  transform: rotate(180deg);
}
.back-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.back-ring-track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2.5;
}
.back-ring-fill {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: var(--circ, 125);
  stroke-dashoffset: var(--offset, 125);
  transition: stroke-dashoffset .12s linear;
}

/* ============================================================
   ADVANCED V2: Sliding Tab Indicator
   ============================================================ */
.tabs { position: relative; }
.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(22,136,237,.55);
  transition: left .3s var(--ease), width .3s var(--ease);
  pointer-events: none;
  opacity: 0;
}

/* ============================================================
   ADVANCED V2: Smooth FAQ Accordion
   ============================================================ */
.faq-list details {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-list details[open] { grid-template-rows: auto 1fr; }
.faq-list details > :not(summary) { overflow: hidden; min-height: 0; }

/* ============================================================
   ADVANCED V2: Interactive Accents
   ============================================================ */
.cta-panel {
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle, var(--hero-glow), transparent 68%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }

.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: .8;
}

.section-dark {
  background-color: var(--surface);
  background-image: radial-gradient(circle at 1px 1px, rgba(140,204,241,.18) 1px, transparent 0), radial-gradient(900px 380px at 85% -5%, rgba(22,136,237,.07), transparent 70%);
  background-size: 34px 34px, 100% 100%;
}

.footer-col a,
.legal-nav a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size .3s var(--ease), color .2s, background-color .2s;
}
.footer-col a:hover,
.legal-nav a:hover {
  background-size: 100% 1px;
  background-image: linear-gradient(currentColor, currentColor);
}

.table-wrap { position: relative; }
.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-2);
}

.calc-result { box-shadow: 0 0 30px rgba(22,136,237,.12); }

/* ============================================================
   ADVANCED V3: Section Polish
   ============================================================ */
.section-head h2 { position: relative; padding-bottom: 16px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(22,136,237,.35);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: .8;
}

.section-alt {
  position: relative;
  background:
    radial-gradient(1100px 420px at 50% -12%, var(--card-glow), transparent 72%),
    radial-gradient(circle at 1px 1px, rgba(140,204,241,.06) 1px, transparent 0),
    var(--bg-2);
  background-size: auto, 32px 32px, auto;
}
.section-alt::before,
.section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  pointer-events: none;
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.icon-box { transition: transform .3s var(--ease); }
.card:hover .icon-box,
.process-card:hover .icon-box { transform: scale(1.08); }

.process-card { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.process-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-glow); }

.data-table td:first-child { font-weight: 650; color: var(--text); }
.data-table th { color: var(--cyan); }

/* ============================================================
   ADVANCED V2: Typography & Selection Polish
   ============================================================ */
:is(h1, h2, h3) { text-wrap: balance; }
body { text-rendering: optimizeLegibility; }
section[id] { scroll-margin-top: 120px; }

::selection { background: rgba(22,136,237,.28); color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   ADVANCED V2: Custom Scrollbar
   ============================================================ */
html { scrollbar-color: var(--indigo) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--indigo));
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}
@media (max-width: 680px) {
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

@media print {
  .aurora, .cursor-glow, .back-to-top, .tab-indicator { display: none !important; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header, .site-footer, .risk-bar, .cookie-banner,
  .drawer-scrim, .mobile-drawer, .ticker-shell, .cta-panel,
  .quick-nav, .btn, .hero-actions, .hero-badge { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .section-sm, .section-alt, .section-dark { padding: 20pt 0; background: #fff; }
  .container { width: 100%; max-width: 100%; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .text-accent { color: #000; }
  .card, .market-card, .account-card, .resource-card, .document-card {
    border: 1px solid #ccc; box-shadow: none; backdrop-filter: none;
    break-inside: avoid;
  }
  h1, h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
}

/* ============================================================
   RESPONSIVE — Tablet (max 1120px)
   ============================================================ */
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .nav-shell { gap: 14px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { margin: 20px -50px -35px 0; max-width: 900px; }
  .hero-visual img { min-width: 0; }
  .hero { padding-top: 88px; }
  .hero h1 { font-size: clamp(3.3rem, 8vw, 5.8rem); }

  .mega-panel { display: none; }

  .markets-grid .market-card:nth-child(n) { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-card::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-about { grid-row: span 2; }
  .page-hero-grid { grid-template-columns: 1fr .75fr; }

  .mobile-drawer {
    display: block;
    position: fixed;
    z-index: 210;
    top: 0;
    right: 0;
    width: min(420px, 90vw);
    height: 100dvh;
    padding: 22px;
    background: var(--glass-strong);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    transform: translateX(105%);
    transition: transform .4s var(--ease);
    overflow: auto;
    border-left: 1px solid var(--line-strong);
  }
  .menu-open .mobile-drawer { transform: none; }

  .drawer-scrim {
    display: block;
    position: fixed;
    z-index: 200;
    inset: 0;
    background: rgba(0,8,22,.65);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }
  .menu-open .drawer-scrim { opacity: 1; visibility: visible; }
}

/* ============================================================
   RESPONSIVE — Mobile (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .section-head { display: block; }
  .section-head > p { margin-top: 18px; }
  .split, .trust-panel, .faq, .contact-layout, .calculator-shell, .page-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .split.reverse .visual { order: initial; }
  .page-hero-visual { max-width: 650px; margin: auto; }
  .live-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .account-grid, .grid-3, .article-grid, .document-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .resource-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .process { grid-template-columns: 1fr; }
  .process-card:not(:last-child)::after { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow: auto; }
  .legal-nav a { white-space: nowrap; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; grid-row: auto; }
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-kpi:nth-child(2) { border-right: 0; }
  .hero-kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-visual { margin-right: -10px; }
  .support-strip { grid-template-columns: 1fr; gap: 18px; }
  .support-fact + .support-fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .mission-panel { padding: 44px 24px 40px; }
  .mission-facts { grid-template-columns: repeat(2, 1fr); }
  .mission-fact:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .mission-fact:nth-child(4) { border-top: 1px solid var(--line); }
  .license-band { grid-template-columns: 1fr; }
  .license-cell + .license-cell { border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); padding: 16px 18px; gap: 12px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max 680px)
   ============================================================ */
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .container, .container.narrow { width: min(100% - 28px, var(--max)); }

  .risk-bar .container { height: auto; min-height: 43px; padding: 6px 0; text-align: center; font-size: .7rem; }
  .risk-bar a { display: none; }

  .brand { width: 145px; height: 43px; }
  .nav-actions .login-btn { display: none; }

  .hero { min-height: auto; padding: 68px 0 55px; }
  .hero h1 { font-size: clamp(2.75rem, 13.8vw, 4.3rem); }
  .hero .lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { margin: 5px -10px -10px; }
  .hero-badge { display: none; }
  .hero-kpis { margin-top: 30px; }
  .hero-kpi { padding: 15px; }
  .hero-kpi strong { font-size: 1.18rem; }

  .ticker-label { display: none; }
  .tv-ticker { padding-left: 0; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }

  .markets-grid { display: grid; }
  .markets-grid .market-card:nth-child(n) { grid-column: 1 / -1; min-height: 245px; }

  .channel-grid { grid-template-columns: 1fr; }

  .grid-2, .grid-3, .grid-4, .account-grid, .article-grid, .document-grid, .office-grid, .form-grid, .trust-grid { grid-template-columns: 1fr; }

  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(n) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }

  .resource-grid { grid-template-columns: 1fr; }
  .resource-card:first-child { grid-column: auto; min-height: 0; grid-template-columns: 1fr; }
  .resource-card:first-child .feature-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-card:first-child .feature-body { padding: 32px; }

  .page-hero { min-height: auto; padding: 70px 0 55px; }
  .page-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .page-hero-visual { margin-top: -10px; }
  .quick-nav { display: none; }

  .trust-panel { padding: 28px; border-radius: 27px; }
  .cta-panel { padding: 32px 24px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .faq { gap: 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-legal { margin-top: 12px; }

  .regulatory-head { display: block; }
  .regulatory-head a { display: inline-block; margin-top: 8px; }

  .payment-grid { grid-template-columns: 1fr 1fr; }
  .floating-proof { right: 5px; bottom: 2%; }
  .form-grid .field.full { grid-column: auto; }
  .widget-card { min-height: 430px; }
}

/* ============================================================
   RESPONSIVE — Extra Small (max 430px)
   ============================================================ */
@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .hero-kpis { grid-template-columns: 1fr; }
  .hero-kpi:nth-child(n) { border-right: 0; border-top: 1px solid var(--line); }
  .hero-kpi:first-child { border-top: 0; }
  .nav-actions .register-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .eyebrow::before { animation: none; }
  .live-dot { animation: none; }
  .hero-badge { animation: none; }
  .floating-proof { animation: none; }
}
/* Trust strip top accent + hover */
.trust-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.trust-strip .ts-item { transition: transform .25s var(--ease), color .25s; }
.trust-strip .ts-item:hover { transform: translateY(-2px); color: var(--text); }