/* ============================================================
   PRESOLT — GLOBAL STYLES (marketing + shared)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;            /* native scrollbar, form controls, overscroll render dark */
  background: var(--bg);         /* covers overscroll bounce area */
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Themed scrollbar (Onyx & Mint) for the whole page */
html { scrollbar-width: thin; scrollbar-color: var(--border-strong) var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
  border: 3px solid var(--bg);   /* inset look */
}
::-webkit-scrollbar-thumb:hover { background: var(--fg-subtle); }
::-webkit-scrollbar-corner { background: var(--bg); }

/* ---- Page preloader (shared across all marketing pages) ---- */
#preloader{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;background:#0A0E14;transition:opacity .5s ease,visibility .5s ease}
#preloader.pl-hide{opacity:0;visibility:hidden;pointer-events:none}
.pl-mark{width:52px;height:auto;animation:plFloat 2.4s ease-in-out infinite}
.pl-wordmark{font-family:'Inter',system-ui,sans-serif;font-weight:700;font-size:20px;letter-spacing:-.01em;color:#EDF1F7;opacity:0;animation:plFade .6s ease .15s forwards}
.pl-track{width:180px;height:3px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
.pl-track>span{display:block;height:100%;width:40%;border-radius:999px;background:linear-gradient(90deg,#40916C,#52B788,#95D5B2);animation:plSlide 1.1s cubic-bezier(.4,0,.2,1) infinite}
@keyframes plSlide{0%{transform:translateX(-120%)}100%{transform:translateX(360%)}}
@keyframes plFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes plFade{to{opacity:.9}}
html.pl-lock,body.pl-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.pl-mark,.pl-track>span,.pl-wordmark{animation:none}.pl-wordmark{opacity:.9}}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
::selection { background: rgba(82,183,136,.32); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.tabnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.muted { color: var(--fg-muted); }
.grad-text {
  background: var(--grad-brand-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mint);
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(82,183,136,.10); border: 1px solid rgba(82,183,136,.26);
  font-size: var(--text-sm); font-weight: 500; color: var(--mint-soft);
}
.badge-new {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: var(--r-pill);
  background: rgba(82,183,136,.14); border: 1px solid rgba(82,183,136,.3);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--mint);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(45,212,139,.5)} 70%{box-shadow:0 0 0 6px rgba(45,212,139,0)} 100%{box-shadow:0 0 0 0 rgba(45,212,139,0)} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--text-sm);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-brand); color: var(--primary-fg); box-shadow: var(--shadow-glow); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 18px 50px -10px rgba(64,145,108,.6); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.04); border-color: var(--primary-bright); }
