/*
Theme Name: Funding Dynasty
Description: A custom theme for Funding Dynasty
Version: 1.0.0
Author: Doru-Alexandru Florea
Author URI: https://dafcode.com
Author Email: dorualexandruflorea@gmail.com
Text Domain: funding-dinasty
*/


@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --fd-bg:       #07070A;
  --fd-s1:       #0D0D12;
  --fd-s2:       #121218;
  --fd-s3:       #18181F;
  --fd-card:     #1A1A22;
  --fd-card2:    #20202A;
  --fd-v:        #A700FF;
  --fd-v2:       #C44DFF;
  --fd-v3:       #7E00C0;
  --fd-vg:       rgba(167,0,255,.18);
  --fd-vb:       rgba(167,0,255,.28);
  --fd-text:     #EEEDF5;
  --fd-t2:       #9896A8;
  --fd-t3:       #5C5A6E;
  --fd-border:   rgba(255,255,255,.07);
  --fd-b2:       rgba(255,255,255,.04);
  --fd-green:    #22C55E;
  --fd-gd:       rgba(34,197,94,.14);

  /* Override Bootstrap colours */
  --bs-body-bg:         var(--fd-bg);
  --bs-body-color:      var(--fd-text);
  --bs-body-font-family:'Plus Jakarta Sans', sans-serif;
  --bs-border-color:    var(--fd-border);
  --bs-primary:         var(--fd-v);
  --bs-primary-rgb:     167,0,255;
  --bs-link-color:      var(--fd-v2);
  --bs-link-hover-color:var(--fd-v);
}
#pap-fee,
.accent-color-text{
	color:#C44DFF;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; background: var(--fd-bg); color: var(--fd-text); }

/* ── SCROLL PROGRESS ── */
#prog {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--fd-v); z-index: 1090;
  transform: scaleX(0); transform-origin: left; transition: transform .1s linear;
}

/* ── UTILITIES ── */
.fd-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--fd-v2); display: block; margin-bottom: 12px;
  text-align: center;
}
.fd-h2 {
  font-size: clamp(32px, 4.5vw, 54px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.08;
  text-align: center;
}
.fd-h2 .acc { color: var(--fd-v2); }
/* Optional intro paragraph that should sit under any section h2 */
.fd-h2 + .fd-h2-sub, .fd-section-sub {
  text-align: center; max-width: 560px; margin: 18px auto 0;
  font-size: 16px; line-height: 1.65; color: var(--fd-t2);
}

.rev { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.rev.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }

/* ── BUTTONS ── */
.btn-fd-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fd-v); color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 32px; border-radius: 11px; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: opacity .18s, transform .14s, box-shadow .2s;
}
.btn-fd-primary:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 18px 50px rgba(167,0,255,.3); color: #fff; }
/* Lime-green variant — used in the new hero CTA */
.btn-fd-primary.lime { background: #c8ff36; color: #0a0a0a; box-shadow: 0 8px 24px rgba(200,255,54,.18); }
.btn-fd-primary.lime:hover { background: #d6ff58; color: #0a0a0a; box-shadow: 0 16px 40px rgba(200,255,54,.32); }

.btn-fd-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fd-s3); color: var(--fd-text); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 11px; text-decoration: none;
  border: 1px solid var(--fd-border); transition: border-color .18s, background .18s;
}
.btn-fd-ghost:hover { border-color: var(--fd-vb); background: var(--fd-card); color: var(--fd-text); }


/*-------------------------------------------------------------------------*/
/*	Header
/*-------------------------------------------------------------------------*/

/* ── NAV ── */
.main-navigation {
  height: 68px;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--fd-border);
  transition: background 0.3s;
}
body.admin-bar .main-navigation {
  top: 32px;
}
.main-navigation.scrolled {
  background: rgba(7, 7, 10, 0.97);
}
.fd-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--fd-text);
}
.fd-logo-img {
    height: 32px;
    width: auto;
    display: block;
}
.fd-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--fd-v);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.fd-logo-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.fd-logo-name span {
  color: var(--fd-v2);
}
.main-navigation-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fd-t2);
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}
.main-navigation-link:hover {
  color: var(--fd-text);
  background: rgba(255, 255, 255, 0.05);
}
.btn-nav-cta {
  background: var(--fd-v);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    opacity 0.18s,
    transform 0.12s;
}
.btn-nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.btn-nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--fd-t2) !important;
  padding: 7px 14px;
  text-decoration: none;
}
.btn-nav-login:hover {
  color: var(--fd-text) !important;
}
.main-navigation {
	height: 70px;
	z-index: 10000;
}
main {
	padding-top: 70px;
}
body.menu-open {
	overflow: hidden;
}
/* =========================
   MOBILE MENU TOGGLE
========================= */

body.admin-bar .main-navigation {
  top: 32px;
}
.mobile-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}
.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	transition: all 0.3s ease;
}
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #000;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	z-index: 9999;
}
.mobile-menu.active {
	transform: translateY(0);
}
.mobile-menu-inner {
	padding: 100px 20px 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.mobile-menu-inner a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
}
.mobile-menu-inner hr {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.1);
	margin: 10px 0;
}

/* ── HERO ── */
.fd-hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
/* New hero: pure black, no purple radial glow or pulsing ring */
.fd-hero::before, .fd-hero::after { display: none; }
@keyframes heroPulse {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.08); }
}
.fd-hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 80px; }

/* FIX 1 — center avatars row with h1 */
.fd-hero-content .hero-above { display: flex; flex-direction: column; align-items: center; }

.hero-avatars { display: inline-flex; align-items: center; gap: 0; margin-bottom: 20px; animation: fadeUp .6s ease both; }
.avatar-stack { display: flex; }
.av {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--fd-bg);
  margin-left: -8px; background: var(--fd-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.av:first-child { margin-left: 0; }
.av-label { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--fd-t2); }
.av-label strong { color: var(--fd-text); }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--fd-vb); background: var(--fd-vg);
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; color: var(--fd-v2);
  margin-bottom: 28px; animation: fadeUp .65s ease .05s both;
}
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fd-green); animation: blink 2s ease infinite; }

/* New hero — lime eyebrow above title */
.hero-eyebrow-new {
  font-size: 13px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: #c8ff36;
  margin: 16px 0 28px; text-align: center;
  animation: fadeUp .65s ease .08s both;
}

