/* ==========================================================================
   Landing — algoquantely.com
   Ambiente de terminal de trading: fondo profundo con cuadrícula, acentos
   menta/cian, movimiento sutil. Las clases que también usa el panel
   (community-card, brand-icon, lightbox, icon-btn, pillar-icon) conservan
   sus reglas base; la paleta nueva solo aplica dentro de body.landing.
   ========================================================================== */

body.landing {
  --ink: #05080b;
  --charcoal: #0c1217;
  --obsidian: #080d11;
  --graphite: #8b98a5;
  --mist: #d4dde5;
  --growth: #2ef2a4;
  --signal: #38bdf8;
  --loss: #ff5f6d;
  --line: rgba(160, 220, 255, 0.09);
  --line-strong: rgba(160, 220, 255, 0.18);
  --gradient-mint: linear-gradient(100deg, #2ef2a4 0%, #38bdf8 60%, #a78bfa 110%);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  background: var(--ink);
}

/* ---------- Fondo global ---------- */

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
  animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift { to { background-position: 56px 56px, 56px 56px; } }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--gradient-mint);
  box-shadow: 0 0 12px rgba(46, 242, 164, 0.7);
}

.landing .nav { background: rgba(5, 8, 11, 0.7); }

/* ---------- Acentos y botones (solo landing) ---------- */

.accent-mint {
  background: var(--gradient-mint);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.landing .eyebrow {
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(46, 242, 164, 0.06); border: 1px solid rgba(46, 242, 164, 0.2);
  color: var(--mist); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
}

.landing .btn-primary {
  position: relative; overflow: hidden;
  background: var(--gradient-mint); background-size: 160% 100%;
  color: #031a12; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(46, 242, 164, 0.4), 0 8px 32px -6px rgba(46, 242, 164, 0.55);
}
.landing .btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(46, 242, 164, 0.6), 0 10px 44px -6px rgba(46, 242, 164, 0.8); }
.landing .btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s var(--ease) infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.landing .btn-ghost { background: rgba(12, 18, 23, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.landing .btn-ghost:hover { border-color: rgba(46, 242, 164, 0.5); box-shadow: 0 0 24px -4px rgba(46, 242, 164, 0.35); }
.btn-magnetic { will-change: transform; }

.landing .card {
  background: linear-gradient(180deg, rgba(18, 27, 34, 0.85), rgba(10, 15, 20, 0.85));
  border-color: var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* Brillo que sigue al cursor (JS define --mx / --my) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200%), rgba(46, 242, 164, 0.12), transparent 40%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -200%), rgba(46, 242, 164, 0.7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.landing .reveal { transform: translateY(26px) scale(0.985); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.landing .reveal.is-visible { transform: none; filter: none; }

/* Bandas alternas para dar contraste entre secciones */
.band {
  position: relative;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(46, 242, 164, 0.07), transparent 60%),
    #070c10;
  border-block: 1px solid var(--line);
}

.landing .section { --section: 112px; }
@media (max-width: 720px) { .landing .section { --section: 80px; } }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: 88px; padding-bottom: 72px; overflow: clip; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero-glow {
  position: absolute; inset: -10% -20% auto; height: 1000px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 30% at 70% 45%, rgba(46, 242, 164, 0.18), transparent 70%),
    radial-gradient(35% 30% at 25% 60%, rgba(56, 189, 248, 0.14), transparent 70%),
    radial-gradient(25% 20% at 50% 20%, rgba(167, 139, 250, 0.10), transparent 70%);
  animation: glow-float 14s ease-in-out infinite alternate;
}
@keyframes glow-float { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }

.hero-copy { display: grid; gap: 26px; justify-items: center; text-align: center; max-width: 1100px; margin-inline: auto; }
.hero-title { font-size: clamp(40px, 6.8vw, 86px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.98; }
.hero-title .line { display: block; }
.hero-title .word {
  display: inline-block;
  opacity: 0; transform: translateY(0.5em) rotate(4deg); filter: blur(8px);
  animation: word-in 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 90ms + 150ms);
}
.hero-title .accent-mint.word { animation: word-in 0.9s var(--ease) forwards, shimmer 6s ease-in-out 1.2s infinite alternate; animation-delay: calc(var(--i) * 90ms + 150ms), 1.2s; }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
/* Contador «100%»: cuenta de 0 a 100 con una barra de carga debajo (main.js) */
.hero-title .count-word { position: relative; color: var(--growth); text-shadow: 0 0 28px rgba(46, 242, 164, 0.45); font-variant-numeric: tabular-nums; }
.hero-title .count { display: inline-block; min-width: 3ch; text-align: right; transform-origin: 50% 70%; }
.hero-title .count-word::after {
  content: ""; position: absolute; left: 0.04em; right: 0.04em; bottom: -0.02em; height: 0.07em; border-radius: 99px;
  background: linear-gradient(90deg, var(--growth) calc(var(--p, 1) * 100%), rgba(46, 242, 164, 0.14) 0);
  box-shadow: 0 0 14px rgba(46, 242, 164, 0.55);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.hero-title .count-word.is-counting::after { opacity: 1; }
.hero-title .count.is-done { animation: count-pop 0.7s var(--ease); }
@keyframes count-pop { 40% { transform: scale(1.08); text-shadow: 0 0 46px rgba(46, 242, 164, 0.9); } }
.hero-lead { max-width: 640px; font-size: clamp(18px, 2vw, 21px); color: var(--mist); opacity: 0; animation: fade-up 0.8s var(--ease) 0.75s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; opacity: 0; animation: fade-up 0.8s var(--ease) 0.9s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: var(--r-pill);
  background: rgba(46, 242, 164, 0.07); border: 1px solid rgba(46, 242, 164, 0.28);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--growth);
  opacity: 0; animation: fade-up 0.7s var(--ease) 0.05s forwards;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--growth); box-shadow: 0 0 10px var(--growth); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--growth); animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* ---------- Demo interactiva (gráfico + Chart Trader + bot) ---------- */

