/* ================================================================
   BESSAI · analytics.css — PREMIUM REDESIGN v3.0
   "Command Center" — dark industrial · neon accents · glassmorphism
   ================================================================ */

/* ── Extra Variables ─────────────────────────────────────────── */
:root {
  --amber:      #38bdf8;
  --amber2:     #0284c7;
  --vio:        #8b5cf6;
  --vio-dim:    rgba(139,92,246,.10);
  --acc-dim:    rgba(56,189,248,.08);
  --cyan:       #06b6d4;
  --cyan-dim:   rgba(6,182,212,.08);
  --green-dim:  rgba(16,185,129,.08);
  --red-dim:    rgba(239,68,68,.08);

  --glow-amber: 0 0 24px rgba(56,189,248,.18), 0 0 8px rgba(56,189,248,.08);
  --glow-cyan:  0 0 24px rgba(6,182,212,.15),  0 0 8px rgba(6,182,212,.06);
  --glow-green: 0 0 20px rgba(16,185,129,.15);

  --glass-bg:   rgba(10,14,26,.65);
  --glass-border: rgba(255,255,255,.07);
  --card-radius: 14px;
}

/* ── HERO section ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%,
    rgba(56,189,248,.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 80% 30%,
    rgba(6,182,212,.06) 0%, transparent 60%);
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1.2; }
}
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.page-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--t0);
  line-height: 1;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.page-title span {
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-sub {
  font-size: .82rem;
  color: var(--t2);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--acc);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--acc);
  opacity: .6;
}

/* ── Railway KPI Bar ────────────────────────────────────────── */
#railwayKpiBar {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: var(--glass-bg) !important;
  border: 1px solid rgba(6,182,212,.15) !important;
  border-radius: 10px !important;
  box-shadow: var(--glow-cyan);
}
#rKpiBadge {
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(6,182,212,.3); }
  50%      { box-shadow: 0 0 8px 3px rgba(6,182,212,.15); }
}

/* ── KPI Strip ──────────────────────────────────────────────── */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 1.5rem 2rem;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  position: relative;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.kpi-card:nth-child(1) { animation-delay: 0.1s; }
.kpi-card:nth-child(2) { animation-delay: 0.2s; }
.kpi-card:nth-child(3) { animation-delay: 0.3s; }
.kpi-card:nth-child(4) { animation-delay: 0.4s; }

.kpi-card:hover {
  background: rgba(56,189,248,.08);
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 0 15px rgba(56,189,248,0.1), 0 12px 30px rgba(0,0,0,0.3);
  z-index: 10;
  border-radius: 8px; /* soft rounded borders during hover isolation */
}
.kpi-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}
.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.kpi-val {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 400;
}
.kpi-lbl {
  font-family: var(--mono);
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t2);
  margin-top: .2rem;
}

/* ── Dashboard Wrap ─────────────────────────────────────────── */
.dash-wrap {
  padding: 0 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dash-wide { width: 100%; }

/* ── Cards — glassmorphism upgrade ─────────────────────────── */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.5s;
}
.dash-wide > .card:nth-child(1) { animation-delay: 0.3s; }
.dash-wide > .card:nth-child(2) { animation-delay: 0.45s; }

.card:hover {
  border-color: rgba(56,189,248,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 25px rgba(56,189,248,.2);
  transform: translateY(-4px);
  background: rgba(255,255,255,.05);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}

.card-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.card-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--t0);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: linear-gradient(180deg, var(--acc), transparent);
  border-radius: 2px;
  flex-shrink: 0;
}
.card-sub {
  font-family: var(--mono);
  font-size: .6rem;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
  line-height: 1.5;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  color: var(--t2);
  background: rgba(255,255,255,.04);
}
.tag-acc {
  background: var(--acc-dim);
  color: var(--acc);
  border-color: rgba(56,189,248,.3);
  box-shadow: 0 0 10px rgba(56,189,248,.1);
}
.tag-vio {
  background: var(--vio-dim);
  color: #a78bfa;
  border-color: rgba(139,92,246,.3);
}

/* ── Arbitrage Tabs ────────────────────────────────────────── */
#arb-selector {
  display: flex;
  gap: 1px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--glass-border);
  overflow-x: auto;
  scrollbar-width: none;
}
#arb-selector::-webkit-scrollbar { display: none; }
.arb-tab {
  background: transparent;
  border: none;
  padding: 1rem 1.75rem;
  color: var(--t2);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  white-space: nowrap;
  transition: all .25s;
  border-right: 1px solid rgba(255,255,255,.04);
  flex-shrink: 0;
  position: relative;
}
.arb-tab small {
  font-size: .55rem;
  color: var(--t2);
  letter-spacing: .06em;
  display: block;
  transition: color .25s;
}
.arb-tab:hover {
  background: rgba(56,189,248,.1);
  color: var(--t0);
  box-shadow: inset 0 0 20px rgba(56,189,248,0.1), 0 0 10px rgba(56,189,248,0.1);
}
.arb-tab:hover small { color: var(--t1); }
.arb-active {
  color: var(--acc) !important;
  background: rgba(56,189,248,.05) !important;
}
.arb-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
}
.arb-active small { color: var(--amber2) !important; }