.btn-lg { padding: 15px 30px; font-size: var(--text-base); }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card.hover-elevate:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--card-elevated); }
.icon-tile {
  width: 46px; height: 46px; border-radius: var(--r);
  display: grid; place-items: center;
  background: rgba(82,183,136,.10); border: 1px solid rgba(82,183,136,.22);
  color: var(--primary-bright);
}
.icon-tile svg { width: 22px; height: 22px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .mark { width: 26px; height: auto; }
.logo .word { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--fg); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(10,14,20,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--fg-muted); transition: color .15s; position: relative; display: inline-flex; align-items: center; gap: 7px; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: var(--text-sm); color: var(--fg-muted); transition: color .15s; }
.footer-col ul a:hover { color: var(--primary-bright); }
.footer-about p { color: var(--fg-muted); font-size: var(--text-sm); margin: 16px 0 20px; max-width: 320px; }
.footer-news { display: flex; gap: 8px; max-width: 320px; }
.footer-news input { flex: 1; background: var(--muted); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; color: var(--fg); }
.footer-news input:focus { outline: none; border-color: var(--primary-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a, .footer-bottom span { font-size: var(--text-sm); color: var(--fg-subtle); }
.footer-bottom a:hover { color: var(--fg-muted); }
.status-ok { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 86px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); pointer-events: none; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: var(--text-hero); max-width: 16ch; margin: 22px auto 0; }
.hero .sub { font-size: var(--text-lg); color: var(--fg-muted); max-width: 60ch; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero-email { display: flex; gap: 8px; background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 6px 6px 6px 18px; max-width: 460px; margin: 30px auto 0; }
.hero-email input { flex: 1; background: transparent; border: none; color: var(--fg); outline: none; }
.trust-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 20px; font-size: var(--text-sm); color: var(--fg-muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .ck { color: var(--up); }

/* ---------- KPI tiles ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.kpi { background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; text-align: center; }
.kpi .num { font-size: var(--text-3xl); font-weight: 700; letter-spacing: -.03em; }
.kpi .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-subtle); margin-top: 6px; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.sec-head h2 { font-size: var(--text-3xl); margin-top: 14px; }
.sec-head p { color: var(--fg-muted); margin-top: 14px; font-size: var(--text-lg); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee-track span { font-size: var(--text-lg); font-weight: 600; color: var(--fg-subtle); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Feature / capability cards ---------- */
.feature-card h3 { font-size: var(--text-xl); margin: 16px 0 8px; }
.feature-card p { color: var(--fg-muted); font-size: var(--text-sm); }
.feature-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary-bright); font-weight: 600; font-size: var(--text-sm); }

/* ---------- How it works ---------- */
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.step:nth-child(even) .step-text { order: 2; }
.step-label { font-size: 12px; letter-spacing: .14em; color: var(--primary-bright); font-weight: 700; }
.step-text h3 { font-size: var(--text-2xl); margin: 10px 0 12px; }
.step-text p { color: var(--fg-muted); }
.terminal { background: #070B11; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.terminal-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal-bar i:nth-child(1){background:#FF5F57} .terminal-bar i:nth-child(2){background:#FEBC2E} .terminal-bar i:nth-child(3){background:#28C840}
.terminal pre { padding: 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; color: #cdd6e4; }
.terminal .c-key { color: var(--accent-violet); } .terminal .c-str { color: var(--accent-amber); }
.terminal .c-num { color: var(--accent-cyan); } .terminal .c-com { color: var(--fg-subtle); }
.terminal .c-up { color: var(--up); } .terminal .c-grn { color: var(--primary-bright); }

/* ---------- Testimonials ---------- */
.tcard .stars { color: var(--accent-amber); letter-spacing: 2px; }
.tcard p { margin: 14px 0 18px; color: var(--fg); }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #061410; font-size: var(--text-sm); }
.tcard .who .nm { font-weight: 600; font-size: var(--text-sm); }
.tcard .who .rl { font-size: var(--text-xs); color: var(--fg-muted); }

/* ---------- Final CTA ---------- */
.cta-band { background: linear-gradient(135deg, rgba(64,145,108,.16), rgba(39,194,232,.08)); border: 1px solid rgba(82,183,136,.24); border-radius: var(--r-xl); padding: 56px; text-align: center; }
.cta-band h2 { font-size: var(--text-3xl); }
.cta-band ul { list-style: none; padding: 0; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 22px 0 26px; color: var(--fg-muted); font-size: var(--text-sm); }
.cta-band ul li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 96px 0 40px; text-align: center; position: relative; }
.page-hero::before { content:""; position:absolute; inset:0; background: var(--grad-hero); pointer-events:none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: var(--text-4xl); margin: 18px auto 0; max-width: 18ch; }
.page-hero .sub { color: var(--fg-muted); font-size: var(--text-lg); max-width: 62ch; margin: 18px auto 0; }

/* ---------- Data delayed indicator ---------- */
.data-delayed { display: none; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(245,177,76,.12); border: 1px solid rgba(245,177,76,.34); color: var(--accent-amber); font-size: var(--text-xs); font-weight: 600; }
.data-delayed.show { display: inline-flex; }
.data-delayed .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-amber); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--r); background: var(--card); margin-bottom: 10px; overflow: hidden; }
.accordion-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; font-weight: 600; font-size: var(--text-base); }
.accordion-q .ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--primary-bright); transition: transform .2s; }
.accordion-item.open .accordion-q .ico { transform: rotate(45deg); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.accordion-a-inner { padding: 0 20px 18px; color: var(--fg-muted); font-size: var(--text-sm); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--fg-muted); }
.input, .field input, .field select, .field textarea {
  background: var(--muted); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 14px; color: var(--fg); width: 100%;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-bright); box-shadow: 0 0 0 3px rgba(82,183,136,.14); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .live-dot { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .kpi-row { grid-template-columns: repeat(2,1fr); }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) .step-text { order: 0; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { gap: 8px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 36px 22px; }
  .mobile-open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 18px; }
  .mobile-open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .kpi-row, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-email { flex-direction: column; gap: 10px; background: transparent; border: none; border-radius: 0; padding: 0; max-width: 100%; }
  .hero-email input { width: 100%; background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 13px 18px; }
  .hero-email .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   HOMEPAGE ENHANCEMENTS — ticker, sparklines, product preview
   ============================================================ */

