/* ============================================================
   FIDELIS MARKETS — Premium Stylesheet
   Design: Apple-premium dark theme with gold accent
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg-0:        #000000;
  --bg-1:        #080808;
  --bg-2:        #0d0d0d;
  --bg-card:     #111111;
  --bg-card-hov: #161616;

  --text-1:      #f5f5f7;
  --text-2:      #a1a1a6;
  --text-3:      #515154;

  --gold:        #c8a96e;
  --gold-light:  #d4b88a;
  --gold-dim:    rgba(200, 169, 110, 0.15);
  --gold-glow:   rgba(200, 169, 110, 0.08);

  --border:      rgba(255, 255, 255, 0.07);
  --border-hov:  rgba(200, 169, 110, 0.35);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;

  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:       1180px;
  --nav-h:       72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography Scale ────────────────────────────────────── */
.display {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text-1);
}

.headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--text-2);
  font-weight: 400;
}

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.caption {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section--dark  { background: var(--bg-0); }
.section--dim   { background: var(--bg-1); }
.section--muted { background: var(--bg-2); }

.section-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.section-header--center {
  max-width: 640px;
  margin: 0 auto 72px;
  text-align: center;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hov);
  color: var(--gold);
  transform: translateY(-1px);
}

/* ── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-hov);
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition),
              backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.82);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
  cursor: pointer;
}

.nav__link:hover { color: var(--text-1); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__btn {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
  background: var(--gold);
  color: #000;
  border: none;
}

.nav__btn:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.25);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-2);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--transition);
}

.nav__mobile-link:hover { color: var(--text-1); }

.nav__mobile .nav__btn {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(200, 169, 110, 0.07) 0%,
    rgba(200, 169, 110, 0.02) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero__badge {
  margin-bottom: 28px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title .gold { color: var(--gold); }

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 0;
}

.stats__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 40px;
  border-right: 1px solid var(--border);
  flex: 1;
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover { background: var(--bg-card); }

.stat-value {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value .gold { color: var(--gold); }

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Markets Section ─────────────────────────────────────── */
.markets__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition),
              transform var(--transition), box-shadow var(--transition);
}

.market-card:hover {
  border-color: var(--border-hov);
  background: var(--bg-card-hov);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 169, 110, 0.1);
}

.market-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.market-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.market-card__desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 20px;
}

.market-card__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── About Section ───────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__chart-wrap {
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about__chart-wrap svg {
  width: 100%;
  height: 100%;
}

.about__float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border-hov);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__float-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about__float-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.about__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--gold-dim);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── Why Section ─────────────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-card {
  background: var(--bg-card);
  padding: 48px;
  transition: background var(--transition);
  position: relative;
}

.why-card:hover { background: var(--bg-card-hov); }

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.why-card:nth-child(2),
.why-card:nth-child(4) {
  border-left: 1px solid var(--border);
}

.why-card__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.why-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.why-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.why-card__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Platforms Section ───────────────────────────────────── */
.platforms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: border-color var(--transition), transform var(--transition);
}

.platform-card--featured {
  border-color: var(--border-hov);
  background: linear-gradient(135deg, rgba(200,169,110,0.05) 0%, var(--bg-card) 60%);
}

.platform-card:hover {
  border-color: var(--border-hov);
  transform: translateY(-2px);
}

.platform-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.platform-card__logo {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.platform-card__logo span { color: var(--gold); }

.platform-card__sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}

.platform-feature__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.platform-feature__check svg {
  width: 10px;
  height: 10px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Accounts Section ────────────────────────────────────── */
.accounts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.account-card--featured {
  border-color: var(--border-hov);
  background: linear-gradient(160deg, rgba(200,169,110,0.08) 0%, var(--bg-card) 50%);
  position: relative;
}

.account-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 0 0 10px 10px;
}