/* ── Panel body ────────────────────────────────────────────── */
.panel-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0;
  min-height: 320px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
}

/* Barra list */
.barra-list {
  border-right: 1px solid var(--glass-border);
  overflow-y: auto;
  max-height: 360px;
  background: rgba(255,255,255,.015);
}
.barra-list::-webkit-scrollbar { width: 3px; }
.barra-list::-webkit-scrollbar-thumb {
  background: rgba(56,189,248,.25);
  border-radius: 2px;
}
.barra-group-header, .reg-hd {
  font-family: var(--mono);
  font-size: .52rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--acc);
  padding: .45rem .75rem .3rem;
  background: rgba(56,189,248,.04);
  border-bottom: 1px solid rgba(56,189,248,.1);
  border-top: 1px solid var(--glass-border);
}
button.barra-item {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.barra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: background .15s;
  gap: .5rem;
  min-height: 48px;
}
.barra-item:hover { background: rgba(56,189,248,.05); }
.barra-item.active {
  background: rgba(56,189,248,.08);
  border-left: 2px solid var(--acc);
  box-shadow: inset 3px 0 8px rgba(56,189,248,.08);
}
.bl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.bl-name { font-family: var(--mono); font-size: .62rem; color: var(--t0); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-reg  { font-family: var(--mono); font-size: .52rem; color: var(--t2); margin-top: .08rem; }
.bl-price { font-family: var(--display); font-size: .92rem; text-align: right; flex-shrink: 0; line-height: 1; }
.barra-label { font-family: var(--mono); font-size: .6rem; color: var(--t1); line-height: 1.3; }
.barra-mini-price { font-family: var(--display); font-size: .85rem; text-align: right; flex-shrink: 0; }
.barra-mini-sub { font-family: var(--mono); font-size: .5rem; color: var(--t2); text-align: right; }

/* Chart column */
.chart-col  { display: flex; flex-direction: column; padding: 1rem 1.25rem; gap: .75rem; min-height: 0; }
.name-row   { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.stat-name  { font-family: var(--display); font-size: 1.4rem; color: var(--t0); }
.stat-reg   { font-family: var(--mono); font-size: .62rem; color: var(--t2); }
.chart-wrap { position: relative; flex: 1; min-height: 240px; }
.main-cv    { width: 100%; height: 100%; display: block; min-height: 240px; }

/* Zoom bar */
.zoom-bar { position: absolute; top: 10px; right: 10px; display: flex; gap: .3rem; }
.zbtn {
  background: rgba(10,14,26,.85);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--t2);
  font-family: var(--mono);
  font-size: .72rem;
  padding: .25rem .55rem;
  cursor: pointer;
  transition: all .18s;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}
.zbtn:hover {
  background: rgba(56,189,248,.15);
  color: var(--acc);
  border-color: rgba(56,189,248,.5);
  box-shadow: 0 0 15px rgba(56,189,248,.3), inset 0 0 8px rgba(56,189,248,.2);
  transform: translateY(-1px);
}
.zoom-hint { font-family: var(--mono); font-size: .55rem; color: var(--t2); opacity: .7; }

/* Mini KPIs */
.mini-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; }
.mk {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: .7rem .85rem;
  transition: border-color .2s, background .2s;
}
.mk:hover { background: rgba(56,189,248,.04); border-color: rgba(56,189,248,.15); }
.mk-v { font-family: var(--display); font-size: 1.15rem; line-height: 1; }
.mk-l { font-family: var(--mono); font-size: .52rem; text-transform: uppercase; letter-spacing: .08em; color: var(--t2); margin-top: .18rem; }

/* ── Heatmap ────────────────────────────────────────────────── */
.heat-layout {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 1.5rem;
  align-items: start;
}
#heatWrap {
  overflow: auto;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}
.heat-leg-bar {
  height: 10px;
  background: linear-gradient(to right,
    rgba(239,68,68,.8),
    rgba(107,114,128,.3),
    rgba(16,185,129,.8));
  border-radius: 4px;
  margin-bottom: .35rem;
}
.heat-leg-lbl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .6rem; color: var(--t2); margin-bottom: .9rem; }
.pairs-hd { font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem; }