.fd-hero h1 {
  font-size: clamp(52px, 8.5vw, 112px); font-weight: 800;
  line-height: 1.0; letter-spacing: -3px; margin-bottom: 24px;
  animation: fadeUp .7s ease .1s both;
}
.fd-hero h1 .acc { color: var(--fd-v2); }
/* Multi-stop gradient on "You Pass." in the new hero — blue → purple → magenta */
.fd-hero h1 .acc.gradient {
  background: linear-gradient(95deg, #38bdff 0%, #a700ff 55%, #e040d8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.fd-hero h1 .sub {
  display: block; font-size: .48em; letter-spacing: -1px;
  color: var(--fd-t3); margin-top: 8px; font-weight: 700;
}
.fd-hero-desc { font-size: 17px; line-height: 1.7; color: var(--fd-t2); max-width: 500px; margin: 0 auto 44px; animation: fadeUp .7s ease .18s both; }
.fd-hero-desc strong { color: var(--fd-text); font-weight: 700; }
.fd-hero-btns { animation: fadeUp .7s ease .26s both; }

/* Stats wrapper — new minimal design: 4 wide pills, no neon glow frame */
.hero-stats-wrap { display: flex; justify-content: center; margin-top: 80px; animation: fadeUp .8s ease .35s both; padding: 0 16px; width: 100%; }
.hero-stats {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  max-width: 1280px; width: 100%;
}
.hero-stats.stats-4 .hero-stat-pill { flex: 1 1 240px; min-width: 0; }
.hero-stat-pill {
  background: rgba(7,7,10,.85);
  border: 1px solid rgba(167,0,255,.18);
  padding: 22px 28px;
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px;
  min-width: 150px;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.hero-stats.stats-4 .hero-stat-pill {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px 26px;
}
.hero-stat-pill:hover { border-color: rgba(167,0,255,.45); transform: translateY(-2px); }
.hero-stats.stats-4 .hero-stat-pill:hover { border-color: rgba(255,255,255,.18); }
.hero-stat-n { font-size: 30px; font-weight: 800; letter-spacing: -1px; color: var(--fd-v2); line-height: 1; }
.hero-stats.stats-4 .hero-stat-n { color: #fff; font-size: 28px; }
.hero-stat-l { font-size: 12px; color: var(--fd-t2); font-weight: 500; letter-spacing: .2px; }
.hero-stats.stats-4 .hero-stat-l { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 4px; }
.stat-dot { position: absolute; top: 22px; right: 22px; width: 8px; height: 8px; border-radius: 50%; background: #c8ff36; box-shadow: 0 0 8px rgba(200,255,54,.45); }

/* ── TICKER ── */
.fd-ticker-stack { background: var(--fd-s1); border-top: 1px solid var(--fd-border); border-bottom: 1px solid var(--fd-border); padding: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.fd-ticker { overflow: hidden; white-space: nowrap; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: inline-flex; animation: tickerScroll 50s linear infinite; will-change: transform; }
.ticker-track--right { animation: tickerScrollRight 55s linear infinite; }
.fd-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 20px; padding: 0 32px; border-right: 1px solid var(--fd-border); }
.ti-name { font-size: 14px; font-weight: 600; }
.ti-amount { font-size: 15px; font-weight: 800; color: var(--fd-green); }
.ti-type { font-size: 12px; color: var(--fd-t3); background: var(--fd-s3); padding: 3px 8px; border-radius: 100px; border: 1px solid var(--fd-border); }
.ti-flag { font-size: 14px; }

/* ── VIDEO CAROUSEL ── */
.fd-vc { padding: 72px 0 64px; border-bottom: 1px solid var(--fd-border); overflow: hidden; position: relative; }
.fd-vc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 180px; background: linear-gradient(90deg, var(--fd-bg), transparent); z-index: 10; pointer-events: none; }
.fd-vc::after  { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 180px; background: linear-gradient(-90deg, var(--fd-bg), transparent); z-index: 10; pointer-events: none; }

.vc-header { max-width: 1100px; margin: 0 auto; padding: 0 52px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.vc-header .vc-nav { order: 3; }
.vc-header > div:first-child { display: flex; flex-direction: column; align-items: center; }
.vc-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--fd-v2); display: block; margin-bottom: 12px; text-align: center; }
.vc-title { font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; text-align: center; }
.vc-title .acc { color: var(--fd-v2); }
.vc-sub { font-size: 15px; color: var(--fd-t2); margin: 12px auto 0; line-height: 1.6; max-width: 440px; text-align: center; }
.vc-nav { display: flex; gap: 10px; flex-shrink: 0; }
.vc-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--fd-s2); border: 1px solid var(--fd-border);
  color: var(--fd-t2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s, color .18s, transform .14s;
}
.vc-btn:hover { background: var(--fd-v); border-color: var(--fd-v); color: #fff; transform: scale(1.08); }

.vc-track-wrap { overflow: hidden; padding: 12px 0 20px; position: relative; cursor: grab; user-select: none; }
.vc-track-wrap:active { cursor: grabbing; }
.vc-track { display: flex; gap: 18px; padding: 0 52px; transition: transform .55s cubic-bezier(.25,1,.5,1); will-change: transform; }

.vc-card { flex-shrink: 0; width: 220px; border-radius: 18px; overflow: hidden; position: relative; cursor: pointer; transition: transform .28s ease, box-shadow .28s ease; }
.vc-card:hover { transform: translateY(-8px) scale(1.025); box-shadow: 0 32px 64px rgba(0,0,0,.6); }
.vc-card:hover .vc-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.vc-thumb { width: 100%; aspect-ratio: 9/16; position: relative; border-radius: 18px; overflow: hidden; background: #111; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 18px; transition: transform .5s ease; }
.vc-card:hover .vc-thumb img { transform: scale(1.05); }

.vc-photo-overlay {
  position: absolute; inset: 0; z-index: 2; border-radius: 18px;
  background: linear-gradient(0deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.45) 38%, rgba(7,7,10,.08) 62%, rgba(7,7,10,.18) 100%),
              linear-gradient(180deg, rgba(167,0,255,.12) 0%, transparent 30%);
}
.vc-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.88);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease, transform .25s ease; z-index: 5;
}
.vc-play-btn svg { margin-left: 3px; }
.vc-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 18px; z-index: 4; }
.vc-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 700; margin-bottom: 8px; border: 1px solid; }
.vc-tag.pap { background: rgba(167,0,255,.25); color: #d896ff; border-color: rgba(167,0,255,.4); }
.vc-tag.leg { background: rgba(255,255,255,.1); color: #ccc; border-color: rgba(255,255,255,.2); }
.vc-tag.ins { background: rgba(34,197,94,.2); color: #5eefa0; border-color: rgba(34,197,94,.35); }
.vc-trader-name { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 3px; letter-spacing: -.2px; }
.vc-trader-result { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500; }
.vc-duration { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #fff; z-index: 4; letter-spacing: .3px; }
.vc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; z-index: 11; }
.vc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fd-s3); border: 1px solid var(--fd-border); cursor: pointer; transition: all .25s; }
.vc-dot.active { background: var(--fd-v); border-color: var(--fd-v); width: 24px; border-radius: 3px; }

/* ── HOW IT WORKS ── */
.fd-hiw { padding: 96px 0; background: var(--fd-s1); border-bottom: 1px solid var(--fd-border); }
.hiw-card {
  background: var(--fd-card); border: 1px solid var(--fd-border);
  border-radius: 20px; overflow: hidden; position: relative;
  transition: border-color .25s, transform .25s; min-height: 320px;
  display: flex; flex-direction: column;
}
.hiw-card:hover { border-color: var(--fd-vb); transform: translateY(-4px); }
.hiw-badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fd-vg); border: 1px solid var(--fd-vb);
  padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--fd-v2);
}
.hiw-card-num { position: absolute; bottom: 0; right: 0; font-size: 110px; font-weight: 900; line-height: 1; color: rgba(167,0,255,.06); pointer-events: none; letter-spacing: -4px; }
/* Fixed content area so each card's visual lines up on the same baseline,
   regardless of how the description wraps. */