/* ---- Live market-stat ticker bar ---- */
.ticker-bar {
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18,24,35,.9), rgba(10,14,20,.9));
  backdrop-filter: blur(8px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-track { display: flex; align-items: center; gap: 0; width: max-content; animation: scroll-x 60s linear infinite; padding-left: 112px; }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 11px 22px; border-right: 1px solid var(--border);
  white-space: nowrap; font-size: 13px;
}
.ticker-item .tk-sym { font-weight: 700; letter-spacing: .01em; }
.ticker-item .tk-price { color: var(--fg-muted); font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 12.5px; }
.ticker-item .tk-chg { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.ticker-item .tk-chg.up { color: var(--up); }
.ticker-item .tk-chg.down { color: var(--down); }
/* Live-refresh flash: brief tint + price colour pulse when a number changes.
   Uses tabular-nums (above) so digit-width changes never shift the layout. */
.ticker-item .tk-price { transition: color .25s ease; }
.ticker-item { transition: background-color .25s ease; border-radius: 6px; }
.ticker-item.flash-up { background-color: rgba(45,212,139,.14); }
.ticker-item.flash-down { background-color: rgba(255,84,112,.14); }
.ticker-item.flash-up .tk-price { color: var(--up); }
.ticker-item.flash-down .tk-price { color: var(--down); }
@media (prefers-reduced-motion: reduce) {
  .ticker-item.flash-up, .ticker-item.flash-down { background-color: transparent; }
}
/* Section labels inside the strip: TOP 10 / TOP GAINERS / TOP LOSERS */
.ticker-group {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 11px 16px; border-right: 1px solid var(--border);
  font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--fg-muted);
}
.ticker-group::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 8px; background: currentColor; opacity: .9;
}
.ticker-group.g-top { color: var(--mint); }
.ticker-group.g-gain { color: var(--up); }
.ticker-group.g-loss { color: var(--down); }
.ticker-lead {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 0 16px 0 18px;
  background: var(--primary); color: var(--primary-fg);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.ticker-lead .live-dot { background: var(--primary-fg); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---- Sparklines in snapshot table ---- */
.spark-cell { width: 96px; }
.spark-svg { display: block; width: 92px; height: 30px; }
.spark-svg path.line { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark-svg path.area { opacity: .18; }

/* ---- KPI count-up emphasis ---- */
.kpi .num.counting { font-variant-numeric: tabular-nums; }
.kpi { position: relative; overflow: hidden; transition: border-color .3s ease, transform .3s ease; }
.kpi:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.kpi::after { content:""; position:absolute; inset:0; background: var(--grad-hero); opacity:0; transition: opacity .4s ease; pointer-events:none; }
.kpi:hover::after { opacity:.5; }

/* ---- Interactive product preview ---- */
.preview-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.preview-tabs { display: flex; flex-direction: column; gap: 10px; }
.preview-tab {
  text-align: left; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 18px; cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .2s ease; color: var(--fg);
}
.preview-tab:hover { border-color: var(--border-strong); transform: translateX(3px); }
.preview-tab.active { border-color: var(--primary); background: var(--card-elevated); box-shadow: var(--shadow-glow); }
.preview-tab .pt-head { display:flex; align-items:center; gap:10px; }
.preview-tab .pt-ico { width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center; background: rgba(82,183,136,.12); color: var(--primary-bright); flex:0 0 auto; }
.preview-tab .pt-ico svg { width: 18px; height: 18px; }
.preview-tab h4 { font-size: var(--text-base); font-weight: 700; }
.preview-tab p { font-size: 13px; color: var(--fg-muted); margin-top: 8px; line-height: 1.5; }

.preview-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--card); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), var(--shadow-glow);
}
.browser-chrome {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  background: var(--card-elevated); border-bottom: 1px solid var(--border);
}
.browser-chrome .dots { display: flex; gap: 7px; }
.browser-chrome .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.browser-chrome .dots i:nth-child(1){ background:#FF5F57; } .browser-chrome .dots i:nth-child(2){ background:#FEBC2E; } .browser-chrome .dots i:nth-child(3){ background:#28C840; }
.browser-chrome .url { flex:1; margin-left: 8px; background: var(--bg); border:1px solid var(--border); border-radius: var(--r-pill); padding: 5px 14px; font-size: 12px; color: var(--fg-subtle); font-family: var(--font-mono); display:flex; align-items:center; gap:7px; }
.browser-chrome .url svg { width:12px; height:12px; color: var(--up); }
/* Fixed-height stage so both screenshots occupy the same frame height and
   the frame doesn't jump when you switch tabs. object-fit:cover fills the
   frame; anchoring top-left means any crop happens on the RIGHT/BOTTOM only,
   never cutting the sidebar (left) or headers/KPIs (top). */
.preview-shots { position: relative; width:100%; aspect-ratio: 2880 / 920; background: var(--card); }
.preview-shots img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; object-position: left top; opacity:0; transition: opacity .45s ease; }
.preview-shots img.active { opacity:1; }
@supports not (aspect-ratio: 1) { .preview-shots { height: 0; padding-bottom: 31.94%; } }
.preview-cap { display:flex; align-items:center; gap:8px; justify-content:center; margin-top:16px; font-size:12px; color:var(--fg-subtle); }