/* ── CMg × Clima ERA5 ──────────────────────────────────────── */
.wc-layout { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
#wcHeatWrap   { overflow-x: auto; border-radius: 8px; border: 1px solid var(--glass-border); }
#wcNodePills button { transition: background .18s, border-color .18s, color .18s; }
#wcNodePills button:hover { border-color: var(--acc) !important; color: var(--acc) !important; }

/* ── Forecast ───────────────────────────────────────────────── */
.fc-legend { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; padding: .45rem 0; }
.fc-li { display: flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .6rem; color: var(--t2); }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fc-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-top: .6rem; }
.fc-sk {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: .7rem .85rem;
  transition: border-color .2s;
}
.fc-sk:hover { border-color: rgba(56,189,248,.15); }
.fc-sv { font-family: var(--display); font-size: 1.05rem; line-height: 1; }
.fc-sl { font-family: var(--mono); font-size: .52rem; text-transform: uppercase; letter-spacing: .08em; color: var(--t2); margin-top: .14rem; }

/* ── Glosario Premium ───────────────────────────────────────── */
.glosario-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.glo-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.glo-card:hover {
  border-color: rgba(56,189,248,.2);
  background: rgba(56,189,248,.04);
  transform: translateY(-2px);
}
.glo-term {
  font-family: var(--mono);
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--acc);
  margin-bottom: .4rem;
}
.glo-def { font-size: .79rem; color: var(--t1); line-height: 1.65; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,4,8,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: rgba(10,14,26,.95);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 18px;
  padding: 2rem;
  max-width: 620px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), var(--glow-amber);
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-border);
  color: var(--t2);
  font-size: 1rem;
  cursor: pointer;
  padding: .25rem .55rem;
  border-radius: 6px;
  transition: all .18s;
}
.modal-close:hover { color: var(--t0); background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.3); }
.modal-title { font-family: var(--display); font-size: 1.5rem; color: var(--t0); margin-bottom: 1rem; line-height: 1.1; }
.modal-section { margin-top: 1.1rem; }
.modal-section-hd { font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--t2); margin-bottom: .55rem; }
.modal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; }
.modal-stat { background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); border-radius: 8px; padding: .7rem .85rem; }
.modal-sv { font-family: var(--display); font-size: 1.15rem; }
.modal-sl { font-family: var(--mono); font-size: .52rem; color: var(--t2); text-transform: uppercase; letter-spacing: .06em; margin-top: .12rem; }
.modal-text { font-size: .82rem; color: var(--t1); line-height: 1.75; }
.modal-bess { font-size: .82rem; color: var(--acc); background: var(--acc-dim); border: 1px solid rgba(56,189,248,.2); border-radius: 8px; padding: .8rem 1.1rem; line-height: 1.65; }

/* ── Tooltip ────────────────────────────────────────────────── */
.tip {
  display: none;
  position: fixed;
  z-index: 150;
  background: rgba(10,14,26,.96);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  max-width: 280px;
  font-size: .75rem;
  pointer-events: none;
  box-shadow: 0 16px 48px rgba(0,0,0,.55), var(--glow-amber);
  backdrop-filter: blur(8px);
}
.tip.active { pointer-events: auto; }
.tip-val { font-family: var(--display); font-size: 1.3rem; margin: .25rem 0; }
.tip-interp { font-size: .7rem; color: var(--t2); line-height: 1.6; margin-bottom: .4rem; }
.tip-more { font-family: var(--mono); font-size: .6rem; color: var(--acc); cursor: pointer; text-transform: uppercase; letter-spacing: .06em; }

/* ── Loading ────────────────────────────────────────────────── */
#loadingView {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1.25rem;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(56,189,248,.15);
  border-top-color: var(--acc);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  box-shadow: 0 0 12px rgba(56,189,248,.2);
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-txt {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--t2);
  letter-spacing: .06em;
}

/* ── Operational Badge / Status ────────────────────────────── */
#opStatus {
  animation: badge-pulse 3s ease-in-out infinite;
}

/* ── Simulador Histórico Real — SimReal Table ──────────────── */
#simRealTable thead tr { border-bottom: 1px solid rgba(56,189,248,.15); }
#simRealTable th {
  text-align: left;
  padding: .5rem .7rem;
  font-family: var(--mono);
  font-size: .58rem;
  color: var(--t2);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .08em;
}
#simRealTable th:not(:first-child) { text-align: right; }
#simRealTable td {
  padding: .5rem .7rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
  font-size: .72rem;
  color: var(--t1);
  transition: background .15s;
}
#simRealTable td:not(:first-child) { text-align: right; }
#simRealTable tbody tr:hover td { background: rgba(56,189,248,.04); }

