:root {
  color-scheme: dark;
  --bg: #0a0c12; --panel: #12151d; --panel2: #181c26; --line: #242a38; --line2: #323a4d;
  --ink: #f5f5f7; --soft: #c7c9d1; --muted: #a1a4ad; --green: #5b8cff; --green-strong: #3d6bff; --green-ink: #06122e; --red: #ff8f85;
  --blue: #2dd4bf; --amber: #f5b944; --green-line: #2a4180; --green-soft: rgba(91, 140, 255, .12);
  --silver: #f5f5f7; --silver-ink: #0a0c12;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: hidden; }
body {
  margin: 0; color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100vw;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(91, 140, 255, .10), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(45, 212, 191, .07), transparent 55%),
    radial-gradient(800px 480px at 20% 60%, rgba(91, 140, 255, .05), transparent 60%),
    var(--bg);
}
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
a { color: var(--green); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: 40px 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(91, 140, 255, .55); outline-offset: 2px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 15, 17, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 20px "Inter Tight", "Inter", sans-serif; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links > a { color: var(--soft); text-decoration: none; font-size: 14px; }
.nav-links > a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; margin-left: 8px; flex-wrap: wrap; }
.menu-toggle { display: none; background: var(--panel2); color: var(--ink); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 14px; font: 600 14px inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 9px; font: 700 14px inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; transition: background .15s, border-color .15s, transform .1s; }
.btn.primary { background: var(--green-strong); color: #f5f8ff; box-shadow: 0 6px 20px rgba(61, 107, 255, .25); }
.btn.primary:hover { background: #3d6bff; }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { background: rgba(255, 255, 255, .02); color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { background: var(--panel2); border-color: var(--muted); }
.btn.big { min-height: 48px; padding: 0 22px; font-size: 15px; }
button.btn { font-family: inherit; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 48px 0 32px; position: relative; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.lead { color: var(--soft); font-size: 18px; max-width: 60ch; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 12px; }
.trust { color: var(--muted); font-size: 13px; }
.mock { margin: 0; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpis div { background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 10px; min-width: 0; }
.mock-kpis small { display: block; color: var(--muted); font-size: 11px; }
.mock-kpis b { font-size: 20px; font-family: "Inter Tight", "Inter", sans-serif; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin: 16px 0 8px; }
.mock-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(91, 140, 255, .55), rgba(91, 140, 255, .05)); border-top: 3px solid var(--green); }
.mock figcaption { color: var(--muted); font-size: 11px; }

.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 10px 24px rgba(0, 0, 0, .25);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.grid.tight { gap: 12px; }

.icon { width: 22px; height: 22px; flex: none; color: currentColor; }
.icon.inline { width: 26px; height: 26px; vertical-align: -5px; margin-right: 4px; }
.icon-card { padding: 20px 18px; }
.icon-card > .icon:first-child {
  width: 40px; height: 40px; padding: 9px; border-radius: 10px; margin-bottom: 12px;
  background: var(--green-soft); color: var(--green);
  box-shadow: 0 0 0 1px var(--green-line) inset;
}
.icon-card:nth-child(3n+2) > .icon:first-child { background: rgba(45, 212, 191, .12); color: var(--blue); box-shadow: 0 0 0 1px rgba(45, 212, 191, .3) inset; }
.icon-card:nth-child(3n+3) > .icon:first-child { background: rgba(245, 185, 68, .12); color: var(--amber); box-shadow: 0 0 0 1px rgba(245, 185, 68, .3) inset; }
.icon-card h3 { margin: 0 0 6px; }
.icon-card p { margin: 0; }
.icon-card.row { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.icon-card.row > .icon:first-child { margin-bottom: 0; }
.icon-card.row h3 { font-size: 16px; margin: 0 0 4px; }
.icon-card.row p { font-size: 13px; }
.grid.one { display: grid; gap: 10px; }
.grid.compact { gap: 10px; }

.tour { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
.tour.reverse { grid-template-columns: 1.05fr .95fr; }
.tour.reverse .tour-copy { order: 2; }
.tour.reverse .tour-shot { order: 1; }
.tour-shot { margin: 0; position: relative; }
.tour-shot::before {
  content: ""; position: absolute; inset: -24px; z-index: -1; border-radius: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(91, 140, 255, .16), transparent 65%);
  filter: blur(8px);
}
.tour-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line2); box-shadow: 0 16px 44px rgba(0, 0, 0, .45); }
.tour-shot figcaption { color: var(--muted); font-size: 11px; margin-top: 8px; }
.tour-copy h2 { margin-bottom: 10px; }
.solution, .note { color: var(--soft); margin-top: 18px; }
.note { color: var(--muted); font-size: 13px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 6px; }
.steps span { color: var(--muted); font-size: 14px; }
.checks { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; color: var(--soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.plan { display: grid; gap: 6px; align-content: start; }
.plan .price { font: 800 26px "Inter Tight", "Inter", sans-serif; overflow-wrap: anywhere; }
.plan .price small { display: block; font: 500 13px "Inter", sans-serif; color: var(--muted); }
.calc input[type="number"] { min-height: 40px; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 9px; background: #1a1d21; color: var(--ink); font: inherit; width: 100%; }
.hero-shot { margin: 0; position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 24px;
  background: radial-gradient(circle at 60% 30%, rgba(91, 140, 255, .22), transparent 65%);
  filter: blur(10px);
}
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line2); box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 80px -20px rgba(91, 140, 255, .25); }
.hero-shot figcaption { color: var(--muted); font-size: 11px; margin-top: 8px; }
.plan .btn { margin-top: 8px; }
.calc {
  margin: 18px 0 14px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--green-line);
  border-radius: 12px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  display: grid; grid-template-columns: minmax(280px, 1.25fr) minmax(240px, .75fr); column-gap: 28px; align-items: end;
}
.calc h3 { grid-column: 1 / -1; }
.calc-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; margin: 8px 0 14px; }
.calc input[type="range"] { width: 100%; accent-color: var(--green); }
.calc-out { display: grid; gap: 4px; grid-column: 2; grid-row: 2 / 4; align-self: center; }
.calc-out span { font: 800 32px "Inter Tight", "Inter", sans-serif; overflow-wrap: anywhere; }
.calc-out small { color: var(--muted); }
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 14px 0; }
.includes div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 14px; color: var(--soft); }
.includes b { display: block; color: var(--ink); font-size: 18px; }
.conditions { color: var(--muted); font-size: 14px; padding-left: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form { background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--soft); min-width: 0; }
.form input, .form select, .form textarea, #companyId { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line2); border-radius: 9px; background: #1a1d21; color: var(--ink); font: inherit; }
.form textarea { min-height: 80px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.password-field { display: grid; gap: 6px; align-content: start; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 18px; min-height: 18px; margin-top: 3px; flex: none; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.meter { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s, background .2s; }
.hint { color: var(--muted); font-size: 12px; }
.status { min-height: 1.4em; font-size: 14px; margin: 0; }
.status.ok { color: var(--green); }
.status.bad, .err { color: var(--red); }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: grid; gap: 12px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--soft); }