@media (max-width: 860px) {
  .preview-wrap { grid-template-columns: 1fr; }
  .preview-tabs { flex-direction: row; overflow-x: auto; gap: 10px; }
  .preview-tab { min-width: 210px; }
}

/* ============================================================
   HOMEPAGE — LOWER HALF (Features bento · Advanced · Stats · CTA)
   ============================================================ */

/* ---- Features bento grid ---- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-cell { padding: 26px; display: flex; flex-direction: column; }
.bento-cell.b-wide { grid-column: span 2; }
.bento-cell h3 { font-size: var(--text-xl); margin: 14px 0 8px; }
.bento-cell > p { color: var(--fg-muted); font-size: var(--text-sm); }
.bento-cell .more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--primary-bright); font-weight: 600; font-size: var(--text-sm); }
.bento-cell .more:hover { gap: 10px; }
.bento-head { display: flex; gap: 16px; align-items: flex-start; }
.bento-head h3 { margin: 2px 0 6px; }
.bento-head .icon-tile { flex: 0 0 auto; }

/* live asset mini-table inside Asset Intelligence */
.bento-live { margin: 18px 0 4px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.bl-row { display: grid; grid-template-columns: 1.4fr .9fr .7fr; align-items: center; gap: 8px; padding: 10px 14px; font-size: var(--text-sm); }
.bl-row + .bl-row { border-top: 1px solid var(--border); }
.bl-head { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-subtle); background: var(--bg-soft); }
.bl-asset { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.bl-asset img { width: 20px; height: 20px; border-radius: 50%; }
.bl-asset .sym { color: var(--fg-subtle); font-size: 12px; font-weight: 500; }
.bl-price { text-align: right; font-family: var(--font-mono); }
.bl-spark { display: flex; justify-content: flex-end; }
.bl-spark svg { width: 62px; height: 24px; }
.bl-skeleton { display: grid; grid-template-columns: 1.4fr .9fr .7fr; gap: 8px; padding: 12px 14px; }
.bl-skeleton span { height: 14px; border-radius: 5px; background: linear-gradient(90deg,var(--card-elevated),var(--border),var(--card-elevated)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* gainers/losers */
.gl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.gl-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px; }
.gl-label.up { color: var(--up); } .gl-label.down { color: var(--down); }
.gl-list { display: flex; flex-direction: column; gap: 7px; }
.gl-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--text-sm); opacity: 0; transform: translateY(6px); animation: glIn .4s forwards; }
.gl-item .s { font-weight: 600; }
.gl-item .p { font-family: var(--font-mono); font-size: 12px; }
.gl-item.up .p { color: var(--up); } .gl-item.down .p { color: var(--down); }
@keyframes glIn { to { opacity:1; transform:none; } }

