/* ═══════════════════════════════════════════════════════════
   RAM Trading — Design System
   Design references: Jane Street (typographic restraint, editorial
   serif, dark + red/blue) + FTMO (prop-firm structure, social proof,
   clear objectives). Applied to European energy trading.
   ═══════════════════════════════════════════════════════════ */

/* ── Variables — match design rules exactly ─────────────── */
:root {
  /* Backgrounds (from website-design.md) */
  --bg:        #0a0c0f;
  --bg-2:      #0f1219;
  --bg-3:      #151b26;
  --surface:   #1c2130;
  --surface-2: #242a38;

  /* Borders */
  --border:    #242c3d;
  --border-2:  #2e3a52;

  /* Text */
  --text:      #e8eaf0;
  --text-2:    #9aa0b4;
  --text-3:    #5a6278;

  /* Accent — electric blue (from design rules) */
  --accent:       #4f8ef7;
  --accent-dim:   rgba(79,142,247,0.12);
  --accent-glow:  rgba(79,142,247,0.4);
  --accent-dark:  #3a7ae8;

  /* Semantic colors (from design rules) */
  --positive:  #3dd68c;
  --negative:  #f25f5c;
  --warn:      #f5a623;

  /* Typography (from design rules) */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono:    'Menlo', 'Consolas', 'Monaco', monospace;

  /* Geometry */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Motion — 0.18s per design rules */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.18s;

  /* Shadows */
  --shadow:    0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.65);
  --glow:      0 0 36px rgba(79,142,247,0.15);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Layout — 1240px max per design rules ───────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
/* Section padding: 100px per design rules, 64px mobile */
.section { padding: 100px 0; position: relative; }

/* Subtle section dividers — fade in from both edges, never full-width solid */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 80%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--border-2) 25%,
    var(--border-2) 75%,
    transparent 100%
  );
  opacity: 0.55;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-xl { padding: 14px 30px; font-size: 0.95rem; }
