/* ============================================================
   Capifront — shared site chrome v2 (Crypton-style dark / violet)
   ONE source of truth for the parts every page shares:
     top nav + mega-menu dropdowns + mobile menu + logged-in chip,
     footer (newsletter, links, languages, disclaimer, payments, socials),
     launch offer bar, cookie banner, offer popup, toast.
   Linked LAST on every page (index.html with theme-v2.css, all others
   with style.css + skin-v2.css) — see tools/apply_skin.py.
   Self-contained: own --cx-* tokens, no dependency on either page sheet,
   so the chrome renders identically whatever page CSS sits under it.
   Styling only — the markup is built by main.js (initFtmoNav, initAuthNav,
   setPromoBar, setConsent, initOfferPopup) + the static footer.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --cx-bg-2:      #05050a;
  --cx-surface:   #0b0a12;
  --cx-surface-2: #12121c;
  --cx-surface-3: #1a1926;
  --cx-border:    rgba(255,255,255,.07);
  --cx-border-2:  rgba(255,255,255,.12);
  --cx-text:      #ffffff;
  --cx-text-dim:  #cccccc;
  --cx-text-mut:  #8d8b99;
  --cx-link:      rgba(255,255,255,.78);
  --cx-lav:       #beafff;
  --cx-lav-line:  rgba(190,175,255,.24);
  --cx-brand:     #7436ff;
  --cx-brand-2:   #8452ff;
  --cx-on-accent: #14102a;
  --cx-r:         14px;
  --cx-r-lg:      16px;
  --cx-r-xl:      24px;
  --cx-shadow-lg: 0 30px 80px rgba(0,0,0,.6);
  --cx-nav-h:     72px;
  --cx-font:         'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cx-font-display: 'DM Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
/* light tokens: only the dashboard theme toggle sets this, and only the cookie banner / toast appear there */
html[data-theme="light"] {
  --cx-bg-2:      #ffffff;
  --cx-surface:   #ffffff;
  --cx-surface-2: #f8f7fd;
  --cx-surface-3: #eeecf7;
  --cx-border:    #e8e5f3;
  --cx-border-2:  #d9d5ea;
  --cx-text:      #0e0c1a;
  --cx-text-dim:  #4a4760;
  --cx-text-mut:  #625f78;
  --cx-lav:       #5b2ee0;
  --cx-lav-line:  rgba(116,54,255,.26);
  --cx-on-accent: #ffffff;
  --cx-shadow-lg: 0 20px 50px rgba(30,20,70,.12);
}

/* ---------- baseline: same type + resets whatever page sheet is loaded ---------- */
.nav, .footer, .promo-bar, .consent, .fx-offer-ov, .fx-toast {
  font-family: var(--cx-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  font-feature-settings: "cv02","cv03","cv04","ss01";
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: var(--cx-text);
}
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov, .fx-toast),
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov, .fx-toast) * { box-sizing: border-box; }
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov, .fx-toast) :where(*) { margin: 0; padding: 0; }
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov, .fx-toast) :where(a) { color: inherit; text-decoration: none; }
:where(.nav, .footer) :where(ul, ol) { list-style: none; }
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov) :where(button) { font: inherit; font-feature-settings: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:where(.nav, .footer) :where(img) { display: block; max-width: 100%; }
:where(.nav, .footer) :where(svg) { display: block; max-width: none; }
:where(.nav, .footer, .promo-bar, .consent, .fx-offer-ov) :focus-visible { outline: 2px solid var(--cx-lav); outline-offset: 3px; }

/* ---------- nav bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--cx-nav-h);
  background: rgba(3,3,3,.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--cx-border);
}
.nav .container, .footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav .logo, .footer .logo {
  display: inline-block; width: 104px; height: 26px; vertical-align: middle;
  background: url("../img/logo.png") left center / contain no-repeat;
  font-family: var(--cx-font-display); font-size: 0; letter-spacing: -0.03em; color: transparent;
}
.nav .logo-mark, .footer .logo-mark { display: none; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--cx-link); font-size: 14px; font-weight: 400; transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* right side: Log in / Get Funded, or Dashboard + user chip when signed in */
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 42px; padding: 10px 20px; border-radius: 32px;
  font-family: var(--cx-font); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.6; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.7,.2,1);
}
.nav-cta .btn:active { transform: scale(.98); }
.nav-cta .btn-primary {
  background: var(--cx-brand); color: #fff; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 30px -10px rgba(116,54,255,.75);
}
.nav-cta .btn-primary:hover {
  background: var(--cx-brand-2); color: #fff; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 38px -10px rgba(132,82,255,.9);
}
/* "Log in" / "Dashboard" = quiet text link; the violet pill is the only CTA */
.nav-cta .btn-ghost {
  background: transparent; color: rgba(255,255,255,.85); border: 1px solid transparent;
  padding-left: 6px; padding-right: 6px; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
.nav-cta .btn-ghost:hover { background: transparent; color: #fff; border-color: transparent; }
.nav-user {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 6px; border-radius: 100px;
  background: var(--cx-surface-2); border: 1px solid var(--cx-border-2); color: var(--cx-text);
  font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .18s, background .18s;
}
.nav-user:hover { background: var(--cx-surface-3); border-color: rgba(255,255,255,.22); }
.nav-user-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--cx-brand); color: #fff; font-weight: 800; font-size: 13px;
}
.nav-user-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 10px; min-width: 44px; min-height: 44px; }   /* 44px tap target */
.nav-toggle span { width: 24px; height: 2px; background: var(--cx-text); border-radius: 2px; transition: .25s; }