/* chain chips */
.chain-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.chain-chips span { font-size: 12px; padding: 5px 11px; border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--fg-muted); background: var(--bg-soft); transition: border-color .2s, color .2s, transform .2s; }
.bento-cell:hover .chain-chips span { border-color: var(--border-strong); }
.chain-chips span:hover { color: var(--primary-bright); border-color: var(--primary); transform: translateY(-2px); }
.chain-count { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.chain-count .cc-num { font-size: var(--text-2xl); font-weight: 800; color: var(--fg); font-family: var(--font-mono); }
.chain-count .cc-plus { color: var(--fg-muted); font-size: var(--text-sm); }

/* daily brief preview */
.brief-card { margin: 18px 0 6px; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--r); padding: 16px 18px; background: var(--bg-soft); }
.brief-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.brief-tag { font-size: 10px; letter-spacing: .12em; font-weight: 700; color: var(--primary-bright); }
.brief-date { font-size: 11px; color: var(--fg-subtle); font-family: var(--font-mono); }
.brief-headline { font-weight: 700; margin-bottom: 8px; }
.brief-body { color: var(--fg-muted); font-size: var(--text-sm); line-height: 1.6; min-height: 42px; }
.brief-body .cursor { display: inline-block; width: 7px; height: 15px; background: var(--primary-bright); margin-left: 2px; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- Advanced capabilities: interactive accents ---- */
.grid-3 .feature-card { position: relative; overflow: hidden; }
.grid-3 .feature-card .icon-tile { transition: transform .3s ease, background .3s ease; }
.grid-3 .feature-card:hover .icon-tile { transform: translateY(-2px) scale(1.06); }
.grid-3 .feature-card::after { content:""; position:absolute; inset:0; border-radius:inherit; background: radial-gradient(340px 160px at var(--mx,50%) 0%, rgba(82,183,136,.10), transparent 70%); opacity:0; transition:opacity .35s ease; pointer-events:none; }
.grid-3 .feature-card:hover::after { opacity:1; }

/* score count-up highlight */
.score-term .sc-overall { font-weight: 700; }

/* ---- Stats band (replaces testimonials) ---- */
.stat-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat-cell { background: var(--card); padding: 30px 22px; text-align: center; transition: background .25s; }
.stat-cell:hover { background: var(--card-elevated); }
.stat-num { font-size: var(--text-2xl); font-weight: 800; font-family: var(--font-mono); color: var(--fg); display: flex; align-items: center; justify-content: center; gap: 8px; }
.stat-lbl { margin-top: 8px; font-size: var(--text-xs); color: var(--fg-muted); letter-spacing: .02em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(45,212,139,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(45,212,139,.55)} 70%{box-shadow:0 0 0 9px rgba(45,212,139,0)} 100%{box-shadow:0 0 0 0 rgba(45,212,139,0)} }

/* ---- CTA aurora ---- */
.cta-aurora { position: relative; overflow: hidden; }
.cta-aurora > * { position: relative; z-index: 1; }
.aurora-glow { position: absolute; inset: -40%; z-index: 0; background:
   radial-gradient(40% 40% at 20% 30%, rgba(82,183,136,.22), transparent 60%),
   radial-gradient(38% 38% at 80% 40%, rgba(39,194,232,.16), transparent 60%),
   radial-gradient(45% 45% at 55% 80%, rgba(149,213,178,.14), transparent 60%);
   filter: blur(14px); animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { 0%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(3%, -3%) scale(1.08); } 100%{ transform: translate(-3%, 2%) scale(1.04); } }

/* ---- Advanced capabilities: live micro-visuals ---- */
.cap-card { display: flex; flex-direction: column; }
.cap-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cap-head h3 { margin: 0; }
.cap-card > p { color: var(--fg-muted); font-size: var(--text-sm); margin: 0 0 16px; }
.cap-viz { margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; }

/* analytics bars */
.cap-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.cap-bars span { flex: 1; height: 6px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--primary-bright), var(--primary)); transition: height .8s cubic-bezier(.16,1,.3,1); }
.cap-card.in .cap-bars span { height: var(--h); }
.cap-card:hover .cap-bars span:nth-child(4) { background: linear-gradient(180deg, var(--mint), var(--primary-bright)); }

