@font-face{font-family:'Inter';font-style:normal;font-weight:300 900;font-display:swap;src:url('../fonts/inter.woff2') format('woff2')}
/* from /assets/css/site.css */
/* ═══════════════════════════════════════════════════
   Fintevex EU – Custom Stylesheet
   Design: Dark hero/nav/footer + light content sections
   ═══════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────── */
:root {
  /* Dark zones (hero, navbar, footer, CTA) */
  --ftx-dark-bg:        #0b1120;
  --ftx-dark-bg-2:      #0e1628;
  --ftx-dark-card:      #111e33;
  --ftx-dark-border:    #1c2d4a;

  /* Light zones (content sections) */
  --ftx-light-bg:       #ffffff;
  --ftx-light-alt:      #f4f7fb;
  --ftx-light-card:     #ffffff;
  --ftx-light-border:   #e2e8f0;

  /* Brand colors */
  --ftx-accent:         var(--brand);
  --ftx-accent-hover:   color-mix(in srgb, var(--brand) 82%, #000);
  --ftx-accent-light:   color-mix(in srgb, var(--brand) 10%, #fff);
  --ftx-accent-glow:    color-mix(in srgb, var(--brand) 18%, transparent);
  --ftx-teal:           #0097b2;

  /* Text */
  --ftx-heading:        #0f1b2d;
  --ftx-body:           #4a5568;
  --ftx-muted:          #6b7a99;
  --ftx-dark-text:      #e8edf5;
  --ftx-dark-muted:     #7b8db0;

  /* Misc */
  --ftx-radius:         12px;
  --ftx-radius-lg:      20px;
  --ftx-shadow-card:    0 2px 16px rgba(15, 27, 45, 0.08);
  --ftx-shadow-hover:   0 8px 32px rgba(15, 27, 45, 0.14);
  --ftx-shadow-glow:    0 8px 40px color-mix(in srgb, var(--brand) 18%, transparent);
}

/* ── Reset / Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--ftx-light-bg);
  color: var(--ftx-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ftx-accent); color: #fff; }

/* ── Typography ───────────────────────────────────── */
.ftx-heading {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ftx-heading);
  letter-spacing: -0.025em;
}

.ftx-hero-heading {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
}

.ftx-page-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.025em;
}