.btn-sm { padding: 7px 14px; font-size: 0.78rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,142,247,0.35);
}
.btn-ghost { background: none; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }
.btn-ghost-light {
  background: rgba(28,33,48,0.9);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost-light:hover {
  background: var(--surface);
  border-color: rgba(79,142,247,0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Navigation — fixed at top ──────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: #0a0c0f;
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { display: block; width: auto; height: 26px; }
.footer-logo .site-logo { height: 22px; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; display: block; }

/* ── Hero — padding accounts for 64px nav ───────────────── */
.hero {
  padding: 90px 0 40px;  /* 64px nav + 26px top, ~1cm bottom */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 55% at 75% 35%, rgba(79,142,247,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 15% 70%, rgba(79,142,247,0.04) 0%, transparent 55%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  opacity: 1;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-columns {
  display: flex;
  align-items: stretch;
  gap: 56px;
  width: 100%;
  min-height: 440px;
}
.hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-content-top { display: flex; flex-direction: column; gap: 20px; }
.hero-sub { margin: 0; }

/* Entropy hero visual — right column, stretches to full column height */
.hero-entropy-wrap {
  flex: 0 0 520px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-entropy-canvas {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  background: #000;
  border: 1px solid var(--border);
}
.hero-entropy-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 4px;
}
.entropy-label.label-order { color: var(--accent); }
.entropy-label.label-chaos { color: var(--text-2); }
.entropy-divider-label {
  font-style: normal;
  color: var(--text-2);
  letter-spacing: 0.18em;
}
/* DM Serif Display for hero headline — matches design rules */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  font-weight: 400;      /* DM Serif uses 400 for the italic/display look */
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.headline-accent {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
}
.hero-cta .btn:first-child { flex: 1; justify-content: center; }

/* ── Stats bar — FTMO-style trust signals ───────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  position: relative;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 4px 16px;
  border-right: 1px solid var(--border-2);
  min-width: 0;
}
.stat:last-child { border-right: none; }
.stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.stat span {
  font-size: 0.68rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1;
}

/* ── Section headers — DM Serif Display per design rules ── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
}
.section-header.centered { text-align: center; margin: 0 auto 60px; }
.section-header.centered p { margin: 0 auto; }
.section-header--light h2 { color: var(--text); }
.section-header--light p  { color: var(--text-2); }

/* ── How it works — 4-step process ─────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  min-height: 270px;
  transition: all var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--glow);
  z-index: 1;
}
.step-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.step-icon { color: var(--accent); margin-bottom: 14px; line-height: 0; }
.step-icon svg { width: 26px; height: 26px; }
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.step p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 0;
}
.step-time {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(79,142,247,0.2);
  margin-top: auto;
  align-self: flex-start;
}

/* quick start section */
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.quickstart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s, border-color 0.18s;
}
.quickstart-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.quickstart-icon { color: var(--accent); line-height: 0; margin-bottom: 14px; }
.quickstart-icon svg { width: 26px; height: 26px; }
.quickstart-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}
.quickstart-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.quickstart-code {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.quickstart-code code {
  font-family: 'Menlo', 'Consolas', 'Monaco', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quickstart-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  margin: -4px;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.quickstart-copy:hover { color: var(--accent); background: rgba(79,142,247,0.1); }
.quickstart-copy svg { width: 14px; height: 14px; display: block; }
.quickstart-copy.copied { color: var(--positive); }
.btn-brand-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Why RAM Trading — 3x2 grid, no row-spanning ─────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t) var(--ease);
}
.why-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
/* Featured 70/30 card — centred in the 3-col row, same height */
.why-card--featured {
  background: linear-gradient(160deg, rgba(79,142,247,0.07) 0%, rgba(79,142,247,0.02) 100%);
  border-color: rgba(79,142,247,0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.why-accent-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.split-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.split-you, .split-us { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.split-pct {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
.split-you .split-pct { color: var(--accent); }
.split-label { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.split-divider { font-size: 1.2rem; color: var(--border-2); }
.why-icon { color: var(--accent); margin-bottom: 14px; line-height: 0; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 0.8rem; color: var(--text-2); line-height: 1.65; }

/* ── Markets ────────────────────────────────────────────── */
.markets-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;         /* both columns same height */
}
/* ── Europe map card ─────────────────────────────────────── */
.europe-map-mock {
  position: relative;
  background: #0b0f1a;
  background-image:
    linear-gradient(rgba(79,142,247,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  border: 1px solid rgba(79,142,247,0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  box-shadow: 0 0 0 1px rgba(79,142,247,0.06), 0 0 40px rgba(79,142,247,0.04);
}

/* ── Map header: title + legend in one row ───────────────── */
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.map-live-indicator {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 6px var(--positive);
  animation: live-blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--positive); }
  50%       { opacity: 0.5; box-shadow: 0 0 12px var(--positive); }
}
.map-legend { display: flex; gap: 16px; }
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.67rem; color: var(--text-3);
  letter-spacing: 0.03em;
}
.legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.active {
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59,130,246,0.8);
  animation: legend-pulse 2.2s ease-in-out infinite;
}
@keyframes legend-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(59,130,246,0.8); }
  50%       { box-shadow: 0 0 10px rgba(59,130,246,1); }
}
.legend-dot.upcoming { background: #1e2d4a; border: 1px solid #2e3d5a; }

/* ── SVG map fill ────────────────────────────────────────── */
#europeMapSvgContainer {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-svg { width: 100%; height: auto; display: block; }

.map-country {
  fill: #111827;
  stroke: #1a2540;
  stroke-width: 0.5;
  cursor: default;
  transition: fill 0.15s ease;
}
.map-country.active {
  fill: rgba(59,130,246,0.28);
  stroke: rgba(59,130,246,0.85);
  stroke-width: 1.0;
  cursor: pointer;
  animation: country-pulse 3s ease-in-out infinite;
}
.map-country.reference {
  fill: rgba(107,122,153,0.18);
  stroke: rgba(107,122,153,0.55);
  stroke-width: 0.7;
  cursor: pointer;
}
@keyframes country-pulse {
  0%, 100% { stroke: rgba(59,130,246,0.7); }
  50%       { stroke: rgba(59,130,246,1); }
}
.map-country.active:hover {
  fill: rgba(59,130,246,0.45);
  stroke: #3b82f6;
  stroke-width: 1.3;
}
.map-country.reference:hover {
  fill: rgba(107,122,153,0.32);
  stroke: rgba(107,122,153,0.85);
}
.map-country:not(.active):not(.reference):hover { fill: rgba(255,255,255,0.05); }
.map-country.selected {
  fill: rgba(59,130,246,0.45) !important;
  stroke: #60a5fa !important;
  stroke-width: 1.4 !important;
}

/* ── Capital city ping dots ──────────────────────────────── */
.map-ping-dot {
  fill: #3b82f6;
  filter: drop-shadow(0 0 3px rgba(59,130,246,0.9));
}
.map-ping-ring {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 0.8;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping-expand 2.4s ease-out infinite;
}
@keyframes ping-expand {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* ── Tooltip ─────────────────────────────────────────────── */
.map-tooltip {
  position: absolute;
  background: #0f1623;
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.72rem;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.map-tooltip strong { display: block; margin-bottom: 2px; }

/* ── Detail panel ────────────────────────────────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.map-detail {
  margin-top: 12px;
  background: rgba(11,15,26,0.9);
  border: 1px solid rgba(79,142,247,0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  animation: fadeSlideIn 0.18s ease;
  flex-shrink: 0;
}
.map-detail-country {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
}
.map-detail-body {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.map-detail-exchange {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.map-detail-price {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--positive); font-weight: 600;
  display: flex; flex-direction: column; gap: 4px;
}
.map-zone-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.map-zone-label {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-2); font-weight: 500;
}
.map-zone-price {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--positive); font-weight: 600; white-space: nowrap;
}
.map-detail-products { display: flex; flex-wrap: wrap; gap: 5px; }
.map-detail-tag {
  font-size: 0.65rem; color: var(--text-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 20px;
}
.map-detail-link {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  padding: 2px 8px; border: 1px solid rgba(79,142,247,0.35);
  border-radius: 20px;
  transition: background var(--t), border-color var(--t);
}
.map-detail-link:hover {
  background: rgba(79,142,247,0.12);
  border-color: var(--accent);
}

/* Product cards — three boxes next to the Europe map */
.markets-detail { display: flex; flex-direction: column; gap: 16px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}
.product-card--live {
  border-color: rgba(61,214,140,0.35);
  background: linear-gradient(135deg, rgba(61,214,140,0.06), transparent 60%), var(--surface);
}
.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  min-width: 0;
}
.product-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.product-card-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.product-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-badge.live {
  background: rgba(61,214,140,0.1);
  color: var(--positive);
  border: 1px solid rgba(61,214,140,0.25);
}
.product-badge.soon {
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* Alpha box — sits under the 3 product cards, explains edge sources */
.alpha-box {
  background: linear-gradient(135deg, rgba(79,142,247,0.06), transparent 65%), var(--surface);
  border: 1px solid rgba(79,142,247,0.22);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: auto;
}
.alpha-box-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.alpha-box-icon {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 50%;
  flex-shrink: 0;
}
.alpha-box-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.alpha-box-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ── Evaluation criteria — FTMO-style clear thresholds ───── */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
@media (max-width: 1024px) {
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
}
.criterion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--t);
}
.criterion-card:hover { border-color: var(--accent); }
.criterion-icon { color: var(--accent); line-height: 0; }
.criterion-icon svg { width: 28px; height: 28px; }
.criterion-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.criterion-threshold { display: flex; align-items: baseline; gap: 8px; }
.threshold-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.threshold-dir { font-size: 0.72rem; color: var(--text-3); }
.criterion-card p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.eval-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.eval-tl-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.eval-tl-track { display: flex; gap: 4px; height: 60px; }
.tl-segment {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}
.tl-label { font-size: 0.75rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.tl-sub { font-size: 0.65rem; color: var(--text-3); white-space: nowrap; }
.tl-sandbox { background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.tl-eval {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
}
.tl-eval .tl-label { color: var(--accent); }
.tl-review {
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
}
.tl-review .tl-label { color: var(--warn); }
.tl-funded {
  background: rgba(61,214,140,0.08);
  border: 1px solid rgba(61,214,140,0.25);
}
.tl-funded .tl-label { color: var(--positive); }

/* ── Portal / Tabs ──────────────────────────────────────── */
.portal-tabs {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 20px;
  width: fit-content;
}
.tab-btn {
  padding: 7px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t);
}
.tab-btn.active {
  background: var(--bg-3);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.portal-mockup {
  display: flex;
  background: #04080f;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 440px;
}
.mockup-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: #06090f;
  border-right: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-logo {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px;
}
.snav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--text-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t);
  font-weight: 500;
}
.snav-item.active { background: var(--surface); color: var(--text); }
.snav-item:hover:not(.active) { color: var(--text-2); }

.mockup-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mockup-title { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.mockup-user { font-size: 0.68rem; color: var(--text-3); font-family: var(--font-mono); }
.sandbox-live { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--positive); font-weight: 600; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.dash-metric {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--border);
}
.dash-metric:last-child { border-right: none; }
.dash-metric span { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-metric strong { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; }
.dash-delta { font-size: 0.65rem; color: var(--text-3); }

.dash-chart-placeholder { padding: 14px 20px 6px; }
.dcp-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.dash-trades-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; padding: 0 20px; margin-bottom: 2px; }
.dash-trades { padding: 0 20px 16px; }
.dt-row {
  display: grid;
  grid-template-columns: 48px 1fr 50px 80px 72px 68px;
  gap: 4px;
  padding: 6px 0;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-2);
}
.dt-head { color: var(--text-3); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; }

.bt-controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.bt-control-group { display: flex; flex-direction: column; gap: 4px; }
.bt-control-group label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.bt-select, .bt-daterange {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.76rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
}
.bt-daterange { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.bt-results {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.bt-metric {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--border);
}
.bt-metric:last-child { border-right: none; }
.bt-metric span { font-size: 0.62rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.bt-metric strong { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; }
.bt-chart-placeholder { padding: 10px 0; }

.sandbox-eval-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  background: rgba(79,142,247,0.05);
  border-bottom: 1px solid rgba(79,142,247,0.1);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}
.eval-mini-bar { flex: 1; height: 3px; background: rgba(79,142,247,0.12); border-radius: 2px; }
.eval-mini-bar div { height: 100%; background: var(--accent); border-radius: 2px; }
.sandbox-criteria {
  display: flex;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.sc-item {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-family: var(--font-mono);
}
/* positive colour #3dd68c per design rules */
.sc-item.pass {
  background: rgba(61,214,140,0.08);
  color: var(--positive);
  border: 1px solid rgba(61,214,140,0.2);
}
.sandbox-positions { padding: 14px 18px; overflow: auto; }
.pos-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.pos-row {
  display: grid;
  grid-template-columns: 1fr 56px 76px 64px 64px 72px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-2);
  gap: 4px;
}
.pos-head { color: var(--text-3); font-size: 0.62rem; text-transform: uppercase; }

.payout-summary {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.payout-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--border);
}
.payout-card:last-child { border-right: none; }
.payout-card span { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.payout-card strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--text); }
.payout-card small { font-size: 0.68rem; color: var(--text-3); }
.payout-card--main { background: rgba(79,142,247,0.04); }
.payout-card--main strong { color: var(--accent); }
.payout-history { padding: 14px 20px; }
.ph-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ph-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 80px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-2);
  align-items: center;
}
.ph-head { color: var(--text-3); font-size: 0.62rem; text-transform: uppercase; }
/* Positive badge colour: #3dd68c */
.badge-paid {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(61,214,140,0.1);
  color: var(--positive);
  border: 1px solid rgba(61,214,140,0.2);
  width: fit-content;
}
/* Warn badge colour: #f5a623 */
.badge-pending-sm {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(245,166,35,0.1);
  color: var(--warn);
  border: 1px solid rgba(245,166,35,0.2);
  width: fit-content;
}

/* ── About — mission prose ──────────────────────────────── */
.about-prose {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0;
}
.about-prose p:first-child {
  color: var(--text);
  font-size: 1.125rem;
}
@media (max-width: 768px) {
  .about-prose p { font-size: 1rem; }
  .about-prose p:first-child { font-size: 1.0625rem; }
}

/* ── FAQ — clean grid per design rules ──────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--surface);
  transition: background var(--t);
}
.faq-q {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  padding: 20px 56px 20px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }
.faq-q:hover { background: var(--surface-2); color: var(--accent); }
.faq-q::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 28px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.25s var(--ease);
  color: var(--text-3);
}
.faq-item[open] .faq-q::after { transform: translateY(-25%) rotate(225deg); color: var(--accent); }
.faq-item[open] .faq-q { color: var(--accent); }
.faq-a {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.7;
  padding: 0 28px 22px;
}

/* ── Apply ──────────────────────────────────────────────── */
.apply-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.apply-text .section-label { margin-bottom: 14px; }
.apply-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}
.apply-text p { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 24px; }
.apply-checklist { display: flex; flex-direction: column; gap: 9px; }
.apply-checklist li { font-size: 0.82rem; color: var(--text-2); }

