@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --fm-primary: #F63049;
  --fm-bg: #111F35;
  --fm-bg-2: #0d1926;
  --fm-bg-3: #162540;
  --fm-text: #ffffff;
  --fm-text-muted: #8ca0bc;
  --fm-border: rgba(246, 48, 73, 0.15);
  --fm-glow: rgba(246, 48, 73, 0.3);
  --fm-font-display: 'Bebas Neue', sans-serif;
  --fm-font-body: 'DM Sans', sans-serif;
  --fm-font-mono: 'Space Mono', monospace;
}

.fm-section {
  font-family: var(--fm-font-body);
  color: var(--fm-text);
  background-color: var(--fm-bg);
}

.fm-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

.fm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fm-primary);
  background: rgba(246, 48, 73, 0.08);
  border: 1px solid rgba(246, 48, 73, 0.25);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.fm-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--fm-primary);
  border-radius: 50%;
  animation: fm-pulse 1.5s infinite;
}

@keyframes fm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.fm-section-heading {
  font-family: var(--fm-font-display);
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--fm-text);
  margin-bottom: 20px;
}

.fm-section-heading .fm-accent {
  color: var(--fm-primary);
  display: block;
}

.fm-section-sub {
  font-family: var(--fm-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fm-text-muted);
  max-width: 520px;
}

.fm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--fm-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.fm-btn-primary {
  background: var(--fm-primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(246, 48, 73, 0.4);
}

.fm-btn-primary:hover {
  background: #ff1f3d;
  box-shadow: 0 0 40px rgba(246, 48, 73, 0.7);
  transform: translateY(-2px);
}

.fm-btn-outline {
  background: transparent;
  color: var(--fm-text);
  border: 1px solid rgba(255,255,255,0.2);
}

.fm-btn-outline:hover {
  border-color: var(--fm-primary);
  color: var(--fm-primary);
}

.fm-btn-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 10px;
  transition: transform 0.3s;
}

.fm-btn:hover .fm-btn-arrow {
  transform: translateX(4px);
}

/* =========================================
   HERO SECTION
   ========================================= */