/* page title on light inner hero */
.ftx-page-hero .ftx-page-title { color: #fff; }

.text-gradient {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 65%, #fff) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.x-small        { font-size: 0.78rem; }
.tracking-wide  { letter-spacing: 0.08em; }

/* ─────────────────────────────────────────────────── */
/* NAVBAR  (always dark)                               */
/* ─────────────────────────────────────────────────── */
.ftx-navbar {
  background: rgba(11, 17, 32, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.8rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1030;
}

.ftx-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.ftx-navbar .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.ftx-navbar .nav-link:hover,
.ftx-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}

.ftx-dropdown {
  background: #0e1628;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--ftx-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 0.5rem;
  min-width: 210px;
}

.ftx-dropdown .dropdown-item {
  color: rgba(255,255,255,0.65);
  font-size: 0.855rem;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.ftx-dropdown .dropdown-item:hover {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: #fff;
}

/* ─────────────────────────────────────────────────── */
/* HERO  (dark, image flush to bottom)                 */
/* ─────────────────────────────────────────────────── */
.ftx-hero {
  background: var(--ftx-dark-bg);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Diagonal grid overlay */
.ftx-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 60L60 0" stroke="rgba(255,255,255,0.015)" stroke-width="1"/></svg>') repeat;
  pointer-events: none;
}

/* Radial colour glow */
.ftx-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 68% 45%, color-mix(in srgb, var(--brand) 22%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 5%  80%, rgba(0,151,178,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 90% 10%, rgba(56,189,248,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Row fills full viewport height, image sticks to bottom */
.ftx-hero-row {
  min-height: 100vh;
}

/* Text column: vertically centred within the row */
.ftx-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

/* Image column: no padding so image reaches the section's bottom edge */
.ftx-hero-img-col {
  padding-bottom: 0 !important;
  padding-top: 2rem;
}

/* Hero trader photo */
.ftx-hero-trader-img {
  display: block;
  max-height: 86vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 60px color-mix(in srgb, var(--brand) 25%, transparent)) drop-shadow(0 32px 48px rgba(0,0,0,.35));
}

/* Hero text styles */
.ftx-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.58);
  max-width: 480px;
}

/* Trust badges row */
.ftx-trust-icon {
  width: 30px;
  height: 30px;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--brand) 65%, #fff);
  flex-shrink: 0;
}

.ftx-trust-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Gradient primary button */
.ftx-btn-primary-grad {
  background: linear-gradient(135deg, var(--brand) 0%, #1e88e5 50%, #0097b2 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px color-mix(in srgb, var(--brand) 40%, transparent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ftx-btn-primary-grad::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ftx-btn-primary-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px color-mix(in srgb, var(--brand) 55%, transparent);
  color: #fff !important;
}

/* Ghost button (hero secondary) */
.ftx-btn-ghost {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.28) !important;
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.ftx-btn-ghost:hover {
  border-color: rgba(255,255,255,0.55) !important;
  background: rgba(255,255,255,0.06) !important;
  transform: translateY(-2px);
}

.min-vh-75 { min-height: 75vh; }

/* ─────────────────────────────────────────────────── */
/* PAGE HERO  (dark, inner pages) — kept as-is         */
/* ─────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────── */
/* PAGE HERO  (dark, inner pages)                      */
/* ─────────────────────────────────────────────────── */
.ftx-page-hero {
  background: var(--ftx-dark-bg);
  position: relative;
  overflow: hidden;
}

.ftx-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, color-mix(in srgb, var(--brand) 12%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.ftx-page-hero .text-secondary { color: rgba(255,255,255,0.55) !important; }
.ftx-page-hero .ftx-badge-pill  { background: rgba(255,255,255,0.1); color: #93c5fd; border-color: rgba(255,255,255,0.18); }

/* ─────────────────────────────────────────────────── */
/* STATS BAR                                           */
/* ─────────────────────────────────────────────────── */
.ftx-stats-bar {
  background: var(--ftx-light-bg);
  border-top: 1px solid var(--ftx-light-border);
  border-bottom: 1px solid var(--ftx-light-border);
}

/* Dark variant — continues hero visual seamlessly */
.ftx-stats-bar.ftx-stats-dark {
  background: #0a1525;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ftx-stats-bar.ftx-stats-dark .ftx-stat-item {
  border-right-color: rgba(255,255,255,0.07);
}

.ftx-stats-bar.ftx-stats-dark .text-secondary {
  color: rgba(255,255,255,0.42) !important;
}

.ftx-stats-bar.ftx-stats-dark .ftx-stat-value {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 65%, #fff) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ftx-stat-item {
  border-right: 1px solid var(--ftx-light-border);
}
.ftx-stat-item:last-child { border-right: none; }

.ftx-stat-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--ftx-accent);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────────── */
/* CONTENT SECTIONS  (light)                           */
/* ─────────────────────────────────────────────────── */
.ftx-section     { background: var(--ftx-light-bg); }
.ftx-section-alt { background: var(--ftx-light-alt); }

/* ─────────────────────────────────────────────────── */
/* CARDS  (white, shadow)                              */
/* ─────────────────────────────────────────────────── */
.ftx-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius-lg);
  box-shadow: 0 2px 20px rgba(15,27,45,0.07), 0 1px 4px rgba(15,27,45,0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.ftx-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ftx-accent), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--ftx-radius-lg) var(--ftx-radius-lg) 0 0;
}

.ftx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15,27,45,0.13), 0 4px 12px color-mix(in srgb, var(--brand) 8%, transparent);
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
}

