/* TradeHubFX — marketing site stylesheet.
 * Palette: navy, royal blue, light blue, white. The --green* token names are
 * historical (this site was derived from a green-accented build); they now
 * carry the royal-blue brand accent. */
/*
 * Light theme, Inter body / Space Grotesk display / JetBrains Mono numerals.
 * Every colour and radius lives in the tokens below. */

:root {
  --bg: #F2F7FD;
  --white: #FFFFFF;
  --ink: #0B1B33;
  --ink-soft: #33415C;
  --muted: #64748B;
  --faint: #94A3B8;
  --line: #DCE7F5;
  --line-soft: #EDF3FB;
  --navy: #0E2742;
  --navy-deep: #081A2E;
  --green: #1D4ED8;
  --green-deep: #15307E;
  --green-bright: #3B82F6;
  --up: #22C55E;
  --down: #FF5C5C;
  --gold: #0EA5E9;
  --blue: #2563EB;
  --purple: #6366F1;
  --teal: #0891B2;
  --orange: #1E40AF;
  --grad-green: linear-gradient(135deg, #2563EB, #15307E);
  --grad-text: linear-gradient(120deg, #1D4ED8, #38BDF8);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 1px 2px rgba(10,14,26,.04), 0 2px 8px rgba(10,14,26,.04);
  --shadow-md: 0 2px 24px rgba(10,14,26,.07);
  --shadow-lg: 0 24px 64px rgba(10,14,26,.10);
  --shadow-green: 0 8px 24px rgba(29,78,216,.30);
  --shadow-green-lg: 0 16px 40px rgba(29,78,216,.22);
  --container: 1240px;
  --nav-h: 65px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); line-height: 1.5; max-width: 100vw; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video, canvas { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; }
.mono { font-family: var(--font-mono); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; width: 100%; }
.section { padding: 40px 0 108px; }
.section--tight { padding: 40px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ── Type scale ─────────────────────────────────────────────────────────── */
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 16px; }
.h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; }
.h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.lede { font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 640px; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; padding: 16px 30px; border-radius: 14px; transition: all .3s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { color: #fff; background: var(--grad-green); box-shadow: var(--shadow-green-lg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(29,78,216,.34); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--white { background: #fff; color: var(--green); }
.btn--white:hover { box-shadow: 0 22px 48px rgba(0,0,0,.2); }
.btn--outline-white { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }
.btn--sm { font-size: 14px; padding: 11px 22px; border-radius: 11px; box-shadow: var(--shadow-green); }
.btn--sm:hover { box-shadow: 0 14px 36px rgba(29,78,216,.42); transform: translateY(-1px); }
.btn--nav { font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 10px; color: #fff; border: 1.5px solid rgba(255,255,255,.34); transition: all .18s; }
.btn--nav:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; }

/* ── Pills & badges ─────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); display: inline-block; }
.dot--pulse { animation: pulse-green 2s infinite; }
.chg { font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; }
.chg--up { color: var(--up); }
.chg--down { color: var(--down); }
.tag { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.tag--green { background: rgba(29,78,216,.12); color: var(--green-deep); }
.tag--gold { background: rgba(14,165,233,.14); color: #9A7414; }

/* ── Header / navigation ───────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 90; height: var(--nav-h); background: rgba(14,39,66,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.84); transition: all .18s; }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav__item:hover .nav__link, .nav__item.is-open .nav__link, .nav__link.is-active { background: rgba(255,255,255,.12); color: #fff; }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; align-items: center; justify-content: center; color: #fff; }
.nav__burger svg { width: 20px; height: 20px; }

.mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 64px rgba(10,14,26,.14); padding: 10px 12px; display: none; width: max-content; z-index: 95; }
.nav__item.is-open .mega { display: flex; animation: mega-in .28s var(--ease) both; }
.mega__col { width: 260px; padding: 6px 4px 10px; }
.mega__divider { width: 1px; background: var(--line-soft); margin: 14px 4px; }
.mega__head { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 6px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; transition: background .18s; }
.mega__link:hover { background: var(--line-soft); }
.mega__icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid transparent; }
.mega__icon svg { width: 17px; height: 17px; }
.mega__icon--blue { background: rgba(59,130,246,.1); color: var(--blue); }
.mega__icon--green { background: rgba(29,78,216,.1); color: var(--green); }
.mega__icon--gold { background: rgba(14,165,233,.12); color: #0369A1; }
.mega__icon--purple { background: rgba(139,92,246,.1); color: var(--purple); }
.mega__icon--teal { background: rgba(20,184,166,.1); color: var(--teal); }
.mega__icon--orange { background: rgba(245,158,11,.12); color: var(--orange); }
.mega__label { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.mega__label .tag { font-size: 9.5px; padding: 2px 7px; }
.mega__sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(10,14,26,.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 99; background: #fff; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 6px; }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open, html.drawer-open { overflow: hidden; overscroll-behavior: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__top img { height: 44px; }
.drawer__close { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.drawer__close svg { width: 18px; height: 18px; }
.drawer > * { flex-shrink: 0; } /* a flex column + overflow:hidden boxes shrank the open group and clipped its links */
.drawer__group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.drawer__panel .mega__link { min-width: 0; } .drawer__panel .mega__link span, .drawer__panel .mega__link small { overflow-wrap: anywhere; }
.drawer__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 600; font-size: 15px; font-family: var(--font-display); }
.drawer__toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(180deg); }
.drawer__panel { display: none; padding: 0 8px 10px; }
.drawer__group.is-open .drawer__panel { display: block; }
.drawer__panel .mega__head { padding-left: 10px; }
.drawer__panel .mega__link { padding: 9px 10px; }
.drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.drawer__cta .btn { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bg); }
.hero__gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__gridlines { position: absolute; inset: 0; z-index: 0; opacity: .7; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(80% 60% at 70% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(80% 60% at 70% 35%, #000 0%, transparent 75%); pointer-events: none; }
[hidden] { display: none !important; }
.hero__glow { position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(29,78,216,.12) 0%, transparent 70%); right: -160px; top: -200px; pointer-events: none; z-index: 0; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero__title { font-size: clamp(42px, 5.5vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 22px; min-height: 2.1em; }
.hero__title .caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--green); vertical-align: -.08em; border-radius: 2px; animation: blink .7s step-end infinite; }
.hero__lede { font-size: 18px; color: var(--ink-soft); line-height: 1.65; max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero__stat b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
.hero__stat span { font-size: 12px; color: var(--muted); font-weight: 500; }
.hero__stage { position: relative; height: 560px; }
.glass-card { position: absolute; z-index: 10; min-width: 150px; border-radius: 18px; padding: 14px 18px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(10,14,26,.08); }
.glass-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.glass-card__badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.glass-card__sym { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.glass-card__sub { font-size: 10.5px; color: var(--muted); font-family: var(--font-mono); }
.glass-card__price { font-family: var(--font-mono); font-size: 20px; font-weight: 700; margin-bottom: 3px; }
.glass-card--a { top: 24px; left: 0; animation: floaty 6s ease-in-out infinite; }
.glass-card--b { top: 24px; right: 0; animation: floaty2 7s ease-in-out .5s infinite; }
.glass-card--c { bottom: 24px; left: 50%; transform: translateX(-50%); animation: floaty3 5.5s ease-in-out 1s infinite; }
.hero__chart { position: absolute; inset: 8% 6%; z-index: 3; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(10,14,26,.14), 0 12px 30px rgba(10,14,26,.08); overflow: hidden; display: flex; flex-direction: column; }
.hero__chart-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.hero__chart-head b { font-family: var(--font-display); }
.hero__chart svg { flex: 1; width: 100%; height: 100%; }
.badge-eur { background: var(--grad-green); }
.badge-gold { background: linear-gradient(135deg, #0EA5E9, #0284c7); }
.badge-btc { background: linear-gradient(135deg, #2563eb, #1e3a8a); }

/* Ticker */
.ticker-wrap { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; padding: 13px 0; }
.ticker { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: ticker-scroll 38s linear infinite; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.ticker__item b { font-family: var(--font-display); font-weight: 600; }
.ticker__item .mono { color: var(--ink-soft); }
.ticker__note { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 10.5px; color: var(--faint); background: #fff; padding-left: 10px; }

/* ── Feature cards (Why) ───────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; cursor: default; transition: all .35s var(--ease); }
.feature--big { grid-column: span 2; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature .bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feature:hover .bar { transform: scaleX(1); }
.feature__icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(29,78,216,.1); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ── Platform (MT5) ─────────────────────────────────────────────────────── */
.platform { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.platform__list { display: grid; gap: 14px; margin: 28px 0 32px; }
.platform__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: all .3s var(--ease); }
.platform__row:hover { transform: translateX(6px); border-color: rgba(29,78,216,.4); }
.platform__row .ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(29,78,216,.1); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.platform__row .ico svg { width: 18px; height: 18px; }
.platform__row b { display: block; font-family: var(--font-display); font-size: 15.5px; margin-bottom: 2px; }
.platform__row span { font-size: 13.5px; color: var(--ink-soft); }
.mt5-stage { perspective: 1600px; }
.mt5-term { transform-style: preserve-3d; transition: transform .5s var(--ease); transform: perspective(1600px) rotateY(-14deg) rotateX(6deg); background: var(--navy-deep); border-radius: 20px; box-shadow: 0 40px 90px rgba(10,14,26,.34), 0 12px 30px rgba(10,14,26,.22); color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.mt5-stage:hover .mt5-term { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
.term__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.7); }
.term__bar b { color: #fff; font-family: var(--font-display); }
.term__body { display: grid; grid-template-columns: 1fr 150px; }
.term__chart { padding: 14px 16px; }
.term__chart svg { width: 100%; height: 210px; }
.term__price { font-family: var(--font-mono); font-size: 22px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.term__side { border-left: 1px solid rgba(255,255,255,.08); padding: 14px; font-size: 11.5px; display: flex; flex-direction: column; gap: 10px; }
.term__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.term__btns span { padding: 9px 4px; border-radius: 8px; text-align: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.term__sell { background: #FF5C5C; } .term__buy { background: #1D4ED8; }
.term__kv { display: flex; justify-content: space-between; color: rgba(255,255,255,.65); }
.term__kv b { color: #fff; font-family: var(--font-mono); font-weight: 600; }
.term__foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; font-family: var(--font-mono); }
.term__foot span { display: flex; gap: 6px; align-items: center; }

/* ── Markets ────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tab { padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-soft); background: #fff; transition: all .2s; }
.tab.is-active, .tab:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; transition: all .3s var(--ease); }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.mcard__sym { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.mcard__chg { font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.mcard__chg.up { color: var(--up); background: rgba(34,197,94,.1); } .mcard__chg.down { color: var(--down); background: rgba(255,92,92,.1); }
.mcard svg { width: 100%; height: 44px; margin-bottom: 10px; }
.mcard__price { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-weight: 700; font-size: 17px; }
.mcard__range { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.mcard__range b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.mcard__range .hi b { color: var(--up); } .mcard__range .lo b { color: var(--down); }
.quote-row small .rng { margin-left: 8px; color: var(--muted); }
.quote-row small .rng b { color: var(--ink); font-weight: 600; }
.market-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ── Stats band ─────────────────────────────────────────────────────────── */
.stats { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: 28px; padding: 56px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(29,78,216,.25), transparent 50%), radial-gradient(circle at 80% 80%, rgba(59,130,246,.2), transparent 50%); pointer-events: none; }
.stat { position: relative; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; background: linear-gradient(120deg, #fff, #9dbcff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 15px; color: rgba(255,255,255,.6); }

/* ── Accounts ───────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; transition: all .35s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { border-color: transparent; background: var(--navy-deep); color: #fff; box-shadow: 0 30px 70px rgba(10,14,26,.25); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-green); color: #fff; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; font-weight: 700; padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-green); }
.plan__name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.plan__sub { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.plan--featured .plan__sub { color: rgba(255,255,255,.6); }
.plan__big { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan__big small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.plan__big-label { font-size: 12.5px; color: var(--muted); margin: 6px 0 22px; }
.plan--featured .plan__big small, .plan--featured .plan__big-label { color: rgba(255,255,255,.6); }
.plan__rows { display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan__rows div { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.plan--featured .plan__rows div { border-color: rgba(255,255,255,.1); }
.plan__rows span { color: var(--muted); } .plan--featured .plan__rows span { color: rgba(255,255,255,.6); }
.plan__rows b { font-family: var(--font-mono); font-weight: 600; }
.plan .btn { width: 100%; }
.plan--featured .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.plan--featured .btn--ghost:hover { border-color: var(--green); color: var(--green); }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 30px; }
.step__line { position: absolute; top: 53px; left: 46px; right: -12px; height: 1.5px; background: linear-gradient(90deg, var(--green), transparent); border-radius: 1px; }
.step__num { width: 46px; height: 46px; border-radius: 13px; border: 1.5px solid var(--green); display: grid; place-items: center; margin-bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--green); background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta { text-align: center; border-radius: 24px; padding: 80px 40px; color: #fff; position: relative; overflow: hidden; background: var(--grad-green); }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.cta::before { width: 300px; height: 300px; top: -100px; left: -60px; }
.cta::after { width: 240px; height: 240px; bottom: -90px; right: -40px; }
.cta h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; position: relative; }
.cta p { font-size: 19px; opacity: .85; max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand img { height: 56px; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .2s; }
.footer__social a[hidden] { display: none; }
.footer__social a:hover { border-color: var(--green); color: var(--green); }
.footer__social svg { width: 16px; height: 16px; }
.footer h4 { font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.footer__row p { font-size: 13px; color: var(--muted); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--green); }
.footer__legal { font-size: 12px; color: var(--faint); line-height: 1.65; max-width: 900px; margin-bottom: 12px; }

/* ── Chat / support widget ─────────────────────────────────────────────── */
.chat-fab { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 56px; height: 56px; border-radius: 50%; background: var(--grad-green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 32px rgba(29,78,216,.45); transition: transform .25s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 24px; height: 24px; }
.chat { position: fixed; bottom: 96px; right: 28px; z-index: 9998; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 130px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(10,14,26,.25); border: 1px solid var(--line); overflow: hidden; display: none; flex-direction: column; }
.chat.is-open { display: flex; animation: chatIn .25s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--grad-green); color: #fff; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar svg { width: 18px; height: 18px; }
.chat__head b { font-family: var(--font-display); font-size: 14.5px; display: block; }
.chat__status { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 5px; }
.chat__status i { width: 7px; height: 7px; border-radius: 50%; background: #38BDF8; box-shadow: 0 0 6px #38BDF8; }
.chat__close { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.chat__close svg { width: 14px; height: 14px; }
.chat__search { padding: 12px 16px 10px; border-bottom: 1px solid var(--line-soft); background: #FAFBFF; }
.chat__search input { width: 100%; height: 36px; border-radius: 9px; border: 1px solid var(--line); padding: 0 12px 0 34px; font: inherit; font-size: 13px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 10px center no-repeat; }
.chat__body { overflow-y: auto; padding: 12px 16px; flex: 1; }
.chat__cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 10px 0 6px; }
.chat__q { width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; margin-bottom: 6px; transition: all .18s; background: #fff; }
.chat__q:hover { border-color: var(--green); background: rgba(29,78,216,.05); }
.chat__a { background: var(--line-soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 10px; }
.chat__a b { color: var(--ink); display: block; margin-bottom: 4px; }
.chat__foot { padding: 12px 16px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; }
.chat__foot .btn { flex: 1; font-size: 13px; padding: 10px 14px; border-radius: 10px; }

/* ── Sub-page components ───────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: radial-gradient(circle at 85% 10%, rgba(29,78,216,.14), transparent 45%), var(--bg); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 30px; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.kpis { display: flex; gap: 32px; flex-wrap: wrap; }
.kpi b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--muted); font-weight: 500; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden; }
.panel__head { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.quote-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.quote-row:last-child { border-bottom: 0; }
.quote-row b { font-family: var(--font-display); }
.quote-row small { display: block; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: all .3s var(--ease); }
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.icard .feature__icon { width: 44px; height: 44px; margin-bottom: 16px; }
.icard h3 { font-size: 18px; margin-bottom: 8px; }
.icard p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.spec th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FAFBFF; }
table.spec td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td b { font-family: var(--font-display); }
table.spec .mono { font-size: 13px; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(29,78,216,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--green); font-size: 18px; flex-shrink: 0; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.pmethods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pmethod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; transition: all .3s var(--ease); }
.pmethod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pmethod b { display: block; font-family: var(--font-display); font-size: 15px; margin: 10px 0 2px; }
.pmethod span { font-size: 12px; color: var(--muted); }
.pmethod .ico { width: 42px; height: 42px; margin: 0 auto; border-radius: 12px; background: var(--line-soft); display: grid; place-items: center; color: var(--ink); font-family: var(--font-mono); font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.principle b.num { font-family: var(--font-display); font-size: 28px; color: var(--green); font-weight: 700; }
.principle h3 { font-size: 18px; margin-bottom: 6px; }
.principle p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legal-doc { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px 56px; }
.legal-doc h2 { font-size: 20px; margin: 30px 0 10px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); white-space: pre-line; }
.legal-doc .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; }
.tier::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-green); }
.tier .tag { margin-bottom: 14px; display: inline-block; }
.tier h3 { font-size: 22px; margin-bottom: 8px; }
.tier p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.tier li { font-size: 13.5px; padding: 6px 0; border-top: 1px dashed var(--line); color: var(--ink-soft); }
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.phone { width: 230px; border-radius: 34px; background: var(--navy-deep); padding: 12px; box-shadow: 0 30px 70px rgba(10,14,26,.3); border: 1px solid rgba(255,255,255,.08); }
.phone--back { width: 200px; opacity: .85; transform: translateY(16px); }
.phone__screen { background: #0B1B33; border-radius: 24px; padding: 14px 12px; color: #fff; font-size: 10.5px; min-height: 380px; display: flex; flex-direction: column; gap: 8px; }
.phone__screen svg { width: 100%; height: 120px; }
.phone__kv { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding-top: 6px; color: rgba(255,255,255,.7); }
.phone__kv b { color: #fff; font-family: var(--font-mono); font-weight: 600; }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ticker, .glass-card, .dot--pulse, .caret { animation: none !important; } }

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty3 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-18px); } }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 100% { transform: translateX(-120%); } 50% { transform: translateX(120%); } }
@keyframes mega-in { 0% { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.97); } 100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--big { grid-column: span 2; }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
  .cards-4, .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__actions .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { display: none; }
  .platform, .page-hero__grid { grid-template-columns: 1fr; }
  .plans, .steps, .cards-3, .values, .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .step__line { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .section { padding: 36px 0 72px; }
  .legal-doc { padding: 32px 24px; }
}
@media (max-width: 767px) { .hero__gl { opacity: .28; } }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { min-height: auto; }
  .hero__grid { padding-top: 36px; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; font-size: 16px; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .btn { padding: 14px 24px; font-size: 15px; }
  .features, .market-grid, .cards-2, .cards-4, .tiers { grid-template-columns: 1fr; }
  .feature--big { grid-column: span 1; }
  .feature, .plan { padding: 24px; }
  .section-head { margin-bottom: 36px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta { padding: 48px 24px; }
  .cta p { font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: span 2; }
  .chat-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .chat { bottom: 82px; right: 16px; }
  .ticker__note { display: none; }
  .principle { grid-template-columns: 40px 1fr; padding: 20px; }
  .term__body { grid-template-columns: 1fr; } .term__side { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
