/* ==========================================================
   NEXORA — Landing page styles
   Palette pulled from the logo: deep night, electric violet, aqua teal
   ========================================================== */
:root {
  --bg: #05030c;
  --bg-2: #0b0718;
  --surface: rgba(20, 14, 42, 0.55);
  --surface-2: rgba(30, 20, 60, 0.6);
  --line: rgba(160, 120, 255, 0.16);
  --line-2: rgba(160, 120, 255, 0.3);
  --text: #eeeaff;
  --muted: #a39cc4;
  --violet: #8b3dff;
  --purple: #b26bff;
  --indigo: #5a2bd6;
  --teal: #1fe5bf;
  --teal-2: #14c8b4;
  --up: #22e3a5;
  --down: #ff4d7d;
  --grad: linear-gradient(120deg, #6a2cff 0%, #a54dff 45%, #1fe5bf 100%);
  --grad-soft: linear-gradient(120deg, rgba(106, 44, 255, .25), rgba(31, 229, 191, .18));
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(70, 20, 160, .55);
  --font-display: 'Michroma', 'Space Grotesk', sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ticker-h: 46px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--ticker-h) + 10px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.grad-text-2 { background: linear-gradient(120deg, #c38bff, #1fe5bf); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.sl-v { color: var(--purple); font-style: normal; }
.sl-t { color: var(--teal); font-style: normal; }

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(1200px 700px at 0% 0%, rgba(110, 40, 255, .35), transparent 60%),
              radial-gradient(900px 600px at 100% 100%, rgba(31, 229, 191, .12), transparent 60%), #05030c;
  transition: opacity .8s ease, visibility .8s ease, transform .8s ease;
}
#preloader.done { opacity: 0; visibility: hidden; transform: scale(1.04); }
.pl-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 61, 255, .45), transparent 65%); filter: blur(30px);
  animation: plPulse 1.6s ease-in-out infinite alternate; }
.pl-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 16px; }
.pl-mark { position: relative; width: clamp(130px, 28vw, 200px); filter: drop-shadow(0 0 30px rgba(139, 61, 255, .6)); }
.pl-mark img { width: 100%; clip-path: inset(100% 0 0 0); animation: plReveal 1.1s cubic-bezier(.7, 0, .2, 1) .1s forwards, plFloat 3s ease-in-out 1.2s infinite; }
.pl-sweep { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  mix-blend-mode: overlay; transform: translateX(-120%); animation: plSweep 1.4s ease-in-out 1.1s infinite;
  -webkit-mask: url(../img/nexora-mark.png) center/contain no-repeat; mask: url(../img/nexora-mark.png) center/contain no-repeat; }