/* smart discovery search */
.cap-search { font-family: var(--font-mono); }
.cs-bar { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 8px 14px; font-size: var(--text-xs); color: var(--fg-muted); }
.cs-bar svg { width: 14px; height: 14px; flex: none; }
.cs-typed { color: var(--fg); white-space: nowrap; }
.cs-caret { width: 2px; height: 13px; background: var(--primary-bright); animation: blink 1s step-end infinite; }
.cs-results { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cs-results span { height: 9px; border-radius: 5px; background: var(--card-elevated); opacity: 0; transform: translateX(-6px); }
.cap-card.in .cs-results span { animation: csIn .4s forwards; }
.cap-card.in .cs-results span:nth-child(1) { animation-delay: .9s; width: 80%; }
.cap-card.in .cs-results span:nth-child(2) { animation-delay: 1.05s; width: 62%; }
.cap-card.in .cs-results span:nth-child(3) { animation-delay: 1.2s; width: 70%; }
@keyframes csIn { to { opacity: 1; transform: none; } }

/* due diligence checklist */
.cap-check { display: flex; flex-direction: column; gap: 10px; }
.dd-item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--fg-muted); opacity: 0; transform: translateY(6px); }
.cap-card.in .dd-item { animation: ddIn .45s forwards; }
.cap-card.in .dd-item:nth-child(1) { animation-delay: .2s; }
.cap-card.in .dd-item:nth-child(2) { animation-delay: .45s; }
.cap-card.in .dd-item:nth-child(3) { animation-delay: .7s; }
.dd-tick { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: rgba(45,212,139,.14); color: var(--up); font-size: 12px; font-weight: 700; }
@keyframes ddIn { to { opacity: 1; transform: none; } }

/* real-time alerts feed */
.cap-alerts { display: flex; flex-direction: column; gap: 8px; }
.al-item { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--fg-muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 12px; opacity: 0; transform: translateX(8px); }
.cap-card.in .al-item { animation: alIn .5s forwards; }
.cap-card.in .al-item:nth-child(1) { animation-delay: .2s; }
.cap-card.in .al-item:nth-child(2) { animation-delay: .5s; }
.cap-card.in .al-item:nth-child(3) { animation-delay: .8s; }
.al-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 0 0 rgba(39,194,232,.5); animation: alPulse 2s infinite; }
.al-dot.up { background: var(--up); box-shadow: 0 0 0 0 rgba(45,212,139,.5); }
.al-dot.down { background: var(--down); box-shadow: 0 0 0 0 rgba(255,84,112,.5); }
@keyframes alPulse { 0%{ box-shadow: 0 0 0 0 rgba(39,194,232,.45); } 70%{ box-shadow: 0 0 0 6px rgba(39,194,232,0); } 100%{ box-shadow: 0 0 0 0 rgba(39,194,232,0); } }
@keyframes alIn { to { opacity: 1; transform: none; } }