.ftx-card:hover::after {
  opacity: 1;
}

.ftx-mini-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius);
  box-shadow: 0 2px 12px rgba(15,27,45,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border-left: 3px solid transparent;
}

.ftx-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15,27,45,0.1);
  border-left-color: var(--ftx-accent);
}

.ftx-market-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius-lg);
  box-shadow: 0 2px 20px rgba(15,27,45,0.07);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ftx-market-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ftx-accent), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--ftx-radius-lg) var(--ftx-radius-lg) 0 0;
}

.ftx-market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15,27,45,0.12), 0 4px 12px color-mix(in srgb, var(--brand) 8%, transparent);
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
}

.ftx-market-card:hover::after { opacity: 1; }

.ftx-market-pill {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius);
  box-shadow: var(--ftx-shadow-card);
  transition: all 0.25s ease;
}

.ftx-market-pill:hover {
  background: var(--ftx-accent-light);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  transform: translateY(-4px);
}

/* ── Blog card text ────────────────────────────────── */
.ftx-blog-card .text-white    { color: var(--ftx-heading) !important; }
.ftx-blog-card .text-secondary { color: var(--ftx-muted) !important; }
.ftx-market-pill .text-white  { color: var(--ftx-heading) !important; }
.ftx-market-pill .text-secondary { color: var(--ftx-muted) !important; }

/* ── Card text overrides (cards are now light) ─────── */
.ftx-card .text-white,
.ftx-mini-card .text-white,
.ftx-market-card .text-white,
.ftx-step-card .text-white,
.ftx-account-card .text-white,
.ftx-feature-item .text-white,
.ftx-pricing-visual .text-white {
  color: var(--ftx-heading) !important;
}

.ftx-card .text-secondary,
.ftx-mini-card .text-secondary,
.ftx-market-card .text-secondary,
.ftx-step-card .text-secondary,
.ftx-account-card .text-secondary,
.ftx-feature-item .text-secondary,
.ftx-pricing-visual .text-secondary {
  color: var(--ftx-body) !important;
}

/* ── Icon Circle ──────────────────────────────────── */
.ftx-icon-circle {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ftx-accent-light) 0%, rgba(0,151,178,0.06) 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 14px;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 6%, transparent);
}

.ftx-card:hover .ftx-icon-circle,
.ftx-market-card:hover .ftx-icon-circle {
  background: linear-gradient(135deg, var(--ftx-accent) 0%, #0097b2 100%);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 35%, transparent);
  border-color: transparent;
}

.ftx-card:hover .ftx-icon-circle i,
.ftx-market-card:hover .ftx-icon-circle i {
  color: #fff !important;
}

.ftx-icon-sm {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ftx-accent-light) 0%, rgba(0,151,178,0.05) 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
  border-radius: 9px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Hero responsive ──────────────────────────────── */
@media (max-width: 991.98px) {
  .ftx-hero-text {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .ftx-hero-sub { font-size: 1rem; }
}

/* ── Badge Pill ───────────────────────────────────── */
.ftx-badge-pill {
  display: inline-block;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent) 0%, rgba(0,151,178,0.08) 100%);
  color: var(--ftx-accent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 8%, transparent);
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--ftx-accent) 0%, #1976d2 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--brand) 32%, transparent);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1976d2 0%, var(--ftx-accent) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--brand) 50%, transparent);
  color: #fff !important;
}

.btn-outline-primary {
  border: 1.5px solid var(--ftx-accent) !important;
  color: var(--ftx-accent) !important;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--ftx-accent) !important;
  border-color: var(--ftx-accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ftx-accent-glow);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.5) !important;
  transform: translateY(-2px);
}

.btn-light {
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

.ftx-btn-glow {
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 18px color-mix(in srgb, var(--brand) 32%, transparent); }
  50%       { box-shadow: 0 4px 32px color-mix(in srgb, var(--brand) 65%, transparent), 0 0 0 6px color-mix(in srgb, var(--brand) 12%, transparent); }
}