/* ── CTA Section — Premium ──────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg,
    rgba(5,7,10,1) 0%,
    rgba(10,14,26,1) 40%,
    rgba(15,10,5,1) 100%);
  border-top: 1px solid rgba(56,189,248,.12);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3.5rem;
  align-items: start;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.25);
  color: var(--acc);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 12px rgba(56,189,248,.08);
}
.cta-headline {
  font-family: var(--display);
  font-size: clamp(2.2rem,4vw,3.2rem);
  color: var(--t0);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.cta-headline em { color: var(--acc); font-style: normal; }
.cta-sub { font-size: .88rem; color: var(--t2); line-height: 1.8; margin-bottom: 1.75rem; }
.cta-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-stat { text-align: center; }
.cta-stat-v { font-family: var(--display); font-size: 2rem; color: var(--acc); line-height: 1; }
.cta-stat-l { font-family: var(--mono); font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; color: var(--t2); margin-top: .25rem; }
.cta-proof { display: flex; align-items: center; gap: .55rem; font-size: .74rem; color: var(--t2); }
.cta-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16,185,129,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 8px rgba(16,185,129,.5)} 50%{opacity:.6;box-shadow:0 0 3px rgba(16,185,129,.2)} }

/* CTA Form */
.cta-form {
  background: rgba(10,14,26,.85);
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.cta-form-title { font-family: var(--display); font-size: 1.4rem; color: var(--t0); margin-bottom: .3rem; }
.cta-form-sub { font-size: .79rem; color: var(--t2); margin-bottom: 1.35rem; }

/* Form elements */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--t2); }
.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--t0);
  font-family: var(--mono);
  font-size: .78rem;
  padding: .6rem .8rem;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(56,189,248,.4);
  background: rgba(56,189,248,.04);
  box-shadow: 0 0 0 3px rgba(56,189,248,.08);
}
.form-textarea { min-height: 85px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: .85rem;
  background: linear-gradient(135deg, var(--acc), var(--amber2));
  color: #050709;
  border: none;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 8px;
  transition: all .22s;
  box-shadow: 0 4px 16px rgba(56,189,248,.25);
  font-weight: 700;
}
.form-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(56,189,248,.5), 0 0 20px rgba(56,189,248,.6);
  background: linear-gradient(135deg, var(--amber2), var(--acc));
}
.form-submit:active { transform: translateY(0); }
.form-privacy { font-size: .62rem; color: var(--t2); text-align: center; margin-top: .55rem; margin-bottom: 0; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success-icon { font-size: 2.8rem; margin-bottom: .6rem; }
.form-success-title { font-family: var(--display); font-size: 1.5rem; color: var(--t0); margin-bottom: .4rem; }
.form-success-sub { font-size: .82rem; color: var(--t2); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .panel-body { grid-template-columns: 1fr; }
  .barra-list { max-height: 180px; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .heat-layout { grid-template-columns: 1fr; }
  .glosario-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .mini-kpis { grid-template-columns: 1fr 1fr; }
  .fc-stats { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .wc-layout { flex-direction: column; }
  .wc-layout > div:last-child { flex: 0 0 auto !important; width: 100%; }
  .dash-wrap { padding: 0 1rem 2rem; }
  .kpi-strip { margin: 1rem; }
}
@media (max-width: 600px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .glosario-grid { grid-template-columns: 1fr; }
  .kpi-card { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .arb-tab { padding: .8rem 1rem; }
  .cta-section { padding: 3rem 1.25rem; }
}


/* --- Extracted from analytics.html --- */
:root {
            --bg0: #020408;
            --bg1: #050c18;
            --bg2: #0a1628;
            --bg3: #0e1e38;
            --glass: rgba(10, 22, 40, .72);
            --border: rgba(255, 255, 255, .07);
            --border-c: rgba(6, 182, 212, .28);
            --surface: rgba(255, 255, 255, .035);
            --acc: #06b6d4;
            --acc2: #00e5ff;
            --acc-dim: rgba(6, 182, 212, .12);
            --violet: #7c3aed;
            --vio-dim: rgba(124, 58, 237, .14);
            --green: #10b981;
            --amber: #38bdf8;
            --red: #ef4444;
            --t0: #f9fafb;
            --t1: #9ca3af;
            --t2: #6b7280;
            --sans: 'Inter', system-ui, sans-serif;
            --display: 'Sora', var(--sans);
            --mono: 'JetBrains Mono', 'Courier New', monospace;
            --r: 10px;
            --rl: 16px
        }

        *,
        ::before,
        ::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: var(--sans);
            background: var(--bg0);
            color: var(--t0);
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 62px
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: linear-gradient(rgba(0, 200, 212, .015)1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 212, .015)1px, transparent 1px);
            background-size: 52px 52px;
            pointer-events: none;
            z-index: 0
        }

        /* NAV */
        .nav-wrap {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 200;
            height: 62px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
            background: rgba(2, 4, 8, .88);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: background .3s
        }

        .nav-wrap.scrolled {
            background: rgba(2, 4, 8, .97)
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: .6rem;
            text-decoration: none
        }

        .nav-bolt {
            width: 26px;
            height: 26px;
            color: var(--acc)
        }

        .logo-text {
            display: flex;
            align-items: baseline
        }

        .logo-bess {
            font-family: var(--display);
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--t0)
        }

        .logo-sol {
            font-size: 1rem;
            font-weight: 300;
            color: var(--t1);
            margin-left: .3rem
        }

        .nav-links {
            display: flex;
            gap: .1rem;
            list-style: none
        }

        .nav-links a {
            color: var(--t2);
            text-decoration: none;
            font-size: .8rem;
            font-weight: 500;
            padding: .4rem .65rem;
            border-radius: 6px;
            transition: all .2s
        }

        .nav-links a:hover {
            color: var(--t0);
            background: var(--surface)
        }

        .nav-links a.active-page {
            color: var(--acc);
            background: var(--acc-dim)
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            font-family: var(--sans);
            font-size: .84rem;
            font-weight: 600;
            padding: .5rem 1.1rem;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all .2s;
            border: none
        }

        .btn-primary {
            background: var(--acc);
            color: #020408;
            font-weight: 700
        }

        .btn-primary:hover {
            background: var(--acc2);
            transform: translateY(-1px);
            box-shadow: 0 4px 20px rgba(6, 182, 212, .4)
        }

        /* HERO */
        .page-hero {
            position: relative;
            z-index: 1;
            padding: 2.5rem 2rem 1.5rem;
            max-width: 1400px;
            margin: 0 auto
        }

        .eyebrow {
            font-family: var(--mono);
            font-size: .7rem;
            font-weight: 500;
            color: var(--acc);
            letter-spacing: .12em;
            text-transform: uppercase;
            margin-bottom: .4rem
        }

        .page-title {
            font-family: var(--display);
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            font-weight: 800;
            color: var(--t0);
            line-height: 1.1;
            margin-bottom: .3rem
        }

        .page-title span {
            background: linear-gradient(135deg, var(--acc), var(--violet));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        .page-sub {
            font-size: .85rem;
            color: var(--t2)
        }

        /* KPI STRIP */
        .kpi-strip {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem 2rem;
            position: relative;
            z-index: 1
        }

        .kpi-card {
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: 1rem 1.25rem;
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            gap: .9rem
        }

        .kpi-icon {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0
        }

        .kpi-val {
            font-family: var(--display);
            font-size: 1.45rem;
            font-weight: 800;
            line-height: 1
        }

        .kpi-lbl {
            font-family: var(--mono);
            font-size: .58rem;
            color: var(--t2);
            text-transform: uppercase;
            letter-spacing: .08em;
            margin-top: .15rem
        }

        /* DASH GRID */
        .dash-wrap {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem 4rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            position: relative;
            z-index: 1
        }

        .dash-wide {
            grid-column: 1/-1
        }

        /* CARD */
        .card {
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: var(--rl);
            padding: 1.5rem;
            backdrop-filter: blur(8px);
            position: relative;
            overflow: hidden
        }

        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(6, 182, 212, .03)0%, transparent 60%);
            pointer-events: none
        }

        .card-hd {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem
        }

        .card-title {
            font-family: var(--display);
            font-size: .95rem;
            font-weight: 700;
            color: var(--t0)
        }

        .card-sub {
            font-size: .74rem;
            color: var(--t2);
            margin-bottom: .75rem
        }

        .tag {
            font-family: var(--mono);
            font-size: .58rem;
            font-weight: 500;
            padding: .15rem .5rem;
            border-radius: 99px;
            border: 1px solid var(--border);
            color: var(--t2);
            background: var(--surface)
        }

        .tag-acc {
            border-color: var(--border-c);
            color: var(--acc);
            background: var(--acc-dim)
        }

        .tag-vio {
            border-color: rgba(124, 58, 237, .3);
            color: var(--violet);
            background: var(--vio-dim)
        }

        /* BARRA LIST */
        .barra-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
            width: 170px;
            flex-shrink: 0;
            max-height: 400px;
            overflow-y: auto;
            padding-right: 4px
        }

        .barra-list::-webkit-scrollbar {
            width: 3px
        }

        .barra-list::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 99px
        }

        .barra-item {
            display: flex;
            align-items: center;
            gap: .5rem;
            padding: .3rem .5rem;
            border-radius: 7px;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all .15s;
            background: transparent;
            text-align: left;
            width: 100%
        }

        .barra-item:hover {
            background: var(--surface);
            border-color: var(--border)
        }

        .barra-item.active {
            background: rgba(255, 255, 255, .06);
            border-color: var(--border-c)
        }

        .bl-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0
        }

        .bl-name {
            font-family: var(--display);
            font-size: .72rem;
            font-weight: 600;
            color: var(--t0);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis
        }

        .bl-reg {
            font-family: var(--mono);
            font-size: .53rem;
            color: var(--t2)
        }

        .bl-price {
            font-family: var(--mono);
            font-size: .6rem;
            text-align: right;
            flex-shrink: 0;
            font-weight: 500;
            white-space: nowrap
        }

        .reg-hd {
            font-family: var(--mono);
            font-size: .55rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .09em;
            padding: .4rem .5rem .15rem;
            margin-top: .2rem
        }

        /* CHART SECTION */
        .panel-body {
            display: flex;
            gap: 1.25rem;
            align-items: flex-start
        }

        .chart-col {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .7rem
        }

        .chart-wrap {
            position: relative;
            border-radius: var(--r);
            overflow: hidden
        }

        canvas.main-cv {
            width: 100%;
            display: block;
            border-radius: var(--r);
            background: var(--surface);
            border: 1px solid var(--border);
            cursor: crosshair;
        }

        #mapCanvas {
            height: 280px
        }

        #fcCanvas {
            height: 260px
        }

        /* ZOOM CONTROLS */
        .zoom-bar {
            position: absolute;
            top: 8px;
            right: 8px;
            display: flex;
            gap: 3px;
            z-index: 10
        }

        .zbtn {
            font-family: var(--mono);
            font-size: .7rem;
            padding: .18rem .42rem;
            border-radius: 5px;
            border: 1px solid var(--border);
            background: rgba(2, 4, 8, .7);
            color: var(--t1);
            cursor: pointer;
            backdrop-filter: blur(4px);
            transition: all .15s;
            line-height: 1
        }

        .zbtn:hover {
            border-color: var(--border-c);
            color: var(--acc)
        }

        .zoom-hint {
            position: absolute;
            bottom: 22px;
            right: 8px;
            font-family: var(--mono);
            font-size: .55rem;
            color: rgba(107, 114, 128, .5);
            pointer-events: none
        }

        /* MINI KPIS */
        .mini-kpis {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: .45rem
        }

        .mk {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: .45rem .6rem;
            text-align: center
        }

        .mk-v {
            font-family: var(--display);
            font-size: .95rem;
            font-weight: 700
        }

        .mk-l {
            font-family: var(--mono);
            font-size: .52rem;
            color: var(--t2);
            text-transform: uppercase;
            margin-top: .08rem
        }

        /* STAT NAME ROW */
        .name-row {
            display: flex;
            align-items: baseline;
            gap: .6rem;
            margin-bottom: .1rem
        }

        .stat-name {
            font-family: var(--display);
            font-size: 1.1rem;
            font-weight: 700
        }

        .stat-reg {
            font-size: .72rem;
            color: var(--t2)
        }

        /* FC STATS */
        .fc-stats {
            display: flex;
            flex-direction: column;
            gap: .5rem;
            width: 140px;
            flex-shrink: 0
        }

        .fc-sk {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: .7rem .9rem
        }

        .fc-sv {
            font-family: var(--display);
            font-size: 1.05rem;
            font-weight: 700
        }

        .fc-sl {
            font-family: var(--mono);
            font-size: .55rem;
            color: var(--t2);
            text-transform: uppercase;
            margin-top: .1rem
        }

        .fc-legend {
            display: flex;
            gap: 1rem;
            font-size: .7rem;
            color: var(--t1);
            flex-wrap: wrap
        }

        .fc-li {
            display: flex;
            align-items: center;
            gap: .35rem
        }

        .fc-dot {
            width: 18px;
            height: 2px;
            border-radius: 1px
        }

        /* HEATMAP */
        .heat-layout {
            display: grid;
            grid-template-columns: 1fr 190px;
            gap: 1.25rem;
            align-items: start
        }

        #heatWrap {
            overflow: auto;
            max-width: 100%;
            border-radius: 8px
        }

        #heatCanvas {
            display: block;
            border-radius: 8px
        }

        .heat-leg-bar {
            height: 8px;
            border-radius: 4px;
            background: linear-gradient(90deg, #ef4444, #374151, #10b981);
            margin: .3rem 0
        }

        .heat-leg-lbl {
            display: flex;
            justify-content: space-between;
            font-family: var(--mono);
            font-size: .55rem;
            color: var(--t2)
        }

        .pairs-hd {
            font-family: var(--mono);
            font-size: .57rem;
            font-weight: 500;
            color: var(--t1);
            text-transform: uppercase;
            letter-spacing: .08em;
            margin: .8rem 0 .35rem
        }

        .pair-row {
            display: flex;
            align-items: center;
            gap: .4rem;
            margin-bottom: .35rem
        }

        .pair-nm {
            font-size: .63rem;
            color: var(--t1);
            min-width: 70px;
            line-height: 1.2
        }

        .pair-bar-bg {
            flex: 1;
            height: 4px;
            border-radius: 99px;
            background: var(--surface);
            overflow: hidden
        }

        .pair-bar-fg {
            height: 100%;
            border-radius: 99px;
            transition: width .8s ease
        }

        .pair-val {
            font-family: var(--mono);
            font-size: .6rem;
            min-width: 32px;
            text-align: right
        }

        /* TOOLTIP */
        .tip {
            position: fixed;
            background: rgba(5, 12, 24, .97);
            border: 1px solid var(--border-c);
            border-radius: var(--r);
            padding: .65rem .85rem;
            font-size: .72rem;
            pointer-events: none;
            display: none;
            z-index: 400;
            max-width: 260px;
            line-height: 1.5;
            box-shadow: 0 8px 32px rgba(6, 182, 212, .15)
        }

        .tip strong {
            color: var(--t0);
            display: block;
            margin-bottom: .25rem;
            font-size: .78rem;
            font-family: var(--display)
        }

        .tip .tip-val {
            font-family: var(--mono);
            font-weight: 500;
            font-size: .73rem
        }

        .tip .tip-interp {
            color: var(--t1);
            font-size: .67rem;
            margin-top: .3rem;
            border-top: 1px solid var(--border);
            padding-top: .3rem;
            line-height: 1.45
        }

        .tip.active {
            pointer-events: auto
        }

        .tip-more {
            display: inline-block;
            margin-top: .4rem;
            font-family: var(--mono);
            font-size: .65rem;
            color: var(--acc);
            cursor: pointer;
            border: 1px solid var(--border-c);
            padding: .15rem .5rem;
            border-radius: 5px;
            background: var(--acc-dim);
            transition: all .15s
        }

        .tip-more:hover {
            background: rgba(6, 182, 212, .22)
        }

        /* MODAL */
        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 500;
            background: rgba(2, 4, 8, .8);
            backdrop-filter: blur(6px);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem
        }

        .modal-overlay.open {
            display: flex
        }

        .modal-box {
            background: var(--bg2);
            border: 1px solid var(--border-c);
            border-radius: var(--rl);
            padding: 2rem;
            max-width: 640px;
            width: 100%;
            max-height: 88vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 80px rgba(6, 182, 212, .12)
        }

        .modal-box::-webkit-scrollbar {
            width: 4px
        }

        .modal-box::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 99px
        }

        .modal-close {
            position: absolute;
            top: .9rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.1rem;
            color: var(--t2);
            cursor: pointer;
            line-height: 1;
            transition: color .2s
        }

        .modal-close:hover {
            color: var(--t0)
        }

        .modal-title {
            font-family: var(--display);
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 1rem;
            padding-right: 2rem;
            color: var(--t0)
        }

        .modal-section {
            margin-bottom: 1.25rem
        }

        .modal-section-hd {
            font-family: var(--mono);
            font-size: .65rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--acc);
            margin-bottom: .5rem
        }

        .modal-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: .6rem
        }

        .modal-stat {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: .6rem .8rem
        }

        .modal-sv {
            font-family: var(--display);
            font-size: 1.05rem;
            font-weight: 700
        }

        .modal-sl {
            font-family: var(--mono);
            font-size: .56rem;
            color: var(--t2);
            text-transform: uppercase;
            margin-top: .08rem
        }

        .modal-text {
            font-size: .79rem;
            color: var(--t1);
            line-height: 1.6
        }

        .modal-bess {
            background: var(--acc-dim);
            border: 1px solid var(--border-c);
            border-radius: 8px;
            padding: .8rem 1rem;
            font-size: .8rem;
            color: var(--t0);
            line-height: 1.5
        }

        /* GLOSARIO */
        .glosario-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: .75rem
        }

        .glo-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: .85rem 1rem
        }

        .glo-term {
            font-family: var(--mono);
            font-size: .72rem;
            font-weight: 500;
            color: var(--acc);
            margin-bottom: .25rem
        }

        .glo-def {
            font-size: .73rem;
            color: var(--t1);
            line-height: 1.5
        }

        /* SPINNER */
        .spinner {
            width: 30px;
            height: 30px;
            border: 2px solid var(--border);
            border-top-color: var(--acc);
            border-radius: 50%;
            animation: spin .7s linear infinite;
            margin: 4rem auto 1rem
        }

        @keyframes spin {
            to {
                transform: rotate(360deg)
            }
        }

        .loading-txt {
            text-align: center;
            font-family: var(--mono);
            font-size: .78rem;
            color: var(--t2)
        }

        /* ═══ CTA AGRESIVO ═══ */
        .cta-section {
            grid-column: 1/-1;
            position: relative;
            border-radius: var(--rl);
            overflow: hidden;
            background: var(--bg1);
            border: 1px solid var(--border-c);
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6, 182, 212, .18) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 90% 100%, rgba(124, 58, 237, .15) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-inner {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            padding: 3rem 3rem;
            align-items: start;
        }

        .cta-badge {
            display: inline-block;
            font-family: var(--mono);
            font-size: .62rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .12em;
            color: var(--acc);
            background: var(--acc-dim);
            border: 1px solid var(--border-c);
            border-radius: 99px;
            padding: .2rem .75rem;
            margin-bottom: .9rem;
            animation: pulse-badge 2.5s ease-in-out infinite;
        }

        @keyframes pulse-badge {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(6, 182, 212, .3);
            }

            50% {
                box-shadow: 0 0 0 6px rgba(6, 182, 212, 0);
            }
        }

        .cta-headline {
            font-family: var(--display);
            font-size: clamp(1.6rem, 2.5vw, 2.4rem);
            font-weight: 800;
            line-height: 1.15;
            color: var(--t0);
            margin-bottom: .9rem;
        }

        .cta-headline em {
            font-style: normal;
            background: linear-gradient(135deg, var(--acc), var(--violet));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-sub {
            font-size: .9rem;
            color: var(--t1);
            line-height: 1.65;
            margin-bottom: 1.5rem;
            max-width: 440px;
        }

        .cta-stats {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.8rem;
        }

        .cta-stat {
            text-align: center;
        }

        .cta-stat-v {
            font-family: var(--display);
            font-size: 1.55rem;
            font-weight: 800;
            color: var(--acc);
            line-height: 1;
        }

        .cta-stat-l {
            font-family: var(--mono);
            font-size: .58rem;
            color: var(--t2);
            text-transform: uppercase;
            margin-top: .15rem;
        }

        .cta-proof {
            display: flex;
            align-items: center;
            gap: .6rem;
            font-size: .78rem;
            color: var(--t2);
        }

        .cta-proof-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
            animation: blink 1.4s ease-in-out infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1
            }

            50% {
                opacity: .3
            }
        }

        /* FORM */
        .cta-form {
            background: rgba(5, 12, 24, .75);
            border: 1px solid var(--border-c);
            border-radius: var(--rl);
            padding: 2rem;
            backdrop-filter: blur(20px);
            box-shadow: 0 0 0 1px rgba(6, 182, 212, .06), inset 0 1px 0 rgba(255, 255, 255, .04);
        }

        .cta-form-title {
            font-family: var(--display);
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--t0);
            margin-bottom: .15rem;
            letter-spacing: -.01em;
        }

        .cta-form-sub {
            font-size: .73rem;
            color: var(--t2);
            margin-bottom: 1.4rem;
            padding-bottom: 1.1rem;
            border-bottom: 1px solid var(--border);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: .8rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: .3rem;
        }

        .form-group.full {
            grid-column: 1/-1;
        }

        .form-label {
            font-family: var(--mono);
            font-size: .58rem;
            font-weight: 600;
            color: var(--acc);
            text-transform: uppercase;
            letter-spacing: .1em;
            display: flex;
            align-items: center;
            gap: .35rem;
        }

        .form-label::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--acc);
            opacity: .7;
        }

        .form-input,
        .form-select,
        .form-textarea {
            font-family: var(--sans);
            font-size: .83rem;
            background: rgba(6, 182, 212, .03);
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: 9px;
            padding: .62rem .85rem;
            color: var(--t0);
            outline: none;
            transition: border-color .2s, box-shadow .2s, background .2s;
            width: 100%;
            letter-spacing: .01em;
        }

        .form-input:hover,
        .form-select:hover,
        .form-textarea:hover {
            border-color: rgba(255, 255, 255, .14);
            background: rgba(6, 182, 212, .05);
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            border-color: var(--acc);
            background: rgba(6, 182, 212, .06);
            box-shadow: 0 0 0 3px rgba(6, 182, 212, .12), 0 0 16px rgba(6, 182, 212, .08);
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: rgba(107, 114, 128, .6);
            font-size: .8rem;
        }

        .form-select {
            cursor: pointer;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right .75rem center;
            padding-right: 2rem;
        }

        .form-select option {
            background: var(--bg2);
            color: var(--t0);
        }

        .form-textarea {
            resize: vertical;
            min-height: 80px;
            line-height: 1.55;
        }

        .form-submit {
            width: 100%;
            margin-top: 1rem;
            padding: .9rem;
            font-family: var(--display);
            font-size: 1rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--acc) 0%, #0891b2 50%, #0e8fa3 100%);
            color: #020408;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all .25s cubic-bezier(.4, 0, .2, 1);
            letter-spacing: .02em;
            position: relative;
            overflow: hidden;
        }

        .form-submit::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 60%);
            opacity: 0;
            transition: opacity .2s;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(6, 182, 212, .5);
        }

        .form-submit:hover::after {
            opacity: 1;
        }

        .form-submit:active {
            transform: translateY(0);
            box-shadow: none;
        }


        .form-privacy {
            text-align: center;
            font-size: .62rem;
            color: var(--t2);
            margin-top: .6rem;
        }

        .form-success {
            display: none;
            text-align: center;
            padding: 2rem 1rem;
        }

        .form-success-icon {
            font-size: 2.5rem;
            margin-bottom: .5rem;
        }

        .form-success-title {
            font-family: var(--display);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--green);
            margin-bottom: .4rem;
        }

        .form-success-sub {
            font-size: .8rem;
            color: var(--t1);
        }