/* ---------- mega-menu dropdowns (desktop: hover) ---------- */
.nav-links li.has-drop { position: relative; }
.nav-links li.has-drop > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-links li.has-drop::after { content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 18px; }   /* hover bridge */
.caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.nav-links li.has-drop:hover .caret { transform: rotate(180deg); color: var(--cx-lav); }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; z-index: 130;
  max-width: min(760px, 94vw); padding: 20px;
  background: #0b0a12; border: 1px solid var(--cx-border-2); border-radius: var(--cx-r-lg);   /* opaque: page text must not show through */
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateX(calc(-50% + var(--mx, 0px))) translateY(10px); transition: .18s;
}
/* --mx: horizontal nudge set by main.js (initFtmoNav) so a panel never spills off a narrow desktop viewport */
.nav-links li.has-drop:hover .mega, .nav-links li.has-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(calc(-50% + var(--mx, 0px))) translateY(0); }
.mega.mega-lg { display: flex; gap: 22px; }
.mega-cols { display: flex; gap: 28px; }
.mega-col { min-width: 215px; }
.mega-h { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--cx-text-mut); margin: 0 0 8px 10px; }
.mega-col a {
  display: flex !important; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 11px;
  color: var(--cx-text) !important; transition: .15s;
}
.mega-col a:hover { background: var(--cx-surface-2); }
.mega-col a .mi { display: inline-flex; font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; margin-top: 1px; }
.mega-col a .mi svg { display: block; width: 19px; height: 19px; stroke: var(--cx-lav); stroke-width: 1.8; fill: none; }
.mega-col a b { display: block; font-size: 14.5px; font-weight: 600; }
.mega-col a small { color: var(--cx-text-mut); font-size: 12.5px; }
.mega-feature {
  display: flex !important; flex-direction: column; justify-content: center; min-width: 230px;
  padding: 24px !important; border-radius: var(--cx-r) !important; color: var(--cx-text) !important;
  background: linear-gradient(160deg, rgba(116,54,255,.28), rgba(116,54,255,.06)); border: 1px solid var(--cx-lav-line);
}
.mega-feature:hover { background: linear-gradient(160deg, rgba(116,54,255,.36), rgba(116,54,255,.1)); transform: none; }
.mega-feature .mfb { align-self: flex-start; font-size: 11px; font-weight: 800; color: var(--cx-on-accent); background: var(--cx-lav); padding: 3px 11px; border-radius: 100px; }
.mega-feature .mft { font-family: var(--cx-font-display); font-size: 19px; font-weight: 500; margin: 12px 0 6px; }
.mega-feature .mfd { color: var(--cx-text-dim); font-size: 13px; line-height: 1.5; }
.mega-feature .mfc { color: var(--cx-lav); font-weight: 500; font-size: 14px; margin-top: 16px; }

