/* ============================================================
   BattleTAI — Hoja de estilos principal
   Dark mode premium · neón azul eléctrico + violeta · glassmorphism
   Tipografía: Outfit
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Colores base */
  --bg: #050510;
  --bg-2: #08081a;
  --bg-3: #0c0b22;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Neón */
  --blue: #00d4ff;
  --blue-soft: rgba(0, 212, 255, 0.14);
  --violet: #7c3aed;
  --violet-soft: rgba(124, 58, 237, 0.16);
  --grad: linear-gradient(120deg, #00d4ff 0%, #7c3aed 100%);
  --grad-soft: linear-gradient(120deg, rgba(0,212,255,.2), rgba(124,58,237,.2));

  /* Texto */
  --text: #eef0ff;
  --text-muted: #9aa0c0;
  --text-dim: #6b6f8d;

  /* Radios y sombras */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --glow-blue: 0 0 30px rgba(0, 212, 255, 0.45);
  --glow-violet: 0 0 30px rgba(124, 58, 237, 0.5);

  /* Layout */
  --nav-h: 76px;
  --container: 1200px;

  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fondo ambiente: orbes neón difuminados + grano */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50vw 50vw at 15% 10%, rgba(0, 212, 255, 0.16), transparent 60%),
    radial-gradient(55vw 55vw at 85% 20%, rgba(124, 58, 237, 0.20), transparent 60%),
    radial-gradient(60vw 60vw at 50% 100%, rgba(124, 58, 237, 0.10), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
ul { list-style: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { color: var(--text-muted); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; padding: 120px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 26, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-logo {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad);
  box-shadow: var(--glow-blue);
  font-weight: 900;
  color: #050510;
}
.brand-logo svg { width: 22px; height: 22px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.96rem; transition: color .2s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad);
  color: #050510;
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.5), 0 6px 20px -8px rgba(124, 58, 237, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(0, 212, 255, 0.65), 0 10px 30px -8px rgba(124, 58, 237, 0.6); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--blue); box-shadow: var(--glow-blue); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  pointer-events: none;
}
.hero-content .eyebrow { pointer-events: auto; }
.hero h1 { margin: 26px 0 24px; }
.hero h1 span { display: block; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 600px; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; pointer-events: auto; }
.hero-stats {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  pointer-events: auto;
}
.hero-stats .stat strong { display: block; font-size: 2rem; font-weight: 800; }
.hero-stats .stat span { color: var(--text-dim); font-size: 0.9rem; }

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; background: var(--blue); border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ---------- Cards de glass ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
}

/* ---------- Features ---------- */
.grid { display: grid; gap: 24px; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.feature-icon svg { width: 26px; height: 26px; }
.icon-blue { color: var(--blue); box-shadow: inset 0 0 0 1px rgba(0,212,255,.3), 0 0 24px rgba(0,212,255,.15); }
.icon-violet { color: var(--violet); box-shadow: inset 0 0 0 1px rgba(124,58,237,.35), 0 0 24px rgba(124,58,237,.18); }
.feature h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.feature p { position: relative; z-index: 1; font-size: 0.98rem; }

/* ---------- Showcase / banda ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(0,212,255,.25), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(124,58,237,.3), transparent 55%),
    linear-gradient(160deg, #0c0b22, #050510);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.showcase-visual::after {
  content: "BTAI"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; opacity: .85;
}
.checklist { margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.checklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
  margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(180deg, rgba(0,212,255,.06), rgba(124,58,237,.05));
  box-shadow: 0 0 0 1px rgba(0,212,255,.2), 0 30px 70px -25px rgba(124,58,237,.5);
}
.price-card.featured::before {
  content: "Más popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #050510; font-size: .75rem; font-weight: 700;
  padding: 6px 16px; border-radius: var(--r-pill); letter-spacing: .08em; text-transform: uppercase;
}
.plan-name { color: var(--text-muted); font-size: .95rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 8px; }
.plan-price .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; }
.plan-price .period { color: var(--text-dim); }
.plan-desc { min-height: 44px; font-size: .95rem; }
.plan-features { margin: 26px 0; display: grid; gap: 14px; }
.plan-features li { display: flex; gap: 12px; align-items: center; font-size: .95rem; }
.plan-features li svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.price-card .btn { margin-top: auto; }

/* ---------- CTA final ---------- */
.cta-band {
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124,58,237,.25), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { margin-bottom: 34px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer .col p { max-width: 320px; font-size: .92rem; }
.footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 16px; }
.footer .col a { display: block; color: var(--text-dim); padding: 6px 0; transition: color .2s; font-size: .95rem; }
.footer .col a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: .88rem;
}

