:root {
  --bg: #020617;
  --bg-alt: #0b1220;
  --card: #111827;
  --card-2: #1e293b;
  --border: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --green: #22c55e;
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ── Botones ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-primary:hover { background: #1d4ed8; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-2); }
.btn-ghost:hover { background: var(--card); }

/* ── Beta bar ──────────────────────────────────────── */
.beta-bar {
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
}
.beta-bar strong { font-weight: 800; }
.beta-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6ee7b7;
  margin-right: 7px;
  box-shadow: 0 0 0 0 rgba(110,231,183,.7);
  animation: betaPulse 1.6s infinite;
  vertical-align: middle;
}
@keyframes betaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(110,231,183,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(110,231,183,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,231,183,0); }
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo { height: 40px; background: #fff; border-radius: 10px; padding: 4px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links a.btn { color: #fff; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(600px 300px at 10% 10%, rgba(96,165,250,.10), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--blue-light); background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.3); padding: 6px 12px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.grad { background: linear-gradient(90deg, #60a5fa, #2563eb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; margin: 20px 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { color: var(--muted-2); font-size: 13px; margin-top: 18px; }
.hero-logo { display: flex; justify-content: center; }

.logo-card { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.logo-card img { width: 240px; height: 240px; display: block; object-fit: contain; }
.center-logo { width: max-content; margin: 0 auto 26px; }
.center-logo img { width: 150px; height: 150px; }

/* ── Secciones ─────────────────────────────────────── */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 34px; font-weight: 800; text-align: center; letter-spacing: -.5px; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 12px auto 44px; }

/* ── Features ──────────────────────────────────────── */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--blue); transform: translateY(-3px); }
.feature-ico { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ── Planes ────────────────────────────────────────── */
.grid-planes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 30px;
}
.plan-destacado { border-color: var(--blue); box-shadow: 0 12px 40px rgba(37,99,235,.18); }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
}
.plan-nombre { font-size: 22px; }
.plan-precio { font-size: 38px; font-weight: 800; color: var(--green); margin: 14px 0 22px; }
.plan-precio span { font-size: 15px; color: var(--muted-2); font-weight: 500; }
.plan-trial {
  display: inline-block;
  background: rgba(34,197,94,.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,.3);
  font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 20px;
}
.plan-detalle { list-style: none; margin-bottom: 26px; }
.plan-detalle li { color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 15px; }

/* ── CTA ───────────────────────────────────────────── */
.cta { padding: 80px 0; text-align: center; background: radial-gradient(700px 320px at 50% 0%, rgba(37,99,235,.18), transparent 60%); }
.cta h2 { font-size: 34px; font-weight: 800; }
.cta p { color: var(--muted); margin: 14px 0 28px; }

/* ── Descarga ──────────────────────────────────────── */
.section-descarga { text-align: center; }
.descarga-box { max-width: 460px; margin: 30px auto; }
.descarga-nota { color: var(--muted-2); font-size: 13px; margin-top: 14px; }
.pasos-title { font-size: 22px; margin: 50px 0 18px; text-align: center; }
.pasos { max-width: 560px; margin: 0 auto; text-align: left; color: var(--muted); }
.pasos li { margin-bottom: 14px; padding-left: 6px; }
.pasos strong { color: var(--text); }
.aviso-box {
  max-width: 600px; margin: 36px auto 0; background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25); border-radius: 14px; padding: 16px 18px;
  color: #fcd34d; font-size: 14px;
}
.aviso-box a { color: #fde68a; text-decoration: underline; }

/* ── Legal ─────────────────────────────────────────── */
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal-fecha { color: var(--muted-2); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 20px; margin: 28px 0 10px; color: #fff; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--blue-light); text-decoration: underline; }
.legal-aviso { margin-top: 30px; font-size: 13px; color: var(--muted-2); border-top: 1px solid var(--border); padding-top: 18px; }

/* ── 404 ───────────────────────────────────────────── */
.section-404 { padding: 90px 0; }
.error-code { font-size: 80px; font-weight: 800; color: var(--blue); }

/* ── Footer ────────────────────────────────────────── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 44px; background: #fff; border-radius: 10px; padding: 5px; margin-bottom: 14px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: #fff; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { color: var(--muted-2); font-size: 13px; }
.footer-aviso { margin-top: 4px; font-size: 12px; }

/* ── WhatsApp flotante ─────────────────────────────── */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: waPulse 2.4s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37,211,102,.6);
}
@keyframes waPulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo { order: -1; }
  .logo-card img { width: 180px; height: 180px; }
  .grid-features { grid-template-columns: 1fr 1fr; }
  .grid-planes { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 540px) {
  .grid-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
}