.apply-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.apply-cta-card { display: flex; flex-direction: column; gap: 18px; text-align: center; }
.apply-cta-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-1); }
.apply-cta-card p  { color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }
.apply-cta-card .btn { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  transition: border-color var(--t);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.1);
}
.form-group input::placeholder { color: var(--text-3); }
.form-group select option { background: var(--bg-3); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-2);
  cursor: pointer;
  padding: 5px 10px;
  user-select: none;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--t);
}
.checkbox-label:hover { border-color: var(--accent); color: var(--text); }
.checkbox-label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.checkbox-label--muted { opacity: 0.5; font-style: italic; }
.checkbox-label--muted:has(input:checked) { background: var(--text-3); border-color: var(--text-3); opacity: 1; font-style: italic; }
.checkbox-label input[type="checkbox"] { display: none; }
.form-field-hint { font-size: 0.75rem; color: var(--accent); line-height: 1.6; margin-top: 8px; padding: 10px 12px; background: rgba(79,142,247,0.06); border-left: 2px solid var(--accent); border-radius: 0 4px 4px 0; }
.form-disclaimer { font-size: 0.7rem; color: var(--text-3); text-align: center; line-height: 1.5; }
.form-disclaimer a { color: var(--accent); }
.form-disclaimer a:hover { text-decoration: underline; }
.form-error { font-size: 0.8rem; color: var(--negative); background: rgba(242,95,92,0.08); border: 1px solid rgba(242,95,92,0.25); border-radius: 6px; padding: 10px 14px; margin-bottom: 8px; }