/* ---------- Páginas de auth ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 44px;
  position: relative;
}
.auth-card .logo-center { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--text-muted); margin-bottom: 32px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap .lead { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-dim); display: flex; }
.input-wrap .lead svg { width: 18px; height: 18px; }
.input {
  width: 100%;
  padding: 15px 16px 15px 46px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--text-dim); }
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
  background: rgba(12, 11, 34, 0.9);
}
.input-wrap .toggle-pass {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); padding: 6px; display: flex;
}
.input-wrap .toggle-pass:hover { color: var(--blue); }

.auth-row { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 24px; font-size: .9rem; }
.auth-row label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); cursor: pointer; }
.auth-row input[type="checkbox"] { accent-color: var(--blue); width: 16px; height: 16px; }
.auth-row a { color: var(--blue); }

.auth-foot { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: .95rem; }
.auth-foot a { color: var(--blue); font-weight: 600; }

/* Alertas / mensajes */
.alert {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  margin-bottom: 18px;
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.alert.show { display: flex; }
.alert-error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
.alert-success { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.alert-info { background: var(--blue-soft); border-color: rgba(0, 212, 255, 0.3); color: #9ad8f2; }

.divider { display: flex; align-items: center; gap: 14px; color: var(--text-dim); margin: 26px 0; font-size: .85rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }

/* ---------- Dashboard ---------- */
.dash {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 50px) 0 80px;
}
.dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.dash-header h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dash-header p { color: var(--text-muted); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600;
}
.status-pill.paid { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-pill.unpaid { background: rgba(234, 179, 8, 0.1); color: #fde68a; border: 1px solid rgba(234, 179, 8, 0.3); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.dash-card { padding: 32px; }
.dash-card h3 { margin-bottom: 6px; }
.dash-card .muted { color: var(--text-muted); font-size: .92rem; margin-bottom: 22px; }

.license-box {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px; border-radius: var(--r-md);
  background: var(--bg-3); border: 1px dashed var(--border-strong);
  margin-bottom: 24px;
}
.license-key {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700; letter-spacing: .06em;
  flex: 1; min-width: 200px;
}
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border-strong); font-size: .88rem; transition: .2s; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.copy-btn svg { width: 16px; height: 16px; }

.download-block { text-align: center; padding: 30px 0 10px; border-top: 1px solid var(--border); }
.download-block .icon-big {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center; background: var(--grad); color: #050510;
  box-shadow: var(--glow-violet);
}
.download-block .icon-big svg { width: 36px; height: 36px; }

.paywall { text-align: center; padding: 20px 0; }
.paywall .icon-big {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 20px;
  display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--border); color: var(--violet);
}
.paywall .icon-big svg { width: 36px; height: 36px; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-stat { padding: 22px; }
.mini-stat .num { font-size: 2rem; font-weight: 800; }
.mini-stat .lbl { color: var(--text-muted); font-size: .85rem; }

.profile-list { display: grid; gap: 16px; }
.profile-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.profile-list li:last-child { border-bottom: none; }
.profile-list .k { color: var(--text-muted); }
.profile-list .v { font-weight: 600; word-break: break-all; text-align: right; }

/* ---------- Estados ---------- */
.loading { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.hidden { display: none !important; }

.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Reveal (GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.reveal-x { opacity: 0; transform: translateX(-50px); }
.reveal-scale { opacity: 0; transform: scale(.92); }

/* ---------- Floating gradient blob (decorativo) ---------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.1); } }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--violet), var(--blue)); border-radius: 10px; border: 2px solid var(--bg-2); }
::selection { background: rgba(0, 212, 255, 0.3); color: #fff; }

/* ---------- Canvas de fondo en páginas de auth ---------- */
.page-auth #hero-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.page-auth .nav,
.page-auth main { position: relative; z-index: 2; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .dash-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 8px;
    background: rgba(8, 8, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .35s ease;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 8px 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  section { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat strong { font-size: 1.5rem; }
  .auth-card { padding: 30px 22px; }
  .stat-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .btn { padding: 13px 22px; }
  .nav-cta .btn-ghost { display: none; }
}