.showcase { position: relative; margin-top: 96px; perspective: 1800px; opacity: 0; animation: fade-up 1s var(--ease) 1s forwards; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 18px; align-items: stretch; }
.tilt {
  transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 0.97));
  transform-origin: 50% 0%;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.window {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-halo), 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.landing .window {
  background: rgba(8, 13, 17, 0.94);
  border-color: var(--line-strong);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(46, 242, 164, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.window-bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--obsidian);
  font-size: 12px; color: var(--graphite);
}
.window-dots { display: flex; gap: 6px; flex: none; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.landing .window-dots span:nth-child(1) { background: #ff5f57; }
.landing .window-dots span:nth-child(2) { background: #febc2e; }
.landing .window-dots span:nth-child(3) { background: #28c840; }
.window-title { display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-title strong { color: var(--white); font-weight: 500; }
.rec { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--growth); white-space: nowrap; }
.rec .pulse { width: 6px; height: 6px; }

/* Barra de herramientas del gráfico */
.toolbar { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nt-select {
  height: 28px; padding: 0 8px; border-radius: 6px;
  background: #0f161c; color: var(--white); border: 1px solid var(--line-strong);
  font: 500 12px/1 var(--font); cursor: pointer;
}
.nt-select:hover { border-color: rgba(46, 242, 164, 0.5); }
input.nt-select { width: 100%; cursor: text; font-family: var(--mono); }
.seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; background: #0f161c; border: 1px solid var(--line-strong); }
.seg button {
  min-width: 34px; height: 24px; padding: 0 8px; border-radius: 6px;
  font: 600 11.5px/1 var(--mono); color: var(--graphite);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.seg button:hover { color: var(--white); }
.seg button[aria-pressed="true"] { background: rgba(46, 242, 164, 0.16); color: var(--growth); box-shadow: inset 0 0 0 1px rgba(46, 242, 164, 0.4); }

/* Gráfico */
.chart-body { display: grid; grid-template-columns: minmax(0, 1fr) 196px; }
.chart-area { position: relative; display: flex; flex-direction: column; padding: 14px 0 8px 16px; border-right: 1px solid var(--line); min-width: 0; }
.chart-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-right: 16px; margin-bottom: 6px; }
.chart-sym { font-size: 12px; font-weight: 600; color: var(--graphite); letter-spacing: 0.02em; }
.chart-price { font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease); }
.chart-price.tick-up { color: var(--growth); text-shadow: 0 0 18px rgba(46, 242, 164, 0.6); transition: none; }
.chart-price.tick-down { color: var(--loss); text-shadow: 0 0 18px rgba(255, 95, 109, 0.6); transition: none; }
.chart-change { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--growth); }
.chart-change.neg { color: var(--loss); }
.chart-svg { width: 100%; height: 420px; display: block; overflow: visible; font-family: var(--mono); }
.chart-svg .grid line { stroke: rgba(255, 255, 255, 0.05); }
.chart-svg .up { fill: var(--growth); stroke: var(--growth); }
.chart-svg .down { fill: var(--loss); stroke: var(--loss); }
.chart-svg .wick { stroke-width: 1; }
.chart-svg .ma { fill: none; stroke: #ffa16c; stroke-width: 1.5; opacity: 0.9; }
.landing .chart-svg .ma { stroke: var(--signal); stroke-width: 1.8; filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.7)); }
.chart-svg .area { fill: url(#area-grad); }
.chart-svg .axis-bg { fill: rgba(5, 8, 11, 0.6); }
.chart-svg .axis-line { stroke: var(--line-strong); }
.chart-svg .axis-label { fill: var(--graphite); font-size: 10.5px; }
.chart-svg .time-label { fill: var(--graphite); font-size: 10px; text-anchor: middle; }
.chart-svg .last-line { stroke: var(--growth); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.8; }
.chart-svg .last-line.down { stroke: var(--loss); }
.chart-svg .tag rect { rx: 3px; }
.chart-svg .tag text { font-size: 10.5px; font-weight: 700; }
.chart-svg .tag.up rect { fill: var(--growth); stroke: none; }
.chart-svg .tag.down rect { fill: var(--loss); stroke: none; }
.chart-svg .tag.up text, .chart-svg .tag.down text { fill: #031a12; stroke: none; }
.chart-svg .tag.entry rect { fill: #e5ecf2; }
.chart-svg .tag.entry text { fill: #05080b; }
.chart-svg .tag.tp rect { fill: rgba(46, 242, 164, 0.18); stroke: var(--growth); }
.chart-svg .tag.tp text { fill: var(--growth); }
.chart-svg .tag.sl rect { fill: rgba(255, 95, 109, 0.18); stroke: var(--loss); }
.chart-svg .tag.sl text { fill: var(--loss); }
.chart-svg .pos-line { stroke-width: 1.2; }
.chart-svg .pos-line.entry { stroke: #e5ecf2; stroke-dasharray: 6 4; }
.chart-svg .pos-line.tp { stroke: var(--growth); }
.chart-svg .pos-line.sl { stroke: var(--loss); }
.chart-svg .pos-zone.win { fill: rgba(46, 242, 164, 0.06); }
.chart-svg .pos-zone.risk { fill: rgba(255, 95, 109, 0.05); }
.chart-svg .pos-pill rect { fill: rgba(5, 8, 11, 0.85); stroke: var(--line-strong); rx: 4px; }
.chart-svg .pos-pill text { fill: var(--white); font-size: 10.5px; font-weight: 700; }
.chart-svg .pos-pill .pnl-up { fill: var(--growth); }
.chart-svg .pos-pill .pnl-down { fill: var(--loss); }
.chart-svg .mk-long { fill: var(--growth); }
.chart-svg .mk-short { fill: var(--loss); }
.chart-svg .mk-text { fill: var(--white); font-size: 9.5px; font-weight: 700; font-family: var(--font); }
.chart-svg .mk-exit { stroke: var(--white); stroke-width: 1.5; }
.chart-svg .mk-exit.win { fill: var(--growth); }
.chart-svg .mk-exit.loss { fill: var(--loss); }
.chart-svg .mk-new { animation: marker-pop 0.6s var(--ease); transform-box: fill-box; transform-origin: center; }
.chart-svg .sim-line { stroke: rgba(167, 139, 250, 0.45); stroke-dasharray: 2 4; }
.chart-svg .sim-label { fill: rgba(167, 139, 250, 0.85); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; }
@keyframes marker-pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.chart-note { padding: 6px 16px 0 0; font-size: 11px; color: var(--graphite); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chart Trader */
.trader { padding: 12px; display: grid; gap: 12px; align-content: start; background: #0b1116; font-size: 12px; }
.tr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tr-btn {
  height: 34px; border-radius: 6px;
  background: #1a232b; border: 1px solid #26323c; color: var(--mist);
  font: 600 12.5px/1 var(--font);
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease);
}
.tr-btn:hover { background: #222e38; color: var(--white); }
.tr-btn:active { transform: scale(0.96); }
.tr-btn.buy:hover { background: rgba(46, 242, 164, 0.16); border-color: rgba(46, 242, 164, 0.5); color: var(--growth); }
.tr-btn.sell:hover { background: rgba(255, 95, 109, 0.16); border-color: rgba(255, 95, 109, 0.5); color: var(--loss); }
.tr-btn.flash { background: rgba(46, 242, 164, 0.3); }
.tr-pos {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #26323c; border-radius: 6px; overflow: hidden;
  font-family: var(--mono); font-size: 11.5px; text-align: center; color: var(--mist);
}
.tr-pos span { padding: 8px 4px; background: #111a21; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-pos span:first-child { border-right: 1px solid #26323c; }
.tr-pos .tr-pnl { grid-column: span 2; border-top: 1px solid #26323c; font-weight: 700; }
.tr-pos.long #tr-side { background: rgba(46, 242, 164, 0.16); color: var(--growth); }
.tr-pos.short #tr-side { background: rgba(255, 95, 109, 0.16); color: var(--loss); }
.tr-pnl.pos { color: var(--growth); background: rgba(46, 242, 164, 0.08); }
.tr-pnl.neg { color: var(--loss); background: rgba(255, 95, 109, 0.08); }
.tr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; }
.tr-fields label { display: grid; gap: 4px; color: var(--graphite); font-size: 11px; min-width: 0; }
.tr-fields .span-2 { grid-column: span 2; }
.tr-fields .nt-select { width: 100%; min-width: 0; }

/* Ventana del bot (réplica del panel de Quantely Escavator) */
.bot-win { display: flex; flex-direction: column; contain: size; min-height: 100%; }
.landing .bot-win { background: #121826; border-color: rgba(95, 201, 201, 0.25); }
.bot-bar {
  display: flex; align-items: center; gap: 10px; flex: none;
  height: 44px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d121c; font-size: 12.5px; color: var(--mist); font-weight: 500;
}
.bot-logo { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: linear-gradient(135deg, #ff5f57, #ff9f43); color: #fff; font-size: 11px; font-weight: 800; }
.bot-ctrls { margin-left: auto; display: flex; gap: 12px; color: var(--graphite); font-style: normal; font-size: 11px; }
.bot-ctrls i { font-style: normal; }
.bot-body { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 16px 14px 18px; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; scrollbar-color: #2b3350 transparent; }
.bot-body:focus-visible { outline-offset: -2px; }
.bot-title { text-align: center; white-space: nowrap; font-size: 16.5px; font-weight: 800; letter-spacing: 0.01em; color: #5fc9c9; text-shadow: 0 0 20px rgba(95, 201, 201, 0.35); }
.bot-sub { text-align: center; font-size: 12px; font-weight: 600; color: var(--mist); margin-top: -6px; }
.bot-row { display: grid; gap: 8px; }
.bot-row.two { grid-template-columns: 1fr 1fr; }
.bot-row.three { grid-template-columns: repeat(3, 1fr); }
.bot-card {
  display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px;
  background: #262c44; border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 0;
}
.bot-card > span { font-size: 10.5px; font-weight: 700; color: #c9d1e4; letter-spacing: 0.04em; }
.bot-card strong { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s var(--ease); }
.bot-card strong.sm { font-size: 12px; font-weight: 700; white-space: normal; line-height: 1.5; }
.bot-card .money { color: #4ade80; font-family: var(--mono); }
.bot-card .money.neg { color: var(--loss); }
.bot-card strong.live { color: #4ade80; }
.bot-card strong.warn { color: #fbbf24; }
.bot-card.muted-card { opacity: 0.55; }
.bot-card.target { gap: 6px; padding: 12px; }
.target-head { display: flex; justify-content: space-between; align-items: baseline; }
.target-head strong { color: #5fc9c9; font-size: 15px; }
.target-pct { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #4ade80; }
.target-label { font-size: 12px; font-weight: 800; color: #4ade80; letter-spacing: 0.03em; }
.target-bar { position: relative; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.55); overflow: hidden; background: rgba(0, 0, 0, 0.25); }
.target-bar i {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(90deg, #16a34a, #4ade80 70%, #a7f3d0);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.7);
  transition: width 0.45s var(--ease);
}
.target-bar i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  animation: sweep-bar 1.8s linear infinite;
}
@keyframes sweep-bar { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.bot-card.target.hit { border-color: rgba(74, 222, 128, 0.7); box-shadow: 0 0 28px -4px rgba(74, 222, 128, 0.55); animation: target-hit 1.2s var(--ease); }
@keyframes target-hit { 30% { transform: scale(1.03); } }
.bot-sep { height: 2px; border-radius: 2px; background: #5fc9c9; opacity: 0.7; margin: 4px 0; }
.bot-h { font-size: 13px; font-weight: 800; color: #5fc9c9; letter-spacing: 0.02em; }
.bot-qty { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 8px; }
.bot-qty button, .bot-adjust button {
  height: 34px; border-radius: 6px; background: #3a4058; color: var(--white);
  font: 700 13px/1 var(--font); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s var(--ease), transform 0.1s var(--ease);
}
.bot-qty button:hover, .bot-adjust button:hover { background: #4a516d; }
.bot-qty button:active, .bot-adjust button:active { transform: scale(0.95); }
.bot-qty output { text-align: center; font-family: var(--mono); font-size: 18px; font-weight: 700; }
.bot-adjust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bot-adjust button { height: 30px; font-size: 11px; }
.bot-adjust button.tp { background: #2d6a5a; }
.bot-adjust button.tp:hover { background: #378070; }

.demo-note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--graphite); }

/* Tarjetas flotantes */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(10, 16, 21, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  animation: bob 6s ease-in-out infinite;
  pointer-events: none;
}
.float-card .fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(46, 242, 164, 0.12); color: var(--growth); }
.float-card strong { display: block; font-weight: 600; font-size: 14px; }
.float-card span { color: var(--graphite); }
.float-card .mono { font-family: var(--mono); font-size: 11.5px; }
.float-a { left: -36px; bottom: -34px; }
.float-b { right: 330px; top: -62px; min-width: 240px; animation-delay: -3s; transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.float-b .fc-icon { background: rgba(56, 189, 248, 0.14); color: var(--signal); }
.float-b.flash { border-color: rgba(46, 242, 164, 0.7); box-shadow: 0 0 40px -4px rgba(46, 242, 164, 0.55); }
.float-b.flash .fc-icon { background: rgba(46, 242, 164, 0.2); color: var(--growth); }
.float-b.flash-loss { border-color: rgba(255, 95, 109, 0.7); box-shadow: 0 0 40px -4px rgba(255, 95, 109, 0.45); }
.float-b.flash-loss .fc-icon { background: rgba(255, 95, 109, 0.2); color: var(--loss); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1100px) {
  .stage { grid-template-columns: minmax(0, 1fr) 260px; }
  .chart-body { grid-template-columns: minmax(0, 1fr) 176px; }
  .float-a { left: 12px; bottom: -24px; }
  .float-b { right: 290px; }
}
@media (max-width: 960px) {
  .tilt { transform: none; }
  .stage { grid-template-columns: 1fr; }
  .bot-win { contain: none; min-height: 0; height: 520px; }
  .float-b { right: 12px; top: -58px; }
  .float-a { display: none; }
}
@media (max-width: 760px) {
  .chart-body { grid-template-columns: 1fr; }
  .chart-area { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 12px; }
  .chart-svg { height: 300px; }
  .trader { grid-template-columns: 1fr; }
  .tr-grid { grid-template-columns: repeat(4, 1fr); }
  .tr-fields { display: none; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .window-bar { gap: 8px; padding: 0 8px 0 10px; }
  .window-title, .rec { display: none; }
  .toolbar { margin-left: auto; margin-right: auto; }
  .chart-price { font-size: 22px; }
  .float-b { right: 0; top: -60px; min-width: 0; }
  .hero { padding-top: 56px; }
  .showcase { margin-top: 56px; }
  .tr-btn { font-size: 11px; }
}

/* ---------- Cinta ---------- */

.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 13, 17, 0.8);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; white-space: nowrap;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mist);
  border-right: 1px solid var(--line);
}
.ticker b { font-size: 10px; }
.ticker .up { color: var(--growth); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Qué incluye (bento) ---------- */

.pillar-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--obsidian); border: 1px solid var(--line-strong);
  color: var(--white);
}
.landing .pillar-icon {
  background: linear-gradient(145deg, rgba(46, 242, 164, 0.16), rgba(56, 189, 248, 0.06));
  border-color: rgba(46, 242, 164, 0.3); color: var(--growth);
  box-shadow: 0 0 24px -6px rgba(46, 242, 164, 0.5);
}

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 28px; display: grid; gap: 24px; align-content: space-between; min-height: 240px; overflow: hidden; transition: transform 0.4s var(--ease), opacity 0.8s var(--ease), filter 0.8s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile-wide { grid-column: span 2; grid-template-columns: 1fr 1fr; align-items: center; }
.tile-copy { display: grid; gap: 12px; align-content: start; }
.tile h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; margin-top: 6px; }
.tile p { color: var(--graphite); font-size: 15px; }

.mini-checks { display: grid; gap: 10px; }
.mini-checks li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  font-size: 14px; color: var(--mist);
  opacity: 0; transform: translateX(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--d) * 160ms + 300ms);
}
.mini-checks .icon { color: var(--growth); }
.is-visible .mini-checks li { opacity: 1; transform: none; }

.mini-player { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.mp-play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--growth); color: #031a12; flex: none; box-shadow: 0 0 20px rgba(46, 242, 164, 0.5); }
.mp-play .icon { fill: currentColor; stroke: none; width: 16px; height: 16px; margin-left: 2px; }
.mp-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mp-bar i { display: block; height: 100%; width: 0; background: var(--gradient-mint); animation: progress 5s var(--ease) infinite; }
@keyframes progress { 0% { width: 0; } 80%, 100% { width: 100%; } }

.mini-token {
  display: block; padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); border: 1px dashed rgba(46, 242, 164, 0.35);
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.06em; color: var(--growth); text-align: center;
}

.chat { display: grid; gap: 10px; }
.bubble {
  justify-self: start; max-width: 85%;
  padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  font-size: 14px; color: var(--mist);
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.bubble.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: rgba(46, 242, 164, 0.14); border-color: rgba(46, 242, 164, 0.3); color: var(--white); }
.is-visible .bubble { opacity: 1; transform: none; }
.is-visible .b1 { transition-delay: 0.3s; }
.is-visible .b2 { transition-delay: 0.9s; }
.is-visible .b3 { transition-delay: 1.5s; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; }
}

/* ---------- Galería ---------- */

.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-head .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--obsidian); border: 1px solid var(--line); }
.tab {
  min-height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--graphite);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { background: var(--charcoal); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); }
.landing .tab[aria-selected="true"] { background: rgba(46, 242, 164, 0.14); color: var(--growth); box-shadow: inset 0 0 0 1px rgba(46, 242, 164, 0.35); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-card { display: grid; gap: 12px; text-align: left; width: 100%; }
.media-thumb {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--charcoal);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-featured);
  transition: border-color 0.25s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card:hover .media-thumb { border-color: var(--line-strong); transform: translateY(-3px); }
.landing .media-card:hover .media-thumb { border-color: rgba(46, 242, 164, 0.45); box-shadow: 0 20px 50px -12px rgba(46, 242, 164, 0.3); transform: translateY(-6px) scale(1.01); }
.media-thumb img, .media-thumb svg.thumb-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-card:hover .media-thumb img, .media-card:hover .media-thumb svg.thumb-art { transform: scale(1.06); }
.media-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55)); }
.play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease);
}
.landing .play { background: var(--growth); color: #031a12; box-shadow: 0 0 0 8px rgba(46, 242, 164, 0.15), 0 0 40px rgba(46, 242, 164, 0.5); }
.play .icon { fill: currentColor; stroke: none; margin-left: 3px; }
.media-card:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.media-tag { position: absolute; z-index: 1; left: 12px; bottom: 12px; }
.media-tag.right { left: auto; right: 12px; }
.media-tag .badge { background: rgba(11, 11, 11, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.media-title { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.media-sub { font-size: 13px; color: var(--graphite); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  width: min(1040px, calc(100vw - 32px));
  padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--charcoal); color: var(--white);
  box-shadow: var(--shadow-halo);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(6px); }
.lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.lightbox-head h3 { font-size: 15px; font-weight: 500; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--mist); border: 1px solid var(--line); }
.icon-btn:hover { color: var(--white); border-color: var(--line-strong); }
.lightbox-media { aspect-ratio: 16 / 9; background: var(--abyss); display: grid; place-items: center; }
.lightbox-media video, .lightbox-media img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 24px; color: var(--graphite); font-size: 14px; }
.lightbox-empty .icon { width: 32px; height: 32px; color: var(--mist); }

/* ---------- Cómo funciona (línea de tiempo) ---------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; --fill: 0; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line-strong); }
.timeline::after {
  background: var(--gradient-mint); box-shadow: 0 0 14px rgba(46, 242, 164, 0.7);
  transform-origin: 0 50%; transform: scaleX(var(--fill));
  transition: transform 0.2s linear;
}
.tl-step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 6px; }
.tl-node {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px;
  font-family: var(--mono); font-size: 24px; font-weight: 700;
  background: var(--ink); border: 2px solid var(--line-strong); color: var(--graphite);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.tl-step.lit .tl-node { border-color: var(--growth); color: var(--growth); box-shadow: 0 0 0 6px rgba(46, 242, 164, 0.1), 0 0 30px rgba(46, 242, 164, 0.45); transform: scale(1.05); }
.tl-step h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.tl-step p { font-size: 15px; color: var(--graphite); }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before, .timeline::after { top: 36px; bottom: 36px; left: 36px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform-origin: 50% 0; transform: scaleY(var(--fill)); }
  .tl-step { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 20px; row-gap: 0; }
  .tl-node { grid-row: span 2; margin-bottom: 0; }
  .tl-step h3 { align-self: end; }
}

/* ---------- Panel preview ---------- */

.panel-preview { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 500;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.chips li:hover { border-color: rgba(46, 242, 164, 0.5); background: rgba(46, 242, 164, 0.08); transform: translateY(-2px); }
.chips .icon { color: var(--growth); }

.panel-mock { display: grid; grid-template-columns: 170px 1fr; min-height: 440px; }
.pm-side { border-right: 1px solid var(--line); padding: 16px 10px; display: grid; align-content: start; gap: 2px; background: var(--obsidian); }
.pm-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--graphite); }
.pm-side span .icon { width: 16px; height: 16px; }
.pm-side span.active { background: rgba(46, 242, 164, 0.1); color: var(--growth); box-shadow: inset 0 0 0 1px rgba(46, 242, 164, 0.25); }
.pm-main { padding: 22px; display: grid; gap: 14px; align-content: start; }
.pm-main h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.pm-token { background: var(--obsidian); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 12px; }
.pm-token code { font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em; color: var(--growth); }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--graphite); flex-wrap: wrap; }
.resets { display: inline-flex; gap: 4px; }
.resets i { width: 18px; height: 4px; border-radius: 2px; background: var(--growth); }
.resets i.used { background: var(--smoke); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-tile { background: var(--obsidian); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; font-size: 13px; color: var(--graphite); }
.pm-tile strong { color: var(--white); font-weight: 500; font-size: 14px; }
.pm-progress { height: 4px; border-radius: 2px; background: var(--smoke); overflow: hidden; }
.pm-progress i { display: block; height: 100%; width: 62%; background: var(--gradient-mint); }
@media (max-width: 1000px) { .panel-preview { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .panel-mock { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .pm-grid { grid-template-columns: 1fr; }
}

/* ---------- Productos ---------- */

.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.products > .product { flex: 1 1 360px; max-width: 480px; }
.product { position: relative; padding: 32px; display: grid; gap: 24px; align-content: start; transition: transform 0.4s var(--ease), opacity 0.8s var(--ease), filter 0.8s var(--ease); }
.product:hover { transform: translateY(-6px); }
.product.featured { border-color: transparent; box-shadow: 0 30px 80px -20px rgba(46, 242, 164, 0.35); }
.product.featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), rgba(46, 242, 164, 0.1), #2ef2a4, #38bdf8, rgba(56, 189, 248, 0.1) 40%, rgba(46, 242, 164, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 5s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.05em; }
.product-tagline { color: var(--graphite); font-size: 15px; margin-top: -12px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price strong { font-size: 56px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.product.featured .price strong { background: var(--gradient-mint); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price span { color: var(--graphite); font-size: 14px; }
.product .check-list { padding-top: 24px; border-top: 1px solid var(--line); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mist); }
.check-list .icon { color: var(--growth); margin-top: 2px; width: 18px; height: 18px; }
.product-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--graphite); }
.product-note .icon { width: 16px; height: 16px; }
.badge-ember { border-color: rgba(255, 161, 108, 0.45); color: var(--ember); }
.landing .badge-ember { border-color: rgba(46, 242, 164, 0.5); color: var(--growth); background: rgba(46, 242, 164, 0.1); }
@media (max-width: 900px) { .products { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .product { padding: 24px; } }

/* ---------- Comunidad ---------- */

.community { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.community-card { padding: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; transition: border-color 0.25s var(--ease), opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.community-card:hover { border-color: var(--line-strong); }
.community-card .cc-left { display: flex; gap: 16px; align-items: center; }
.community-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.community-card p { font-size: 14px; color: var(--graphite); }
.brand-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.brand-icon svg { width: 24px; height: 24px; fill: currentColor; }
.brand-wa { background: rgba(78, 190, 150, 0.12); color: var(--growth); }
.brand-dc { background: rgba(71, 159, 250, 0.12); color: var(--signal); }
@media (max-width: 800px) { .community { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 8px; }
.faq details { background: var(--charcoal); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.landing .faq details { background: rgba(12, 18, 23, 0.8); }
.landing .faq details[open] { border-color: rgba(46, 242, 164, 0.35); background: rgba(46, 242, 164, 0.04); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 20px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--graphite); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--growth); }
.faq details p { padding: 0 20px 20px; color: var(--graphite); font-size: 15px; max-width: 68ch; }
.faq details[open] p { animation: fade-up 0.35s var(--ease); }

/* ---------- CTA final ---------- */

.final-cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 104px 32px; text-align: center;
  display: grid; justify-items: center; gap: 32px;
  border-radius: 28px;
  border: 1px solid rgba(46, 242, 164, 0.25);
  background:
    radial-gradient(50% 90% at 50% 120%, rgba(46, 242, 164, 0.3), transparent 70%),
    radial-gradient(40% 60% at 90% 0%, rgba(56, 189, 248, 0.16), transparent 70%),
    #07100f;
}
.final-cta .h2 { font-size: clamp(36px, 6vw, 68px); }
.cta-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; }
.cta-line path {
  fill: none; stroke: url(#cta-grad); stroke-width: 3; stroke-linejoin: round;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  filter: drop-shadow(0 0 8px rgba(46, 242, 164, 0.8));
}
.final-cta.is-visible .cta-line path { animation: draw 2.6s var(--ease) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-title .word, .hero-lead, .hero-ctas, .live-pill, .showcase { opacity: 1; transform: none; filter: none; animation: none; }
  .float-card { animation: none; }
  .tilt { transform: none; }
  .landing .reveal { filter: none; }
  .mini-checks li, .bubble { opacity: 1; transform: none; }
  .cta-line path { stroke-dashoffset: 0; }
  .ticker-track { animation: none; }
}
.no-js .hero-title .word, .no-js .hero-lead, .no-js .hero-ctas, .no-js .live-pill, .no-js .showcase { opacity: 1; animation: none; filter: none; transform: none; }
.no-js .mini-checks li, .no-js .bubble { opacity: 1; transform: none; }
.landing .section-head > .eyebrow { justify-self: start; }
.landing .section-head.center > .eyebrow { justify-self: center; }

/* Parte inferior del panel del bot: interruptores y acciones */
.bot-toggle, .bot-action {
  height: 38px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08);
  font: 800 12.5px/1 var(--font); letter-spacing: 0.02em; color: var(--white);
  transition: background-color 0.2s var(--ease), transform 0.1s var(--ease), box-shadow 0.2s var(--ease);
}
.bot-toggle:active, .bot-action:active { transform: scale(0.96); }
.bot-toggle.wide, .bot-action.wide { width: 100%; }
.bot-toggle[aria-pressed="true"] { background: #2f7a4f; }
.bot-toggle[aria-pressed="true"]:hover { background: #378a5a; }
.bot-toggle[aria-pressed="false"] { background: #6b3a3a; }
.bot-toggle[aria-pressed="false"]:hover { background: #7c4444; }
.bot-action.pause { background: #b38a26; }
.bot-action.pause:hover { background: #c69a2d; }
.bot-action.pause[aria-pressed="true"] { background: #2f7a4f; box-shadow: 0 0 16px -2px rgba(74, 222, 128, 0.5); }
.bot-action.close { background: #a33c35; }
.bot-action.close:hover { background: #b8453d; }
.bot-action.info { background: #3a4058; }
.bot-action.info:hover { background: #4a516d; }
.bot-disclaimer { padding: 10px 12px; border-radius: 8px; background: #262c44; font-size: 11.5px; line-height: 1.5; color: #c9d1e4; }
.bot-foot { text-align: center; font-size: 11px; color: var(--graphite); padding-top: 2px; }

/* ---------- Lista de espera ---------- */
.waitlist { padding-top: 0; scroll-margin-top: 84px; }
.wl-shell {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center;
  padding: clamp(24px, 4vw, 56px); border-color: rgba(46, 242, 164, 0.22);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(46, 242, 164, 0.35);
}
.wl-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 70% at 0% 0%, rgba(46, 242, 164, 0.10), transparent 60%), radial-gradient(50% 60% at 100% 100%, rgba(56, 189, 248, 0.10), transparent 60%);
}
.wl-copy { display: grid; gap: 20px; align-content: center; }
.wl-copy .eyebrow { justify-self: start; }
.wl-copy .lead { color: var(--mist); }
.wl-perks { display: grid; gap: 14px; margin-top: 8px; }
.wl-perks li { display: flex; gap: 14px; align-items: flex-start; }
.wl-perks div { display: grid; gap: 2px; }
.wl-perks strong { font-size: 15px; font-weight: 600; color: var(--white); }
.wl-perks span:not(.wl-ic) { font-size: 14px; color: var(--graphite); }
.wl-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(46, 242, 164, 0.1); border: 1px solid rgba(46, 242, 164, 0.25); color: var(--growth); }
.wl-ic .icon { width: 18px; height: 18px; }

.wl-panel { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: rgba(5, 8, 11, 0.72); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wl-form { display: grid; gap: 16px; }
.wl-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.wl-head p { font-size: 14px; color: var(--graphite); margin-top: 2px; }
.wl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-field { display: grid; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--mist); min-width: 0; }
.wl-field input, .wl-phone select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; min-width: 0;
  background: rgba(12, 18, 23, 0.9); border: 1px solid var(--line-strong); color: var(--white);
  font: 400 15.5px var(--font); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wl-field input::placeholder { color: #55626e; }
.wl-field input:focus, .wl-phone select:focus { outline: none; border-color: rgba(46, 242, 164, 0.65); box-shadow: 0 0 0 3px rgba(46, 242, 164, 0.15); }
.wl-field.has-error input { border-color: rgba(255, 95, 109, 0.7); }
.wl-phone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px; }
.wl-phone select { padding: 0 10px; cursor: pointer; font-size: 14.5px; }
.wl-err { min-height: 0; font-size: 12.5px; font-weight: 500; color: #ff8a94; }
.wl-err:empty { display: none; }
.wl-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--graphite); cursor: pointer; }
.wl-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #2ef2a4; cursor: pointer; }
.wl-check a { color: var(--growth); text-decoration: underline; text-underline-offset: 3px; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-form-error { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 95, 109, 0.45); background: rgba(255, 95, 109, 0.08); color: var(--mist); font-size: 14px; }
.wl-form .btn.is-loading { opacity: 0.8; cursor: progress; }
.wl-form .btn.is-loading .arrow { animation: wl-spin 0.9s linear infinite; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-fine { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--graphite); }
.wl-fine .icon { width: 14px; height: 14px; }

.wl-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 24px 8px; outline: none; animation: fade-up 0.6s var(--ease); }
.wl-done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient-mint); color: #031a12; box-shadow: 0 0 0 8px rgba(46, 242, 164, 0.12), 0 12px 40px -6px rgba(46, 242, 164, 0.6); }
.wl-done-ic .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.wl-done h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.wl-done p { color: var(--mist); font-size: 15px; max-width: 380px; }
.wl-done strong { color: var(--white); overflow-wrap: anywhere; }
.wl-done .wl-tip { font-size: 13px; color: var(--graphite); }

@media (max-width: 900px) {
  .wl-shell { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .wl-row { grid-template-columns: 1fr; }
  .wl-phone { grid-template-columns: 1fr; }
  .wl-shell { padding: 20px; }
  .wl-panel { padding: 18px; }
}

/* Lista de espera en ventana flotante */
html.wl-lock { overflow: hidden; }
.wl-modal {
  width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible;
}
.wl-modal::backdrop { background: rgba(2, 4, 6, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wl-modal[open] { animation: wl-pop 0.45s var(--ease); }
.wl-modal[open]::backdrop { animation: wl-fade 0.3s ease; }
.wl-modal.is-closing { animation: wl-out 0.18s ease forwards; }
.wl-modal.is-closing::backdrop { animation: wl-fade 0.18s ease reverse forwards; }
@keyframes wl-pop { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
@keyframes wl-out { to { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes wl-fade { from { opacity: 0; } }
.wl-modal-body { max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: var(--r-card); overscroll-behavior: contain; }
.wl-modal .wl-shell { background: linear-gradient(180deg, rgba(14, 22, 28, 0.98), rgba(7, 11, 15, 0.98)); }
.wl-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--mist); background: rgba(12, 18, 23, 0.85); border: 1px solid var(--line-strong);
  cursor: pointer; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.wl-close:hover { color: var(--white); border-color: rgba(46, 242, 164, 0.5); transform: rotate(90deg); }
.wl-close .icon { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .wl-modal .wl-copy .lead { font-size: 16px; }
  .wl-modal .wl-perks { display: none; }
  .wl-modal .wl-shell { gap: 18px; }
  .wl-modal .wl-copy { padding-right: 44px; gap: 12px; }
}
@media (max-width: 520px) {
  .wl-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .wl-modal-body { max-height: calc(100dvh - 20px); }
  .wl-modal .wl-copy .lead { display: none; }
  .wl-modal .wl-copy .h2 { font-size: 30px; }
  .wl-close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wl-modal[open], .wl-modal.is-closing { animation: none; } }