.hiw-content { padding: 64px 24px 28px; display: flex; flex-direction: column; flex: 0 0 auto; min-height: 250px; position: relative; z-index: 1; }
.hiw-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 10px; }
.hiw-desc { font-size: 13px; color: var(--fd-t2); line-height: 1.7; }
.hiw-visual { flex: 1; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; min-height: 200px; padding-bottom: 20px; }
.hiw-visual svg { width: 100%; max-width: 200px; }

/* ── FEATURES ── */
.fd-features { padding: 96px 0; border-bottom: 1px solid var(--fd-border); }
.feat-card {
  background: var(--fd-s2); border: 1px solid var(--fd-border);
  border-radius: 20px; overflow: hidden; position: relative;
  transition: border-color .25s, background .25s, transform .25s;
  height: 100%;
}
.feat-card:hover { border-color: var(--fd-vb); background: var(--fd-card); transform: translateY(-3px); }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,0,255,.4), transparent); opacity: 0; transition: opacity .3s; }
.feat-card:hover::before { opacity: 1; }
.feat-card-body { padding: 40px; height: 100%; display: flex; flex-direction: column; }
.feat-visual { display: flex; align-items: flex-end; justify-content: center; min-height: 140px; margin-bottom: 24px; overflow: hidden; }
.feat-visual svg { width: 100%; max-width: 220px; }
.feat-icon-wrap { font-size: 28px; margin-bottom: 20px; display: block; }
.feat-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 12px; }
.feat-desc { font-size: 14px; color: var(--fd-t2); line-height: 1.75; flex: 1; }