/* pdf reports */
.cap-pdf { display: flex; gap: 12px; align-items: flex-end; height: 76px; }
.pdf-doc { position: relative; width: 78px; height: 72px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 22px 10px 10px; display: flex; flex-direction: column; gap: 6px; transition: transform .3s ease; }
.pdf-doc.pdf-2 { height: 60px; opacity: .6; transform: rotate(-4deg) translateY(4px); }
.cap-card:hover .pdf-doc { transform: translateY(-4px) rotate(-1deg); }
.cap-card:hover .pdf-doc.pdf-2 { transform: rotate(-6deg) translateY(2px); }
.pdf-badge { position: absolute; top: 8px; left: 10px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: var(--down); letter-spacing: .04em; }
.pdf-doc .pl { height: 5px; border-radius: 3px; background: var(--card-elevated); }
.pl.w1 { width: 90%; } .pl.w2 { width: 65%; } .pl.w3 { width: 78%; }

/* chain insights bars */
.cap-chains { display: flex; flex-direction: column; gap: 10px; }
.ci-row { display: flex; align-items: center; gap: 10px; font-size: var(--text-xs); }
.ci-name { width: 62px; flex: none; color: var(--fg-muted); }
.ci-track { flex: 1; height: 8px; background: var(--bg); border-radius: var(--r-pill); overflow: hidden; }
.ci-track b { display: block; height: 100%; width: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--primary), var(--primary-bright)); transition: width 1s cubic-bezier(.16,1,.3,1); }
.cap-card.in .ci-track b { width: var(--w); }

/* ---- Category rotation panel ---- */
.rotation-panel { margin-top: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; }
.rot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.rot-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--fg); font-weight: 600; }
.rot-sub { font-size: var(--text-xs); color: var(--fg-subtle); }
.rot-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rot-skeleton { height: 70px; border-radius: var(--r); background: linear-gradient(90deg, var(--card-elevated) 25%, var(--border) 50%, var(--card-elevated) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.rot-item { border: 1px solid var(--border); border-radius: var(--r); padding: 14px; background: var(--bg); opacity: 0; transform: translateY(10px); }
.rot-item.show { animation: glIn .5s forwards; }
.rot-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.rot-name { font-size: var(--text-sm); font-weight: 600; color: var(--fg); }
.rot-chg { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; }
.rot-chg.up { color: var(--up); } .rot-chg.down { color: var(--down); }
.rot-track { height: 6px; border-radius: var(--r-pill); background: var(--card-elevated); overflow: hidden; }
.rot-track b { display: block; height: 100%; width: 0; border-radius: var(--r-pill); transition: width 1s cubic-bezier(.16,1,.3,1); }
.rot-track b.up { background: linear-gradient(90deg, var(--primary), var(--up)); }
.rot-track b.down { background: linear-gradient(90deg, var(--down), #ff88a0); }
.rot-meta { margin-top: 8px; font-size: 11px; color: var(--fg-subtle); font-family: var(--font-mono); }

@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .aurora-glow, .live-dot, .bl-skeleton span, .gl-item { animation: none; }
  .gl-item { opacity: 1; transform: none; }
  .cs-caret, .al-dot { animation: none; }
  .cap-card .dd-item, .cap-card .al-item, .cap-card .cs-results span, .rot-item { opacity: 1; transform: none; animation: none; }
  .cap-bars span { height: var(--h); }
  .ci-track b { width: var(--w); }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.b-wide { grid-column: span 2; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat-cell:last-child { grid-column: span 2; }
  .rot-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell.b-wide { grid-column: span 1; }
  .gl-wrap { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band .stat-cell:last-child { grid-column: span 2; }
  .rot-list { grid-template-columns: 1fr; }
}