.pl-word { display: flex; gap: clamp(8px, 2.4vw, 22px); font-family: var(--font-display); font-size: clamp(30px, 7vw, 58px); letter-spacing: .05em; }
.pl-word span { display: inline-block; opacity: 0; transform: translateY(26px) scale(.9); filter: blur(8px);
  background: linear-gradient(180deg, #ffffff 0%, #cfc8e8 55%, #8f86b0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: plLetter .6s cubic-bezier(.2, .8, .2, 1) forwards, plShimmer 2.2s linear 1.6s infinite; }
.pl-word span:nth-child(1) { animation-delay: .35s, 1.6s; }
.pl-word span:nth-child(2) { animation-delay: .47s, 1.7s; }
.pl-word span:nth-child(3) { animation-delay: .59s, 1.8s; }
.pl-word span:nth-child(4) { animation-delay: .71s, 1.9s; }
.pl-word span:nth-child(5) { animation-delay: .83s, 2.0s; }
.pl-word span:nth-child(6) { animation-delay: .95s, 2.1s; }
.pl-tag { display: flex; gap: clamp(10px, 3vw, 26px); font-size: clamp(11px, 2.4vw, 15px); letter-spacing: .45em; color: #d9d4ee; }
.pl-tag > * { opacity: 0; animation: plFade .5s ease forwards; }
.pl-tag > *:nth-child(1) { animation-delay: 1.2s; } .pl-tag > *:nth-child(2) { animation-delay: 1.35s; }
.pl-tag > *:nth-child(3) { animation-delay: 1.5s; } .pl-tag > *:nth-child(4) { animation-delay: 1.65s; }
.pl-tag > *:nth-child(5) { animation-delay: 1.8s; }
.pl-bar { width: min(280px, 70vw); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px var(--violet); }
.pl-meta { width: min(280px, 70vw); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.pl-meta b { color: var(--teal); font-family: var(--font-head); }
@keyframes plReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes plFloat { 50% { transform: translateY(-6px); } }
@keyframes plSweep { to { transform: translateX(120%); } }
@keyframes plLetter { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes plShimmer { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.6) drop-shadow(0 0 8px rgba(178, 107, 255, .8)); } }
@keyframes plFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes plPulse { to { transform: scale(1.15); opacity: .7; } }

/* ---------- LIVE BACKGROUND ---------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; }
.bg-orbs { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.o1 { width: 520px; height: 520px; left: -160px; top: -120px; background: #6a2cff; }
.o2 { width: 460px; height: 460px; right: -160px; top: 40vh; background: #12b89e; opacity: .28; }
.o3 { width: 380px; height: 380px; left: 30vw; top: 120vh; background: #a54dff; opacity: .3; }
.bg-noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- HEADLINE TICKER (top of every page) ---------- */
.ticker-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--ticker-h); z-index: 60; overflow: hidden;
  background: #07060e; border-bottom: 1px solid rgba(160, 120, 255, .12);
  -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tk-track { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee var(--tk-dur, 60s) linear infinite; }
.ticker-bar:hover .tk-track { animation-play-state: paused; }
.tk-group { display: flex; align-items: center; }
.tk-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; white-space: nowrap; }
.tk-item b { color: #8d88a6; font-weight: 600; letter-spacing: .06em; }
.tk-chg { font-style: normal; font-weight: 500; color: #6d6887; }

/* ---------- HEADER ---------- */
.site-header { position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(7, 5, 18, .78); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 20px 40px -20px rgba(0, 0, 0, .8); }
.nav-wrap { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 38px; filter: drop-shadow(0 0 10px rgba(139, 61, 255, .5)); }
.brand-word { font-family: var(--font-display); font-size: 19px; letter-spacing: .14em;
  background: linear-gradient(180deg, #fff, #bdb5dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.has-mega { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #d8d2f2; white-space: nowrap; transition: .2s; }
.nav-link:hover, .has-mega:hover .nav-link, .has-mega:focus-within .nav-link, .has-mega.active .nav-link { color: #fff; background: rgba(139, 61, 255, .12); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 460px; padding: 14px; border-radius: 16px;
  background: rgba(14, 10, 32, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: .22s ease; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-wide { min-width: 640px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid a { display: block; padding: 12px; border-radius: 12px; transition: .2s; }
.mega-grid a:hover { background: var(--grad-soft); }
.mega-grid b { display: block; font-size: 14px; font-weight: 600; }
.mega-grid small { color: var(--muted); font-size: 12.5px; }
.mi { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-style: normal; margin-bottom: 8px;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: #fff; }
.mega-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(106, 44, 255, .2), rgba(31, 229, 191, .1)); font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  font-family: var(--font-head); transition: transform .2s, box-shadow .25s, background .25s; white-space: nowrap; position: relative; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 61, 255, .8); }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(31, 229, 191, .6); }
.btn-ghost { color: #ddd6f6; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--purple); background: rgba(139, 61, 255, .12); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.w100 { width: 100%; }
.arr { transition: transform .2s; } .btn:hover .arr { transform: translateX(4px); }
.play { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); font-size: 9px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.drawer { display: none; }

/* ---------- GLASS ---------- */
.glass { background: linear-gradient(160deg, rgba(34, 22, 72, .55), rgba(12, 8, 28, .55)); border: 1px solid var(--line);
  border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(178, 107, 255, .35), transparent 35%, transparent 65%, rgba(31, 229, 191, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: calc(var(--ticker-h) + var(--header-h) + 60px) 0 40px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; font-size: 13px; color: #d6cff3;
  background: rgba(139, 61, 255, .12); border: 1px solid var(--line-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(31, 229, 191, .7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(31, 229, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 229, 191, 0); } }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 24px; }
.hero h1 .line { display: block; }
.lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 560px; }
.lead b { color: #e6e0ff; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero-trust { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-left: -10px;
  border: 2px solid var(--bg); background: linear-gradient(135deg, #6a2cff, #1fe5bf); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #a54dff, #5a2bd6); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #14c8b4, #5a2bd6); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #c38bff, #6a2cff); }
.avatars span:last-child { background: #1a1236; }
.stars { color: #ffc94d; letter-spacing: 2px; }
.stars small { color: var(--muted); letter-spacing: 0; margin-left: 6px; }

.hero-visual { position: relative; perspective: 1200px; }
.term { padding: 22px; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .2s ease-out; }
.term-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.term-sym { display: flex; gap: 12px; align-items: center; }
.term-sym b { display: block; font-family: var(--font-head); }
.term-sym small, .term-price small { color: var(--muted); font-size: 12.5px; }
.coin { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.coin.btc { background: linear-gradient(135deg, #f7931a, #ffb84d); color: #fff; }
.term-price { text-align: right; }
.term-price b { display: block; font-family: var(--font-head); font-size: 24px; transition: color .3s; }
.chg { font-weight: 600; }
#heroChart { width: 100%; height: 190px; display: block; }
.term-tabs { display: flex; gap: 6px; margin: 12px 0 14px; }
.term-tabs span { padding: 5px 11px; border-radius: 8px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .04); }
.term-tabs span.on { color: #fff; background: rgba(139, 61, 255, .3); }
.term-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-buy, .btn-sell { padding: 12px; border-radius: 12px; font-weight: 600; font-family: var(--font-head); }
.btn-buy { background: linear-gradient(135deg, #14c8b4, #1fe5bf); color: #04221c; }
.btn-sell { background: rgba(255, 77, 125, .14); color: #ff7c9e; border: 1px solid rgba(255, 77, 125, .35); }
.float-card { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card b { font-family: var(--font-head); }
.fc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); }
.fc1 { right: -34px; top: -44px; } .fc2 { left: -54px; top: 150px; animation-delay: -2s; }
.mini-list:empty { display: none; }
.fc3 { left: -60px; bottom: -40px; animation-delay: -3.5s; flex-direction: column; align-items: stretch; gap: 6px; min-width: 200px; }
.mini-row { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.mini-row b { font-weight: 600; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.stat { padding: 20px; border-left: 1px solid var(--line-2); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 42px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: cue 1.6s infinite; }
@keyframes cue { to { transform: translateY(14px); opacity: 0; } }

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; position: relative; }
.section-tight { padding-bottom: 60px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2, .section h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.025em; }
.sec-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--grad); vertical-align: middle; margin-right: 10px; }

/* markets */
.markets-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.live-table { padding: 22px; overflow: hidden; }
.lt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lt-head h3 { font-size: 18px; margin: 0; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--teal); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 1.6s infinite; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
td { padding: 13px 8px; border-bottom: 1px solid rgba(160, 120, 255, .08); font-family: var(--font-head); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(139, 61, 255, .07); }
.asset { display: flex; align-items: center; gap: 10px; }
.asset .ci { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.asset small { display: block; color: var(--muted); font-size: 11.5px; font-family: var(--font-body); }
.price-cell { transition: color .4s, background .4s; border-radius: 6px; }
.flash-up { color: var(--up); background: rgba(34, 227, 165, .1); }
.flash-down { color: var(--down); background: rgba(255, 77, 125, .1); }
.spark { width: 90px; height: 30px; }
.trade-btn { padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; background: rgba(139, 61, 255, .18); border: 1px solid var(--line-2); }
.trade-btn:hover { background: var(--grad); }
.tv-box { padding: 6px; min-height: 520px; overflow: hidden; }
.tv-box .tradingview-widget-container, .chart-box .tradingview-widget-container { height: 100%; }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod { padding: 30px; transition: transform .35s, border-color .35s; overflow: hidden; }
.prod::before { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 61, 255, .35), transparent 70%); opacity: 0; transition: .4s; }
.prod:hover { transform: translateY(-6px); border-color: var(--line-2); }
.prod:hover::before { opacity: 1; }
.p-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(139, 61, 255, .8); }
.prod h3 { font-size: 22px; }
.prod p { color: var(--muted); font-size: 15px; }
.prod ul, .plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.prod li, .plan li { padding: 5px 0 5px 26px; position: relative; font-size: 14.5px; color: #d2cbee; }
.prod li::before, .plan li::before { content: "✓"; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; background: rgba(31, 229, 191, .15); color: var(--teal); }
.p-link { color: var(--teal); font-weight: 600; font-size: 14.5px; font-family: var(--font-head); }
.p-link:hover { color: #fff; }

/* copy trading */
.ct-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.ct-copy > p { color: var(--muted); font-size: 17px; }
.steps-mini { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.steps-mini li { display: flex; gap: 18px; }
.steps-mini b { font-family: var(--font-display); font-size: 14px; color: var(--teal); padding-top: 4px; }
.steps-mini h4 { font-size: 18px; margin-bottom: 2px; }
.steps-mini p { color: var(--muted); font-size: 14.5px; margin: 0; }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.board-head h3 { margin: 0; font-size: 20px; }
.tag { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.trader-list { display: grid; gap: 12px; }
.trader { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 18px; transition: .3s; }
.trader:hover { transform: translateX(6px); border-color: var(--line-2); }
.t-av { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); position: relative; }
.t-av .rank { position: absolute; bottom: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; font-size: 10px; display: grid; place-items: center; background: #0d0920; border: 1px solid var(--line-2); }
.t-info b { display: block; font-family: var(--font-head); }
.t-info small { color: var(--muted); font-size: 12.5px; }
.risk-pill { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11px; background: rgba(31, 229, 191, .14); color: var(--teal); }
.t-roi { text-align: right; font-family: var(--font-head); }
.t-roi b { display: block; font-size: 18px; color: var(--up); }
.t-roi small { color: var(--muted); font-size: 11.5px; }
.copy-btn { padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 13px; background: var(--grad); }
.copy-btn.copied { background: rgba(31, 229, 191, .18); color: var(--teal); }

/* chart */
.chart-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.chart-tabs button { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: .2s; }
.chart-tabs button.on, .chart-tabs button:hover { background: var(--grad); border-color: transparent; }
.chart-box { height: 600px; padding: 6px; overflow: hidden; }

/* how */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.how { padding: 28px; text-align: center; }
.how .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-family: var(--font-display); font-size: 18px;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(139, 61, 255, .08), 0 0 30px rgba(139, 61, 255, .4); }
.how h4 { font-size: 18px; } .how p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* pricing */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -20px 0 40px; color: var(--muted); font-size: 15px; }
.billing-toggle em { font-style: normal; font-size: 12px; color: var(--teal); padding: 2px 8px; border-radius: 99px; background: rgba(31, 229, 191, .12); margin-left: 4px; }
#billToggle { width: 52px; height: 28px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); position: relative; }
#billToggle i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); transition: .3s; }
#billToggle.on i { left: 27px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; transition: transform .3s; }
.plan:hover { transform: translateY(-6px); }
.plan ul { flex: 1; }
.plan h4 { font-size: 20px; margin: 0; }
.p-desc { color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 10px 0 6px; font-family: var(--font-head); }
.price .cur { font-size: 22px; color: var(--muted); }
.price b { font-size: 50px; line-height: 1; }
.price b.txt { font-size: 40px; }
.price small { color: var(--muted); }
.p-min { font-size: 13.5px; color: var(--muted); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.p-min b { color: #fff; }
.plan.featured { background: linear-gradient(170deg, rgba(106, 44, 255, .4), rgba(20, 12, 46, .7) 60%); border-color: rgba(178, 107, 255, .5);
  box-shadow: 0 30px 80px -30px rgba(139, 61, 255, .8); transform: scale(1.03); }
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }
.ribbon { position: absolute; top: 16px; right: 16px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--grad); }

/* real estate */
.re-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.re-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.re-card { overflow: hidden; }
.re-card:nth-child(2) { transform: translateY(40px); }
.re-img { height: 200px; position: relative; overflow: hidden; }
.re1 { background: linear-gradient(180deg, transparent 40%, rgba(5, 3, 12, .9)),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 22px),
  linear-gradient(160deg, #5a2bd6 0%, #a54dff 50%, #1fe5bf 100%); }
.re2 { background: linear-gradient(180deg, transparent 40%, rgba(5, 3, 12, .9)),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 18px),
  linear-gradient(200deg, #14c8b4 0%, #5a2bd6 60%, #2a0f6b 100%); }
.re-img::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 70%;
  background: linear-gradient(90deg, rgba(5, 3, 12, .55), rgba(5, 3, 12, .3)); clip-path: polygon(0 30%, 30% 30%, 30% 0, 65% 0, 65% 20%, 100% 20%, 100% 100%, 0 100%); }
.re-badge { position: absolute; z-index: 1; top: 12px; left: 12px; font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: rgba(5, 3, 12, .6); border: 1px solid var(--line-2); }
.re-body { padding: 18px; }
.re-body h4 { margin: 0; font-size: 17px; } .re-body small { color: var(--muted); }
.re-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin: 14px 0 8px; overflow: hidden; }
.re-bar span { display: block; height: 100%; width: var(--w); background: var(--grad); }
.re-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.re-copy > p { color: var(--muted); font-size: 17px; }
.re-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.re-feats div { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.re-feats b { display: block; font-family: var(--font-head); color: var(--teal); }
.re-feats span { font-size: 13px; color: var(--muted); }

/* planning + calculator */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pl-cards { display: grid; gap: 14px; margin-top: 26px; }
.pl-c { display: flex; gap: 16px; padding: 18px 20px; align-items: flex-start; }
.pl-c i { font-style: normal; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 20px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.pl-c h4 { margin: 0 0 2px; font-size: 17px; } .pl-c p { color: var(--muted); font-size: 14px; margin: 0; }
.calc { padding: 30px; }
.calc h3 { font-size: 22px; margin-bottom: 18px; }
.calc label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.calc output { float: right; color: #fff; font-family: var(--font-head); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin-top: 10px; background: rgba(255, 255, 255, .08); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); box-shadow: 0 0 14px var(--violet); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); cursor: pointer; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.calc-out small { display: block; color: var(--muted); font-size: 12.5px; }
.calc-out b { font-family: var(--font-head); font-size: 28px; }
#calcChart { width: 100%; height: 120px; }
.fine { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 28px; transition: .3s; }
.why:hover { transform: translateY(-4px); }
.why i { font-style: normal; font-size: 22px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.why h4 { font-size: 18px; } .why p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; max-width: 460px; width: 100%; margin: auto; }
.about-mark { width: 50%; position: relative; z-index: 1; filter: drop-shadow(0 0 40px rgba(139, 61, 255, .6)); animation: plFloat 5s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.r1 { inset: 12%; animation: spin 30s linear infinite; border-top-color: var(--purple); }
.r2 { inset: 2%; animation: spin 45s linear infinite reverse; border-right-color: var(--teal); border-style: dashed; }
.r3 { inset: 22%; background: radial-gradient(circle, rgba(139, 61, 255, .25), transparent 70%); border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.about-stats div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.about-stats b { display: block; color: var(--teal); font-family: var(--font-head); }
.about-stats span { font-size: 13.5px; color: var(--muted); }

/* partners marquee */
.marquee { overflow: hidden; padding: 24px 0; border-block: 1px solid var(--line); background: rgba(10, 6, 24, .5);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 35s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #8f87b3; white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 36px; margin-top: 50px; }
.partner-cta h3 { font-size: 24px; margin-bottom: 4px; } .partner-cta p { color: var(--muted); margin: 0; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; padding: 28px; }
.testi blockquote { margin: 12px 0 22px; font-size: 16px; color: #ddd6f6; }
.testi figcaption { display: flex; gap: 12px; align-items: center; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--grad); }
.testi small { display: block; color: var(--muted); font-size: 12.5px; }

/* resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 22px; }
.res { padding: 26px; display: block; transition: .3s; }
.res:hover { transform: translateY(-4px); border-color: var(--line-2); }
.r-tag { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: rgba(31, 229, 191, .12); color: var(--teal); }
.res h4 { font-size: 19px; margin: 16px 0 8px; } .res p { color: var(--muted); font-size: 14.5px; }
.tv-news { padding: 22px; }
#tv-news { height: 420px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.link { color: var(--teal); }
.faq-list { display: grid; gap: 12px; }
.faq { padding: 0; overflow: hidden; }
.faq summary { padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 20px; color: var(--muted); margin: 0; }

/* cta */
.cta { padding: 70px 30px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(139, 61, 255, .35), transparent 30%, rgba(31, 229, 191, .25), transparent 60%);
  animation: spin 14s linear infinite; z-index: -1; }
.cta-mark { width: 70px; margin: 0 auto 20px; filter: drop-shadow(0 0 20px rgba(139, 61, 255, .7)); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.cta-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.cta-form input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 3, 12, .6); color: #fff; font: inherit; outline: none; }
.cta-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 61, 255, .2); }
.sent-msg { display: none; width: 100%; color: var(--teal); margin-top: 8px; }
.cta-form.sent .sent-msg { display: block; }

/* footer */
.footer { border-top: 1px solid var(--line); background: rgba(5, 3, 12, .85); padding: 70px 0 30px; backdrop-filter: blur(10px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.foot-grid h5 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: #fff; }
.tagline { letter-spacing: .4em; font-size: 12px; margin: 14px 0; color: #cfc8e8; }
.foot-brand .muted { font-size: 14.5px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid !important; place-items: center; border: 1px solid var(--line-2); padding: 0 !important; color: #fff !important; }
.socials a:hover { background: var(--grad); }
.risk { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: #7f789f; }
.copy { margin: 0; }
.to-top { position: fixed; right: 26px; bottom: 92px; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); font-size: 18px; z-index: 40;
  box-shadow: 0 10px 30px -8px rgba(139, 61, 255, .8); opacity: 0; transform: translateY(20px); transition: .3s; pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: block; }
  .drawer { display: block; position: fixed; z-index: 49; top: calc(var(--ticker-h) + var(--header-h)); left: 0; right: 0; bottom: 0; background: rgba(6, 4, 15, .97);
    backdrop-filter: blur(16px); transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; }
  .drawer.open { transform: none; }
  .drawer-inner { padding: 16px; }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary { padding: 16px 4px; font-family: var(--font-head); font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
  .drawer summary::after { content: "+"; color: var(--teal); }
  .drawer details[open] summary::after { content: "–"; }
  .drawer details a { display: block; padding: 10px 14px; color: var(--muted); }
  .drawer-actions { display: grid; gap: 10px; margin-top: 20px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
}
@media (max-width: 980px) {
  .hero-grid, .ct-grid, .re-grid, .plan-grid, .about-grid, .faq-wrap, .markets-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .prod-grid, .why-grid, .testi-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .fc1 { right: -8px; } .fc2 { left: -8px; } .fc3 { left: -8px; }
  .sec-head.left { text-align: center; margin: 0 auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --ticker-h: 42px; }
  .section { padding: 76px 0; }
  .nav-actions .btn-ghost, .nav-actions .btn-grad { display: none; }
  .prod-grid, .why-grid, .testi-grid, .res-grid, .plans, .how-grid { grid-template-columns: 1fr; }
  .re-cards { grid-template-columns: 1fr; } .re-card:nth-child(2) { transform: none; }
  .re-feats, .about-stats { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .trader { grid-template-columns: auto 1fr auto; } .trader .t-roi { display: none; }
  .float-card { display: none; }
  .partner-cta { flex-direction: column; text-align: center; }
  .chart-box { height: 460px; }
  .hero-ctas .btn { width: 100%; }
  .stat { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   INNER PAGES (/pages/*) — same UI, static background
   ========================================================== */
body.page { background: #05030c; }
body.page::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(106, 44, 255, .28), transparent 60%),
    radial-gradient(800px 600px at 100% 30%, rgba(31, 229, 191, .10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(165, 77, 255, .14), transparent 60%), #05030c; }
body.page::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(160, 120, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 120, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); mask: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); }

.page-hero { padding: calc(var(--ticker-h) + var(--header-h) + 70px) 0 70px; position: relative; }
.ph-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.ph-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; }
.page-hero .lead { max-width: 620px; }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ph-side { padding: 26px; }
.ph-side h4 { margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.kpi b { display: block; font-family: var(--font-head); font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { color: var(--muted); font-size: 13px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card h4 { font-size: 18px; } .card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .ic { font-style: normal; font-size: 22px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.card ul { padding-left: 18px; color: #d2cbee; font-size: 14.5px; margin: 12px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split p { color: var(--muted); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: #d8d2f2; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(31, 229, 191, .15); color: var(--teal); }

.tbl-wrap { padding: 8px 22px 14px; overflow-x: auto; }
.tbl-wrap table { min-width: 560px; }
.tbl-wrap td { font-family: var(--font-body); }
.tbl-wrap td:first-child { font-weight: 600; font-family: var(--font-head); }
.tbl-wrap .hl { color: var(--teal); font-weight: 600; }

.tv-frame { padding: 6px; overflow: hidden; height: 520px; }
.tv-frame.h400 { height: 400px; } .tv-frame.h600 { height: 600px; } .tv-frame.h700 { height: 700px; } .tv-frame.auto { height: auto; min-height: 120px; }
.tv-frame > div { height: 100%; }
.frame-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px; }
.frame-head h3 { margin: 0; font-size: 18px; }
.tv-frame.has-head { display: flex; flex-direction: column; }
.tv-frame.has-head > div:last-child { flex: 1; }

.team { text-align: center; padding: 30px 22px; }
.team .ava { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 16px; font-family: var(--font-head); font-size: 28px; font-weight: 700; background: var(--grad); box-shadow: 0 16px 40px -14px rgba(139, 61, 255, .8); }
.team small { color: var(--teal); display: block; margin-bottom: 10px; }

.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 20px 24px; }
.job h4 { margin: 0 0 2px; font-size: 17px; } .job small { color: var(--muted); }
.job .tag { white-space: nowrap; }

.form { padding: 32px; }
.form h3 { font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 3, 12, .6); color: #fff; font: inherit; font-size: 15px; outline: none; transition: .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a39cc4 50%), linear-gradient(135deg, #a39cc4 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 61, 255, .18); }
.pw { position: relative; } .pw button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--teal); padding: 6px; }
.form .btn { margin-top: 18px; }
.form .ok-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(31, 229, 191, .1); color: var(--teal); }
.form.sent .ok-msg { display: block; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.check-row input { accent-color: var(--violet); margin-top: 3px; }

.auth { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--ticker-h) + var(--header-h) + 40px) 0 60px; }
.auth-box { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; width: min(1040px, 100%); }
.auth-side { padding: 44px; background: linear-gradient(160deg, rgba(106, 44, 255, .45), rgba(20, 12, 46, .2) 70%); position: relative; overflow: hidden; }
.auth-side img { width: 90px; margin-bottom: 26px; filter: drop-shadow(0 0 24px rgba(139, 61, 255, .7)); }
.auth-side h2 { font-size: 32px; }
.auth-side p { color: #cfc8ea; }
.auth-form { padding: 44px; }
.auth-form .form-grid { grid-template-columns: 1fr; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.auth-alt a { color: var(--teal); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.socials-login { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.contact-cards .card b { display: block; color: #fff; font-family: var(--font-head); margin-top: 6px; }
.notice { padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(31, 229, 191, .25); background: rgba(31, 229, 191, .06); color: #cdeee6; font-size: 14px; }
.big-num { font-family: var(--font-display); font-size: 13px; color: var(--teal); letter-spacing: .1em; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { padding: 30px; text-align: center; }
.tier b { display: block; font-family: var(--font-head); font-size: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier span { color: var(--muted); }
.timeline { display: grid; gap: 16px; position: relative; }
.timeline .card { display: flex; gap: 20px; align-items: flex-start; }
.timeline .num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 24px rgba(139, 61, 255, .35); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pill-row span { padding: 7px 14px; border-radius: 99px; font-size: 13px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.blog-card { padding: 0; overflow: hidden; }
.blog-card .thumb { height: 160px; background: var(--grad); position: relative; }
.blog-card .thumb.t2 { background: linear-gradient(135deg, #14c8b4, #5a2bd6); } .blog-card .thumb.t3 { background: linear-gradient(135deg, #a54dff, #2a0f6b); }
.blog-card .thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 18px); }
.blog-card .body { padding: 22px; }
.blog-card .meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.course .lvl { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: rgba(139, 61, 255, .2); color: #d6c2ff; }
.course .meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.section.pt0 { padding-top: 0; }

@media (max-width: 980px) {
  .ph-grid, .split, .auth-box { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
  .grid-3, .grid-4, .tiers { grid-template-columns: repeat(2, 1fr); }
  .auth-side { padding: 32px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .tiers, .form-grid, .kpis { grid-template-columns: 1fr; }
  .page-hero { padding-bottom: 40px; }
  .job { grid-template-columns: 1fr; gap: 10px; }
  .form, .auth-form { padding: 24px; }
  .tv-frame { height: 460px; } .tv-frame.h600, .tv-frame.h700 { height: 520px; }
  .tk-item { padding: 0 18px; font-size: 12px; }
}

/* plans without prices */
.plan-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 26px 0 0; }
.plan h4 { margin-bottom: 4px; }
.plan .p-desc { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.btn-buy, .btn-sell { display: block; text-align: center; }

/* mobile: show the login / sign-up form first, intro text below it */
@media (max-width: 980px) {
  .auth { padding-top: calc(var(--ticker-h) + var(--header-h) + 16px); align-items: start; }
  .auth-form { order: -1; }
  .auth-side { padding: 28px; }
  .auth-side img { width: 56px; margin-bottom: 16px; }
  .auth-side h2 { font-size: 24px; }
}
.auth-err { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 77, 125, .1); border: 1px solid rgba(255, 77, 125, .3); color: #ff9db6; font-size: 14px; }
.auth-err.show { display: block; }

/* ==========================================================
   LEGAL PAGES (/pages/terms, privacy, risk-disclosure) — white
   ========================================================== */
body.legal { background: #fff; color: #3b3650; overflow-x: clip; }
body.legal::before, body.legal::after { display: none; }
body.legal .site-header { background: rgba(7, 5, 18, .96); box-shadow: 0 1px 0 rgba(160, 120, 255, .12); }
body.legal .footer { background: #05030c; }
.lg-hero { position: relative; padding: calc(var(--ticker-h) + var(--header-h) + 56px) 0 64px; color: #fff; overflow: hidden;
  background: radial-gradient(700px 380px at 0% 0%, rgba(106, 44, 255, .35), transparent 65%),
              radial-gradient(600px 380px at 100% 100%, rgba(31, 229, 191, .14), transparent 65%), #07051a; }
.lg-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4.6vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
.lg-lead { max-width: 720px; font-size: 17px; color: rgba(255, 255, 255, .78); margin: 0; }
.lg-date { margin: 22px 0 0; display: inline-block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: #7ff0d8; border: 1px solid rgba(31, 229, 191, .35); padding: 6px 12px; border-radius: 999px; }
.lg-hero .crumbs a { color: rgba(255, 255, 255, .7); }
.lg-body { padding: 56px 0 90px; }
.lg-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.lg-toc { position: sticky; top: calc(var(--ticker-h) + var(--header-h) + 24px); }
.lg-toc summary { list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a84a3; margin-bottom: 12px; }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid #eeebf6; }
.lg-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; color: #5d5775; text-decoration: none; transition: color .2s, border-color .2s; }
.lg-toc a:hover { color: #1a1430; }
.lg-toc a.on { color: #6a3df0; border-left-color: #7b61e8; font-weight: 500; }
.lg-doc { max-width: 780px; }
.lg-pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; }
.lg-pledge { padding: 18px 18px 16px; border-radius: 14px; background: #f8f6fe; border: 1px solid #ece8fa; }
.lg-pledge b { display: block; font-family: var(--font-head, 'Space Grotesk'), sans-serif; color: #1a1430; font-size: 15px; margin-bottom: 4px; }
.lg-pledge b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: linear-gradient(135deg, #7b61e8, #2fd4b5); }
.lg-pledge span { font-size: 13.5px; color: #6b6585; line-height: 1.5; }
.lg-sec { padding: 30px 0; border-top: 1px solid #efedf5; scroll-margin-top: calc(var(--ticker-h) + var(--header-h) + 16px); }
.lg-sec:first-of-type { border-top: 0; padding-top: 0; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-head, 'Space Grotesk'), sans-serif; font-size: 22px; font-weight: 600; color: #120d24; margin: 0 0 14px; }
.lg-n { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #7b61e8; font-weight: 600; }
.lg-sec h4 { font-size: 15px; color: #1a1430; margin: 20px 0 8px; }
.lg-sec p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; }
.lg-sec ul { margin: 0 0 14px; padding: 0; list-style: none; }
.lg-sec li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.7; }
.lg-sec li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #2fd4b5; }
.lg-sec strong { color: #1a1430; font-weight: 600; }
.lg-doc a, .lg-sec a { color: #6a3df0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(106, 61, 240, .3); }
.lg-doc a:hover { text-decoration-color: currentColor; }
.ph { background: #fff6d6; color: #8a6200; padding: 0 4px; border-radius: 4px; font-size: .95em; }
.lg-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #efedf5; font-size: 14.5px; }
.lg-more span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8a84a3; }
.lg-more a { text-decoration: none; font-weight: 500; }
@media (max-width: 900px) {
  .lg-grid { grid-template-columns: 1fr; gap: 22px; }
  .lg-toc { position: static; border: 1px solid #ece8fa; border-radius: 12px; padding: 14px 16px; background: #faf9fe; }
  .lg-toc summary { margin: 0; cursor: pointer; display: flex; justify-content: space-between; color: #3b3650; }
  .lg-toc summary::after { content: "+"; font-size: 18px; line-height: 1; color: #7b61e8; }
  .lg-toc details[open] summary { margin-bottom: 12px; }
  .lg-toc details[open] summary::after { content: "–"; }
  .lg-pledges { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; }
  .lg-body { padding: 28px 0 70px; }
  .lg-hero { padding-bottom: 44px; }
  .lg-sec h2 { font-size: 19px; }
}

/* sign-up verification code & Google sign-in */
.auth-form.verifying > :not([data-verify]) { display: none !important; }
.verify-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: var(--teal);
  background: rgba(31, 229, 191, .08); border: 1px solid rgba(31, 229, 191, .25); }
.verify-ic svg { width: 26px; height: 26px; }
.code-input { font-family: 'JetBrains Mono', ui-monospace, monospace !important; font-size: 26px !important; letter-spacing: .5em; text-align: center; padding-left: .5em !important; }
.verify-links { display: flex; justify-content: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.verify-links .link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.verify-links .link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.auth-fine { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.55; }
.auth-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .25); }
.auth-err.ok { background: rgba(31, 229, 191, .08); border-color: rgba(31, 229, 191, .3); color: #8ff5df; }
.google-wrap { display: grid; gap: 10px; }
.google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.google-btn svg { width: 20px; height: 20px; }
.gsi-slot:not(.ready) { display: none; }
.gsi-slot { display: flex; justify-content: center; min-height: 44px; }
.google-err { margin: 0; }
form[data-verify][hidden], .google-btn[hidden] { display: none !important; }
