:root {
  --bg: #090b13;
  --bg-2: #0d1019;
  --surface: #121624;
  --surface-2: #181d2f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef7;
  --muted: #8d94ac;
  --accent: #7c5cff;
  --accent-2: #3d8bff;
  --gold: #f5b83d;
  --ok: #34d399;
  --radius: 16px;
  --grad: linear-gradient(135deg, #7c5cff 0%, #3d8bff 100%);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 19, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 0 24px rgba(124, 92, 255, 0.5);
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(124, 92, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.badge-soon {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18); padding: 3px 8px; border-radius: 999px;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%;
  background:
    radial-gradient(600px 380px at 15% 20%, rgba(124, 92, 255, 0.28), transparent 70%),
    radial-gradient(560px 360px at 85% 10%, rgba(61, 139, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #c9bfff;
  background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.35);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--ok); }

/* Maqueta del juego + overlay */
.stage {
  position: relative; border-radius: 20px; border: 1px solid var(--border-strong); padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 92, 255, 0.12);
}
.game {
  position: relative; height: 380px; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(260px 160px at 25% 80%, rgba(52, 211, 153, 0.18), transparent 70%),
    radial-gradient(320px 200px at 80% 20%, rgba(245, 184, 61, 0.12), transparent 70%),
    linear-gradient(180deg, #1a2238, #121828);
}
.game::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px; mask-image: radial-gradient(circle at 50% 60%, #000 20%, transparent 75%);
}
.game-label { position: absolute; left: 14px; bottom: 12px; font-size: 11px; color: rgba(255,255,255,.35); z-index: 2; }
.overlay {
  position: absolute; z-index: 3; right: 16px; top: 16px; width: 270px;
  background: rgba(14, 17, 29, 0.88); border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: 14px; padding: 14px; backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(124, 92, 255, 0.18);
}
.ov-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ov-head b { color: #c9bfff; }
.ov-step { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ov-clue { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.ov-result { background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(124, 92, 255, 0.4); border-radius: 10px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.ov-coord { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.ov-dist { font-size: 12px; color: var(--muted); }
.ov-travel { margin-top: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #c9bfff; background: rgba(255,255,255,.05); border-radius: 8px; padding: 7px 10px; display: flex; justify-content: space-between; }
.ov-divider { height: 1px; background: var(--border); margin: 12px 0; }
.ov-kamas { display: flex; justify-content: space-between; align-items: baseline; }
.ov-kamas span { font-size: 12px; color: var(--muted); }
.ov-kamas strong { font-size: 20px; color: var(--gold); font-weight: 800; }

/* Secciones */
section { padding: 88px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head .tag { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(124, 92, 255, 0.45); transform: translateY(-2px); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(124, 92, 255, 0.3); display: grid; place-items: center; margin-bottom: 18px; color: #bfb1ff; }
.icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.chip { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); background: rgba(245, 184, 61, 0.1); border: 1px solid rgba(245, 184, 61, 0.3); padding: 3px 9px; border-radius: 999px; }
.chip.ok { color: var(--ok); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.3); }

.band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { counter-reset: s; }
.step { position: relative; padding-top: 6px; }
.step::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad); font-weight: 800; margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.4);
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.checks small { display: block; color: var(--muted); font-size: 14px; }
.panel-note { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.panel-note h3 { margin: 0 0 10px; font-size: 18px; }
.panel-note p { margin: 0; color: var(--muted); font-size: 15px; }

/* Planes */
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.plan { position: relative; }
.plan.pro { border-color: rgba(124, 92, 255, 0.55); background: linear-gradient(180deg, rgba(124, 92, 255, 0.16), var(--surface)); }
.plan .pill { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--grad); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin: 0 0 4px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.note-small { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; }
details[open] { border-color: rgba(124, 92, 255, 0.4); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* CTA final y pie */
.final { text-align: center; }
.final .box {
  border-radius: 24px; border: 1px solid rgba(124, 92, 255, 0.4); padding: 64px 24px;
  background: radial-gradient(500px 260px at 50% 0%, rgba(124, 92, 255, 0.28), transparent 70%), var(--surface);
}
.final h2 { margin-bottom: 12px; }
.final p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 17px; }
.final .cta { justify-content: center; margin: 0; }
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer p { margin: 0; max-width: 640px; }

/* Móvil */
@media (max-width: 920px) {
  .hero .wrap, .safe { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .game { height: 340px; }
  .overlay { width: calc(100% - 32px); }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
