/* ================================================================
   WeTradEX — landing v2
   Baseado no modelo de referência do usuário + seções extras
   Paleta: dark azul-elétrico + cyan
   ================================================================ */
:root {
  --bg: #050911;
  --bg2: #07111e;
  --panel: rgba(13, 27, 47, 0.74);
  --panel2: rgba(8, 20, 37, 0.92);
  --line: rgba(133, 210, 255, 0.12);
  --line2: rgba(255, 255, 255, 0.07);
  --text: #f5f8fc;
  --muted: #8fa1b7;
  --cyan: #27d3f2;
  --blue: #316bff;
  --metal: #8ec4e8;
  --green: #11d68d;
  --red: #ff5570;
  --amber: #ffb545;
  --gold: #d9b76a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: Inter, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 2%, rgba(49, 107, 255, 0.14), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(39, 211, 242, 0.09), transparent 22%),
    linear-gradient(180deg, #03060b 0%, #06101b 42%, #071221 100%);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grid-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
  z-index: -1;
}
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: -1;
}
.orb.a { width: 320px; height: 320px; background: rgba(25, 149, 255, 0.14); left: -120px; top: 10%; }
.orb.b { width: 380px; height: 380px; background: rgba(39, 211, 242, 0.08); right: -170px; top: 42%; }
.orb.c { width: 400px; height: 400px; background: rgba(49, 107, 255, 0.06); left: 30%; top: 130%; }

.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