/* ── ACCOUNTS ── */
.fd-accounts { padding: 96px 0; background: var(--fd-s1); border-bottom: 1px solid var(--fd-border); }
.acc-tabs-wrap { background: var(--fd-s2); border: 1px solid var(--fd-border); border-radius: 14px; padding: 5px; max-width: 600px; display: flex; gap: 0; margin-left: auto; margin-right: auto; }
.acc-tab { flex: 1; padding: 12px 20px; border-radius: 10px; border: none; background: transparent; color: var(--fd-t2); font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.acc-tab.active { background: var(--fd-v); color: #fff; box-shadow: 0 4px 20px rgba(167,0,255,.35); }
.acc-panel { display: none; }
.acc-panel.active { display: block; }
.acc-card { background: var(--fd-card); border: 1px solid var(--fd-border); border-radius: 20px; overflow: hidden; max-width: 820px; margin-left: auto; margin-right: auto; }
.acc-card.flagship { border-color: var(--fd-vb); background: linear-gradient(140deg, rgba(167,0,255,.07) 0%, var(--fd-card) 50%); }
.acc-card-top { height: 3px; background: linear-gradient(90deg, var(--fd-v3), var(--fd-v2)); }
.acc-head { padding: 28px 32px 0; }
.acc-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--fd-vg); border: 1px solid var(--fd-vb); padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--fd-v2); margin-bottom: 14px; }
.acc-name { font-size: 28px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 6px; }
.acc-name.acc { color: var(--fd-v2); }
.acc-desc { font-size: 14px; color: var(--fd-t2); line-height: 1.65; margin-bottom: 24px; max-width: 560px; }
.acc-sel { padding: 0 32px 24px; }
.acc-sel-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 10px; }
.acc-sz-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-sz {
  padding: 9px 16px; border-radius: 9px; border: 1px solid var(--fd-border);
  background: var(--fd-s2); color: var(--fd-t2); font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.acc-sz:hover { border-color: var(--fd-vb); color: var(--fd-text); }
.acc-sz.active { background: var(--fd-v); color: #fff; border-color: var(--fd-v); }
.acc-price-box { text-align: right; flex-shrink: 0; }
.acc-price-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 4px; }
.acc-price-val { font-size: 44px; font-weight: 900; letter-spacing: -2px; color: var(--fd-v2); line-height: 1; transition: transform .2s; }
.acc-phase-row { padding: 0 32px 24px; display: flex; align-items: center; gap: 0; }
.acc-phase-step { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 6px 4px; border-radius: 10px; transition: background .18s; user-select: none; }
.acc-phase-step:hover { background: rgba(167,0,255,.06); }
.acc-phase-step:hover .acc-phase-dot { border-color: var(--fd-vb); color: var(--fd-v2); }
.acc-phase-step:hover .acc-phase-name { color: var(--fd-text); }
.acc-phase-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--fd-border); background: var(--fd-s2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--fd-t3); transition: all .3s; }
.acc-phase-dot.active { background: var(--fd-v); border-color: var(--fd-v); color: #fff; box-shadow: 0 0 0 4px rgba(167,0,255,.18), 0 6px 20px rgba(167,0,255,.35); }
.acc-phase-dot.done { background: var(--fd-green); border-color: var(--fd-green); color: #fff; }
.acc-phase-step.active .acc-phase-name { color: var(--fd-text); font-weight: 700; }
.acc-phase-name { font-size: 11px; color: var(--fd-t3); font-weight: 600; transition: color .2s; }
.acc-phase-line { flex: 1; height: 2px; background: var(--fd-border); max-width: 80px; margin-bottom: 18px; transition: background .4s; }
.acc-phase-line.done { background: var(--fd-green); }
.acc-phase-line.active-fill { background: var(--fd-v); }
/* Phase-swap animation for spec grids
   Specificity here MUST beat .acc-specs (both are 0,1,0). We use compound
   selectors to outrank it so inactive phases truly stay hidden. */
.acc-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--fd-border); border-top: 1px solid var(--fd-border); border-bottom: 1px solid var(--fd-border); }
.acc-specs.leg-specs { display: none; animation: legSpecsIn .35s ease both; }
.acc-specs.leg-specs.active { display: grid; }
@keyframes legSpecsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.acc-spec { background: var(--fd-s2); padding: 16px 20px; transition: background .18s; }
.acc-spec:hover { background: var(--fd-card2); }
.acc-spec-k { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 5px; }
.acc-spec-v { font-size: 16px; font-weight: 700; color: var(--fd-text); }
.acc-spec-v.gv { color: var(--fd-green); }
.acc-spec-v.av { color: var(--fd-v2); }
.acc-cta-row { padding: 24px 32px; }
.acc-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; border-radius: 12px; border: none; cursor: pointer; font-size: 16px; font-weight: 700; font-family: inherit; text-decoration: none; transition: opacity .18s, transform .12s; }
.acc-cta.v { background: var(--fd-v); color: #fff; }
.acc-cta.v:hover { opacity: .88; transform: translateY(-1px); }
.acc-cta.ghost { background: rgba(255,255,255,.06); color: var(--fd-text); border: 1px solid var(--fd-border); }
.acc-cta.ghost:hover { background: rgba(255,255,255,.09); border-color: var(--fd-vb); }

/* ── COMPARISON ── */
.fd-compare { padding: 96px 0; border-bottom: 1px solid var(--fd-border); }
.cmp-view-btn { padding: 9px 20px; border-radius: 9px; border: 1px solid var(--fd-border); background: transparent; color: var(--fd-t2); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .18s; }
.cmp-view-btn:hover { border-color: var(--fd-vb); color: var(--fd-v2); }
.cmp-view-btn.active { background: var(--fd-v); color: #fff; border-color: var(--fd-v); }
.cmp-table { border: 1px solid var(--fd-border); border-radius: 16px; overflow: hidden; }
.cmp-thead { display: grid; background: var(--fd-s2); }
.cmp-th { padding: 16px 22px; font-size: 13px; font-weight: 700; border-right: 1px solid var(--fd-border); display: flex; align-items: center; gap: 8px; }
.cmp-th:last-child { border-right: none; }
.cmp-th.feat { background: var(--fd-vg); color: var(--fd-v2); }
.cmp-tr { display: grid; border-bottom: 1px solid var(--fd-border); transition: background .15s; }
.cmp-tr:last-child { border-bottom: none; }
.cmp-tr:hover { background: rgba(255,255,255,.02); }
.cmp-td { padding: 15px 22px; font-size: 14px; border-right: 1px solid var(--fd-border); display: flex; align-items: center; gap: 8px; }
.cmp-td:last-child { border-right: none; }
.cmp-td.lbl { color: var(--fd-t2); font-size: 13px; font-weight: 500; }
.cmp-td.feat { background: rgba(167,0,255,.04); }
.ck { color: var(--fd-green); font-weight: 700; }
.cx { color: #f87171; }
.tag-w { padding: 2px 7px; border-radius: 100px; font-size: 11px; font-weight: 700; background: var(--fd-vg); color: var(--fd-v2); border: 1px solid var(--fd-vb); margin-left: 4px; }
.tag-s { padding: 2px 7px; border-radius: 100px; font-size: 11px; font-weight: 700; background: var(--fd-gd); color: var(--fd-green); margin-left: 4px; }
.cmp-timeline { background: var(--fd-card); border: 1px solid var(--fd-border); border-radius: 16px; padding: 32px; display: none; margin-top: 36px; }
.cmp-timeline.show { display: block; }
.tl-head { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 28px; }
.tl-item { margin-bottom: 24px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.tl-meta span:last-child { color: var(--fd-t2); font-weight: 500; }
.tl-track { height: 32px; background: rgba(255,255,255,.04); border-radius: 7px; overflow: hidden; }
.tl-bar { height: 100%; border-radius: 7px; display: flex; align-items: center; padding: 0 12px; font-size: 12px; font-weight: 700; color: #fff; transition: width 1.4s cubic-bezier(.25,1,.5,1); width: 0; }
.bar-pap { background: linear-gradient(90deg, var(--fd-v3), var(--fd-v2)); }
.bar-leg { background: linear-gradient(90deg, #374151, #6B7280); }
.bar-ins { background: linear-gradient(90deg, #065F46, var(--fd-green)); }
.tl-note { margin-top: 20px; padding: 14px 18px; background: var(--fd-vg); border: 1px solid var(--fd-vb); border-radius: 10px; font-size: 14px; color: var(--fd-text); display: flex; align-items: center; gap: 10px; }
.tl-note strong { color: var(--fd-v2); }
.cost-visual { display: none; margin-top: 32px; }
.cost-visual.show { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.cost-card { background: var(--fd-card); border: 1px solid var(--fd-border); border-radius: 16px; padding: 28px; text-align: center; transition: border-color .25s; }
.cost-card.highlight { border-color: var(--fd-vb); background: linear-gradient(140deg, rgba(167,0,255,.08), var(--fd-card)); }
.cost-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 12px; }
.cost-product { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.cost-product.acc { color: var(--fd-v2); }
.cost-upfront { font-size: 13px; color: var(--fd-t2); margin-bottom: 6px; }
.cost-big { font-size: 48px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 8px; }
.cost-big.gv { color: var(--fd-green); }
.cost-big.av { color: var(--fd-v2); }
.cost-big.grey { color: var(--fd-t3); }
.cost-note { font-size: 13px; color: var(--fd-t2); line-height: 1.5; }
.cost-badge { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; background: var(--fd-gd); color: var(--fd-green); }

/* ── PAYOUTS / CERTIFICATES (FIX 3 — image only, no text below) ── */
.fd-payouts { padding: 96px 0; background: var(--fd-s1); border-bottom: 1px solid var(--fd-border); }
/* Centered header — sits above the horizontal cert carousel */
.payouts-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.payouts-head h3 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin: 14px 0 18px; }
.payouts-head h3 em { font-style: normal; color: var(--fd-v2); }
.payouts-head p { font-size: 16px; color: var(--fd-t2); line-height: 1.7; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Horizontal carousel — single row of 1:1 cert cards drifting sideways,
   with soft fade-out on left/right edges. */
.certs-wrap {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.certs-grid {
  display: flex; gap: 20px; width: max-content;
  animation: certsScrollX 70s linear infinite;
}
.certs-col {
  display: contents;   /* let each "col" just spill its children into the flex row */
}
.certs-wrap:hover .certs-grid { animation-play-state: paused; }
@keyframes certsScrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cert-card {
  flex-shrink: 0; width: 280px;       /* 1:1 ≈ 280×280 cards */
  background: transparent; border-radius: 14px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.cert-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px rgba(167,0,255,.25); }
/* Images are already 1:1 (520×520) — display at natural ratio, no crop */
.cert-card img { width: 100%; height: auto; display: block; border-radius: 14px; }

@media (max-width: 575px) {
  .cert-card { width: 220px; }
}

/* ── TESTIMONIALS ── */
.fd-testi { padding: 96px 0; border-bottom: 1px solid var(--fd-border); }
.testi-card { background: var(--fd-s2); border: 1px solid var(--fd-border); border-radius: 16px; padding: 32px; height: 100%; transition: border-color .25s, background .25s; }
.testi-card:hover { border-color: var(--fd-vb); background: var(--fd-card); }
.testi-stars { color: var(--fd-v2); font-size: 13px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text { font-size: 14px; line-height: 1.75; color: var(--fd-t2); margin-bottom: 24px; font-style: italic; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 700; }
.testi-detail { font-size: 12px; color: var(--fd-t3); }

/* ── FINAL CTA ── */
.fd-final { padding: 130px 0; text-align: center; position: relative; overflow: hidden; }
.fd-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(167,0,255,.09) 0%, transparent 65%); pointer-events: none; }
.fd-final h2 { font-size: clamp(44px, 7.5vw, 96px); font-weight: 800; letter-spacing: -3px; line-height: .98; margin-bottom: 24px; position: relative; }
.fd-final h2 em { font-style: normal; color: var(--fd-v2); }
.fd-final p { font-size: 17px; color: var(--fd-t2); max-width: 440px; margin: 0 auto 48px; line-height: 1.65; position: relative; }

/* ── FOOTER ── */
.fd-footer { border-top: 1px solid var(--fd-border); padding: 64px 0 40px; }
.footer-brand p { font-size: 14px; color: var(--fd-t2); line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col-head { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fd-t3); margin-bottom: 16px; }
.footer-link { font-size: 14px; color: var(--fd-t2); text-decoration: none; font-weight: 500; transition: color .15s; display: block; margin-bottom: 10px; }
.footer-link:hover { color: var(--fd-text); }
.footer-bottom { border-top: 1px solid var(--fd-border); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--fd-t3); }
.footer-disc { font-size: 12px; color: #2E2E3A; line-height: 1.65; border-top: 1px solid var(--fd-b2); padding-top: 20px; margin-top: 20px; }

/* ── MODAL ── */
.vc-modal { position: fixed; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(12px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.vc-modal.open { opacity: 1; pointer-events: all; }
.vc-modal-inner { position: relative; width: 360px; max-width: 90vw; }
.vc-modal-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .18s; }
.vc-modal-close:hover { background: rgba(255,255,255,.2); }
.vc-modal-video { width: 100%; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; background: var(--fd-s2); border: 1px solid var(--fd-border); }
.vc-modal-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; }
.vc-modal-play-icon { font-size: 40px; opacity: .3; }
.vc-modal-msg { font-size: 15px; font-weight: 700; color: var(--fd-text); opacity: .6; }
.vc-modal-submsg { font-size: 12px; color: var(--fd-t3); line-height: 1.5; }
.vc-modal-info { margin-top: 16px; text-align: center; }
.vc-modal-info .mn { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.vc-modal-info .mr { font-size: 13px; color: var(--fd-v2); font-weight: 600; }
.vc-modal-info .mt { font-size: 12px; color: var(--fd-t3); margin-top: 4px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tickerScrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ════════════════════════════════════════════════
   AMBIENT BACKLIGHTING — soft accent halos behind
   each section + lift glow on every major card,
   so panels feel "lit from behind" against the dark bg.
   ════════════════════════════════════════════════ */

/* Stacking context on each section so we can place a glow behind content */
.fd-hiw, .fd-features, .fd-accounts, .fd-compare, .fd-payouts, .fd-testi, .fd-vc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Section-level radial backlights (using ::before where free, ::after where ::before is taken) */
.fd-hiw::before,
.fd-features::before,
.fd-accounts::before,
.fd-compare::before,
.fd-payouts::before,
.fd-testi::before {
  content: '';
  position: absolute;
  width: 1100px; height: 900px;
  background: radial-gradient(closest-side, rgba(167,0,255,.16) 0%, rgba(167,0,255,.06) 40%, transparent 75%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}
.fd-hiw::before     { top: -260px;  left: -260px; }
.fd-features::before{ top: 50%; right: -340px; transform: translateY(-50%); width: 900px; height: 700px; }
.fd-accounts::before{ top: -200px;  right: -200px; }
.fd-compare::before { top: 50%; left: -340px; transform: translateY(-50%); width: 900px; height: 700px; }
.fd-payouts::before { bottom: -260px; right: -200px; }
.fd-testi::before   { top: -140px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; }

/* Secondary glow on a couple sections for richer depth */
.fd-accounts::after,
.fd-compare::after {
  content: '';
  position: absolute;
  width: 700px; height: 600px;
  background: radial-gradient(closest-side, rgba(196,77,255,.10) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}
.fd-accounts::after { bottom: -200px; left: -200px; }
.fd-compare::after  { bottom: -200px; right: -200px; }

/* Force section content above the backlit layer */
.fd-hiw > *, .fd-features > *, .fd-accounts > *,
.fd-compare > *, .fd-payouts > *, .fd-testi > *,
.fd-vc > * { position: relative; z-index: 1; }

/* ── Card-level backlit halos via box-shadow (no DOM changes) ── */
.hiw-card, .feat-card, .acc-card, .cost-card, .testi-card,
.cmp-table, .cmp-timeline, .acc-tabs-wrap {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02),
    0 28px 70px -28px rgba(167,0,255,.22),
    0 14px 36px -12px rgba(0,0,0,.55);
  transition: box-shadow .35s ease, border-color .25s, background .25s, transform .25s;
}
.hiw-card:hover, .feat-card:hover, .acc-card:hover,
.cost-card:hover, .testi-card:hover {
  box-shadow:
    0 0 0 1px rgba(167,0,255,.22),
    0 36px 90px -24px rgba(167,0,255,.45),
    0 16px 40px -12px rgba(0,0,0,.65);
}

/* Flagship card gets a slightly brighter idle glow to read as "premium" */
.acc-card.flagship {
  box-shadow:
    0 0 0 1px rgba(167,0,255,.18),
    0 32px 80px -22px rgba(167,0,255,.38),
    0 14px 36px -12px rgba(0,0,0,.55);
}

/* (Old purple glow frame around the stats removed — new hero uses 4 separate pills) */

/* Comparison view buttons + tabs get a subtle lift */
.acc-tabs-wrap { box-shadow: 0 14px 40px -16px rgba(167,0,255,.25), 0 6px 18px -8px rgba(0,0,0,.5); }
.cmp-view-btn { transition: all .2s; }
.cmp-view-btn:hover { box-shadow: 0 8px 24px -10px rgba(167,0,255,.35); transform: translateY(-1px); }
.cmp-view-btn.active { box-shadow: 0 12px 30px -8px rgba(167,0,255,.5); }

/* Ticker-stack — lit edge so the bands feel embedded in the page, not just slapped on */
.fd-ticker-stack {
  box-shadow:
    inset 0 1px 0 rgba(167,0,255,.18),
    inset 0 -1px 0 rgba(167,0,255,.12),
    0 24px 60px -30px rgba(167,0,255,.3);
}

/* Final CTA glow already exists — boost it for parity with the new vibe */
.fd-final::before {
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(167,0,255,.18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 50% 60%, rgba(196,77,255,.12) 0%, transparent 60%);
}

/* ── RESPONSIVE ─────────────────────────────────────────
   Breakpoints (Bootstrap 5):
   - lg ≤ 991px : tablet & below
   - md ≤ 767px : mobile (portrait/landscape)
   - sm ≤ 575px : small phones
   - xs ≤ 420px : extra-small phones
─────────────────────────────────────────────────────── */

/* Always — prevent accidental horizontal scroll & keep value text intact.
   `white-space: nowrap` is the only reliable way to stop the browser from
   breaking at hyphens or slashes in Latin text (word-break: keep-all only
   applies to CJK). Cells are wide enough that overflow isn't a risk. */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
.acc-spec-v { white-space: nowrap; }

/* Tablet & below — 1-column grid avoids any narrow-cell wrapping bug */
@media (max-width: 991px) {
  .vc-header { flex-direction: column; align-items: center; gap: 20px; padding: 0 20px 28px; }
  .fd-vc::before, .fd-vc::after { width: 40px; }
  .vc-track { padding: 0 20px; }
  .vc-card { width: 180px; }
  .hiw-card { min-height: 280px; }
  .acc-specs { grid-template-columns: 1fr; }
  .cost-visual.show { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2,1fr); }
  .certs-grid .cert-card:nth-child(3), .certs-grid .cert-card:nth-child(6) { display: none; }
  /* Comparison table: enable horizontal scroll on touch devices */
  .cmp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-thead, .cmp-tr { min-width: 640px; }
  /* Tighter card paddings */
  .acc-head { padding: 24px 24px 0; }
  .acc-sel { padding: 0 24px 20px; }
  .acc-cta-row { padding: 20px 24px; }
  .acc-phase-row { padding: 0 24px 20px; }
  .fd-h2 { letter-spacing: -1px; }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  /* Stack the size-buttons row and price box vertically */
  .acc-sel .d-flex { flex-direction: column; align-items: stretch !important; gap: 16px !important; }
  .acc-sel .acc-price-box { margin-left: 0 !important; text-align: left; }
  .acc-spec { padding: 14px 18px; }
  .acc-spec-v { font-size: 15px; }
  /* Card dimensions */
  .acc-name { font-size: 24px; letter-spacing: -.4px; }
  .acc-price-val { font-size: 36px; letter-spacing: -1.4px; }
  .acc-head { padding: 22px 20px 0; }
  .acc-sel { padding: 0 20px 18px; }
  .acc-cta-row { padding: 18px 20px; }
  .acc-phase-row { padding: 0 20px 18px; }
  .acc-tab { padding: 10px 8px; font-size: 13px; gap: 6px; }
  .acc-phase-line { max-width: 60px; }
  /* Comparison cost cards */
  .cost-card { padding: 22px; }
  .cost-big { font-size: 38px; }
  .vc-card { width: 160px; }
  /* Section h2 size scales down */
  .fd-h2 { font-size: clamp(28px, 6vw, 42px); line-height: 1.12; }
  /* Final CTA */
  .fd-final h2 { font-size: clamp(32px, 7vw, 48px) !important; line-height: 1.1 !important; }
  /* Footer brand row spacing */
  .footer-brand-row { row-gap: 28px; }
}

/* Small phones (≤ 575px) */
@media (max-width: 575px) {
  .fd-hero h1 { letter-spacing: -2px; }
  .hero-stats { gap: 10px; padding: 0; }
  .hero-stats.stats-4 .hero-stat-pill { padding: 16px 18px; min-width: 0; flex: 1 1 calc(50% - 5px); border-radius: 14px; }
  .hero-stats.stats-4 .hero-stat-n { font-size: 22px; }
  .hero-stats.stats-4 .hero-stat-l { font-size: 11px; }
  .stat-dot { top: 16px; right: 16px; width: 7px; height: 7px; }
  .fd-hiw, .fd-features, .fd-accounts, .fd-compare, .fd-payouts, .fd-testi, .fd-final { padding: 64px 0; }
  .hiw-visual { min-height: 120px; }
  /* Account tabs even tighter */
  .acc-tabs-wrap { padding: 4px; }
  .acc-tab { padding: 9px 6px; font-size: 12px; gap: 4px; }
  .acc-sz { padding: 8px 12px; font-size: 13px; }
  .acc-sz-btns { gap: 6px; }
  .acc-name { font-size: 22px; }
  .acc-price-val { font-size: 32px; }
  .acc-head { padding: 20px 18px 0; }
  .acc-sel { padding: 0 18px 16px; }
  .acc-cta-row { padding: 16px 18px; }
  .acc-phase-row { padding: 0 18px 16px; gap: 4px; }
  .acc-phase-line { max-width: 40px; }
  .acc-spec { padding: 12px 16px; }
  .cmp-thead, .cmp-tr { min-width: 560px; }
  .vc-card { width: 150px; }
  /* Nav: hide login on tightest screens, keep main CTA */
  .btn-nav-login { display: none !important; }
}

/* Extra-small phones (≤ 420px) */
@media (max-width: 420px) {
  .fd-h2 { font-size: 28px; }
  .acc-name { font-size: 20px; }
  .acc-price-val { font-size: 28px; }
  .acc-tab { font-size: 11px; padding: 8px 4px; }
  .acc-sz { padding: 7px 10px; font-size: 12px; }
  .vc-card { width: 140px; }
  .cost-big { font-size: 32px; }
  .hero-stat-n { font-size: 18px; }
  .hero-stat-l { font-size: 10px; }
}


/* Hero H1 and desc */
.fd-hero h1 {
  font-size: clamp(52px, 8.5vw, 112px);
  font-weight: 800; line-height: 1.0; letter-spacing: -3px;
  margin-bottom: 24px; animation: fadeUp .7s ease .1s both;
}
.fd-hero h1 .acc { color: var(--fd-v2); }
.fd-hero h1 .sub { display: block; font-size: .48em; letter-spacing: -1px; color: var(--fd-t3); margin-top: 8px; font-weight: 700; }
.fd-hero-desc {
  font-size: 17px; line-height: 1.7; color: var(--fd-t2);
  max-width: 500px; margin: 0 auto 44px;
  animation: fadeUp .7s ease .18s both;
}
.fd-hero-desc strong { color: var(--fd-text); font-weight: 700; }

/* ── REVIEWS (TrustPilot) ────────────────────────────── */
.fd-reviews { padding: 96px 0 88px; border-bottom: 1px solid var(--fd-border); overflow: hidden; position: relative; }
.fd-reviews .container-xxl { text-align: center; margin-bottom: 48px; position: relative; z-index: 2; }
.tp-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 9px 18px; border: 1px solid var(--fd-border); border-radius: 100px; background: var(--fd-card); }
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star { display: inline-block; width: 22px; height: 22px; background: #00b67a; position: relative; border-radius: 2px; }
.tp-star::after { content: '★'; position: absolute; inset: 0; color: #fff; font-size: 16px; line-height: 22px; text-align: center; font-family: Arial, sans-serif; }
.tp-text { font-size: 14px; color: var(--fd-t2); }
.tp-text strong { color: var(--fd-text); font-weight: 800; }

.reviews-marquee {
  position: relative; overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}
.rm-track {
  display: flex; gap: 18px; width: max-content;
  animation: marqueeL 90s linear infinite;
}
.rm-track.rm-rev { animation: marqueeR 100s linear infinite; }
.reviews-marquee:hover .rm-track { animation-play-state: paused; }
@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.rv-card {
  flex-shrink: 0; width: 340px; min-height: 220px;
  background: var(--fd-card); border: 1px solid var(--fd-border);
  border-radius: 16px; padding: 22px;
  cursor: pointer;
  transition: transform .25s ease, border-color .2s, box-shadow .25s;
  text-align: left;
  display: flex; flex-direction: column;
}
.rv-card:hover { transform: translateY(-4px); border-color: var(--fd-vb); box-shadow: 0 16px 40px -12px rgba(167,0,255,.28); }
.rv-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #1c1c1e; flex-shrink: 0; }
.rv-meta { flex: 1; min-width: 0; }
.rv-name { font-size: 14px; font-weight: 700; color: var(--fd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-info { font-size: 12px; color: var(--fd-t3); }
.rv-date { font-size: 11px; color: var(--fd-t3); flex-shrink: 0; }
.rv-stars { display: inline-flex; gap: 2px; padding: 3px 4px; border-radius: 3px; background: #00b67a; margin-bottom: 10px; align-self: flex-start; }
.rv-stars .rv-s { color: #fff; font-size: 12px; line-height: 1; }
.rv-title { font-size: 15px; font-weight: 700; color: var(--fd-text); margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-body {
  font-size: 13px; color: var(--fd-t2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1; margin-bottom: 12px;
}
.rv-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #00b67a; font-weight: 600; margin-top: auto; }
.rv-verified::before { content: '✓'; font-weight: 800; }

/* Review modal */
.rv-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  padding: 20px;
}
.rv-modal.open { opacity: 1; pointer-events: all; }
.rv-modal-inner {
  position: relative;
  background: var(--fd-card); border: 1px solid var(--fd-border);
  border-radius: 20px; padding: 36px 32px 30px;
  max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto;
}
.rv-modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--fd-border); color: var(--fd-text); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.rv-modal-close:hover { background: rgba(255,255,255,.14); }
.rv-modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-right: 40px; }
.rv-modal-head .rv-avatar { width: 52px; height: 52px; font-size: 15px; }
.rv-modal-name { font-size: 16px; font-weight: 700; color: var(--fd-text); }
.rv-modal-info { font-size: 13px; color: var(--fd-t3); }
.rv-modal-title { font-size: 20px; font-weight: 800; margin-bottom: 14px; line-height: 1.3; }
.rv-modal-body { font-size: 15px; color: var(--fd-t2); line-height: 1.7; margin-bottom: 18px; }
.rv-modal-foot { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--fd-t3); flex-wrap: wrap; }
.rv-modal-foot .rv-verified-tag { color: #00b67a; font-weight: 700; }

@media (max-width: 575px) {
  .rv-card { width: 280px; padding: 18px; min-height: 200px; }
  .rv-modal-inner { padding: 30px 22px 24px; }
}

/* ────────────────────────────────────────────────────────
   COMPLETE MOBILE RESPONSIVE PASS
──────────────────────────────────────────────────────── */

/* General: never let content overflow horizontally on any screen */
html, body { max-width: 100vw; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

/* Tablet & below (≤991px) */
@media (max-width: 991px) {
  /* Nav: hide secondary links on tablet/mobile, keep logo + main CTA */
  .fd-nav .d-none.d-lg-flex { display: none !important; }
  .fd-logo-img { height: 28px; }
  .fd-logo-name { display: none; }
  /* Section padding tighter */
  .fd-hiw, .fd-features, .fd-accounts, .fd-compare, .fd-payouts, .fd-final { padding: 72px 0; }
  /* Hero pill smaller */
  .hero-pill { font-size: 11px; padding: 6px 12px; }
  .hero-eyebrow-new { font-size: 12px; letter-spacing: 2.5px; margin: 12px 0 22px; }
}

/* Mobile portrait (≤767px) */
@media (max-width: 767px) {
  /* Hero typography */
  .fd-hero h1 { font-size: clamp(40px, 11vw, 64px); letter-spacing: -1.5px; line-height: 1.04; }
  .fd-hero-desc { font-size: 15px; line-height: 1.6; padding: 0 8px; }
  .fd-hero-desc br { display: none; }
  /* Hero buttons full-width-ish */
  .btn-fd-primary, .btn-fd-ghost { padding: 13px 26px; font-size: 14px; }
  /* Stats: 2×2 grid */
  .hero-stats.stats-4 .hero-stat-pill { flex: 1 1 calc(50% - 8px); padding: 18px 22px; }
  .hero-stats.stats-4 .hero-stat-n { font-size: 24px; }
  /* Section titles smaller */
  .fd-h2 { font-size: clamp(28px, 7vw, 42px); line-height: 1.1; }
  .fd-section-sub { font-size: 14px; padding: 0 12px; }
  /* Accounts card paddings smaller */
  .acc-head { padding: 22px 18px 0; }
  .acc-sel  { padding: 0 18px 18px; }
  .acc-cta-row { padding: 16px 18px; }
  .acc-phase-row { padding: 0 18px 18px; }
  .acc-name { font-size: 22px; }
  .acc-price-val { font-size: 34px; }
  /* Cost cards stack */
  .cost-visual.show { grid-template-columns: 1fr; gap: 14px; }
  /* Features cards full width */
  .feat-card { padding: 28px 24px; }
  .feat-card-body { padding: 0; }
  .feat-title { font-size: 19px; }
  /* Reviews band */
  .reviews-marquee { padding: 8px 0; }
  /* Final CTA tighter */
  .fd-final h2 { font-size: clamp(34px, 9vw, 56px) !important; }
  .fd-final p { font-size: 15px; padding: 0 16px; }
  /* Payouts header */
  .payouts-head h3 { font-size: clamp(32px, 8vw, 44px); }
  .payouts-head p  { font-size: 14px; padding: 0 8px; }
  .certs-wrap { padding: 0 8px; }
  /* Footer: brand row stacks first, then 2-col link grid */
  .fd-footer { padding: 56px 0 28px; }
  .footer-brand-row .footer-brand { margin-bottom: 18px; }
  .footer-col-head { font-size: 13px; margin-bottom: 10px; }
  /* HIW cards smaller */
  .hiw-card { min-height: 240px; }
  .hiw-content { min-height: 200px; padding: 56px 20px 22px; }
  .hiw-title { font-size: 18px; }
  .hiw-desc { font-size: 12.5px; line-height: 1.6; }
  /* Comparison table: enable horizontal scroll on touch */
  .fd-compare .container-xxl { overflow: visible; }
  .cmp-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-thead, .cmp-tr { min-width: 620px; }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
  .fd-nav { height: 56px; }
  .btn-nav-cta { padding: 8px 14px !important; font-size: 12px; }
  /* Buttons compress */
  .btn-fd-primary, .btn-fd-ghost { padding: 12px 22px; font-size: 13px; width: 100%; max-width: 320px; }
  .fd-hero-content .d-flex.justify-content-center.gap-3 { flex-direction: column !important; align-items: center; gap: 10px !important; }
  /* Stats: single column or tight 2×2 */
  .hero-stats.stats-4 .hero-stat-pill { padding: 14px 16px; }
  .hero-stats.stats-4 .hero-stat-n { font-size: 22px; }
  .hero-stats.stats-4 .hero-stat-l { font-size: 10.5px; letter-spacing: .8px; }
  .stat-dot { top: 14px; right: 14px; width: 7px; height: 7px; }
  /* Card padding even tighter */
  .acc-head { padding: 20px 16px 0; }
  .acc-sel  { padding: 0 16px 16px; }
  .acc-cta-row { padding: 14px 16px; }
  .acc-phase-row { padding: 0 16px 14px; gap: 0; }
  .acc-phase-line { max-width: 32px; }
  .acc-name { font-size: 20px; }
  .acc-price-val { font-size: 30px; }
  /* Cert cards smaller */
  .cert-card { width: 200px; }
  /* HIW columns: 2×2 instead of 1×4 */
  .fd-hiw .row .col-6 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
  /* Reviews modal full screen feel */
  .rv-modal { padding: 12px; }
  /* Ticker amount text shrinks */
  .ti-amount { font-size: 13px; }
  .ti-name, .ti-type { font-size: 12px; }
  /* Footer one-column links */
  .fd-footer .col-6 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 8px; }
  /* Final CTA buttons stack */
  .fd-final .d-flex { flex-direction: column !important; align-items: center; gap: 10px !important; }
}

/* Extra small (≤420px) */
@media (max-width: 420px) {
  .fd-hero h1 { font-size: 38px; }
  .hero-pill { font-size: 10px; padding: 5px 10px; }
  .hero-eyebrow-new { font-size: 10.5px; letter-spacing: 2px; }
  .acc-tabs-wrap { flex-direction: column; max-width: 280px; }
  .acc-tab { width: 100%; }
}