/* DATAHAC · landing de demo
   Línea gráfica de datahac.com: DM Sans, titulares en mayúsculas, texto en degradado
   cian-azul, botones píldora con brillo, paneles de vidrio y marcos de navegador. */

:root {
  --ink: #030814;
  --brand: #1e6bff;
  --cyan: #22c3f6;
  --ice: #e9f0ff;
  --mist: rgba(233, 240, 255, 0.74);
  --dim: rgba(233, 240, 255, 0.56);
  --eyebrow: rgba(156, 196, 255, 0.82);
  --line: rgba(120, 165, 255, 0.16);
  --line-2: rgba(120, 165, 255, 0.3);
  --field: rgba(3, 8, 20, 0.6);
  --call: #2fd98a;
  --put: #ff4d5e;
  --amber: #f5b83d;
  --wa: #25d366;
  --error: #ff8a84;

  --grad-btn: linear-gradient(120deg, #0b52e6, #1e6bff 45%, #22c3f6 110%);
  --grad-text: linear-gradient(95deg, #14d8ff, #1e8cff 52%, #1a5bff);
  --panel: linear-gradient(180deg, rgba(13, 32, 84, 0.72), rgba(5, 14, 40, 0.82));

  --f: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: none; /* como datahac.com: sin corte óptico, letras más anchas */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #7cc8ff; text-underline-offset: 3px; }
a:hover { color: #b5e2ff; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 60;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Piezas de marca ---------- */
.eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.32em; color: var(--eyebrow); line-height: 1.5;
}
.eyebrow--line { display: flex; align-items: center; gap: 16px; }
.eyebrow--line::before { content: ""; flex: 0 0 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--eyebrow)); }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(30, 140, 255, 0.45));
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap; border: 0; border-radius: 9999px;
  padding: 0.9375rem 1.5rem;
  font: 600 13px/1.2 var(--f); text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 9999px; }
.btn-primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.35), 0 18px 40px -14px rgba(30, 107, 255, 0.85), 0 0 60px -10px rgba(34, 195, 246, 0.45);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(200, 225, 255, 0.55), 0 24px 50px -14px rgba(30, 107, 255, 0.95), 0 0 80px -6px rgba(34, 195, 246, 0.6);
}
.btn-arrow { transition: transform 0.3s ease; flex: none; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost {
  color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.5); }