.apply-success {
  text-align: center;
  padding: 36px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.success-icon {
  width: 60px; height: 60px;
  background: rgba(61,214,140,0.1);
  border: 2px solid rgba(61,214,140,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--positive);
}
.apply-success h3 { font-size: 1.2rem; font-weight: 700; }
.apply-success p { color: var(--text-2); font-size: 0.85rem; max-width: 260px; }

/* ── Shared semantic classes ────────────────────────────── */
.pos { color: var(--positive); }   /* #3dd68c */
.neg { color: var(--negative); }   /* #f25f5c */
.buy  { color: var(--accent); }    /* #4f8ef7 */
.sell { color: var(--negative); }  /* #f25f5c */

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 10px;
  max-width: 300px;
}
.footer-disclaimer {
  font-size: 0.7rem !important;
  color: var(--text-3) !important;
  max-width: 300px !important;
  line-height: 1.6 !important;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 6px;
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.8rem; color: var(--text-2); transition: color var(--t); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-3);
}

/* ── Scroll animations — 70ms stagger per design rules ───── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-columns { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-entropy-wrap { flex: 1 1 auto; width: 100%; max-width: 640px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--border-2); padding-top: 14px; margin-top: 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-layout { grid-template-columns: 1fr; }
  .apply-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav .site-logo { height: 22px; }
  .footer-logo .site-logo { height: 20px; }
  .hero { padding: 120px 0 90px; }
  .hero-cta { max-width: 100%; flex-wrap: wrap; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--border-2); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--border-2); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-2); padding-top: 14px; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .dash-metrics { grid-template-columns: 1fr 1fr; }
  .bt-results { grid-template-columns: repeat(3, 1fr); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .payout-summary { grid-template-columns: 1fr; }
}

/* ════════════════════════════ TRUST SECTION ══ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  min-height: 270px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.trust-icon {
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 0;
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════ DEV BANNER (portal) ══ */
.dev-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}
.dev-banner-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

/* ══════════════════════ EVAL SIMULATED NOTE ══ */
.eval-simulated-note {
  margin-top: 36px;
  padding: 18px 24px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════ FORM FEE NOTE ══ */
.form-fee-note {
  font-size: 13px;
  color: var(--positive);
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 4px;
  text-align: center;
}

/* ══════════════════════ COOKIE BANNER ══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 40px 24px;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: all;
  animation: cookie-slide-up 0.22s ease;
}
@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  min-width: 0;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner { padding: 0 16px 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-banner-actions { flex-direction: column; }
}

