/* MyForexFunds website: shared base for both homepage proposals.
   Type: Poppins 400/500/600 only, Title Case, no all-caps titles. Buttons are pills. Surfaces are glass over the brand video.
   Cards have even padding on all sides: no reserved glow zone. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../assets/fonts/poppins-400-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../assets/fonts/poppins-500-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../assets/fonts/poppins-600-latin.woff2) format("woff2"); }

@property --so { syntax: "<number>"; inherits: true; initial-value: 0; }
:root {
  --navy: #020923; --cyan: #00a8e8; --lcyan: #8ed1fc; --ice: #d4f2ff; --green: #78d724; --gdark: #458d07; --lgreen: #a6ec63;
  --violet: #a57bff; --lviolet: #d6c3ff;
  --text: rgba(255,255,255,.8); --muted: rgba(255,255,255,.6); --faint: rgba(255,255,255,.42);
  --hair: rgba(255,255,255,.12);
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: clamp(16px, 5vw, 60px);
  --pad: clamp(84px, 9vw, 128px);
  --r: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: Poppins, system-ui, sans-serif; font-weight: 400; color: #fff; background: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: clip; line-height: 1.5; }
img, video, canvas, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
b, strong { font-weight: 600; }
em { font-style: normal; }
::selection { background: rgba(0,168,232,.4); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, li, summary { text-wrap: pretty; }
.nb { white-space: nowrap; }

.wrap { width: min(1200px, calc(100% - var(--gutter) * 2)); margin: 0 auto; position: relative; }
.h1 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.h2 { font-size: clamp(27px, 2.7vw, 38px); font-weight: 500; line-height: 1.16; letter-spacing: -.02em; }
.h2.sm { font-size: clamp(21px, 1.9vw, 26px); }
.h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; color: var(--text); }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h1 .ln > span { display: inline-block; will-change: transform; }
.h1 em { background: linear-gradient(90deg, var(--lcyan), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.triad em { color: var(--lgreen); }
.rv-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.rv-w > span { display: inline-block; will-change: transform; }

section { position: relative; }
.sec { padding-top: var(--pad); }
.head.c { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* pill buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; isolation: isolate; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 14px 28px; color: #fff; white-space: nowrap; transition: box-shadow .35s var(--ease), background .3s; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-green { background: linear-gradient(90deg, var(--green), var(--gdark)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 30px rgba(120,215,36,.28); }
.btn-green:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 44px rgba(120,215,36,.52); }
.btn-ghost { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), inset 0 1px 0 rgba(255,255,255,.2); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.btn-ghost:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.arr { transition: transform .35s var(--ease); font-weight: 500; }
.btn:hover .arr { transform: translateX(4px); }

/* glass card. --g tints the soft light at the top; .lit adds a soft glow BEHIND the card that shows only round its bottom edge
   (a box-shadow, so the card shape covers it; no visible line, takes no space) */
.card { --g: 0,168,232; position: relative; isolation: isolate; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(140,185,255,.1), rgba(12,26,66,.34) 46%, rgba(5,12,36,.46));
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.18), 0 24px 50px -30px rgba(1,6,26,.8); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(170,215,255, calc(.14 * var(--so, 0))), rgba(170,215,255,0) 70%), radial-gradient(70% 60% at 50% 0%, rgba(var(--g),.2), rgba(var(--g),0) 72%); }
.card { --so: 0; transition: --so .5s; }
.card:hover { --so: 1; }
.card.lit { box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.18), 0 24px 50px -30px rgba(1,6,26,.8), 0 30px 56px -34px rgba(var(--g),.7); }
.d .pan .card.lit { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.34), 0 18px 34px -24px rgba(1,6,26,.7), 0 30px 56px -34px rgba(var(--g),.7); }
@keyframes strip { from { background-position: 20% 0; } to { background-position: 80% 0; } }
.g-violet { --g: 165,123,255; }