/* ---------- mobile menu (≤960px: burger opens .nav-links.open) ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: var(--cx-nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px;   /* stretch: full-width, left-aligned rows */
    background: #05050a;                                                                /* opaque (was .98 + blur: page showed through) */
    max-height: calc(100vh - var(--cx-nav-h)); max-height: calc(100dvh - var(--cx-nav-h));   /* long menu scrolls inside itself (main.js refines to the real space below the bar) */
    overflow-y: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--cx-border);
  }
  /* a backdrop-filter on the bar makes Chrome composite the dropped-down panel see-through: drop it while the menu is open */
  .nav:has(.nav-links.open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #030303; }
  .nav-links.open > li { width: 100%; }
  .nav-links.open a { padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--cx-border); font-size: 16px; }
  .nav-links.open > li > a { display: flex; align-items: center; }   /* plain links (Home, FAQ) span the row like the dropdown rows */
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; background: transparent; padding: 4px 0 8px 10px;
  }
  .mega.mega-lg { flex-direction: column; gap: 10px; }
  .mega-cols { flex-direction: column; gap: 12px; }
  .mega-feature { display: none !important; }
  .nav-links li.has-drop > a .caret { margin-left: auto; }
  .mega-h { margin-left: 0; }
}
@media (max-width: 600px) { .nav-user-name { display: none; } }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--cx-border); padding: 72px 0 36px; margin-top: 40px; }
.footer .newsletter {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px 44px;
  border-radius: var(--cx-r-xl); border: 1px solid var(--cx-border);
  background: radial-gradient(80% 120% at 0% 0%, rgba(116,54,255,.18), transparent 60%), var(--cx-surface);
}
.footer .newsletter h3 { font-family: var(--cx-font-display); font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--cx-text); }
.footer .newsletter .checks { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; color: var(--cx-text-dim); font-size: 14px; }
.footer .newsletter .checks span { display: inline-flex; gap: 7px; align-items: center; }
.footer .nl-form { display: flex; gap: 10px; }
.footer .nl-form input {
  flex: 1; min-width: 0; padding: 15px 18px; border-radius: 32px; color-scheme: dark;
  background: var(--cx-bg-2); border: 1px solid var(--cx-border-2); color: var(--cx-text);
  font-family: inherit; font-size: 15px; line-height: normal;
}
.footer .nl-form input:focus { outline: none; border-color: var(--cx-lav); box-shadow: 0 0 0 3px rgba(116,54,255,.25); }
.footer .nl-form .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 12px 22px; border-radius: 32px;
  font-family: var(--cx-font); font-size: 14.5px; font-weight: 500; letter-spacing: 0; line-height: normal; white-space: nowrap;
  background: var(--cx-brand); color: #fff; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 30px -10px rgba(116,54,255,.75);
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.7,.2,1);
}
.footer .nl-form .btn:hover {
  background: var(--cx-brand-2); color: #fff; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 38px -10px rgba(132,82,255,.9);
}
.footer .nl-form .btn:active { transform: scale(.98); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--cx-font); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; line-height: 1.6; color: var(--cx-text-mut); margin-bottom: 16px; }
.footer a { display: block; color: var(--cx-text-dim); font-size: 14px; margin-bottom: 11px; transition: color .18s; }
.footer a:hover { color: var(--cx-text); }
.footer a.logo { display: block; width: 132px; height: 30px; font-size: 0; color: transparent; margin-bottom: 0; }
.footer .about { color: var(--cx-text-mut); font-size: 14px; line-height: 1.6; max-width: 300px; margin-top: 16px; }

.footer .socials { display: flex; gap: 12px; flex-wrap: wrap; }
.footer .socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--cx-surface); border: 1px solid var(--cx-border); color: var(--cx-text-dim); transition: .18s;
}
.footer .socials a:hover { transform: translateY(-3px); border-color: var(--cx-lav-line); background: var(--cx-surface-2); color: var(--cx-lav); }
.footer .socials a svg { width: 18px; height: 18px; }   /* each icon sets its own fill/stroke (outline icons must stay outlines) */
.footer .soc-soon { opacity: .38; cursor: not-allowed; pointer-events: none; filter: grayscale(1); }