/* ── Steps ────────────────────────────────────────── */
.ftx-step-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius-lg);
  box-shadow: 0 2px 20px rgba(15,27,45,0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ftx-step-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ftx-accent), #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ftx-step-card:hover {
  box-shadow: 0 16px 48px rgba(15,27,45,0.12), 0 4px 12px color-mix(in srgb, var(--brand) 7%, transparent);
  border-color: color-mix(in srgb, var(--brand) 18%, transparent);
  transform: translateY(-6px);
}

.ftx-step-card:hover::before { transform: scaleX(1); }

.ftx-step-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent) 0%, rgba(56,189,248,0.12) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Account Cards ────────────────────────────────── */
.ftx-account-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius-lg);
  box-shadow: var(--ftx-shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ftx-account-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ftx-shadow-hover);
}

.ftx-account-card--featured {
  border-color: var(--ftx-accent);
  box-shadow: 0 0 0 2px var(--ftx-accent), var(--ftx-shadow-hover);
}

.ftx-popular-badge {
  background: var(--ftx-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.35rem 0;
}

.ftx-account-price {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* ── Table ────────────────────────────────────────── */
.ftx-table { color: var(--ftx-body); background: var(--ftx-light-bg); }

.ftx-table thead th {
  background: var(--ftx-light-alt);
  color: var(--ftx-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-color: var(--ftx-light-border);
  font-weight: 700;
}

.ftx-table tbody td {
  border-color: var(--ftx-light-border);
  padding: 0.85rem 1rem;
  vertical-align: middle;
  font-size: 0.875rem;
  color: var(--ftx-body);
}

.ftx-table tbody tr:hover td { background: var(--ftx-accent-light); }

/* ── Pricing Visual ───────────────────────────────── */
.ftx-pricing-visual {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  box-shadow: var(--ftx-shadow-card);
}

/* ── TradingView widget wrapper ───────────────────── */
.ftx-tv-wrap {
  position: relative;
  background: #0a1525;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

/* ── Testimonials ─────────────────────────────────── */
.ftx-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ftx-accent) 0%, #38bdf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

/* ── CTA Banner  (DARK zone) ──────────────────────── */
.ftx-cta-banner {
  background: linear-gradient(135deg, #0d1e45 0%, #0a1530 50%, #091228 100%);
  position: relative;
  overflow: hidden;
}

.ftx-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--brand) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Blog ─────────────────────────────────────────── */
.ftx-blog-card {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius);
  box-shadow: var(--ftx-shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.ftx-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ftx-shadow-hover);
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
}

.ftx-blog-img-wrap {
  height: 185px;
  overflow: hidden;
  background: var(--ftx-light-alt);
}

.ftx-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ftx-blog-card:hover .ftx-blog-img-wrap img {
  transform: scale(1.06);
}

.ftx-blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edf2ff 0%, #f0f7ff 100%);
}

.ftx-link-arrow {
  color: var(--ftx-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.ftx-link-arrow:hover { color: var(--ftx-accent-hover); text-decoration: none; }
.ftx-link-arrow i     { transition: transform 0.2s; display: inline-block; }
.ftx-link-arrow:hover i { transform: translateX(4px); }

/* ── Accordion ────────────────────────────────────── */
.ftx-accordion-item {
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border) !important;
  border-radius: var(--ftx-radius) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  box-shadow: var(--ftx-shadow-card);
}

.ftx-accordion-btn {
  background: var(--ftx-light-card) !important;
  color: var(--ftx-heading) !important;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none !important;
  padding: 1.1rem 1.25rem;
}

.ftx-accordion-btn:not(.collapsed) {
  color: var(--ftx-accent) !important;
  background: var(--ftx-accent-light) !important;
}

/* ── Forms ────────────────────────────────────────── */
.ftx-input {
  background: var(--ftx-light-bg) !important;
  border: 1.5px solid var(--ftx-light-border) !important;
  color: var(--ftx-heading) !important;
  border-radius: 10px !important;
  padding: 0.72rem 1rem !important;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ftx-input:focus {
  border-color: var(--ftx-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent) !important;
  background: #fff !important;
}

.ftx-input::placeholder { color: #9aadcc !important; }
.ftx-input option       { background: var(--ftx-light-bg); color: var(--ftx-heading); }

/* forms inside dark cards (partnership, careers, contact) */
.ftx-card .ftx-input {
  background: var(--ftx-light-alt) !important;
}

/* ── Feature Items ────────────────────────────────── */
.ftx-feature-item {
  background: var(--ftx-light-bg);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ftx-feature-item:hover {
  border-color: color-mix(in srgb, var(--brand) 25%, transparent);
  box-shadow: var(--ftx-shadow-card);
}

/* ── Crypto Grid ──────────────────────────────────── */
.ftx-crypto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ftx-crypto-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ftx-light-card);
  border: 1px solid var(--ftx-light-border);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  box-shadow: var(--ftx-shadow-card);
  transition: all 0.2s ease;
}

.ftx-crypto-pill:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: var(--ftx-shadow-hover);
  transform: translateY(-2px);
}

/* ── Security Visual ──────────────────────────────── */
.ftx-security-visual {
  background: var(--ftx-light-alt);
  border: 1px solid var(--ftx-light-border);
  border-radius: var(--ftx-radius-lg);
  box-shadow: var(--ftx-shadow-card);
}

.ftx-security-visual .text-white { color: var(--ftx-heading) !important; }
.ftx-security-visual .text-secondary { color: var(--ftx-body) !important; }
.ftx-security-visual .x-small { color: var(--ftx-body) !important; }

/* ─────────────────────────────────────────────────── */
/* FOOTER  (dark)                                      */
/* ─────────────────────────────────────────────────── */
.ftx-footer {
  background: var(--ftx-dark-bg);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.ftx-footer .text-secondary { color: var(--ftx-dark-muted) !important; }
.ftx-footer .text-white     { color: #fff !important; }

.ftx-footer-link {
  color: var(--ftx-dark-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, padding-left 0.2s;
}

.ftx-footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

/* ── Pagination ───────────────────────────────────── */
.page-link {
  background: var(--ftx-light-card);
  border-color: var(--ftx-light-border);
  color: var(--ftx-body);
  border-radius: 8px !important;
  margin: 0 2px;
  transition: all 0.2s;
}

.page-link:hover { background: var(--ftx-accent); border-color: var(--ftx-accent); color: #fff; }
.page-item.active .page-link { background: var(--ftx-accent); border-color: var(--ftx-accent); color: #fff; }

/* ── Alert ────────────────────────────────────────── */
.ftx-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--ftx-radius);
  padding: 1rem 1.25rem;
}

/* ── Section heading text on LIGHT bg ─────────────── */
.ftx-section .ftx-heading,
.ftx-section-alt .ftx-heading    { color: var(--ftx-heading); }

.ftx-section .text-secondary,
.ftx-section-alt .text-secondary { color: var(--ftx-muted) !important; }

/* ── Hero section text overrides (dark bg) ─────────── */
.ftx-hero .text-secondary         { color: rgba(255,255,255,0.6) !important; }
.ftx-hero .text-white             { color: #fff !important; }
.ftx-cta-banner .text-secondary   { color: rgba(255,255,255,0.55) !important; }
.ftx-cta-banner .text-white-50    { color: rgba(255,255,255,0.55) !important; }

/* ── Spreads table in light context ───────────────── */
.ftx-pricing-visual .fw-semibold  { color: var(--ftx-heading) !important; }
.ftx-pricing-visual .text-primary { color: var(--ftx-accent) !important; }
.ftx-pricing-visual .border-secondary { border-color: var(--ftx-light-border) !important; }

/* ── Page hero badge & text ───────────────────────── */
.ftx-page-hero h4,
.ftx-page-hero .text-white,
.ftx-page-hero .fw-bold { color: #fff; }

/* ── Dark section heading (Why Us stats bar etc) ──── */
.ftx-stats-bar .text-secondary { color: var(--ftx-muted) !important; }

/* ── AOS ──────────────────────────────────────────── */
[data-aos] { pointer-events: auto !important; }

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--ftx-light-alt); }
::-webkit-scrollbar-thumb { background: #c5d1e5; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ftx-accent); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 767px) {
  .ftx-hero        { min-height: auto; padding: 5rem 0 3rem; }
  .ftx-stat-item   { border-right: none; border-bottom: 1px solid var(--ftx-light-border); }
  .ftx-stat-item:last-child { border-bottom: none; }
}

@media (max-width: 991px) {
  .ftx-navbar .nav-link { padding: 0.6rem 1rem !important; }
  .ftx-dropdown         { min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   MEGA MENU
   ═══════════════════════════════════════════════════════════ */

/* Backdrop overlay */
.ftx-mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(7, 13, 28, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1029;
}
.ftx-mega-backdrop.show { display: block; }

/* Mega panel — full viewport width, pinned below navbar */
.ftx-mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  z-index: 1030;
  background: #0d1527;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 2px solid var(--ftx-accent);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path .28s ease, visibility 0s linear .28s;
}
.ftx-mega-item.open .ftx-mega-panel {
  visibility: visible;
  clip-path: inset(0 0 0% 0);
  pointer-events: auto;
  transition: clip-path .28s ease, visibility 0s;
}

/* Desktop */
@media (min-width: 992px) {
  .ftx-mega-item { position: static; }
  .ftx-mega-item > .ftx-nav-link.dropdown-toggle::after { display: none; }
  .ftx-mega-item > .ftx-nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .ftx-mega-item > .ftx-nav-link.dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(255,255,255,.55);
    margin-left: 4px;
    transition: transform .2s;
    order: 1;
  }
  .ftx-mega-item.open > .ftx-nav-link.dropdown-toggle::before {
    transform: rotate(180deg);
    border-top-color: #fff;
  }
}

/* Mega link cards */
.ftx-mega-link {
  color: rgba(255,255,255,.75);
  background: transparent;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s;
}
.ftx-mega-link:hover {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  color: #fff;
}
.ftx-mega-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ftx-accent);
  transition: background .18s;
}
.ftx-mega-link:hover .ftx-mega-icon {
  background: color-mix(in srgb, var(--brand) 28%, transparent);
}
.ftx-mega-link-title {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.ftx-mega-link-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  line-height: 1.35;
}
.ftx-mega-label {
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
  font-size: .7rem;
}

/* Mobile mega menu — stack as list */
@media (max-width: 991px) {
  .ftx-mega-panel {
    position: static;
    visibility: visible !important;
    clip-path: none !important;
    display: none;
    border: none;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    margin: 4px 0 8px;
    pointer-events: auto !important;
    transition: none;
  }
  .ftx-mega-item.open .ftx-mega-panel { display: block; }
  .ftx-mega-panel .container { padding: 0.5rem 1rem; }
  .ftx-mega-panel .col-lg,
  .ftx-mega-panel .col-md-4,
  .ftx-mega-panel .col-6 { width: 50%; }
  .ftx-mega-link { padding: 0.5rem !important; }
  .ftx-mega-link-sub { display: none; }
  .ftx-mega-backdrop { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   FLOATING CONTACT WIDGET
   ═══════════════════════════════════════════════════════════ */

.ftx-float-wrap {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Trigger button */
.ftx-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ftx-accent);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--brand) 50%, transparent);
  cursor: pointer;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.ftx-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--brand) 65%, transparent);
}