/* ============ TOP CHROME (ticker + nav) ============ */
.top-chrome {
  position: sticky; top: 0; z-index: 50;
}
.ticker {
  height: 36px;
  overflow: hidden;
  border-bottom: 1px solid rgba(133, 210, 255, 0.1);
  background: rgba(3, 8, 16, 0.96);
  backdrop-filter: blur(16px);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  height: 36px;
  width: max-content;
  animation: tickerSlide 42s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font: 700 11px var(--mono);
  white-space: nowrap;
  color: #d8e6f5;
  font-variant-numeric: tabular-nums;
}
.ticker-item b { color: #9fb3c8; letter-spacing: 0.06em; font-weight: 700; }
.ticker-item em { font-style: normal; color: #e8f2fb; }
.ticker-item .chg { font-size: 10px; }
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============ NAV ============ */
.nav-wrap {
  padding: 12px 0 16px;
  background: linear-gradient(180deg, rgba(3, 6, 11, 0.94), rgba(3, 6, 11, 0.2), transparent);
  backdrop-filter: blur(8px);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 11px 14px 11px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 13, 24, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: #fff;
}
.mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #0d1e35, #06101d);
  border: 1px solid rgba(98, 212, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 24px rgba(39, 211, 242, 0.15);
  overflow: hidden;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  width: 21px; height: 25px;
  border: 2px solid var(--cyan);
  transform: skew(-15deg);
  clip-path: polygon(0 0, 28% 0, 50% 68%, 72% 0, 100% 0, 66% 100%, 41% 100%);
}
.mark::after {
  border-color: var(--blue);
  transform: translate(3px, 2px) skew(-15deg);
  opacity: 0.8;
}
.brand strong { font-size: 20px; letter-spacing: -0.03em; }
.brand strong span {
  background: linear-gradient(90deg, var(--cyan), #66c8ff, var(--blue));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #a8b6c7; text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 10px 12px; border-radius: 10px; transition: 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Language selector — dropdown to fit 9 languages without crowding the nav */
.lang-toggle {
  position: relative;
  margin-right: 4px;
}
.lang-toggle .lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 9px 7px 11px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  color: #d1eeff;
  font: 700 11px var(--mono, 'Space Mono', monospace);
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-toggle .lang-current:hover {
  border-color: rgba(39, 211, 242, 0.35);
  background: rgba(39, 211, 242, 0.06);
}
.lang-toggle .lang-caret {
  font-size: 9px;
  opacity: 0.65;
  transform: translateY(1px);
}
.lang-toggle.open .lang-caret { transform: rotate(180deg) translateY(-1px); }

.lang-toggle .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  margin: 0; padding: 6px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: rgba(6, 13, 24, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
  max-height: 60vh;
  overflow-y: auto;
}
.lang-toggle.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-toggle .lang-menu li { margin: 0; }
.lang-toggle .lang-menu button {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d9e6f5;
  font: 500 13px var(--font, Inter, sans-serif);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.lang-toggle .lang-menu button b {
  font: 700 10px var(--mono, 'Space Mono', monospace);
  letter-spacing: 0.10em;
  color: #8fa1b7;
  min-width: 22px;
  transition: color 0.12s ease;
}
.lang-toggle .lang-menu button span {
  flex: 1;
  color: #d9e6f5;
}
.lang-toggle .lang-menu button:hover {
  background: rgba(39, 211, 242, 0.08);
}
.lang-toggle .lang-menu button:hover b { color: var(--cyan); }
.lang-toggle .lang-menu button.active {
  background: linear-gradient(90deg, rgba(39, 211, 242, 0.14), rgba(49, 107, 255, 0.14));
}
.lang-toggle .lang-menu button.active b { color: var(--cyan); }

.btn {
  border: 0; border-radius: 12px;
  min-height: 44px; padding: 0 18px;
  font: 700 13px var(--font);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost {
  color: #d9e6f5;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.035);
}
.btn.login {
  color: #d1eeff;
  border: 1px solid rgba(39, 211, 242, 0.32);
  background: linear-gradient(180deg, rgba(39, 211, 242, 0.06), rgba(39, 211, 242, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.btn.login:hover {
  border-color: rgba(39, 211, 242, 0.55);
  background: linear-gradient(180deg, rgba(39, 211, 242, 0.12), rgba(39, 211, 242, 0.04));
  color: #eaf6ff;
}
.btn.primary {
  color: #04101c;
  background: linear-gradient(100deg, #27d3f2, #45a7ff 48%, #316bff);
  box-shadow: 0 14px 34px rgba(39, 164, 242, 0.22);
}
.btn.demo {
  color: #cdfff0;
  border: 1px solid rgba(17, 214, 141, 0.42);
  background: linear-gradient(180deg, rgba(17, 214, 141, 0.14), rgba(17, 214, 141, 0.04));
  position: relative;
}
.btn.demo::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  margin-right: 9px;
  animation: pulse 1.6s ease-in-out infinite;
}
.btn.demo:hover {
  border-color: rgba(17, 214, 141, 0.65);
  background: linear-gradient(180deg, rgba(17, 214, 141, 0.20), rgba(17, 214, 141, 0.06));
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

/* CTA-note under the CTA cluster */
.cta-note {
  margin-top: 18px;
  text-align: center;
  font: 500 12px/1.5 'Space Mono', monospace;
  color: #7fa4c8;
  letter-spacing: 0.04em;
}
.menu {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff; font-size: 20px;
}

/* ============ HERO ============ */
.hero {
  padding: 62px 0 64px;
  position: relative;
  min-height: 760px;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: 42px;
  align-items: stretch;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: #75ddf5;
  font: 700 11px var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.hero-kicker-live {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 12px;
  padding: 8px 13px 8px 11px;
  border: 1px solid rgba(17, 214, 141, 0.18);
  border-radius: 999px;
  background: rgba(7, 31, 25, 0.48);
  color: #90f5c3;
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-kicker-live::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(17, 214, 141, 0.52);
  animation: pulse 1.8s infinite;
}
.hero h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 14px 0 14px;
  max-width: 520px;
}
.grad {
  background: linear-gradient(90deg, #2bd7f3 5%, #48a8ff 55%, #4266ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 16px; line-height: 1.6;
  color: #a4b3c5; max-width: 440px;
}
.hero p strong { color: #eef7ff; }
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 20px;
}
.hero-actions .btn { min-height: 52px; padding: 0 24px; }
.trust-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 18px;
  color: #75869a;
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(17, 214, 141, 0.7);
}

.hero-accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 460px;
  margin-top: 18px;
}
.hero-account {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: rgba(8, 18, 32, 0.7);
  min-height: 68px;
  justify-content: center;
}
.hero-account small {
  font: 700 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7f93a8;
}
.hero-account strong { font-size: 16px; letter-spacing: -0.03em; color: #f3f8fd; }
.hero-account.live {
  border-color: rgba(39, 211, 242, 0.35);
  background: linear-gradient(180deg, rgba(39, 211, 242, 0.12), rgba(8, 18, 32, 0.8));
}
.hero-account.demo {
  border-color: rgba(17, 214, 141, 0.3);
  background: linear-gradient(180deg, rgba(17, 214, 141, 0.1), rgba(8, 18, 32, 0.8));
}
.hero-account:hover { transform: translateY(-2px); }

.hero-quotes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin-top: 14px;
}
.hero-quote {
  padding: 10px 10px 9px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: rgba(6, 16, 28, 0.72);
  min-width: 0;
}
.hero-quote b {
  display: block;
  font: 700 9px var(--mono);
  color: #7e93a8;
  letter-spacing: 0.08em;
}
.hero-quote em {
  display: block;
  margin-top: 4px;
  font: 700 12px/1.2 var(--mono);
  font-style: normal;
  color: #eef6ff;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-quote .chg { font: 700 10px var(--mono); }
.hero-quote:hover { border-color: rgba(39, 211, 242, 0.28); }

.hero-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin-top: 12px;
}
.hero-spec div {
  padding: 10px 8px;
  border-top: 1px solid rgba(39, 211, 242, 0.16);
}
.hero-spec strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.hero-spec span {
  display: block;
  margin-top: 3px;
  color: #75869a;
  font: 700 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- X-BOT terminal ---- */
.terminal {
  position: relative;
  padding: 0; overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(94, 200, 255, 0.16);
  border-radius: 18px;
  background: #07111e;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.terminal::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(39, 211, 242, 0.45), transparent 28%, transparent 68%, rgba(49, 107, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.wbot-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(15, 29, 49, 0.94), rgba(8, 18, 32, 0.9));
}
.wbot-id { display: flex; align-items: center; gap: 11px; }
.wbot-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(39, 211, 242, 0.28));
}
.wbot-id strong { display: block; font-size: 14px; letter-spacing: -0.02em; }
.wbot-id small {
  display: block; margin-top: 3px;
  color: #71849a;
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
}
.wbot-state { text-align: right; }
.wbot-state b {
  display: flex; justify-content: flex-end; align-items: center; gap: 7px;
  color: #90f5c3;
  font: 700 10px var(--mono);
}
.wbot-state b::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(17, 214, 141, 0.75);
}
.wbot-state span {
  display: block; margin-top: 5px;
  color: #687d94; font: 700 9px var(--mono);
}

.market-head {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 10px;
  padding: 13px 14px 8px;
}
.pair-box, .engine-box {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}
.pair-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pair-top span { color: #73869d; font: 700 9px var(--mono); }
.pair-top em { font-style: normal; color: #89f2bf; font: 700 9px var(--mono); }
.pair-price {
  margin-top: 8px;
  font: 700 26px var(--mono);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.pair-change { margin-top: 6px; font: 700 10px var(--mono); color: var(--green); }
.pair-price-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
}
.quote-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6f849c;
  font: 700 8px var(--mono);
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.quote-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 9px rgba(255, 181, 69, 0.65);
}
.quote-status.live { color: #7fe7af; }
.quote-status.live i {
  background: var(--green);
  box-shadow: 0 0 10px rgba(17, 214, 141, 0.8);
  animation: pulse 1.6s infinite;
}
.quote-status.fallback { color: #d4ad72; }
.quote-status.offline { color: #ff8ea0; }
.quote-status.offline i {
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 85, 112, 0.6);
}
.pair-price.price-tick-up { animation: priceTickUp 0.55s ease; }
.pair-price.price-tick-down { animation: priceTickDown 0.55s ease; }
@keyframes priceTickUp {
  35% { color: #8df2bd; text-shadow: 0 0 18px rgba(17, 214, 141, 0.38); }
}
@keyframes priceTickDown {
  35% { color: #ff8ea0; text-shadow: 0 0 18px rgba(255, 85, 112, 0.35); }
}
.engine-box span { display: block; color: #73869d; font: 700 9px var(--mono); text-transform: uppercase; }
.engine-box strong { display: block; margin-top: 8px; font: 800 17px var(--font); }
.engine-box small { display: block; margin-top: 7px; color: #76dff7; font: 700 9px var(--mono); }

.live-chart {
  position: relative;
  height: 340px;
  flex: 1;
  min-height: 280px;
  margin: 6px 14px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: #07111e;
}
.live-chart canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.chart-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 72px;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(39, 211, 242, 0.22));
}
.live-chart .chart-watermark { height: 58px; max-width: 46%; }
.wx-stage .chart-watermark { height: 78px; }
.tv-chart .chart-watermark { height: 86px; z-index: 3; }
.candle-layer {
  position: absolute; inset: 14px 18px 26px;
  display: flex; align-items: flex-end; gap: 8px;
}
.candle { position: relative; flex: 1; min-width: 6px; height: 100%; }
.candle i {
  position: absolute; left: 50%;
  width: 1px; background: currentColor;
  transform: translateX(-50%); opacity: 0.8;
}
.candle b {
  position: absolute; left: 50%;
  width: min(10px, 70%); min-width: 5px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: currentColor;
  box-shadow: 0 0 12px color-mix(in srgb, currentColor 25%, transparent);
}
.candle.up { color: var(--green); }
.candle.down { color: var(--red); }
.bot-scan,
.bot-crosshair { display: none; }
.bot-crosshair::before, .bot-crosshair::after {
  content: ""; position: absolute; background: rgba(39, 211, 242, 0.32);
}
.bot-crosshair::before { width: 80px; height: 1px; left: -34px; top: 5px; }
.bot-crosshair::after { width: 1px; height: 80px; left: 5px; top: -34px; }
.order-pop {
  position: absolute; left: 12px; top: 12px;
  z-index: 4;
  min-width: 184px;
  padding: 11px 12px;
  border: 1px solid rgba(17, 214, 141, 0.2);
  border-radius: 8px;
  background: rgba(5, 21, 19, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  animation: orderFloat 4.8s ease-in-out infinite;
}
.order-pop span { display: block; color: #6c8b7f; font: 700 8px var(--mono); letter-spacing: 0.08em; }
.order-pop strong { display: block; margin-top: 6px; color: #c7ffe2; font: 700 12px var(--mono); }
.order-pop small { display: block; margin-top: 5px; color: #7fe7af; font: 700 9px var(--mono); }
.chart-axis {
  position: absolute; left: 18px; right: 18px; bottom: 9px;
  display: flex; justify-content: space-between;
  color: #566b82; font: 700 8px var(--mono);
}
.bot-log {
  margin: 10px 14px 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(2, 9, 17, 0.66);
  height: 86px; overflow: hidden;
}
.log-line {
  display: grid; grid-template-columns: 58px 1fr auto;
  gap: 10px; align-items: center;
  min-height: 24px;
  font: 700 9px var(--mono);
}
.log-line time { color: #52677d; }
.log-line span { color: #9eb0c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-line b { color: #72edac; }
.log-line.short b { color: #ff8193; }
.wbot-bottom {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 10px 14px 14px;
}
.wbot-metric {
  padding: 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.035);
}
.wbot-metric span {
  display: block;
  color: #65798f; font: 700 8px var(--mono);
  text-transform: uppercase;
}
.wbot-metric strong { display: block; margin-top: 7px; font: 700 13px var(--mono); }
.up { color: var(--green); }
.down { color: var(--red); }

/* ============ TRUST BAND ============ */
.stats-band {
  padding: 24px 0;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  background: rgba(3, 10, 20, 0.4);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 18px 28px; border-right: 1px solid var(--line2); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat span {
  display: block;
  color: #76899e; font: 700 10px var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.stat strong { display: block; margin-top: 9px; font-size: 30px; letter-spacing: -0.04em; }

/* ============ SECTIONS ============ */
section { padding: 94px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1; letter-spacing: -0.055em;
  margin: 18px 0 0;
}
.section-head p {
  color: #93a4b7; line-height: 1.8; font-size: 16px; margin: 0;
}
.section-head.section-head-center {
  display: block;
  width: 100%;
  margin-bottom: 36px;
  text-align: center;
}
.section-head.section-head-center h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: none;
}
.section-head.section-head-center.section-head-lg h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

/* ============ MARKET OVERVIEW ============ */
.market-overview {
  padding-top: 38px; padding-bottom: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(3, 10, 18, 0.36), rgba(6, 17, 29, 0.56));
}
.market-overview-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 18px;
}
.market-overview-head h3 {
  margin: 8px 0 0;
  font-size: 29px; letter-spacing: -0.04em; line-height: 1.08;
}
.market-overview-head p {
  margin: 0; color: #758aa1; font: 700 10px var(--mono);
}
.market-board {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 14px;
}
.market-table, .bot-activity {
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 26, 46, 0.74), rgba(6, 16, 30, 0.9));
  overflow: hidden;
}
.market-row {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.7fr 0.85fr 0.7fr;
  gap: 10px; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font: 700 11px var(--mono);
}
.market-row:last-child { border-bottom: 0; }
.market-row.head {
  color: #5f738a;
  font-size: 8px; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.018);
}
.asset { display: flex; align-items: center; gap: 10px; }
.asset-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 11px var(--font);
  background: linear-gradient(145deg, rgba(39, 211, 242, 0.18), rgba(49, 107, 255, 0.22));
  border: 1px solid rgba(95, 201, 255, 0.15);
}
.market-row .price, .market-row .chg, .market-row .vol, .market-row .signal { text-align: right; }
.market-row .vol { color: #b7c9dc; font-variant-numeric: tabular-nums; }
.signal-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 60px; height: 26px;
  border-radius: 999px;
  font: 700 8px var(--mono);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  color: #88a0b9;
  font-style: normal;
}
.signal-pill.long {
  color: #8df2bd;
  border-color: rgba(17, 214, 141, 0.16);
  background: rgba(17, 214, 141, 0.07);
}
.signal-pill.watch {
  color: #81ddf5;
  border-color: rgba(39, 211, 242, 0.15);
  background: rgba(39, 211, 242, 0.06);
}

.bot-activity { padding: 16px; }
.bot-activity-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 13px;
}
.bot-activity-top strong { font-size: 14px; }
.bot-activity-top span { color: #85f0b8; font: 700 9px var(--mono); }
.activity-feed { display: grid; gap: 8px; }
.activity-item {
  display: grid; grid-template-columns: 8px 1fr auto;
  gap: 10px; align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.activity-item i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(39, 211, 242, 0.45);
}
.activity-item.long i { background: var(--green); box-shadow: 0 0 12px rgba(17, 214, 141, 0.45); }
.activity-item.short i { background: var(--red); box-shadow: 0 0 12px rgba(255, 85, 112, 0.45); }
.activity-item span { font: 700 9px var(--mono); color: #94a8bd; }
.activity-item b { font: 700 9px var(--mono); color: #d8e8f8; }
.bot-command-strip {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(39, 211, 242, 0.11);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(39, 211, 242, 0.05), rgba(49, 107, 255, 0.05));
  font: 700 9px var(--mono); color: #6e849a;
}
.bot-command-strip b { color: #85eaff; }

/* ============ TRADINGVIEW DESK ============ */
.tv-desk { margin-top: 22px; }
.tv-desk-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.tv-desk-head h3 {
  margin: 8px 0 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.tv-desk-head p {
  margin: 0;
  color: #758aa1;
  font: 700 10px var(--mono);
}
.tv-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: 12px;
  margin-bottom: 12px;
}
.tv-desk-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 640px;
  min-height: 0;
}
.tv-widget-frame {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 18px;
  overflow: hidden;
  background: #07111e;
}
.tv-brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(133, 210, 255, 0.1);
  background: linear-gradient(180deg, rgba(8, 20, 36, 0.98), rgba(6, 14, 26, 0.96));
}
.tv-brandbar-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(39, 211, 242, 0.28));
}
.tv-brandbar span {
  flex: 1;
  min-width: 0;
  font: 700 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe6f8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-brandbar b {
  font: 800 9px var(--mono);
  color: #8df2bd;
  letter-spacing: 0.1em;
}
.tv-widget-frame .tradingview-widget-container { flex: 1; min-height: 0; }
.tv-widget-chart { height: 640px; }
.tv-widget-ta { height: 640px; }
.tv-desk-side .tv-widget-book,
.tv-desk-side .tv-widget-trades { height: auto; min-height: 0; }
.tv-desk-side .tv-widget-book { flex: 1.4; }
.tv-desk-side .tv-widget-trades { flex: 1; }
.tv-desk-side .tv-brandbar { min-height: 38px; padding: 6px 10px; }
.tv-desk-side .book-lvl {
  padding: 2px 6px;
  font-size: 9px;
}
.tv-desk-side .tv-book-spread > b { font-size: 14px; }
.tv-desk-side .tv-book-spread { padding: 6px; margin: 2px 0; }

.wx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wx-pairs, .wx-tfs { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-pairs button, .wx-tfs button {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #9fb3c8;
  border-radius: 8px;
  padding: 6px 9px;
  font: 700 10px var(--mono);
  cursor: pointer;
}
.wx-pairs button.active, .wx-tfs button.active {
  color: #04101c;
  background: linear-gradient(100deg, #27d3f2, #316bff);
  border-color: transparent;
}
.wx-ohlc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 8px 12px;
  font: 700 10px var(--mono);
  color: #7f93a8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wx-ohlc strong { color: #e8f3fb; margin-right: 6px; }
.wx-ohlc b { color: #d8e8f8; font-variant-numeric: tabular-nums; }
.wx-stage {
  position: relative;
  flex: 1;
  min-height: 360px;
  background: #07111e;
}
.wx-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.wx-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 78px;
  width: auto;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(39, 211, 242, 0.2));
}
.wx-ta-body { padding: 18px 16px 16px; }
.wx-gauge {
  text-align: center;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}
.wx-gauge-arc {
  height: 10px;
  border-radius: 999px;
  margin: 0 8px 14px;
  background: linear-gradient(90deg, #ff5570, #ffb545, #11d68d);
  position: relative;
}
.wx-gauge-arc::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: #f5f8fc;
  left: var(--needle, 50%);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
.wx-gauge strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.wx-gauge small { display: block; margin-top: 6px; color: #7f93a8; font: 700 11px var(--mono); }
.wx-ta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font: 700 12px var(--font);
  color: #8fa1b7;
}
.wx-ta-row b { font: 700 12px var(--mono); color: #d8e8f8; }
.wx-ta-row b.up { color: #8df2bd; }
.wx-ta-row b.down { color: #ff8ea0; }
.wx-ta-note {
  margin-top: 14px;
  color: #6d8298;
  font-size: 12px;
  line-height: 1.5;
}
.tradingview-widget-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 500 10px var(--font);
  text-align: center;
  padding: 6px 8px 8px;
  color: #6d8298;
}
.tradingview-widget-copyright a { color: #75ddf5; }
.tv-credit-logo {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.92;
}

/* ============ TRADING CONDITIONS ============ */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.condition-card {
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 34, 54, 0.58), rgba(8, 16, 28, 0.46));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  min-height: 220px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.condition-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 211, 242, 0.28);
  box-shadow: 0 20px 44px rgba(0, 12, 28, 0.28);
}
.condition-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.condition-card small {
  display: block;
  color: #6f8aa3;
  font: 700 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.condition-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7fe6f8;
  background: radial-gradient(circle at 30% 30%, rgba(39, 211, 242, 0.2), rgba(49, 107, 255, 0.08));
  border: 1px solid rgba(39, 211, 242, 0.18);
}
.condition-ico svg { width: 20px; height: 20px; }
.condition-card strong {
  display: block;
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.condition-card p {
  margin: 0;
  color: #93a4b7;
  font-size: 14px;
  line-height: 1.6;
}

/* ============ DESK PRODUCTS ============ */
.product-list {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.72), rgba(7, 15, 26, 0.88));
}
.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease;
}
.product-row:last-child { border-bottom: 0; }
.product-row:hover { background: rgba(39, 211, 242, 0.05); }
.product-row em {
  font: 700 22px var(--mono);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #7fe6f8, #4a7dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-row-copy h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.product-row-copy p {
  margin: 0;
  max-width: 640px;
  color: #93a4b7;
  font-size: 14px;
  line-height: 1.6;
}
.product-row > span {
  font: 700 12px var(--mono);
  color: #8feaff;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(39, 211, 242, 0.2);
  background: rgba(39, 211, 242, 0.08);
}
.product-row:hover > span {
  border-color: rgba(39, 211, 242, 0.4);
  background: rgba(39, 211, 242, 0.14);
}

/* ============ ECOSYSTEM ============ */
.eco-kicker {
  margin: 0 0 12px;
  text-align: center;
  color: var(--metal);
  font: 600 13px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
}
.eco-item { min-width: 0; }
.eco-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #d7eef8;
  background: linear-gradient(145deg, rgba(176, 214, 236, 0.28), rgba(49, 107, 255, 0.18));
  border: 1px solid rgba(158, 204, 232, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.eco-ico svg { width: 22px; height: 22px; }
.eco-item small {
  display: block;
  margin-bottom: 8px;
  color: #848e9c;
  font: 600 12px var(--font);
}
.eco-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.eco-item p {
  margin: 0;
  color: #848e9c;
  font-size: 14px;
  line-height: 1.7;
}

/* ============ FEATURE / NETWORK CARDS ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.7), rgba(7, 18, 33, 0.86));
  border: 1px solid var(--line2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: 0.3s;
}
.card:hover { border-color: rgba(39, 211, 242, 0.25); transform: translateY(-3px); }
.card::after {
  content: "";
  position: absolute; inset: auto -35% -55% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(49, 107, 255, 0.08);
  filter: blur(30px);
}
.icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 20px;
  background: linear-gradient(145deg, #2a63ff, #25d7ef);
  box-shadow: 0 12px 30px rgba(39, 150, 242, 0.18);
  color: #04101c;
}
.card h3 { font-size: 21px; margin: 24px 0 12px; letter-spacing: -0.03em; }
.card p { margin: 0; color: #8ea0b4; line-height: 1.7; font-size: 14px; }
.card small {
  display: block; margin-top: 22px;
  color: #66d9f2; font: 700 10px var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============ X-BOT SECTION ============ */
.bot-section { position: relative; }
.bot-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 14px; }
.bot-copy {
  min-height: 530px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bot-copy h2 {
  font-size: clamp(46px, 5.5vw, 74px);
  letter-spacing: -0.06em; line-height: 0.94;
  margin: 20px 0;
}
.bot-copy p { color: #95a6b8; line-height: 1.75; }
.bot-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bot-kpi {
  padding: 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line2);
}
.bot-kpi span { display: block; color: #6e8198; font-size: 10px; text-transform: uppercase; }
.bot-kpi strong { display: block; margin-top: 8px; font: 700 20px var(--mono); }
.bot-screen { padding: 18px; }
.terminal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 4px 14px;
  color: #6f849b;
  font: 700 10px var(--mono);
  letter-spacing: 0.08em;
}
.live { color: #71e8af; display: flex; align-items: center; gap: 7px; }
.live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(17, 214, 141, 0.5);
  animation: pulse 1.8s infinite;
}
.chart {
  height: 360px; margin-top: 6px;
  position: relative; overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(16, 45, 65, 0.14), rgba(3, 12, 23, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart .scan {
  position: absolute; inset: 0 auto 0 -30%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(47, 215, 242, 0.17), transparent);
  animation: scan 4.5s linear infinite;
}
.chart-badge {
  position: absolute; left: 14px; top: 14px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(5, 13, 24, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.chart-badge span { display: block; color: #7e8fa3; font-size: 9px; text-transform: uppercase; }
.chart-badge strong { display: block; margin-top: 4px; font: 700 14px var(--mono); color: #b9f6ff; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.flow-item { padding: 22px; border-left: 1px solid rgba(39, 211, 242, 0.25); }
.flow-num { font: 700 12px var(--mono); color: var(--cyan); }
.flow-item h4 { font-size: 19px; margin: 15px 0 10px; }
.flow-item p { color: #8799ad; line-height: 1.65; font-size: 13px; margin: 0; }

/* ============ PACKAGES ============ */
.package-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.package {
  padding: 24px 18px;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(13, 30, 51, 0.86), rgba(6, 17, 31, 0.95));
  border: 1px solid var(--line2);
  position: relative;
  min-height: 390px;
  display: flex; flex-direction: column;
  transition: 0.25s;
}
.package:hover { border-color: rgba(39, 211, 242, 0.3); transform: translateY(-4px); }
.package.featured {
  border-color: rgba(39, 211, 242, 0.42);
  box-shadow: 0 20px 55px rgba(22, 134, 218, 0.16), inset 0 0 0 1px rgba(49, 107, 255, 0.12);
  transform: translateY(-12px);
  background: linear-gradient(180deg, rgba(22, 51, 92, 0.92), rgba(7, 23, 42, 0.98));
}
.package.featured:hover { transform: translateY(-16px); }
.premium-tag {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #03101a;
  font: 800 9px var(--mono);
  text-transform: uppercase;
}
.package .type {
  font: 700 9px var(--mono);
  color: #5bd7ef;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.package h3 { font-size: 22px; margin: 12px 0 8px; }
.term { color: #6f8197; font: 700 9px var(--mono); text-transform: uppercase; }
.yield {
  margin: 28px 0 22px; padding: 20px 0;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}
.yield span { display: block; color: #6d8097; font-size: 9px; text-transform: uppercase; }
.yield strong {
  display: block; margin-top: 8px;
  font: 700 35px var(--mono);
  color: #3bd8f2;
}
.package.featured .yield strong { color: #66eaff; }
.package ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; color: #8fa0b4; font-size: 12px; }
.package li::before { content: '›'; color: var(--cyan); margin-right: 7px; }
.notice {
  margin-top: 24px; padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 181, 69, 0.22);
  background: rgba(255, 181, 69, 0.06);
  color: #c9b78d; font-size: 12px; line-height: 1.6;
}

/* ============ PAINEL MOCK ============ */
.panel-showcase {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px;
  align-items: center;
}
.panel-mock {
  border: 1px solid rgba(94, 200, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 29, 51, 0.82), rgba(7, 18, 32, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}
.panel-mock::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(39, 211, 242, 0.4), transparent 50%, rgba(49, 107, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.panel-mock-top {
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(15, 29, 49, 0.94), rgba(8, 18, 32, 0.9));
}
.pm-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.pm-tabs span {
  padding: 6px 12px;
  border-radius: 8px;
  font: 700 10px var(--mono);
  text-transform: uppercase;
  color: #758aa1;
  letter-spacing: 0.05em;
}
.pm-tabs span.active { background: rgba(39, 211, 242, 0.12); color: #8ff0ff; }
.pm-user { display: flex; align-items: center; gap: 10px; }
.pm-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  color: #04111b;
  display: grid; place-items: center;
  font: 800 15px var(--font);
}
.pm-user b { display: block; font-size: 12px; font-weight: 700; }
.pm-user small { color: #758aa1; font: 700 9px var(--mono); letter-spacing: 0.05em; }

.panel-mock-body { padding: 18px; }
.pm-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pm-kpi {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line2);
}
.pm-kpi span {
  display: block;
  color: #758aa1; font: 700 8px var(--mono);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pm-kpi strong { display: block; margin-top: 7px; font: 700 18px var(--mono); letter-spacing: -0.02em; white-space: nowrap; }
.pm-kpi-value { font-size: 17px !important; }
.pm-kpi small { display: block; margin-top: 4px; color: #758aa1; font: 700 9px var(--mono); }
.pm-kpi small.up { color: var(--green); }

.pm-progress {
  margin-top: 14px; padding: 14px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.pm-progress-head {
  display: flex; justify-content: space-between; align-items: center;
  font: 700 10px var(--mono);
  color: #93a4b7;
  margin-bottom: 10px;
}
.pm-progress-head b { color: var(--cyan); font-size: 12px; }
.pm-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.pm-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(39, 211, 242, 0.3);
}
.pm-progress-foot {
  margin-top: 10px;
  display: flex; justify-content: space-between;
  color: #667d94; font: 700 9px var(--mono);
}

.pm-split { margin-top: 14px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.pm-chart, .pm-orders {
  padding: 14px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.pm-chart-head, .pm-orders-head {
  display: flex; justify-content: space-between; align-items: center;
  font: 700 10px var(--mono); color: #758aa1;
  margin-bottom: 10px;
}
.pm-chart-head b, .pm-orders-head b { font-size: 11px; }
.pm-chart svg { width: 100%; height: 120px; }
.pm-order {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 8px; align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font: 700 10px var(--mono);
}
.pm-order:first-of-type { border-top: 0; }
.pm-order span { color: #d8e6f5; }
.pm-order em {
  font-style: normal;
  font-size: 8px; padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #758aa1;
}
.pm-order em.long { background: rgba(17, 214, 141, 0.1); color: #8df2bd; }
.pm-order em.short { background: rgba(255, 85, 112, 0.1); color: #ff8ea0; }
.pm-order em.watch { background: rgba(39, 211, 242, 0.1); color: #8feaff; }

.panel-features { display: flex; flex-direction: column; gap: 20px; }
.feature-row {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
  align-items: start;
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  background: linear-gradient(145deg, rgba(39, 211, 242, 0.14), rgba(49, 107, 255, 0.18));
  border: 1px solid rgba(87, 216, 255, 0.15);
}
.feature-row h4 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.01em; }
.feature-row p { margin: 0; color: #93a4b7; font-size: 14px; line-height: 1.6; }

/* ============ TRADERS ============ */
.traders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trader-card {
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.7), rgba(7, 18, 33, 0.86));
  overflow: hidden;
  transition: 0.3s;
}
.trader-card:hover { border-color: rgba(39, 211, 242, 0.3); transform: translateY(-3px); }
.trader-avatar { position: relative; aspect-ratio: 1; overflow: hidden; }
.trader-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.trader-verified {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 13, 24, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(39, 211, 242, 0.2);
  color: #8feaff;
  font: 700 9px var(--mono);
  letter-spacing: 0.06em;
}
.trader-body { padding: 22px 20px; }
.trader-name { font-size: 20px; letter-spacing: -0.02em; }
.trader-tag { font-size: 11px; color: var(--muted); margin-top: 4px; margin-bottom: 18px; font: 700 10px var(--mono); text-transform: none; letter-spacing: 0.02em; }
.trader-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line2);
}
.trader-stat .v { font: 700 15px var(--mono); color: #8df2bd; }
.trader-stat .v.neu { color: #d8e6f5; }
.trader-stat .k {
  font: 700 8px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ============ STAKING ============ */
.staking-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stake {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 30, 51, 0.78), rgba(7, 18, 32, 0.92));
  border: 1px solid var(--line2);
  transition: 0.3s;
}
.stake:hover { border-color: rgba(39, 211, 242, 0.3); transform: translateY(-3px); }
.coin { display: flex; align-items: center; gap: 12px; }
.coin-i {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 18px var(--mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line2);
}
.coin small {
  display: block;
  color: #66d9ef;
  font: 700 9px var(--mono);
  text-transform: uppercase;
}
.coin strong { display: block; margin-top: 5px; font-size: 14px; }
.apy { margin: 28px 0; font: 700 38px var(--mono); color: #3bd8f2; }
.apy small { display: block; color: #6e8197; font: 700 9px var(--mono); margin-bottom: 9px; }
.stake p { color: #8598ac; font-size: 12px; line-height: 1.75; margin: 0; }

/* ============ CARD CRIPTO ============ */
.card-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.credit-card {
  width: 100%; max-width: 460px;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(39, 211, 242, 0.4), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(217, 183, 106, 0.12), transparent 55%),
    linear-gradient(135deg, #0a1a3b 0%, #05070d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(39, 211, 242, 0.35);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.5s;
}
.credit-card:hover { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.cc-shine {
  position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(39, 211, 242, 0.14), transparent);
  transform: rotate(20deg);
  pointer-events: none;
}
.cc-top { display: flex; justify-content: space-between; align-items: flex-start; z-index: 1; position: relative; }
.cc-brand span {
  display: block;
  font: 800 22px var(--font);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--cyan), #66c8ff, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cc-brand small {
  display: block; margin-top: 4px;
  font: 700 9px var(--mono);
  letter-spacing: 0.2em;
  color: #758aa1;
}
.cc-chip {
  width: 42px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #d9b76a 0%, #7a6640 100%);
  position: relative;
}
.cc-chip::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.3) 32%, transparent 32%, transparent 68%, rgba(0, 0, 0, 0.3) 68%, rgba(0, 0, 0, 0.3) 70%, transparent 70%),
    linear-gradient(0deg, transparent 30%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.3) 32%, transparent 32%, transparent 68%, rgba(0, 0, 0, 0.3) 68%, rgba(0, 0, 0, 0.3) 70%, transparent 70%);
}
.cc-number {
  font: 700 20px var(--mono);
  letter-spacing: 0.14em;
  z-index: 1; position: relative;
}
.cc-bottom { display: flex; justify-content: space-between; align-items: end; z-index: 1; position: relative; }
.cc-holder { font: 700 13px var(--mono); letter-spacing: 0.08em; }
.cc-holder small {
  display: block;
  font: 700 9px var(--mono);
  color: #758aa1;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.cc-net { font: 800 22px var(--font); letter-spacing: -0.01em; text-align: right; }
.cc-net small {
  display: block;
  font: 700 9px var(--mono);
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-top: 0;
}

.card-benefits { list-style: none; padding: 0; margin: 0; }
.card-benefits li {
  padding: 18px 0;
  border-top: 1px solid var(--line2);
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  align-items: start;
}
.card-benefits li:last-child { border-bottom: 1px solid var(--line2); }
.card-benefits b { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.card-benefits p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.cc-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(17, 214, 141, 0.14);
  border: 1px solid rgba(17, 214, 141, 0.35);
  display: grid; place-items: center;
  color: #8df2bd;
  font: 700 12px var(--mono);
}

/* ============ SECURITY ============ */
#security {
  padding: 88px 0 40px;
  position: relative;
}
#security::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 90px;
  width: min(760px, 78%);
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(49, 107, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.sec-stage { position: relative; }
.sec-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(39, 211, 242, 0.18);
  background: rgba(10, 24, 40, 0.6);
  color: #9fe7f7;
  font: 700 11px var(--mono);
  letter-spacing: 0.06em;
}
.sec-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(39, 211, 242, 0.55);
}
.sec-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.sec-tile {
  grid-column: span 2;
  padding: 24px 22px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(18, 34, 54, 0.58), rgba(8, 16, 28, 0.46));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.sec-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 211, 242, 0.28);
  box-shadow: 0 20px 44px rgba(0, 12, 28, 0.28);
}
.sec-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.sec-no {
  color: #6f8aa3;
  font: 700 12px var(--mono);
  letter-spacing: 0.12em;
}
.sec-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7fe6f8;
  background: radial-gradient(circle at 30% 30%, rgba(39, 211, 242, 0.2), rgba(49, 107, 255, 0.08));
  border: 1px solid rgba(39, 211, 242, 0.18);
  box-shadow: 0 0 18px rgba(39, 211, 242, 0.08);
}
.sec-ico svg { width: 22px; height: 22px; }
.sec-tile h4 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.sec-tile p {
  margin: 0;
  color: #93a4b7;
  font-size: 14px;
  line-height: 1.65;
}

/* ============ TRANSPARENCY ============ */
.trans-wrap {
  padding: 60px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(14, 30, 52, 0.7), rgba(7, 18, 33, 0.86));
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.trans-wrap::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(39, 211, 242, 0.35), transparent 50%, rgba(49, 107, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.trans-wrap h2 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05; letter-spacing: -0.045em;
  margin: 18px 0 0;
}
.trans-partners { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.partner-chip {
  padding: 8px 14px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  font: 700 11px var(--mono);
  color: #b8c8dc;
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex; align-items: center; gap: 8px;
}
.partner-chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.trans-checks { list-style: none; padding: 0; margin: 0; }
.trans-checks li {
  padding: 15px 0;
  border-top: 1px solid var(--line2);
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: #d3dfeb;
}
.trans-checks li:last-child { border-bottom: 1px solid var(--line2); }
.tc-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(17, 214, 141, 0.14);
  border: 1px solid rgba(17, 214, 141, 0.35);
  display: grid; place-items: center;
  color: #8df2bd;
  font: 700 12px var(--mono);
  flex-shrink: 0;
}

/* ============ NETWORK ============ */
.network-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.network-card { min-height: 320px; }
.network-card .letter {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  color: #04111b;
  font: 800 16px var(--mono);
}
.network-card h3 {
  font-size: 30px; line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 28px 0 14px;
}
.network-card p { color: #8fa1b4; line-height: 1.7; margin: 0; }
.network-card .link {
  display: inline-block; margin-top: 28px;
  color: #5cdaf0;
  font: 700 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.testimonial {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.55), rgba(7, 18, 33, 0.7));
  border: 1px solid var(--line2);
  display: flex; flex-direction: column; gap: 24px;
  transition: 0.3s;
}
.testimonial:hover { border-color: rgba(39, 211, 242, 0.25); }
.testimonial-quote {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  color: #e6eef8;
  letter-spacing: -0.005em;
  position: relative;
  padding-top: 12px;
}
.testimonial-quote::before {
  content: "\201C";
  position: absolute; top: -20px; left: -6px;
  font-family: var(--serif);
  font-size: 60px;
  color: var(--cyan);
  opacity: 0.4;
  line-height: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line2);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  color: #04111b;
  display: grid; place-items: center;
  font: 800 16px var(--font);
}
.testimonial-name b { display: block; font-size: 14px; font-weight: 700; }
.testimonial-name small { display: block; color: var(--muted); font: 500 11px/1.4 var(--font); margin-top: 3px; }
.testimonial-name em {
  display: block;
  color: rgba(39, 211, 242, 0.72);
  font: 700 9px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -8px;
}
.t-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 214, 141, 0.10);
  border: 1px solid rgba(17, 214, 141, 0.28);
  color: #7bf0c0;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ratings band under the testimonials */
.ratings-band {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  padding: 20px 0;
}
.rating-cell {
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid var(--line2);
}
.rating-cell:last-child { border-right: none; }
.rating-cell b {
  display: block;
  font: 800 26px/1 var(--font);
  color: var(--fg-1, #f5f8fc);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.rating-cell b span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.rating-cell small {
  color: var(--muted);
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ LIQUIDITY PROVIDERS ============ */
#liquidity {
  padding: 94px 0;
  position: relative;
}
#liquidity::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 120px;
  width: min(880px, 80%);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(39, 211, 242, 0.1), transparent 70%);
  pointer-events: none;
}
.lp-stage { position: relative; }
.lp-live-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 214, 141, 0.2);
  background: rgba(7, 31, 25, 0.55);
  color: #90f5c3;
  font: 700 11px var(--mono);
  letter-spacing: 0.06em;
}
.lp-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(17, 214, 141, 0.52);
  animation: pulse 1.8s infinite;
}
.lp-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.lp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(18, 34, 54, 0.62), rgba(8, 16, 28, 0.5));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.lp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 211, 242, 0.28);
  box-shadow: 0 22px 48px rgba(0, 12, 28, 0.32), 0 0 28px rgba(39, 211, 242, 0.08);
}
.lp-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.03);
}
.lp-mark svg { display: block; width: 100%; height: 100%; }
.lp-card strong {
  display: block;
  font: 700 16px/1.2 var(--font);
  letter-spacing: -0.02em;
  color: #f4f8fd;
}
.lp-card > span {
  display: block;
  margin-top: 7px;
  color: #8aa0b6;
  font: 600 12px/1.4 var(--font);
}
.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.lp-metric {
  text-align: center;
  padding: 22px 12px 20px;
  border-radius: 24px;
  border: 1px solid rgba(39, 211, 242, 0.12);
  background: linear-gradient(180deg, rgba(16, 32, 52, 0.5), rgba(8, 16, 28, 0.36));
}
.lp-metric strong {
  display: block;
  font: 800 30px/1 var(--font);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #27d3f2, #7ad4ff, #5b8dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-metric small {
  display: block;
  margin-top: 8px;
  color: #8fa1b7;
  font: 500 13px/1.4 var(--font);
}

.lp-note {
  margin-top: 26px;
  text-align: center;
  font: 400 12px/1.6 var(--font);
  color: #6f849c;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px) {
  .lp-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-band { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .rating-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 720px) {
  .lp-cloud { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-card { padding: 22px 12px 18px; border-radius: 22px; }
  .lp-mark { width: 60px; height: 60px; }
}

/* ============ HOW IT WORKS ============ */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.how-grid::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--cyan));
  opacity: 0.4;
}
.step { padding-right: 34px; position: relative; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  position: relative; z-index: 1;
  display: grid; place-items: center;
  background: #092035;
  border: 1px solid rgba(39, 211, 242, 0.32);
  box-shadow: 0 0 25px rgba(39, 211, 242, 0.12);
  font: 700 13px var(--mono);
  color: #8deaf9;
}
.step h3 { font-size: 18px; margin: 25px 0 10px; letter-spacing: -0.02em; }
.step p { color: #8496aa; font-size: 13px; line-height: 1.7; margin: 0; }

/* ============ FAQ ============ */
.faq-grid { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line2);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line2); }
.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  color: #eaf1fa;
  font: 500 17px var(--font);
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: #8feaff; }
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line2);
  display: grid; place-items: center;
  color: #93a4b7;
  font: 700 16px var(--mono);
  transition: 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-color: transparent;
  color: #04101c;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.2s;
}
.faq-a p {
  margin: 0;
  padding: 0 60px 24px 0;
  color: #a4b3c5;
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ============ CTA FINAL ============ */
.cta-section { padding: 110px 0; }
.cta-box {
  padding: 70px;
  border-radius: 32px;
  position: relative; overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 84% 20%, rgba(49, 107, 255, 0.28), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(39, 211, 242, 0.18), transparent 26%),
    linear-gradient(135deg, #08182c, #07101f 62%, #0d1a35);
  border: 1px solid rgba(112, 201, 255, 0.16);
  box-shadow: var(--shadow);
}
.cta-box .eyebrow { justify-content: center; }
.cta-box h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 18px auto 24px;
  max-width: 640px;
}
.cta-box p {
  color: #a5b5c6;
  max-width: 760px;
  font-size: 17px; line-height: 1.7;
  margin: 0 auto;
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line2);
  color: #718398;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line2);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin: 0; color: var(--muted); max-width: 340px; }
.footer-col h5 {
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #758aa1;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a {
  font-size: 13px; color: #b8c8dc;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-disclaimer {
  margin: 24px 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 181, 69, 0.16);
  border-radius: 10px;
  background: rgba(255, 181, 69, 0.03);
  color: var(--muted);
}
.footer-disclaimer b { color: #c9b78d; display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; font: 700 9px var(--mono); }
.footer-disclaimer p { margin: 0; font-size: 10px; line-height: 1.55; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #758aa1;
  flex-wrap: wrap; gap: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.02);
  display: grid; place-items: center;
  color: #b8c8dc;
  font-size: 14px;
  transition: 0.2s;
}
.footer-social a:hover { color: var(--cyan); border-color: rgba(39, 211, 242, 0.3); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ ANIMATIONS ============ */
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(17, 214, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(17, 214, 141, 0); }
}
@keyframes scan { to { transform: translateX(500%); } }
@keyframes crossPulse {
  0% { box-shadow: 0 0 0 0 rgba(39, 211, 242, 0.32); }
  70% { box-shadow: 0 0 0 18px rgba(39, 211, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 211, 242, 0); }
}
@keyframes orderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============ RESPONSIVE ============ */
.nav-mobile {
  display: none;
  position: absolute; top: 74px; left: 12px; right: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 12, 23, 0.96);
  backdrop-filter: blur(18px);
  z-index: 60;
}
.nav-mobile.open { display: grid; }
.nav-mobile a {
  padding: 13px;
  color: #b6c3d2;
  text-decoration: none;
  font-weight: 700; font-size: 13px;
  border-radius: 10px;
}
.nav-mobile a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .hero-grid, .section-head, .bot-panel, .panel-showcase, .card-wrap, .trans-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid { min-width: 0; }
  .hero { padding-top: 50px; }
  .hero-copy { display: block; min-height: 0; }
  .terminal { transform: none; max-width: 760px; margin: 0 auto; height: auto; }
  .feature-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .sec-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-tile { grid-column: auto; }
  .package-grid { grid-template-columns: repeat(3, 1fr); }
  .package.featured { transform: none; }
  .package.featured:hover { transform: translateY(-4px); }
  .traders-grid { grid-template-columns: repeat(2, 1fr); }
  .staking-grid { grid-template-columns: repeat(2, 1fr); }
  .market-board { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 56px minmax(0, 1fr); }
  .product-row > span { grid-column: 2; justify-self: start; }
  .tv-desk-grid { grid-template-columns: 1fr; }
  .tv-widget-chart { grid-column: auto; }
  .tv-desk-side { height: 520px; }
  .tv-widget-chart, .tv-widget-ta { height: 560px; }
  .wx-toolbar { flex-direction: column; align-items: flex-start; }
  .credit-card { transform: none; }
  .credit-card:hover { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-wrap { padding: 8px 0; }
  .brand strong { font-size: 17px; }
  .nav-actions .ghost, .nav-actions .login { display: none; }
  .lang-toggle .lang-current { padding: 6px 8px; font-size: 10px; }
  .lang-toggle .lang-menu { right: -8px; }
  .menu { display: block; }
  .nav-actions { margin-left: auto; }
  .hero { min-height: auto; padding: 60px 0 54px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-quotes, .hero-spec, .hero-accounts { max-width: none; }
  .hero-quotes { grid-template-columns: 1fr 1fr; }
  .terminal { padding: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; border-bottom: 1px solid var(--line2); }
  .stat:nth-child(2) { border-right: 0; }
  .feature-grid, .package-grid, .staking-grid, .traders-grid, .testimonials-grid, .network-panel, .conditions-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-row { padding: 22px 18px; gap: 14px; }
  .sec-bento { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .how-grid::before { display: none; }
  .section-head { gap: 22px; min-width: 0; }
  .section-head h2,
  .section-head.section-head-center h2,
  .section-head.section-head-center.section-head-lg h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .bot-copy { min-height: auto; }
  .chart { height: 280px; }
  .cta-box { padding: 42px 26px; }
  .cta-box h2 { font-size: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trans-wrap { padding: 32px 24px; }
  .live-chart { height: 285px; }
  .wbot-bottom { grid-template-columns: repeat(2, 1fr); }
  .market-overview-head, .tv-desk-head { flex-direction: column; align-items: flex-start; }
  .tv-desk-grid { grid-template-columns: 1fr; }
  .tv-widget-chart { grid-column: auto; }
  .tv-desk-side { height: 480px; }
  .tv-widget-chart, .tv-widget-ta { height: 520px; }
  .wx-stage { min-height: 280px; }
  .market-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
    gap: 6px;
  }
  .market-row .vol,
  .market-row .signal,
  .market-row.head span:nth-child(4),
  .market-row.head span:last-child { display: none; }
  .order-pop { min-width: 150px; }
  .market-head { grid-template-columns: 1fr; }
  .pm-kpi-row { grid-template-columns: 1fr 1fr; }
  .pm-split { grid-template-columns: 1fr; }
  .panel-mock-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .live-chart { margin-left: 9px; margin-right: 9px; height: 260px; }
  .market-head { padding-left: 9px; padding-right: 9px; }
  .bot-log { margin-left: 9px; margin-right: 9px; }
  .wbot-bottom { padding-left: 9px; padding-right: 9px; }
  .candle-layer { gap: 5px; left: 10px; right: 10px; }
  .market-row { padding: 12px 11px; font-size: 9px; }
  .asset-icon { width: 26px; height: 26px; }
  .order-pop { right: 9px; top: 10px; }
  .pair-price { font-size: 22px; }
}


/* ================================================================
   Brand logo (imagem WeTradEX)
   ================================================================ */
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 22px rgba(39, 211, 242, 0.35))
    drop-shadow(0 0 44px rgba(49, 107, 255, 0.18));
  transition: transform 0.35s ease, filter 0.35s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.03);
  filter:
    drop-shadow(0 0 26px rgba(39, 211, 242, 0.55))
    drop-shadow(0 0 56px rgba(49, 107, 255, 0.28));
}
.footer-brand .brand-logo { height: 84px; margin-bottom: 20px; }

@media (max-width: 960px) {
  .brand-logo { height: 52px; }
  .footer-brand .brand-logo { height: 68px; }
}
@media (max-width: 720px) {
  .brand-logo { height: 44px; }
  .footer-brand .brand-logo { height: 58px; }
}

/* ================================================================
   TradingView-style chart panel
   ================================================================ */
.tv-panel {
  border: 1px solid rgba(94, 200, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 29, 51, 0.82), rgba(7, 18, 32, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
  position: relative;
  margin-bottom: 44px;
}
.tv-panel::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(39, 211, 242, 0.4), transparent 50%, rgba(49, 107, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.tv-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(15, 29, 49, 0.94), rgba(8, 18, 32, 0.9));
  border-radius: 22px 22px 0 0;
  overflow: visible;
  z-index: 8;
}
.tv-pair { position: relative; display: flex; align-items: center; gap: 12px; z-index: 6; }
.tv-pair-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 4px 4px;
  margin: -4px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.tv-pair-btn:hover,
.tv-pair.open .tv-pair-btn {
  border-color: rgba(39, 211, 242, 0.28);
  background: rgba(255, 255, 255, 0.03);
}
.tv-pair-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f7931a, #b3690a);
  color: #04101c; font: 800 18px var(--font);
  box-shadow: 0 8px 24px rgba(247, 147, 26, 0.2);
  flex-shrink: 0;
}
.tv-pair-icon.tone-btc { background: linear-gradient(145deg, #f7931a, #b3690a); box-shadow: 0 8px 24px rgba(247, 147, 26, 0.2); }
.tv-pair-icon.tone-eth { background: linear-gradient(145deg, #8ea0ff, #627eea); box-shadow: 0 8px 24px rgba(98, 126, 234, 0.28); }
.tv-pair-icon.tone-bnb { background: linear-gradient(145deg, #f4d16a, #f3ba2f); box-shadow: 0 8px 24px rgba(243, 186, 47, 0.25); }
.tv-pair-icon.tone-sol { background: linear-gradient(145deg, #c084fc, #9945ff); box-shadow: 0 8px 24px rgba(153, 69, 255, 0.25); }
.tv-pair-icon.tone-usdt { background: linear-gradient(145deg, #4fd6b0, #26a17b); box-shadow: 0 8px 24px rgba(38, 161, 123, 0.28); color: #041410; }
.tv-pair-caret {
  font: 700 11px var(--mono);
  color: #7f93a8;
  font-style: normal;
  margin-left: 2px;
}
.tv-pair.open .tv-pair-caret { color: var(--cyan); }
.tv-pair-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  padding: 6px;
  border: 1px solid rgba(94, 200, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 16, 28, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.tv-pair-menu[hidden] { display: none; }
.tv-pair-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d8e6f5;
  cursor: pointer;
  text-align: left;
}
.tv-pair-option:hover,
.tv-pair-option.active { background: rgba(39, 211, 242, 0.1); }
.tv-pair-option .tv-pair-icon { width: 30px; height: 30px; font-size: 14px; box-shadow: none; }
.tv-pair-option strong { font-size: 13px; }
.tv-pair-option small { display: block; margin-top: 2px; color: #7f93a8; font: 700 9px var(--mono); }
.tv-pair strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.tv-perp {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(39, 211, 242, 0.14);
  color: var(--cyan);
  font: 700 8px var(--mono);
  letter-spacing: 0.1em;
  vertical-align: middle;
  margin-left: 4px;
}
.tv-perp.bep20 {
  background: rgba(38, 161, 123, 0.18);
  color: #4fd6b0;
}
.tv-pair small { display: block; color: #758aa1; font: 700 9px var(--mono); letter-spacing: 0.05em; margin-top: 3px; }

.tv-tools { display: flex; gap: 6px; }
.tv-tool {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.02);
  display: grid; place-items: center;
  color: #93a4b7; font-size: 14px;
  cursor: pointer; transition: 0.2s;
}
.tv-tool:hover { border-color: rgba(39, 211, 242, 0.3); color: var(--cyan); }

.tv-timeframes {
  display: flex; gap: 2px;
  padding: 3px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  justify-self: center;
}
.tv-timeframes button {
  padding: 6px 12px;
  border: none; background: transparent;
  border-radius: 6px;
  color: #93a4b7;
  font: 700 10px var(--mono);
  cursor: pointer; transition: 0.2s;
  position: relative;
  z-index: 2;
}
.tv-timeframes button:hover { color: #d8e6f5; }
.tv-timeframes button.active {
  background: linear-gradient(90deg, rgba(39, 211, 242, 0.18), rgba(49, 107, 255, 0.18));
  color: var(--cyan);
}

.tv-status {
  display: flex; align-items: center; gap: 8px;
  color: #90f5c3;
  font: 700 10px var(--mono);
  letter-spacing: 0.06em;
}
.tv-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(17, 214, 141, 0.5);
  animation: pulse 1.6s infinite;
}

.tv-indicators {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(3, 10, 20, 0.4);
}
.tv-ohlc {
  display: flex; gap: 18px; flex-wrap: wrap;
  font: 700 10px var(--mono);
  color: #758aa1;
  letter-spacing: 0.05em;
}
.tv-ohlc b { color: #d8e6f5; font-weight: 700; margin-left: 4px; }
.tv-ohlc b.up { color: var(--green); }
.tv-change { font: 700 10px var(--mono); }
.tv-ma-legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  font: 700 10px var(--mono);
}
.tv-ma-legend .ma { display: inline-flex; align-items: center; gap: 6px; }
.tv-ma-legend .ma7 { color: #f4c141; }
.tv-ma-legend .ma25 { color: #c56cff; }
.tv-ma-legend .ma99 { color: var(--cyan); }
.tv-ma-legend b { color: #d8e6f5; }

.tv-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  height: 360px;
  min-height: 0;
  overflow: hidden;
}
.tv-chart {
  position: relative;
  overflow: hidden;
  height: 360px;
  min-height: 0;
}
.tv-chart.is-switching { opacity: 0.62; transition: opacity 0.2s; }
.tv-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.tv-candles {
  position: absolute; inset: 20px 60px 30px 12px;
  display: flex; align-items: flex-end; gap: 3px;
}
.tv-candles .candle { position: relative; flex: 1; min-width: 4px; height: 100%; }
.tv-candles .candle i {
  position: absolute; left: 50%;
  width: 1px; background: currentColor;
  transform: translateX(-50%); opacity: 0.85;
}
.tv-candles .candle b {
  position: absolute; left: 50%;
  width: min(9px, 72%); min-width: 4px;
  border-radius: 1px;
  transform: translateX(-50%);
  background: currentColor;
}
.tv-candles .candle.up { color: var(--green); }
.tv-candles .candle.down { color: var(--red); }

.tv-ma-lines {
  position: absolute;
  top: 20px; left: 12px;
  width: calc(100% - 72px);
  height: calc(100% - 50px);
  pointer-events: none;
}

/* ============ Right column: order book (compact) + fleet result card ============ */
.tv-right {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.045);
  min-width: 0;
}
/* When .tv-right owns the border, .tv-depth doesn't need its own top border */
.tv-right .tv-depth {
  border-left: 0;
  padding: 8px 10px 8px;
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tv-right .tv-depth-head {
  margin-bottom: 6px;
  padding-bottom: 6px;
}
.tv-right .tv-depth-cols { padding: 3px 6px; }
.tv-right .tv-book-asks,
.tv-right .tv-book-bids {
  gap: 0;
  max-height: none;
  overflow: hidden;
  flex: 0 0 auto;
}
.tv-right .book-lvl {
  padding: 1px 6px;
  font-size: 9px;
  line-height: 1.2;
}
.tv-right .tv-book-spread {
  padding: 4px 6px;
  margin: 2px 0;
  flex: 0 0 auto;
}
.tv-right .tv-book-spread > b { font-size: 13px; }
.tv-right .tv-tape { flex: 1 1 auto; min-height: 0; }

/* ============ FLEET-RESULT CARD (below order book) ============ */
.tv-fleet-result {
  margin: 0;
  padding: 14px 14px 13px;
  border-top: 1px solid rgba(39, 211, 242, 0.18);
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.62), rgba(4, 12, 22, 0.82));
  font-family: var(--mono);
  color: #d9e6f5;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 10px;
}
.tv-fleet-result .fr-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(39, 211, 242, 0.14);
}
.tv-fleet-result .fr-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: hudPulse 1.6s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.tv-fleet-result .fr-title {
  flex: 1;
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  color: #8feaff;
  text-transform: uppercase;
}
.tv-fleet-result .fr-live {
  font: 700 8px var(--mono);
  letter-spacing: 0.14em;
  color: rgba(17, 214, 141, 0.9);
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(17, 214, 141, 0.10);
  border: 1px solid rgba(17, 214, 141, 0.28);
}
.tv-fleet-result .fr-main small,
.tv-fleet-result .fr-cell small {
  display: block;
  font: 500 9px/1 var(--mono);
  color: #6f849c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tv-fleet-result .fr-main b {
  display: block;
  font: 800 26px/1 var(--font);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tv-fleet-result .fr-cell b {
  font-variant-numeric: tabular-nums;
}
.tv-fleet-result .fr-main b.up { color: #8df2bd; }
.tv-fleet-result .fr-main b.down { color: #ff8ea0; }
.tv-fleet-result .fr-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tv-fleet-result .fr-cell b {
  display: block;
  font: 700 16px/1 var(--font);
  color: #f5f8fc;
  letter-spacing: -0.01em;
}
.tv-fleet-result .fr-chips {
  display: flex;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.tv-fleet-result .fr-chip {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px;
  padding: 5px 4px;
  border-radius: 6px;
  font: 700 9px var(--mono);
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #b9c9dc;
  white-space: nowrap;
}
.tv-fleet-result .fr-chip i {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}
.tv-fleet-result .fr-chip.up { color: #7bf0c0; border-color: rgba(17, 214, 141, 0.28); background: rgba(17, 214, 141, 0.08); }
.tv-fleet-result .fr-chip.down { color: #ff9ba9; border-color: rgba(255, 85, 112, 0.28); background: rgba(255, 85, 112, 0.08); }
.tv-fleet-result .fr-chip.neu { color: #8feaff; border-color: rgba(39, 211, 242, 0.28); background: rgba(39, 211, 242, 0.08); }
.tv-fleet-result .fr-chip b {
  color: currentColor;
  font: 800 10px var(--mono);
  letter-spacing: 0;
}

.tv-last-price {
  position: absolute;
  right: 5px; top: 30%;
  z-index: 4;
  padding: 4px 8px;
  background: rgba(17, 214, 141, 0.16);
  border: 1px solid rgba(17, 214, 141, 0.4);
  border-radius: 4px;
  font: 700 11px var(--mono);
  color: #b6f5d3;
  z-index: 3;
  transition: top 0.6s;
}
.tv-last-price em {
  display: block;
  font-style: normal;
  font: 700 8px var(--mono);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.tv-y-axis {
  position: absolute; right: 5px; top: 20px; bottom: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  font: 700 9px var(--mono);
  color: #5f738a;
  text-align: right;
  width: 55px;
  pointer-events: none;
}
.tv-x-axis {
  position: absolute; left: 12px; right: 72px; bottom: 8px;
  display: flex; justify-content: space-between;
  font: 700 9px var(--mono);
  color: #5f738a;
}

/* ---- Depth 20 ---- */
.tv-depth {
  display: flex; flex-direction: column;
  padding: 14px;
  font: 700 10px var(--mono);
  background: rgba(3, 10, 20, 0.3);
}
.tv-depth-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.tv-depth-head strong { color: #d8e6f5; font-size: 11px; letter-spacing: 0.02em; }
.tv-depth-head small { color: #85f0b8; font: 700 9px var(--mono); }
.tv-depth-cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 6px 6px;
  color: #5f738a;
  font: 700 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.tv-depth-cols span:nth-child(2), .tv-depth-cols span:nth-child(3) { text-align: right; }
.tv-book-asks, .tv-book-bids {
  display: flex; flex-direction: column;
  gap: 1px;
}
.tv-book-asks { justify-content: flex-end; }
.book-lvl {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 4px 6px;
  font: 700 10px var(--mono);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.book-lvl > span { position: relative; z-index: 1; }
.book-lvl > span:nth-of-type(2),
.book-lvl > span:nth-of-type(3) { text-align: right; color: #d8e6f5; }
.book-lvl.ask > span:nth-of-type(1) { color: #ff8ea0; }
.book-lvl.bid > span:nth-of-type(1) { color: #8df2bd; }
.book-lvl .bar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  font-style: normal;
  pointer-events: none;
  transition: width 0.28s ease;
}
.book-lvl.ask .bar {
  background: linear-gradient(90deg, rgba(255, 85, 112, 0.06), rgba(255, 85, 112, 0.48));
}
.book-lvl.bid .bar {
  background: linear-gradient(90deg, rgba(17, 214, 141, 0.06), rgba(17, 214, 141, 0.48));
}
.tv-book-spread {
  padding: 10px 6px;
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  margin: 6px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  font: 700 10px var(--mono);
  color: #758aa1;
}
.tv-book-spread > b {
  color: #d8e6f5;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.tv-book-spread > b.up { color: #8df2bd; }
.tv-book-spread > b.down { color: #ff8ea0; }
.tv-book-spread span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.tv-book-spread em { font: 700 8px var(--mono); font-style: normal; color: #5f738a; letter-spacing: 0.08em; text-transform: uppercase; }
.tv-book-spread strong { color: #d8e6f5; font-size: 12px; }
.tv-book-spread small { color: #5f738a; font: 700 9px var(--mono); }

.tv-tape {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(3, 10, 20, 0.35);
}
.tv-tape-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
}
.tv-tape-head strong { color: #d8e6f5; font: 700 11px var(--mono); }
.tv-tape-head small { color: #85f0b8; font: 700 9px var(--mono); letter-spacing: 0.08em; }
.tv-tape-cols {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  gap: 6px;
  padding: 4px 14px 6px;
  color: #5f738a;
  font: 700 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tv-tape-cols span:nth-child(2),
.tv-tape-cols span:nth-child(3) { text-align: right; }
.tv-tape-list {
  flex: 1;
  min-height: 160px;
  max-height: 240px;
  overflow: auto;
  padding: 0 8px 10px;
}
.tv-right .tv-tape-list {
  min-height: 0;
  max-height: none;
}
.tv-tape-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  gap: 6px;
  padding: 4px 6px;
  font: 700 10px var(--mono);
  border-radius: 4px;
}
.tv-tape-row span:nth-child(2),
.tv-tape-row span:nth-child(3) { text-align: right; }
.tv-tape-row span:first-child { color: #7f93a8; }
.tv-tape-row.buy span:nth-child(2) { color: #8df2bd; }
.tv-tape-row.sell span:nth-child(2) { color: #ff8ea0; }
.tv-tape-row span:nth-child(3) { color: #d8e6f5; }
.tv-tape-list::-webkit-scrollbar { width: 4px; }
.tv-tape-list::-webkit-scrollbar-thumb { background: rgba(133, 210, 255, 0.2); border-radius: 4px; }

.tv-widget-book.wx-book,
.tv-widget-trades.wx-trades {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.tv-widget-book .tv-book-asks,
.tv-widget-book .tv-book-bids {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 8px;
}
.tv-widget-book .tv-depth-cols,
.tv-widget-book .tv-book-spread,
.tv-widget-trades .tv-tape-cols {
  flex-shrink: 0;
  padding-left: 14px;
  padding-right: 14px;
}
.tv-widget-trades .tv-tape-list {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.tv-footer {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.9), rgba(15, 29, 49, 0.94));
  flex-wrap: wrap;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}
.tv-tab {
  font: 700 10px var(--mono);
  color: #758aa1;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s;
}
.tv-tab:hover { color: #d8e6f5; }
.tv-tab.active {
  color: var(--cyan);
  background: rgba(39, 211, 242, 0.1);
}
.tv-footer-spacer { flex: 1; }
.tv-footer-stat {
  display: flex; align-items: baseline; gap: 6px;
  font: 700 10px var(--mono);
  color: #758aa1;
}
.tv-footer-stat b { color: #d8e6f5; font-size: 11px; }
.tv-footer-stat b.up { color: var(--green); }

/* ================================================================
   Fleet summary — resumo dos robôs dinâmicos
   ================================================================ */
.fleet-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 26, 46, 0.55), rgba(6, 16, 30, 0.7));
  position: relative;
  overflow: hidden;
}
.fleet-summary::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(39, 211, 242, 0.08), transparent 60%);
  pointer-events: none;
}
.fleet-sum-card {
  position: relative;
  padding: 4px 0;
}
.fleet-sum-card + .fleet-sum-card {
  border-left: 1px solid var(--line2);
  padding-left: 16px;
}
.fleet-sum-card span {
  display: block;
  color: #758aa1;
  font: 700 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.fleet-sum-card strong {
  display: block;
  font: 700 26px var(--mono);
  letter-spacing: -0.03em;
  color: #d8e6f5;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fleet-sum-card strong.up { color: #8df2bd; }
.fleet-sum-card strong.down { color: #ff8ea0; }
.fleet-sum-card small {
  display: block;
  margin-top: 6px;
  color: #5f738a;
  font: 700 9px var(--mono);
  letter-spacing: 0.03em;
}
@media (max-width: 1050px) {
  .fleet-summary { grid-template-columns: repeat(3, 1fr); }
  .fleet-sum-card:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .fleet-summary { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 16px; }
  .fleet-sum-card + .fleet-sum-card { border-left: 0; padding-left: 0; }
  .fleet-sum-card { border-top: 1px solid var(--line2); padding-top: 12px; }
  .fleet-sum-card:nth-child(1), .fleet-sum-card:nth-child(2) { border-top: 0; padding-top: 4px; }
  .fleet-sum-card strong { font-size: 22px; }
}

/* ================================================================
   Fleet grid — retângulos dos robôs
   ================================================================ */
.fleet-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.fleet-head h3 {
  font-size: 30px; letter-spacing: -0.04em; line-height: 1.1;
  margin: 8px 0 0;
}
.fleet-legend {
  display: flex; align-items: center; gap: 18px;
  font: 700 10px var(--mono);
  color: #758aa1;
  letter-spacing: 0.05em;
}
.fleet-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fleet-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.fleet-dot.up { background: var(--green); box-shadow: 0 0 10px rgba(17, 214, 141, 0.6); }
.fleet-dot.down { background: var(--red); box-shadow: 0 0 10px rgba(255, 85, 112, 0.6); }
.fleet-dot.neu { background: var(--cyan); box-shadow: 0 0 10px rgba(39, 211, 242, 0.6); }
.fleet-count b { color: var(--cyan); font-size: 13px; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}
.fleet-card {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 30, 51, 0.86), rgba(6, 17, 31, 0.95));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  /* Lock geometry so ticker updates never shift card size */
  min-height: 174px;
  /* NOTE: no `contain: layout paint` and no `overflow: hidden` here — they were
     forcing a compositing layer that flashed briefly on every tick update.
     The card content is fully constrained to its box already. */
}
.fleet-card:hover {
  border-color: rgba(39, 211, 242, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.fleet-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--tone, var(--cyan));
  opacity: 0.5;
  transition: background 0.4s ease;
  border-radius: 14px 14px 0 0;
}
.fleet-card.long { --tone: var(--green); }
.fleet-card.short { --tone: var(--red); }
.fleet-card.side-scan { --tone: var(--cyan); }

.fleet-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.fleet-bot-id {
  display: flex; align-items: center; gap: 8px;
}
.fleet-bot-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, #0c1f37, #07121f);
  border: 1px solid rgba(87, 216, 255, 0.2);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(39, 211, 242, 0.15);
}
.fleet-bot-avatar::after {
  content: "W";
  font: 800 12px var(--font);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.fleet-bot-name { display: block; font-size: 12px; font-weight: 700; letter-spacing: -0.005em; }
.fleet-bot-strat { font: 700 8px var(--mono); color: #758aa1; letter-spacing: 0.05em; }
.fleet-badge {
  padding: 3px 7px;
  border-radius: 4px;
  font: 800 8px var(--mono);
  letter-spacing: 0.08em;
}
.fleet-badge.long { background: rgba(17, 214, 141, 0.14); color: #8df2bd; }
.fleet-badge.short { background: rgba(255, 85, 112, 0.14); color: #ff8ea0; }
.fleet-badge.side-scan { background: rgba(39, 211, 242, 0.14); color: #8feaff; }

.fleet-pair-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
  gap: 6px;
  min-height: 32px;
}
.fleet-pair {
  font: 700 12px var(--mono); color: #d8e6f5;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fleet-price {
  font: 700 12px var(--mono); color: #d8e6f5;
  font-variant-numeric: tabular-nums;
  text-align: right;
  flex-shrink: 0;
}

.fleet-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  min-height: 42px;
}
.fleet-stat {
  min-width: 0;
  overflow: hidden;
}
.fleet-stat span {
  display: block;
  color: #5f738a;
  font: 700 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  height: 10px;
}
.fleet-stat b {
  display: block; margin-top: 3px;
  font: 700 12px/1.2 var(--mono);
  color: #d8e6f5;
  font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  height: 16px;
}
.fleet-stat b.up { color: #8df2bd; }
.fleet-stat b.down { color: #ff8ea0; }
.fleet-stat b.mute { color: #758aa1; }

.fleet-progress {
  margin-top: 12px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.fleet-progress i {
  display: block; height: 100%;
  border-radius: 2px;
  background: var(--tone, var(--cyan));
  box-shadow: 0 0 8px var(--tone, var(--cyan));
  /* No transition — width changes apply instantly to avoid any "growing/
     shrinking" visual that could read as the bar disappearing and coming back. */
}

.fleet-flow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line2);
}
@media (min-width: 900px) {
  .fleet-flow { grid-template-columns: repeat(3, 1fr); }
}
.fleet-flow .flow-item { padding: 22px 22px 22px 22px; }

/* Responsive */
@media (max-width: 1050px) {
  .tv-body { grid-template-columns: 1fr; height: auto; }
  .tv-chart { height: 300px; }
  .tv-right { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.055); flex-direction: row; }
  .tv-right .tv-depth { flex: 1; border-right: 1px solid rgba(255, 255, 255, 0.045); }
  .tv-tape { flex: 1; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.045); }
  .tv-right .tv-book-asks,
  .tv-right .tv-book-bids { max-height: 180px; }
  .tv-topbar { grid-template-columns: 1fr auto; gap: 12px; }
  .tv-tools { display: none; }
  .tv-timeframes { justify-self: start; grid-column: 1 / -1; }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .tv-desk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tv-right { flex-direction: column; }
  .tv-tape { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.055); }
}
@media (max-width: 720px) {
  .tv-topbar { grid-template-columns: 1fr; }
  .tv-timeframes { grid-column: auto; }
  .tv-indicators { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tv-body { height: auto; min-height: 0; }
  .tv-chart { height: 240px; min-height: 0; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .fleet-flow { grid-template-columns: 1fr; padding-top: 20px; }
  .tv-footer { gap: 8px; }
  .tv-footer-stat { font-size: 9px; }
}
@media (max-width: 480px) {
  .fleet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container,
  .hero-grid,
  .tv-panel,
  .terminal,
  nav,
  .cta-box {
    max-width: 100%;
    min-width: 0;
  }
  nav {
    gap: 8px;
    padding: 8px 10px;
  }
  .brand-logo { height: 40px; }
  .brand strong { font-size: 15px; }
  .hero-actions,
  .cta-box .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-box .hero-actions .btn {
    width: 100%;
  }
  .hero-quotes { grid-template-columns: 1fr; }
  .tv-panel { overflow: hidden; }
  .tv-pair,
  .tv-pair-btn,
  .tv-pair-menu {
    min-width: 0;
    max-width: 100%;
  }
  .tv-pair-menu { width: min(280px, calc(100vw - 32px)); }
  .tv-timeframes {
    width: 100%;
    justify-content: stretch;
  }
  .tv-timeframes button { flex: 1; padding: 6px 4px; }
  .tv-ohlc,
  .tv-ma-legend { gap: 8px 12px; }
  .tv-footer { padding: 10px 12px; }
  .tv-candles .candle { min-width: 0; }
  .fleet-head { flex-direction: column; align-items: flex-start; }
  .fleet-head h3 { font-size: 22px; }
  .fleet-legend { flex-wrap: wrap; gap: 10px; }
  .asset span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-cloud,
  .lp-metrics,
  .ratings-band { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 32px 18px; }
}