.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 6px 0 26px; font-size: 13.5px; color: var(--cx-text-mut); }
.footer .footer-langs a { display: inline; margin: 0; font-size: 13.5px; }
.footer-langs > span:first-child svg { display: block; width: 15px; height: 15px; color: var(--cx-text-mut); }   /* globe (main.js swaps the emoji) */
.footer-bottom .fb-ic svg { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; color: var(--cx-text-mut); }   /* lock */

.footer .disclaimer {
  margin-top: 22px; padding: 18px 20px; border: 1px solid var(--cx-border); border-radius: 12px;
  background: var(--cx-bg-2); color: var(--cx-text-mut); font-size: 12.5px; line-height: 1.7;
}
.footer .disclaimer a { display: inline; margin: 0; font-size: inherit; color: var(--cx-lav); text-decoration: underline; text-underline-offset: 2px; }

.footer-social {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--cx-border);
}
.footer .pay-logos { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer .pay-logo {
  display: grid; place-items: center; height: 38px; min-width: 56px; padding: 0 12px; border-radius: 10px;
  background: var(--cx-surface-2); border: 1px solid var(--cx-border); color: #0a0d1a;
  font-weight: 600; font-size: 13px; letter-spacing: -.02em;
}
.footer .pay-logo.dark { color: var(--cx-text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--cx-border);
  color: var(--cx-text-mut); font-size: 14px;
}

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 860px) { .footer .newsletter { grid-template-columns: 1fr; } .footer .nl-form { flex-direction: column; } }
@media (max-width: 600px) { .footer .socials { gap: 8px; } .footer .socials a { width: 40px; height: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- launch offer bar (top) ---------- */
.promo-bar {
  position: relative; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 9px 42px 9px 16px; text-align: center;
  background: linear-gradient(90deg, #0a0816, #1a1238 50%, #0a0816); border-bottom: 1px solid rgba(190,175,255,.14);
}
.promo-bar-in { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--cx-text-dim); text-decoration: none; }
.promo-bar-in .pb-ic { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--cx-lav); }
.promo-bar-in b { color: var(--cx-lav); font-weight: 600; }
.promo-bar-in:hover b { text-decoration: underline; }
.promo-bar-x {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 0;
  display: grid; place-items: center; width: 44px; height: 44px;   /* 44px tap target, no change to the bar height */
  background: none; border: 0; color: var(--cx-text-mut); font-size: 22px; line-height: 1; cursor: pointer;
}
.promo-bar-x:hover { color: var(--cx-text); }

/* ---------- cookie / policy banner ---------- */
.consent {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 400; max-width: 540px; margin: 0 auto;
  padding: 18px 20px; border-radius: var(--cx-r-lg); border: 1px solid var(--cx-border-2);
  background: rgba(12,11,20,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.consent.on { opacity: 1; transform: translateY(0); }
.consent-text { font-size: 13.5px; line-height: 1.5; color: var(--cx-text-dim); margin: 0 0 14px; }
.consent-text a { color: var(--cx-lav); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }
.consent-btns button { padding: 9px 22px; border-radius: 32px; font-family: inherit; font-size: 13.5px; font-weight: 500; line-height: normal; cursor: pointer; }
.consent-decline { background: rgba(255,255,255,.06); border: 1px solid transparent; color: var(--cx-text-dim); }
.consent-decline:hover { background: rgba(255,255,255,.1); color: var(--cx-text); border-color: transparent; }
.consent-accept { background: var(--cx-brand); color: #fff; border: 1px solid transparent; }
.consent-accept:hover { background: var(--cx-brand-2); }
html[data-theme="light"] .consent { background: rgba(255,255,255,.97); box-shadow: 0 24px 60px rgba(30,20,70,.16); }
html[data-theme="light"] .consent-decline { background: var(--cx-surface-3); }

/* ---------- launch offer popup ---------- */
.fx-offer-ov {
  position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .22s ease; overflow-y: auto; overscroll-behavior: contain;
}
.fx-offer-ov.in { opacity: 1; }
.fx-offer {
  position: relative; max-width: 460px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  text-align: center; padding: 38px 34px 32px; border-radius: var(--cx-r-xl); border: 1px solid rgba(190,175,255,.25);
  background: radial-gradient(120% 90% at 50% 0%, rgba(116,54,255,.3), #0b0a12 62%);
  box-shadow: 0 30px 90px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.98); transition: transform .22s ease;
}
.fx-offer:focus { outline: none; }
.fx-offer-ov.in .fx-offer { transform: none; }
.fx-offer-x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid transparent; background: rgba(255,255,255,.06); color: var(--cx-text-dim);
  font-size: 20px; line-height: 30px; cursor: pointer; transition: .15s;
}
.fx-offer-x:hover { color: var(--cx-text); background: rgba(255,255,255,.1); }
.fx-offer-eye {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none;
  color: var(--cx-lav); background: var(--cx-surface-2); border: 1px solid var(--cx-lav-line); padding: 7px 12px; border-radius: 40px;
}
.fx-offer-title { font-family: var(--cx-font-display); font-weight: 500; font-size: 30px; line-height: 1.16; letter-spacing: -.02em; margin: 18px 0 10px; color: var(--cx-text); }
.fx-offer-sub { color: var(--cx-text-dim); font-size: 14.5px; line-height: 1.55; margin: 0 auto 24px; max-width: 360px; }
.fx-offer-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.fx-offer-code {
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: normal; color: var(--cx-text-dim);
  background: rgba(255,255,255,.04); border: 1px dashed rgba(190,175,255,.5); border-radius: 32px; padding: 12px 18px;
  cursor: pointer; transition: .15s;
}
.fx-offer-code:hover { border-color: var(--cx-lav); color: var(--cx-text); }
.fx-offer-code b { color: var(--cx-lav); letter-spacing: .05em; }
.fx-offer-cta {
  display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 32px;
  font-weight: 500; font-size: 14.5px; color: #fff; background: var(--cx-brand); text-decoration: none; transition: .15s;
}
.fx-offer-cta:hover { background: var(--cx-brand-2); filter: none; transform: translateY(-1px); }
@media (max-height: 520px) { .fx-offer-ov { align-items: flex-start; } }
@media (max-width: 480px) { .fx-offer-title { font-size: 25px; } .fx-offer { padding: 32px 22px 26px; } }
html[data-theme="light"] .fx-offer { background: radial-gradient(120% 90% at 50% 0%, rgba(116,54,255,.12), #ffffff 62%); border-color: rgba(116,54,255,.22); box-shadow: 0 30px 90px rgba(30,20,70,.2); }

/* ---------- toast ("coming soon" stubs) ---------- */
.fx-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px);
  max-width: min(520px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 32px; text-align: center;
  background: var(--cx-surface-2); color: var(--cx-text); border: 1px solid var(--cx-border-2);
  font-size: 14px; font-weight: 500; box-shadow: var(--cx-shadow-lg);
  opacity: 0; transition: opacity .28s, transform .28s;
}
.fx-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- Live chat launcher (loads Tawk.to on click) ---- */
.fx-chat-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 350;
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 16px;
  border: 1px solid rgba(190,175,255,.35); border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #8452ff, #7436ff); color: #fff;
  font: 600 14px/1 Inter, system-ui, sans-serif; box-shadow: 0 10px 30px rgba(116,54,255,.35);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.fx-chat-btn svg { width: 20px; height: 20px; }
.fx-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(116,54,255,.45); }
.fx-chat-btn:focus-visible { outline: 2px solid #beafff; outline-offset: 3px; }
.fx-chat-btn.busy { opacity: .7; cursor: progress; }
@media (max-width: 760px) {
  .fx-chat-btn { right: 14px; bottom: 14px; height: 46px; padding: 0 14px; }
  .fx-chat-btn span { display: none; }
  body:has(#payBtn) .fx-chat-btn { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .fx-chat-btn { transition: none; } }