.btn-wa { color: #04210f; background: var(--wa); box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65); }
.btn-wa:hover { color: #04210f; transform: translateY(-2px); }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn--block { width: 100%; }
.btn--nav { padding: 0.75rem 1.375rem; font-size: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; padding: 0.25rem 0.625rem;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(233, 240, 255, 0.85); background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.chip--pro { color: #cfe3ff; background: rgba(30, 107, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(62, 155, 255, 0.6); }

/* ---------- Navegación: píldora blanca flotante ---------- */
.top { position: sticky; top: 14px; z-index: 40; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 58px; padding: 7px 8px 7px 24px;
  background: #fff; border-radius: 9999px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.nav__logo img { width: 150px; height: auto; }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__wa {
  display: inline-flex; align-items: center; gap: 8px;
  color: #0a0f1e; text-decoration: none; font-weight: 500; font-size: 14px;
}
.nav__wa svg { color: #12b356; }
.nav__wa:hover { color: #1665f5; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -72px; padding: 148px 0 110px; overflow: hidden; }
.hero__orb {
  position: absolute; right: -22%; top: -6%; width: min(1080px, 92vw); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(34, 195, 246, 0.2), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(18, 60, 170, 0.5), rgba(6, 22, 70, 0.4) 55%, rgba(3, 8, 20, 0) 71%);
  box-shadow: inset 0 0 140px rgba(34, 195, 246, 0.18), 0 0 180px -20px rgba(30, 107, 255, 0.35);
  border: 1px solid rgba(76, 195, 255, 0.2);
  pointer-events: none;
}
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 165, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 165, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 35%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 35%, #000, transparent 75%);
}
.hero__grid {
  position: relative;
  display: grid; gap: 44px 60px;
  grid-template-columns: minmax(0, 1fr) 432px;
  grid-template-areas: "copy lead" "chart lead";
  align-items: start;
}
.hero__copy { grid-area: copy; }
.layers { grid-area: chart; }
.lead { grid-area: lead; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5.5vw, 74px);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.045em; line-height: 0.92; color: #fff;
}
.hero__sub {
  margin-top: 18px; color: #fff;
  font-size: clamp(17px, 1.9vw, 25px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.18;
  text-wrap: balance;
}
.hero__lede { margin-top: 20px; max-width: 34em; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero__chips li {
  padding: 7px 14px; border-radius: 9999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(233, 240, 255, 0.86); background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__chips strong { color: #4cc3ff; font-weight: 700; }

/* Entrada del hero: un solo momento, escalonado */
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js [data-in] { animation: hero-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.1s + 0.1s); }

/* Gráfico de capas */
.layers {
  position: relative; margin: 0;
  background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 24px;
  padding: 18px 20px 16px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 70px -34px rgba(30, 107, 255, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.layers__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.layers__switch {
  display: inline-flex; padding: 4px; gap: 4px;
  background: rgba(3, 8, 20, 0.7); border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.layers__opt {
  border: 0; background: transparent; color: var(--dim); cursor: pointer;
  font: 600 11px/1 var(--f); text-transform: uppercase; letter-spacing: 0.16em;
  padding: 10px 16px; border-radius: 9999px;
  transition: color 0.2s, background-color 0.2s;
}
.layers__opt[aria-pressed="true"] { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 22px -8px rgba(30, 107, 255, 0.9); }
.layers__opt:not([aria-pressed="true"]):hover { color: #fff; }
.layers__hint { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em; color: var(--dim); }
.layers__chart { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.layers figcaption { margin-top: 6px; font-size: 0.8125rem; color: var(--dim); }

.grid line { stroke: rgba(120, 165, 255, 0.1); stroke-width: 1; }
.price { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(30, 140, 255, 0.75)); }
.price-dot { fill: #14d8ff; stroke: var(--ink); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(20, 216, 255, 0.9)); }
.zone--pos { fill: rgba(47, 217, 138, 0.07); }
.zone--neg { fill: rgba(255, 77, 94, 0.07); }
.lvl { stroke-width: 2; }
.lvl--call { stroke: var(--call); filter: drop-shadow(0 0 6px rgba(47, 217, 138, 0.7)); }
.lvl--put { stroke: var(--put); filter: drop-shadow(0 0 6px rgba(255, 77, 94, 0.7)); }
.lvl--flip { stroke: var(--amber); stroke-dasharray: 7 6; }
.lbl { font: 700 12px var(--f); letter-spacing: 0.16em; text-transform: uppercase; }
.lbl--call { fill: var(--call); }
.lbl--put { fill: var(--put); }
.lbl--flip { fill: var(--amber); }
.bar { transform-box: fill-box; transform-origin: right center; }
.bar--pos { fill: rgba(47, 217, 138, 0.8); }
.bar--neg { fill: rgba(255, 77, 94, 0.8); }

/* Estados del gráfico (solo con JS; sin JS se ve todo) */
.js .lyr { transition: opacity 0.45s ease; }
.js .bar { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .layers:not(.is-full) .lyr { opacity: 0; }
.js .layers:not(.is-full) .bar { transform: scaleX(0); }
.js .layers.is-full .lyr--bars .bar:nth-child(2n) { transition-delay: 0.06s; }
.js .layers.is-full .lyr--bars .bar:nth-child(3n) { transition-delay: 0.12s; }
.js .layers.is-full .lyr--levels { transition-delay: 0.15s; }
.js .layers .price { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .layers.is-drawing .price { animation: draw 1.3s cubic-bezier(0.45, 0.05, 0.3, 1) 0.7s both; }
.js .layers.is-drawing .price-dot,
.js .layers.is-drawing .price-area { animation: appear 0.4s ease 1.8s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Formulario ---------- */
.lead__card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 38, 98, 0.9), rgba(5, 14, 42, 0.94));
  border: 1px solid rgba(76, 140, 255, 0.34);
  border-radius: 28px;
  padding: 28px 28px 30px;
  box-shadow: 0 34px 90px -24px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(30, 107, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.lead h2 {
  margin-top: 10px; color: #fff;
  font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.98;
}
.lead__sub { margin-top: 12px; color: var(--mist); font-size: 0.9375rem; line-height: 1.5; }

.form { margin-top: 18px; display: grid; gap: 13px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend {
  display: block; margin-bottom: 6px; padding: 0;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(214, 228, 255, 0.86);
}
.opt { color: var(--dim); font-weight: 500; letter-spacing: 0.1em; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select {
  width: 100%; height: 46px; padding: 0 16px;
  background: var(--field); color: #fff;
  border: 1px solid rgba(120, 165, 255, 0.28); border-radius: 14px;
  font: 450 1rem var(--f);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input::placeholder { color: rgba(170, 190, 230, 0.42); }
.form input:hover, .form select:hover { border-color: rgba(120, 165, 255, 0.55); }
.form input:focus, .form select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 195, 246, 0.25); }
.form [aria-invalid="true"] { border-color: var(--error); }
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239cc4ff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px;
}
.form select option { background: #06112e; color: #fff; }
.phone { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.field__err { margin-top: 6px; color: var(--error); font-size: 0.875rem; }

/* Radios y checks con aspecto de píldora; el input sigue siendo accesible */
.seg, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label, .chips label {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 9999px; cursor: pointer; user-select: none;
  color: rgba(233, 240, 255, 0.82); font-size: 0.875rem; font-weight: 550;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.seg label { flex: 1 1 0; justify-content: center; }
.seg label:hover, .chips label:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.5); }
.seg input:checked + label { background: var(--grad-btn); color: #fff; box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.35), 0 10px 24px -10px rgba(30, 107, 255, 0.9); }
.chips input:checked + label { background: rgba(34, 195, 246, 0.16); color: #fff; box-shadow: inset 0 0 0 1px var(--cyan); }
.chips input:checked + label::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.seg input:focus-visible + label, .chips input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }

.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 2px; }
.field--check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.field--check label { margin: 0; font-size: 0.8125rem; font-weight: 450; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--mist); }
.field--check .field__err { grid-column: 2; margin-top: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 4px; padding-block: 1.0625rem; }
.form__status { color: var(--error); font-size: 0.9375rem; }

.lead__done p:not(.eyebrow) { margin-top: 14px; color: var(--mist); }
.lead__done p strong { color: #fff; white-space: nowrap; }
.lead__done .btn { margin-top: 22px; }
.lead__done:focus { outline: none; }

/* ---------- Secciones ---------- */
.sec { position: relative; padding: 112px 0; }
.sec::before, .close::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(86%, 1100px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 155, 255, 0.6), transparent);
}
.head { max-width: 980px; margin: 0 auto 60px; text-align: center; }
.head h2, .close h2 {
  margin-top: 18px; color: #fff;
  font-size: clamp(34px, 5vw, 60px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.045em; line-height: 0.95;
}
.head > p:not(.eyebrow) { max-width: 600px; margin: 22px auto 0; color: var(--mist); text-wrap: balance; }

/* Visor de herramientas */
.viewer__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 56px; }
.viewer__tabs button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 0; border-radius: 9999px; cursor: pointer;
  font: 600 12px/1 var(--f); text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(233, 240, 255, 0.78); background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.viewer__tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.viewer__tabs button:hover { color: #fff; }
.viewer__tabs button[aria-selected="true"] {
  color: #fff; background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 34px -10px var(--accent);
}

.tool { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tool[hidden] { display: none; }
.frame-wrap { position: relative; }
.frame__glow {
  position: absolute; inset: 8% 6%; border-radius: 40px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  filter: blur(60px); opacity: 0.55;
}
.frame {
  position: relative; overflow: hidden; border-radius: 18px;
  background: #060c1c;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
}
.frame__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.frame__bar span { margin-left: 10px; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; aspect-ratio: 1280 / 625; object-fit: cover; }

.tool__text { position: relative; }
.tool__num {
  position: absolute; left: -14px; top: -92px; z-index: 0;
  font-size: 168px; font-weight: 800; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 42%, transparent);
  opacity: 0.6; pointer-events: none; user-select: none;
}
.tool__text h3 {
  position: relative; z-index: 1; color: #fff;
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 0.98;
}
.tool__text h3 span { color: var(--accent); text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.tool__lead { position: relative; z-index: 1; margin-top: 16px; color: rgba(255, 255, 255, 0.86); }
.tool__text ul { position: relative; z-index: 1; margin-top: 18px; display: grid; gap: 9px; font-size: 0.9375rem; color: var(--mist); }
.tool__text li { position: relative; padding-left: 24px; }
.tool__text li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.incl {
  position: relative; z-index: 1; margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em; color: var(--dim);
}
.more { max-width: 760px; margin: 64px auto 0; text-align: center; color: var(--dim); font-size: 0.9375rem; text-wrap: balance; }
.more a { white-space: nowrap; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; }
.step {
  position: relative; overflow: hidden; min-width: 0;
  padding: 92px 28px 30px; border-radius: 24px;
  background: var(--panel); border: 1px solid var(--line);
}
.step__num {
  position: absolute; left: 22px; top: 6px;
  font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(76, 195, 255, 0.5);
}
.step h3 { color: #fff; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.step p { margin-top: 10px; color: var(--mist); font-size: 0.96875rem; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin-inline: auto; align-items: start; }
.plan {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 34px 32px 36px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 58, 0.78), rgba(4, 10, 28, 0.9));
  border: 1px solid var(--line-2);
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 165, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 165, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(120% 70% at 50% 0%, #000, transparent 78%);
}
.plan--pro {
  border-color: rgba(62, 155, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(62, 155, 255, 0.25), 0 40px 110px -34px rgba(30, 107, 255, 0.75);
}
.plan--pro::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -45%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(30, 107, 255, 0.5), transparent);
}
.plan h3 { margin-top: 10px; color: #fff; font-size: 36px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 1; }
.plan__desc { margin-top: 12px; min-height: 3.1em; color: var(--mist); font-size: 0.96875rem; line-height: 1.5; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; color: #fff; }
.plan__price strong { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mist); }
.plan__note { margin-top: 10px; color: var(--dim); font-size: 0.875rem; }
.plan .btn { margin-top: 26px; white-space: normal; text-align: center; }
.plan__direct { display: block; margin-top: 14px; text-align: center; font-size: 0.8125rem; color: var(--dim); }
.plan__direct:hover { color: #fff; }
.plan__inc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 0.9375rem; }
.plan__list { margin-top: 14px; display: grid; gap: 11px; font-size: 0.96875rem; color: rgba(255, 255, 255, 0.88); }
.plan__list { gap: 10px; }
.plan__list li { display: flex; align-items: center; gap: 12px; }
/* Icono de cada herramienta: el mismo del menú de la plataforma, en el color de la herramienta */
.plan__list .tico {
  flex: 0 0 auto; width: 22px; height: 22px; padding: 0; box-sizing: border-box;
  color: var(--c); /* solo el icono, sin recuadro */
  transition: transform 0.2s ease, filter 0.2s ease;
}
.plan__list li:hover .tico { transform: translateY(-1px); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 60%, transparent)); }
.plan__list .plan__discord { font-weight: 700; color: #fff; }
@media (prefers-reduced-motion: reduce) { .plan__list .tico { transition: none; } .plan__list li:hover .tico { transform: none; } }
.fine { max-width: 700px; margin: 36px auto 0; text-align: center; color: var(--dim); font-size: 0.8125rem; }

/* Glosario */
.gloss { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gloss > div {
  position: relative; overflow: hidden; padding: 26px 26px 28px; border-radius: 22px;
  background: var(--panel); border: 1px solid var(--line);
}
.gloss > div::before { content: ""; position: absolute; left: 26px; top: 0; width: 44px; height: 2px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.gloss dt { color: #fff; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; }
.gloss dd { margin: 10px 0 0; color: var(--mist); font-size: 0.9375rem; line-height: 1.55; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin-inline: auto; }
.person { overflow: hidden; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); }
.person img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.person__body { padding: 26px 28px 30px; }
.person h3 { margin-top: 8px; color: #fff; font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 1; }
.person__body > p:not(.eyebrow) { margin-top: 14px; color: var(--mist); font-size: 0.96875rem; }
.handle {
  display: inline-flex; margin-top: 18px; padding: 7px 14px; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; color: #cfe3ff;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.handle:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.5); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(62, 155, 255, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 24px; color: #fff; font-weight: 700; font-size: 1.0625rem; line-height: 1.35;
  border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid #4cc3ff; border-bottom: 2px solid #4cc3ff;
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--mist); }

/* Cierre + pie */
.close {
  position: relative; padding: 120px 0 56px; text-align: center; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 100%, rgba(20, 78, 220, 0.5), rgba(8, 26, 80, 0.25) 55%, transparent 80%);
}
.close h2 { max-width: 900px; margin: 0 auto; }
.close h2 + p { margin-top: 22px; color: var(--mist); text-wrap: balance; }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.foot { margin-top: 84px; }
.foot__social { display: flex; justify-content: center; gap: 12px; }
.foot__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.foot__social a:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(156, 196, 255, 0.5); }
.foot__mail { margin-top: 22px; }
.foot__mail a { color: #fff; font-weight: 600; text-decoration: none; }
.foot__mail a:hover { text-decoration: underline; }
.foot__site { margin-top: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.32em; color: rgba(255, 255, 255, 0.8); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.foot__links a { color: rgba(255, 255, 255, 0.72); font-size: 0.8125rem; text-decoration: none; }
.foot__links a:hover { color: #fff; text-decoration: underline; }
.foot__legal { max-width: 640px; margin: 18px auto 0; color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; line-height: 1.6; }
.foot__legal + .foot__legal { margin-top: 10px; }

/* WhatsApp flotante y barra móvil */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 35;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  color: #fff; background: var(--wa);
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.65), 0 0 0 10px rgba(37, 211, 102, 0.12);
  transition: transform 0.25s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.dock { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 392px; gap: 40px 40px; }
  .tool { gap: 40px; }
  .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero { padding: 132px 0 80px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "lead" "chart"; }
  .hero__orb { right: -55%; top: -4%; width: 150vw; }
  .tool { grid-template-columns: minmax(0, 1fr); gap: 84px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 30px 26px 28px 124px; }
  .step__num { left: 18px; top: 18px; font-size: 76px; }
  .sec { padding: 88px 0; }

  .wa-float { display: none; }
  .dock {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(3, 8, 20, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-2);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  .dock.is-visible { transform: none; }
  .dock__wa { flex: 0 0 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .top { top: 10px; }
  .nav { min-height: 52px; padding: 6px 6px 6px 16px; gap: 8px; }
  .nav__logo img { width: 112px; }
  .nav__actions { gap: 10px; }
  .nav__wa span { display: none; }
  .btn--nav { padding: 0.6875rem 0.875rem; font-size: 11px; letter-spacing: 0.1em; }
  .btn--nav .btn-arrow { display: none; }

  .hero { padding: 116px 0 64px; }
  .hero__lede { font-size: 1.0625rem; }
  .lead__card { padding: 24px 20px 26px; border-radius: 24px; }
  .lead h2 { font-size: 27px; }
  .layers { padding: 14px 14px 12px; border-radius: 20px; }
  .layers__hint { display: none; }
  .lbl { font-size: 21px; letter-spacing: 0.08em; }
  .lvl { stroke-width: 3; }
  .price { stroke-width: 4.5; }

  .sec { padding: 72px 0; }
  .head { margin-bottom: 40px; }
  .viewer__tabs { gap: 8px; margin-bottom: 40px; }
  .viewer__tabs button { padding: 10px 14px; font-size: 11px; letter-spacing: 0.12em; }
  .tool { gap: 72px; }
  .tool__num { font-size: 120px; top: -64px; left: -6px; }
  .frame__bar { height: 30px; }
  .plans, .team, .gloss { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 28px 22px 30px; }
  .plan__desc { min-height: 0; }
  .step { padding: 26px 20px 24px 104px; }
  .step__num { font-size: 64px; left: 14px; top: 20px; }
  .close { padding: 88px 0 40px; }
  .close__actions .btn { width: 100%; }
  .faq summary { padding: 18px 52px 18px 20px; font-size: 1rem; }
  .faq details p { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-in] { animation: none; }
  .js .lyr, .js .bar, .dock, .btn, .btn-arrow, .wa-float { transition: none; }
  .js .layers.is-drawing .price,
  .js .layers.is-drawing .price-dot,
  .js .layers.is-drawing .price-area { animation: none; }
  .btn-primary:hover, .btn-wa:hover, .wa-float:hover { transform: none; }
}