.fm-hero {
  position: relative;
  min-height: 100vh;
  background: var(--fm-bg-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fm-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 48, 73, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 48, 73, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.fm-hero__bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(246, 48, 73, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fm-hero__bg-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #243b606b 0%, transparent 70%);
  pointer-events: none;
}

.fm-hero__ticker {
    max-width: 1460px;
    margin: auto;
  background: rgba(246, 48, 73, 0.06);
  border-bottom: 1px solid var(--fm-border);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.fm-hero__ticker-track {
  display: flex;
  gap: 60px;
  animation: fm-ticker 30s linear infinite;
  width: max-content;
  white-space: nowrap;
}

.fm-hero__ticker-item {
  font-family: var(--fm-font-mono);
  font-size: 11px;
  color: var(--fm-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-hero__ticker-item span:first-child {
  color: var(--fm-text);
  font-weight: 700;
}

.fm-hero__ticker-up {
  color: #22c55e !important;
}

.fm-hero__ticker-down {
  color: var(--fm-primary) !important;
}

@keyframes fm-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.fm-hero__main {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.fm-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 60px;
  width: 100%;
}

.fm-hero__content {}

.fm-hero__eyebrow {
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fm-primary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--fm-primary);
}

.fm-hero__title {
  font-family: var(--fm-font-display);
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 32px;
  color: var(--fm-text);
}

.fm-hero__title em {
  font-style: normal;
  color: var(--fm-primary);
  -webkit-text-stroke: 0;
}

.fm-hero__title .fm-outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  color: transparent;
}

.fm-hero__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fm-text-muted);
  margin-bottom: 40px;
  max-width: 440px;
}

.fm-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fm-hero__stats {
    max-width: 500px;
    display: flex;
    gap: 32px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fm-hero__stat-item {}

.fm-hero__stat-num {
  font-family: var(--fm-font-display);
  font-size: 38px;
  color: var(--fm-text);
  line-height: 1;
}

.fm-hero__stat-num span {
  color: var(--fm-primary);
}

.fm-hero__stat-label {
  font-size: 12px;
  color: var(--fm-text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.fm-hero__visual {
  position: relative;
}

.fm-hero__chart-card {
  background: rgba(22, 37, 64, 0.8);
  border: 1px solid var(--fm-border);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(20px);
  position: relative;
}

.fm-hero__chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fm-primary), transparent);
  border-radius: 12px 12px 0 0;
}

.fm-hero__chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.fm-hero__chart-pair {
  font-family: var(--fm-font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--fm-text);
}

.fm-hero__chart-price {
  font-family: var(--fm-font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--fm-text);
}

.fm-hero__chart-change {
  font-family: var(--fm-font-mono);
  font-size: 12px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: 2px;
  margin-top: 6px;
  display: inline-block;
}

.fm-hero__chart-svg {
  width: 100%;
  height: 140px;
  margin: 16px 0;
}

.fm-hero__chart-svg path {
  fill: none;
  stroke: var(--fm-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-hero__chart-svg .fm-fill {
  fill: url(#fm-chart-gradient);
  stroke: none;
}

.fm-hero__chart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.fm-hero__chart-metric-label {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  color: var(--fm-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fm-hero__chart-metric-val {
  font-family: var(--fm-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--fm-text);
}

.fm-hero__float-card {
  position: absolute;
  background: rgba(17, 31, 53, 0.95);
  border: 1px solid var(--fm-border);
  border-radius: 8px;
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fm-float 4s ease-in-out infinite;
}

.fm-hero__float-card--1 {
  bottom: -24px;
  left: -40px;
  animation-delay: 0s;
}

.fm-hero__float-card--2 {
  top: -20px;
  right: -30px;
  animation-delay: 2s;
}

@keyframes fm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fm-hero__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.fm-hero__float-icon--green { background: rgba(34, 197, 94, 0.15); }
.fm-hero__float-icon--red { background: rgba(246, 48, 73, 0.15); }

.fm-hero__float-text {
  font-family: var(--fm-font-mono);
}

.fm-hero__float-label {
  font-size: 10px;
  color: var(--fm-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fm-hero__float-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--fm-text);
  margin-top: 2px;
}

.fm-hero__float-value.green { color: #22c55e; }
.fm-hero__float-value.red { color: var(--fm-primary); }

/* =========================================
   ABOUT SECTION
   ========================================= */

.fm-about {
  background: var(--fm-bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.fm-about::before {
  content: '';
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f6304963 0%, transparent 70%);
  pointer-events: none;
}

.fm-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fm-about__image-wrap {
  position: relative;
}

.fm-about__image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.fm-about__image-frame img {
  width: 100%;
  display: block;
  border-radius: 4px;
  filter: brightness(0.85);
}

.fm-about__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(246, 48, 73, 0.1) 0%, transparent 60%); */
    background: radial-gradient(circle at center, #243b606b 0%, #ffffff00 60%);

  pointer-events: none;
}

.fm-about__corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--fm-primary);
  border-style: solid;
}

.fm-about__corner--tl {
  top: -8px;
  left: -8px;
  border-width: 2px 0 0 2px;
}

.fm-about__corner--br {
  bottom: -8px;
  right: -8px;
  border-width: 0 2px 2px 0;
}

.fm-about__badge-float {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--fm-primary);
  border-radius: 4px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(246, 48, 73, 0.3);
}

.fm-about__badge-num {
  font-family: var(--fm-font-display);
  font-size: 40px;
  line-height: 1;
  color: #fff;
}

.fm-about__badge-text {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fm-about__content {}

.fm-about__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fm-about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(22, 37, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.fm-about__list-item:hover {
  border-color: var(--fm-border);
}

.fm-about__list-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(246, 48, 73, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fm-primary);
}

.fm-about__list-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.fm-about__list-text p {
  font-size: 13px;
  color: var(--fm-text-muted);
  line-height: 1.6;
}

.fm-about__body-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fm-text-muted);
  margin-bottom: 14px;
}

/* =========================================
   MARKETS SECTION
   ========================================= */

.fm-markets {
  background: var(--fm-bg-2);
  padding: 120px 0;
  position: relative;
}

.fm-markets__head {
  text-align: center;
  margin-bottom: 70px;
}

.fm-markets__head .fm-section-sub {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.fm-markets__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.fm-market-card {
  background: rgba(22, 37, 64, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.fm-market-card:hover {
  border-color: var(--fm-border);
  transform: translateY(-4px);
}

.fm-market-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246,48,73,0.04) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.fm-market-card:hover::before {
  opacity: 1;
}

.fm-market-card--featured {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.fm-market-card--featured .fm-market-card__body {
  flex: 1;
}

.fm-market-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.fm-market-card--featured .fm-market-card__img {
  height: 260px;
}

.fm-market-card:hover .fm-market-card__img {
  opacity: 0.9;
}

.fm-market-card__body {
  padding: 24px;
}

.fm-market-card__tag {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fm-primary);
  margin-bottom: 10px;
}

.fm-market-card__title {
  font-family: var(--fm-font-display);
  font-size: 28px;
  color: var(--fm-text);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.fm-market-card--featured .fm-market-card__title {
  font-size: 38px;
}

.fm-market-card__desc {
  font-size: 13px;
  color: var(--fm-text-muted);
  line-height: 1.7;
}

.fm-market-card__row {
  display: flex;
}

.fm-market-card__row .fm-market-card {
  flex: 1;
}

.fm-markets__disclaimer {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(246, 48, 73, 0.05);
  border: 1px solid var(--fm-border);
  border-radius: 6px;
  padding: 16px 20px;
}

.fm-markets__disclaimer-icon {
  color: var(--fm-primary);
  font-size: 16px;
  min-width: 20px;
  margin-top: 2px;
}

.fm-markets__disclaimer-text {
  font-size: 12px;
  color: var(--fm-text-muted);
  line-height: 1.6;
}

.fm-markets__cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================
   PLATFORMS SECTION
   ========================================= */

.fm-platforms {
  background: var(--fm-bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.fm-platforms::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(246, 48, 73, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.fm-platforms__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fm-platforms__visual {
  position: relative;
}

.fm-platforms__img-wrap {
  border-radius: 8px;
  overflow: hidden;
  /* border: 1px solid var(--fm-border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4); */
  transition: opacity 0.5s, transform 0.5s;
}

.fm-platforms__img-wrap img {
  width: 100%;
  display: block;
    max-width: 400px;
    margin: auto;
}

.fm-platforms__features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fm-platforms__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--fm-text-muted);
}

.fm-platforms__feature-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--fm-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(246, 48, 73, 0.6);
}

.fm-platforms__feature strong {
  color: var(--fm-text);
  margin-right: 4px;
}

.fm-platforms__tabs {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.fm-platforms__tab {
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(22, 37, 64, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  color: var(--fm-text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.fm-platforms__tab--active,
.fm-platforms__tab:hover {
  background: rgba(246, 48, 73, 0.1);
  border-color: var(--fm-primary);
  color: var(--fm-primary);
}

.fm-platforms__body-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fm-text-muted);
  margin-bottom: 14px;
}

/* =========================================
   ACCOUNTS SECTION
   ========================================= */

.fm-accounts {
  background: var(--fm-bg-2);
  padding: 120px 0;
  position: relative;
}

.fm-accounts__head {
  text-align: center;
  margin-bottom: 70px;
}

.fm-accounts__head .fm-section-sub {
  margin: 0 auto;
  text-align: center;
}

.fm-accounts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fm-account-card {
  background: rgba(22, 37, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 32px 24px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.fm-account-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fm-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.fm-account-card:hover,
.fm-account-card--active {
  border-color: var(--fm-border);
  background: rgba(22, 37, 64, 0.8);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.fm-account-card--active::before,
.fm-account-card:hover::before {
  opacity: 1;
}

.fm-account-card--featured {
  border-color: var(--fm-border);
  background: linear-gradient(160deg, rgba(246, 48, 73, 0.1), rgba(22, 37, 64, 0.8));
}

.fm-account-card--featured::before {
  opacity: 1;
  background: var(--fm-primary);
}

.fm-account-card__badge {
  display: inline-block;
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fm-primary);
  background: rgba(246, 48, 73, 0.1);
  border: 1px solid rgba(246, 48, 73, 0.2);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.fm-account-card__name {
  font-family: var(--fm-font-display);
  font-size: 32px;
  color: var(--fm-text);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.fm-account-card__desc {
  font-size: 13px;
  color: var(--fm-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.fm-account-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 20px 0;
}

.fm-account-card__label {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fm-text-muted);
  margin-bottom: 8px;
}

.fm-account-card__suited {
  font-size: 13px;
  color: var(--fm-text);
  margin-bottom: 24px;
}

.fm-account-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fm-primary);
  text-decoration: none;
  transition: gap 0.3s;
}

.fm-account-card__link:hover {
  gap: 14px;
}

/* =========================================
   EDUCATION / FOCUSED SECTION
   ========================================= */

.fm-focused {
  background: var(--fm-bg);
  padding: 120px 0;
}

.fm-focused__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fm-focused__visual {
  position: relative;
  order: 2;
}

.fm-focused__img-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--fm-border);
}

.fm-focused__img-wrap img {
  width: 100%;
  display: block;
  opacity: 0.85;
}

.fm-focused__overlay-card {
  position: absolute;
  top: 30px;
  left: -30px;
  background: rgba(17, 31, 53, 0.95);
  border: 1px solid var(--fm-border);
  border-radius: 6px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  min-width: 180px;
}

.fm-focused__overlay-label {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fm-text-muted);
  margin-bottom: 8px;
}

.fm-focused__overlay-val {
  font-family: var(--fm-font-display);
  font-size: 32px;
  color: var(--fm-primary);
  line-height: 1;
}

.fm-focused__overlay-sub {
  font-size: 11px;
  color: var(--fm-text-muted);
  margin-top: 4px;
}

.fm-focused__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fm-focused__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--fm-text);
}

.fm-focused__list-num {
  font-family: var(--fm-font-display);
  font-size: 32px;
  color: rgba(246, 48, 73, 0.25);
  line-height: 1;
  min-width: 36px;
}

.fm-focused__list-text {
  padding-left: 16px;
  border-left: 2px solid rgba(246, 48, 73, 0.2);
}

/* =========================================
   LEARNING HUB
   ========================================= */

.fm-learning {
  background: var(--fm-bg-2);
  padding: 120px 0;
  overflow: hidden;
}

.fm-learning__head-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 60px;
}

.fm-learning__head-wrap .fm-badge {
  display: inline-flex;
}

.fm-learning__head-wrap .fm-section-sub {
  max-width: 560px;
  margin: 0 auto;
}

.fm-learning__swiper-wrap {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

.fm-learning-swiper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 8px;
}

.fm-learning-swiper .swiper-wrapper {
  align-items: center;
}

.fm-learning-swiper .swiper-slide {
  width: 380px;
  flex-shrink: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

.fm-learn-card {
  background: rgba(22, 37, 64, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
  user-select: none;
}

.fm-learn-card:hover {
  border-color: var(--fm-border);
}

.fm-learn-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  pointer-events: none;
}

.fm-learn-card__body {
  padding: 28px;
}

.fm-learn-card__tag {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fm-primary);
  margin-bottom: 12px;
}

.fm-learn-card__title {
  font-family: var(--fm-font-display);
  font-size: 26px;
  color: var(--fm-text);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.fm-learn-card__subtitle {
  font-size: 13px;
  color: var(--fm-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.fm-learn-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.fm-learn-card__desc {
  font-size: 12px;
  color: var(--fm-text-muted);
}

.fm-learn-card__cta {
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fm-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
  white-space: nowrap;
}

.fm-learn-card__cta:hover {
  gap: 12px;
}

.fm-learning__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding: 0 24px;
}

.fm-learning__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 37, 64, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--fm-text);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-learning__nav-btn:hover {
  background: var(--fm-primary);
  border-color: var(--fm-primary);
  box-shadow: 0 0 20px rgba(246, 48, 73, 0.4);
}

@media (max-width: 768px) {
  .fm-learning-swiper .swiper-slide {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .fm-learning-swiper .swiper-slide {
    width: 260px;
  }
  .fm-learn-card__body {
    padding: 20px;
  }
}

/* =========================================
   CONTACT SECTION
   ========================================= */

.fm-contact {
  background: var(--fm-bg);
  padding: 120px 0;
  position: relative;
}

.fm-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fm-primary), transparent);
}

.fm-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.fm-contact__info {}

.fm-contact__info-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fm-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fm-contact__info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(246, 48, 73, 0.1);
  border: 1px solid var(--fm-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fm-primary);
}

.fm-contact__info-label {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fm-text-muted);
  margin-bottom: 4px;
}

.fm-contact__info-val {
  font-size: 14px;
  color: var(--fm-text);
}

.fm-contact__form-wrap {
  background: rgba(22, 37, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 40px;
  position: relative;
}

.fm-contact__form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fm-primary), transparent);
  border-radius: 8px 8px 0 0;
}