.account-card:hover {
  border-color: var(--border-hov);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.account-card__tier {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.account-card__name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.account-card__desc {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 32px;
  line-height: 1.5;
}

.account-spread {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.account-spread__label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.account-spread__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.account-spread__unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 4px;
}

.account-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}

.account-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.account-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.account-card .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 13px 24px;
}

/* ── Spreads Table ───────────────────────────────────────── */
.spreads__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
}

.spreads__tab {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  color: var(--text-3);
  cursor: pointer;
  transition: var(--transition);
}

.spreads__tab.active {
  background: var(--gold-dim);
  color: var(--gold);
}

.spreads__tab:hover:not(.active) { color: var(--text-2); }

.spreads__table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spreads-table {
  width: 100%;
  border-collapse: collapse;
}

.spreads-table thead th {
  background: var(--bg-card);
  padding: 16px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.spreads-table thead th:first-child { width: 30%; }

.spreads-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.spreads-table tbody tr:last-child { border-bottom: none; }
.spreads-table tbody tr:hover { background: var(--bg-card); }

.spreads-table tbody td {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--text-2);
}

.spreads-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-1);
}

.spreads-table tbody td.gold-val {
  color: var(--gold);
  font-weight: 600;
}

.spread-panel { display: none; }
.spread-panel.active { display: block; }

/* ── Regulation Section ──────────────────────────────────── */
.regulation__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.regulation__trust-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.trust-item:hover { border-color: var(--border-hov); }

.trust-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.trust-item__desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

.regulation__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reg-shield {
  background: linear-gradient(135deg, rgba(200,169,110,0.08) 0%, var(--bg-card) 80%);
  border: 1px solid var(--border-hov);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.reg-shield__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.reg-shield__icon svg {
  width: 72px;
  height: 72px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reg-shield__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.reg-shield__sub {
  font-size: 13px;
  color: var(--text-3);
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.06) 0%, transparent 50%);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-band__title {
  margin-bottom: 20px;
}

.cta-band__sub {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-2);
}

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.footer__logo span { color: var(--gold); }

.footer__tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer__link {
  font-size: 14px;
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--transition);
}

.footer__link:hover { color: var(--text-1); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__disclaimer {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 820px;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer__legal-links {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--transition);
}

.footer__legal-link:hover { color: var(--text-1); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .markets__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .section { padding: 88px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .stats__inner {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 calc(50% - 0px);
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(2n-1) { border-right: 1px solid var(--border); }
  .stat-item:last-child:nth-child(odd) {
    border-right: none;
    flex: 1 1 100%;
  }

  .about__inner,
  .regulation__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .why-card:nth-child(2),
  .why-card:nth-child(4) { border-left: none; }

  .platforms__grid,
  .accounts__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .markets__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions .btn-ghost {
    display: none;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .spreads__tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .markets__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact Modal ───────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.2s ease;
}

.modal__panel {
  position: relative;
  z-index: 1;
  background: #0f0f0f;
  border: 1px solid var(--border-hov);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 680px;
  max-height: 90dvh;
  overflow-y: auto;
  animation: slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--bg-card-hov);
  border-color: var(--border-hov);
  color: var(--text-1);
}

.modal__header { margin-bottom: 32px; }

.modal__form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.form-label span { color: var(--gold); }

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-1);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: var(--text-3); }

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
}

.form-input.error { border-color: #e05454; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23515154' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option { background: #0f0f0f; }

.form-textarea { resize: vertical; min-height: 88px; }

.form-error {
  font-size: 12px;
  color: #e05454;
  min-height: 16px;
}

.modal__submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px 28px;
  margin-top: 4px;
}

.modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.modal__disclaimer {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}

.modal__link {
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(200,169,110,0.4);
}

/* Success state */
.modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
  gap: 16px;
}

.modal__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.modal__success-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
}

.modal__success-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 360px;
}

/* Modal responsive */
@media (max-width: 600px) {
  .modal__panel { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Prefers Reduced Motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll-line,
  .badge-dot {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