/* Pulse ring */
.ftx-float-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
  animation: ftxPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes ftxPulse {
  0%   { opacity: 1;   transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.55); }
  100% { opacity: 0;   transform: scale(1.55); }
}

/* Popup panel */
.ftx-float-popup {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.ftx-float-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Popup header */
.ftx-float-popup-head {
  background: linear-gradient(135deg, var(--brand) 0%, #0d47a1 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ftx-float-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.ftx-online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 2px rgba(76,175,80,.35);
}
.ftx-float-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .15s;
}
.ftx-float-close:hover { color: #fff; }

/* Popup body */
.ftx-float-popup-body { padding: 16px; }

/* Input overrides inside popup (light context) */
.ftx-float-input {
  font-size: .85rem !important;
  border-radius: 8px !important;
  background: #f4f7fb !important;
  border-color: #dde4f0 !important;
  color: #1a2540 !important;
}
.ftx-float-input:focus {
  background: #fff !important;
  border-color: var(--ftx-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent) !important;
}
.ftx-float-input::placeholder { color: #aab !important; }

/* Submit button loader states */
.ftx-float-btn-text,
.ftx-float-btn-loader { display: inline-flex; align-items: center; }

/* Success state */
.ftx-float-success-icon { animation: ftxBounceIn .4s ease; }
@keyframes ftxBounceIn {
  0%   { transform: scale(.5); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .ftx-float-wrap { bottom: 16px; left: 16px; }
  .ftx-float-popup { width: calc(100vw - 32px); }
}


/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER  (fixed bottom-right pill)
   ═══════════════════════════════════════════════════════════ */

.ftx-lang-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50px;
  padding: 6px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 22px rgba(0,0,0,.35);
}
.ftx-lang-float-btn {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 20px;
  transition: color .15s, background .15s;
}
.ftx-lang-float-btn:hover,
.ftx-lang-float-btn.active {
  color: #fff;
  background: color-mix(in srgb, var(--brand) 55%, transparent);
  text-decoration: none;
}
.ftx-lang-float-sep {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
  user-select: none;
}

@media (max-width: 480px) {
  .ftx-lang-float { bottom: 16px; right: 16px; }
}

/* ─────────────────────────────────────────────────── */
/* BRAND LOGO  (navbar)                                */
/* ─────────────────────────────────────────────────── */
.ftx-brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

@media (max-width: 576px) {
  .ftx-brand-logo { height: 30px; }
}

/* ─────────────────────────────────────────────────── */
/* HERO TRADER IMAGE  (homepage)                       */
/* ─────────────────────────────────────────────────── */
.ftx-hero-trader-img {
  max-height: 540px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,212,255,.18));
  display: block;
}

@media (max-width: 1200px) {
  .ftx-hero-trader-img { max-height: 440px; }
}

/* ─────────────────────────────────────────────────── */
/* SECURITY SECTION IMAGE  (homepage)                  */
/* ─────────────────────────────────────────────────── */
.ftx-security-img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0,212,255,.15));
  display: block;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .ftx-security-img { max-height: 300px; }
}
.tpl-mkt{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:14px;background:#fff;border:1px solid rgba(127,127,127,.18);height:100%;justify-content:center;color:#0f1b2d}.tpl-mkt-row{display:grid;grid-template-columns:1fr 45%;align-items:center;gap:12px;padding:10px 6px;border-bottom:1px solid rgba(127,127,127,.12)}.tpl-mkt-row:last-child{border-bottom:0}.tpl-mkt-sym{font-weight:700;font-size:15px}.tpl-mkt-cat{font-size:12px;opacity:.6}.tpl-mkt-spark{width:100%;height:24px}.ftx-lang-float .site-lang-select{color:#fff;background-color:rgba(15,27,45,.85)}.tpl-illu{display:block;width:100%;height:auto;max-width:520px;margin:0 auto}.tpl-illu-sec{max-width:460px}.tpl-risk{line-height:1.6;opacity:.85}.tpl-ticker{color:#e8edf5}