.fm-contact__form-title {
  font-family: var(--fm-font-display);
  font-size: 32px;
  color: var(--fm-text);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.fm-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.fm-contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.fm-contact__label {
  font-family: var(--fm-font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fm-text-muted);
}

.fm-contact__label span {
  color: var(--fm-primary);
}

.fm-contact__input,
.fm-contact__select,
.fm-contact__textarea {
  background: rgba(17, 31, 53, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--fm-text);
  font-family: var(--fm-font-body);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
}

.fm-contact__input:focus,
.fm-contact__select:focus,
.fm-contact__textarea:focus {
  border-color: var(--fm-primary);
}

.fm-contact__input::placeholder,
.fm-contact__textarea::placeholder {
  color: rgba(140, 160, 188, 0.4);
}

.fm-contact__select {
  appearance: none;
  cursor: pointer;
}

.fm-contact__select option {
  background: #0d1926;
  color: var(--fm-text);
}

.fm-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.fm-contact__error {
  font-size: 11px;
  color: var(--fm-primary);
  margin-top: -4px;
  display: block;
  min-height: 16px;
}

.fm-contact__submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 13px;
}

/* =========================================
   FOOTER
   ========================================= */

.fm-footer {
  background: var(--fm-bg-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 32px;
  font-family: var(--fm-font-body);
}

.fm-footer__regulatory {
  background: rgba(22, 37, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.fm-footer__reg-title {
  font-family: var(--fm-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fm-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fm-footer__reg-title::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--fm-primary);
}

.fm-footer__reg-text {
  font-size: 12px;
  color: var(--fm-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.fm-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.fm-footer__logo img {
  height: 36px;
  opacity: 0.8;
}

.fm-footer__social {
  display: flex;
  gap: 12px;
}

.fm-footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.fm-footer__social-link:hover {
  background: var(--fm-primary);
  border-color: var(--fm-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(246, 48, 73, 0.4);
}

.fm-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.fm-footer__links a {
  font-size: 12px;
  color: var(--fm-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.fm-footer__links a:hover {
  color: var(--fm-primary);
}

.fm-footer__copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(140, 160, 188, 0.4);
  margin-top: 24px;
  font-family: var(--fm-font-mono);
  letter-spacing: 0.5px;
}

/* =========================================
   TOAST
   ========================================= */

.fm-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(22, 37, 64, 0.95);
  border: 1px solid var(--fm-border);
  border-radius: 6px;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--fm-text);
  z-index: 10000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s;
  backdrop-filter: blur(20px);
  max-width: 320px;
  font-family: var(--fm-font-body);
}

.fm-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.fm-toast.success {
  border-color: rgba(34, 197, 94, 0.4);
}

.fm-toast.error {
  border-color: var(--fm-border);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .fm-markets__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fm-market-card--featured {
    grid-column: 1 / 3;
    grid-row: auto;
    flex-direction: row;
  }

  .fm-market-card--featured .fm-market-card__img {
    width: 280px;
    height: auto;
  }

  .fm-accounts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .fm-hero__inner {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
    text-align: center;
  }

  .fm-hero__eyebrow {
    justify-content: center;
  }

  .fm-hero__actions {
    justify-content: center;
  }

  .fm-hero__stats {
    justify-content: center;
  }

  .fm-hero__desc {
    margin: 0 auto 40px;
  }

  .fm-about__inner,
  .fm-platforms__inner,
  .fm-focused__inner,
  .fm-contact__inner {
    grid-template-columns: 1fr;
  }

  .fm-about__badge-float {
    right: 20px;
  }

  .fm-focused__visual {
    order: 0;
  }

  .fm-focused__overlay-card {
    left: 10px;
  }
}

@media (max-width: 768px) {
  .fm-markets__grid {
    grid-template-columns: 1fr;
  }

  .fm-market-card--featured {
    grid-column: 1;
    flex-direction: column;
  }

  .fm-market-card--featured .fm-market-card__img {
    width: 100%;
    height: 200px;
  }

  .fm-accounts__grid {
    grid-template-columns: 1fr;
  }

  .fm-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .fm-footer__links {
    justify-content: center;
  }

  .fm-contact__row {
    grid-template-columns: 1fr;
  }

  .fm-hero__float-card--1,
  .fm-hero__float-card--2 {
    display: none;
  }

}

@media (max-width: 480px) {
  .fm-section-heading {
    font-size: 40px;
  }

  .fm-hero__title {
    font-size: 52px;
  }

  .fm-hero__stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .fm-contact__form-wrap {
    padding: 24px;
  }

  .fm-footer__regulatory {
    padding: 20px;
  }
}




@media (max-width: 950px) {
    .fm-hero__main .fm-container{
        padding-top: 80px;
    }
}