.coin { height: auto; aspect-ratio: 1; filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); }
.coinbox { --cs: 130px; position: relative; flex: none; display: grid; place-items: center; width: var(--cs); aspect-ratio: 1; }
.coinbox .coin { width: 62%; }
.coinbox::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(142,209,252,.2); }
.coinbox::after { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed rgba(142,209,252,.28); }
.coinbox i { position: absolute; inset: 0; border-radius: 50%; animation: orbit 16s linear infinite; }
.coinbox i::before { content: ""; position: absolute; top: -3.5px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--lgreen); box-shadow: 0 0 12px var(--green); }
@keyframes orbit { to { rotate: 360deg; } }
/* artwork inside a card: sits behind the content, adds only its light (screen), fades out toward the text side */
.art { position: absolute; top: 0; right: 0; bottom: 0; left: var(--al, 0); z-index: -1; width: var(--aw, 100%); height: 100%; object-fit: cover; object-position: var(--ap, 100% 50%); border-radius: inherit; pointer-events: none; mix-blend-mode: screen; opacity: var(--ao, .92); -webkit-mask-image: var(--am, linear-gradient(90deg, transparent 16%, #000 62%)); mask-image: var(--am, linear-gradient(90deg, transparent 16%, #000 62%)); }
.ret > .art { --aw: 46%; --ap: 0% 100%; --ao: .8; --am: linear-gradient(90deg, #000 30%, transparent 96%); }
/* small facts pinned on a program image */
.tags { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(4,10,32,.58); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* dotted paper behind small charts */
.dots { position: relative; }
.dots::before { content: ""; position: absolute; inset: -10px; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.5px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--navy); }
.preloader img { height: 40px; width: auto; }
.pl-bar { width: 160px; height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lcyan), var(--cyan)); transform: scaleX(0); transform-origin: left; }

/* fixed brand video */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--navy) url(../assets/img/backpages.webp) center/cover; }
.sky video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.sky-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,9,35,.34), rgba(2,9,35,.1) 40%, rgba(2,9,35,.6)); }
.sky-tint::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; background-position: 50% 0; -webkit-mask-image: radial-gradient(75% 65% at 50% 38%, #000, transparent); mask-image: radial-gradient(75% 65% at 50% 38%, #000, transparent); }
.sky-shade { position: absolute; inset: 0; background: var(--navy); opacity: 0; }
main { position: relative; z-index: 3; }

/* payout screenshots marquee */
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marq-track { display: flex; width: max-content; animation: marq 60s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq img { height: 250px; width: auto; margin-right: 6px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* pricing table */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px 28px 10px 11px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.16); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: background .3s, box-shadow .3s; }
.tab span { display: block; }
.tab b { display: block; font-size: 17px; font-weight: 500; color: var(--muted); line-height: 1.25; transition: color .3s; }
.tab small { display: block; font-size: 12.5px; color: var(--faint); transition: color .3s; }
.tab img { width: 42px; height: 42px; flex: none; opacity: .55; transition: opacity .3s; }
.tab:hover { background: rgba(255,255,255,.1); }
.tab.on b { color: #fff; } .tab.on small { color: var(--text); } .tab.on img { opacity: 1; }
.tab[data-p=evolution].on { background: linear-gradient(100deg, rgba(0,109,164,.6), rgba(0,168,232,.28)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 1px 0 rgba(255,255,255,.3), 0 0 34px rgba(0,168,232,.3); }
.tab[data-p=accelerated].on { background: linear-gradient(100deg, rgba(91,47,199,.6), rgba(165,123,255,.28)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 1px 0 rgba(255,255,255,.3), 0 0 34px rgba(165,123,255,.3); }
.opts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.opt { display: flex; align-items: center; gap: 12px; }
.opt > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.opt-sep { width: 1px; height: 28px; background: rgba(255,255,255,.16); }
.seg { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.seg button { padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.seg button.on { color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); }
.seg button:disabled { cursor: not-allowed; opacity: .55; }
.board { --al: var(--lcyan); --g: 0,168,232; --n: 6; display: grid; grid-template-columns: minmax(150px, 1.25fr) repeat(var(--n), minmax(0, 1fr)); gap: 12px; margin-top: 30px; padding-top: 14px; }
.board[data-program=accelerated] { --al: var(--lviolet); --g: 165,123,255; }
.pt-labels { display: flex; flex-direction: column; }
.pt-h { height: 66px; display: flex; align-items: center; justify-content: center; }
.pt-c { height: 46px; display: flex; align-items: center; justify-content: center; }
.pt-f { height: 70px; display: flex; align-items: center; justify-content: center; }
.pt-labels > * { justify-content: flex-start; gap: 11px; font-size: 14px; font-weight: 500; color: var(--text); }
.pt-labels .pt-h, .pt-labels .pt-c { border-bottom: 1px solid var(--hair); }
.pt-labels .pt-f { font-size: 15px; color: #fff; }
.pt-labels svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--al); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pt-col { --g: inherit; --r: 22px; display: flex; flex-direction: column; padding: 0 9px 10px; transition: translate .35s var(--ease); }
.pt-col:hover { translate: 0 -6px; }
.pt-col.pop { background: linear-gradient(180deg, rgba(var(--g),.34), rgba(12,26,66,.36) 46%, rgba(5,12,36,.48)); }
.pt-tag { position: absolute; top: -12px; left: 50%; translate: -50% 0; z-index: 2; padding: 4px 13px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--navy); background: var(--al); box-shadow: 0 0 18px rgba(var(--g),.6); }
.pt-col .pt-h { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.01em; border-bottom: 1px solid rgba(255,255,255,.14); }
.pt-col .pt-c { font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,.09); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-col .pt-c small { font-size: 12.5px; color: var(--muted); }
.pt-col .pt-c b { font-weight: 500; margin-right: 3px; }
.pt-col .pt-f { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; font-variant-numeric: tabular-nums; }
.pt-b { width: 100%; padding: 12px 8px; font-size: 14px; }

/* faq: title sticks on the left, questions live in one glass card split by hairlines */
.faq-grid, .ret { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .btn { margin-top: 26px; }
.faq-list { padding: 6px clamp(20px, 2.4vw, 32px); }
.q + .q { background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.04)) top / 100% 1px no-repeat; }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; color: var(--text); transition: color .25s; }
.q summary::-webkit-details-marker { display: none; }
.q summary:hover, .q.is-open summary { color: #fff; }
.q summary i, .ret-list em { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .3s, transform .35s var(--ease); }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 16.25px; height: 1.5px; border-radius: 2px; background: #fff; transition: rotate .4s var(--ease); }
.q summary i::after { rotate: 90deg; }
.q summary:hover i, .q.is-open summary i { background: rgba(0,168,232,.4); }
.q.is-open summary i::before { rotate: 180deg; }
.q.is-open summary i::after { rotate: 180deg; }
.q-a { overflow: hidden; }
.q-a p { padding: 0 54px 24px 0; font-size: 15.5px; line-height: 1.7; color: var(--text); }

/* returning: one band, title left, links right on the same column lines as the faq */
.ret { padding: clamp(26px, 3.6vw, 48px); align-items: center; }
.ret-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; font-size: clamp(15.5px, 1.2vw, 17px); font-weight: 500; color: var(--text); transition: color .25s, padding .35s var(--ease); }
.ret-list a + a { background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.04)) top / 100% 1px no-repeat; }
.ret-list a:first-child { padding-top: 2px; } .ret-list a:last-child { padding-bottom: 2px; }
.ret-list em { display: grid; place-items: center; font-size: 15px; color: #fff; }
.ret-list a:hover { color: #fff; padding-left: 8px; }
.ret-list a:hover em { background: rgba(0,168,232,.4); transform: translateX(3px); }

.finale { padding-bottom: var(--pad); }

/* footer */
.footer { position: relative; z-index: 3; background: var(--navy); padding: 64px 0 40px; }
.social { display: flex; justify-content: center; gap: 12px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .25s; }
.social a:hover { background: rgba(255,255,255,.14); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.social svg.st { fill: none; stroke: #fff; stroke-width: 1.8; }
.footer-logo { height: 38px; width: auto; margin: 30px auto; }
.legal { display: grid; gap: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.legal strong { color: #fff; }
.legal a { color: var(--lcyan); }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-top: 30px; font-size: 13.5px; }
.footer-links a { color: var(--text); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 12px; font-size: 13px; color: var(--faint); }

.lite-toggle { position: fixed; z-index: 95; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(12,28,66,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s; }
.lite-toggle:hover { background: rgba(12,28,66,.9); }
.lite-toggle svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.lite-toggle[aria-pressed=true] svg { fill: var(--green); stroke: var(--green); }
html.lite * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .card { background: linear-gradient(180deg, rgba(22,44,96,.92), rgba(6,14,40,.94)); }

@media (max-width: 1080px) {
  .faq-grid, .ret { grid-template-columns: 1fr; row-gap: 26px; }
  .faq-side { position: static; }
  .board { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 14px var(--gutter) 24px; scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; }
  .pt-labels { display: none; }
  .pt-col { flex: 0 0 min(76vw, 320px); scroll-snap-align: center; padding: 0 18px 14px; }
  .pt-col .pt-c, .pt-col .pt-f { justify-content: space-between; }
  .pt-col .pt-c::before, .pt-col .pt-f::before { content: attr(data-l); font-size: 13.5px; font-weight: 400; color: var(--muted); }
}
@media (max-width: 760px) {
  .q-a p { padding-right: 0; }
  .ctas .btn { flex: 1 1 100%; }
  .tab { width: 100%; border-radius: 26px; }
  .opt-sep { display: none; }
  .marq img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
  .marq-track, .coinbox i, .lit::after { animation: none; }
  .marq { overflow-x: auto; }
}

/* links that will point somewhere at launch (no address yet, e.g. the live site) */
a[aria-disabled="true"] { cursor: default; }