.legal { max-width: 760px; padding-top: 48px; }
.legal h1 { margin-bottom: 6px; }
.legal .lead { color: var(--soft); }
.legal h2 { font-size: 19px; margin-top: 34px; padding-top: 12px; border-top: 1px solid var(--line); }
.legal ul { color: var(--soft); padding-left: 20px; display: grid; gap: 8px; margin: 0 0 12px; }
.legal p { color: var(--soft); }
.legal .draft-notice { background: var(--panel); border: 1px solid var(--line2); border-left: 3px solid var(--amber); border-radius: 8px; padding: 12px 14px; color: var(--muted); font-size: 14px; }
.legal .back { margin-top: 40px; }
.legal nav { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; line-height:1.7; }
.legal .table-scroll { overflow-x:auto; margin:20px 0; border:1px solid var(--line); border-radius:8px; }
.legal table { border-collapse:collapse; width:100%; min-width:560px; font-size:14px; }
.legal th,.legal td { padding:12px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); line-height:1.6; }
.legal th { background:var(--panel); }
.legal td { color:var(--soft); }

@media (max-width: 960px) {
  .hero, .split, .tour, .tour.reverse { grid-template-columns: 1fr; }
  .tour.reverse .tour-copy, .tour.reverse .tour-shot { order: initial; }
  .grid.three, .grid.four, .steps { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-actions { flex-direction: column; margin-left: 0; }
}
@media (min-width: 961px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .two, .form .check, .form > button, .form > .status { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .grid.three, .grid.four, .steps, .form .two { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .hero { padding: 40px 0 28px; }
  .card, .icon-card { padding: 15px; }
  .calc { display: block; padding: 15px; }
  .btn.big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .meter i { transition: none; } }

/* Demo real, con reproducción a elección del visitante. */
.hero { grid-template-columns:1.1fr .9fr; gap:36px; padding-top:48px; padding-bottom:32px; }
.hero-copy { max-width:640px; }
.hero-copy h1 { font-size:clamp(38px,4.4vw,60px); letter-spacing:-.045em; line-height:1.08; margin:20px 0; }
.hero-copy .lead { font-size:17px; line-height:1.7; }
.hero-copy .eyebrow { font-size:11px; letter-spacing:.11em; max-width:42ch; }
.demo-showcase { background:linear-gradient(145deg,#141c33,#121719); border:1px solid #2a4180; border-radius:20px; padding:12px; box-shadow:0 24px 70px #0006; min-width:0; }
.demo-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:4px 6px 14px; color:var(--soft); font-size:11px; }
.demo-heading > span:first-child { display:flex; align-items:center; gap:8px; }
.demo-heading i { width:7px; height:7px; background:var(--green); border-radius:50%; }
.demo-heading > span:last-child { color:var(--green); border:1px solid var(--green-line); padding:3px 8px; border-radius:99px; }
.demo-showcase { margin:0; width:100%; }
.hero > .hero-copy { width:100%; max-width:640px; }
.demo-showcase video { display:block; width:100%; height:auto; aspect-ratio:72 / 41; background:#0b0d0f; border-radius:12px; }
.demo-benefit { background:#000; border:1px solid #2a4180; border-top:3px solid var(--green); border-radius:12px; margin-top:12px; padding:18px 20px; min-height:136px; }
.demo-benefit span { display:block; color:var(--green); font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.demo-benefit strong { display:block; color:#fff; font-size:clamp(22px,2.1vw,28px); line-height:1.25; margin-top:8px; font-weight:800; }
.demo-showcase figcaption { padding:10px 6px 2px; font-size:11px; line-height:1.5; color:var(--muted); }
.demo-transcript { margin:8px 6px 0; padding:0; border:0; background:transparent; font-size:11px; color:var(--muted); }
.demo-transcript summary { padding:0; color:var(--soft); font-size:11px; }
.demo-transcript ol { padding-left:18px; margin:8px 0; }
@media(max-width:960px) { .hero { grid-template-columns:1fr; gap:28px; padding-top:40px; } .hero-copy { max-width:640px; } }
@media(max-width:560px) { .hero-copy h1 { font-size:40px; } .hero-copy .lead { font-size:16px; } .demo-showcase { padding:8px; border-radius:16px; } }
