/* ═══════════════════════════════════════════════════════════════════
   electroprecios.css
   Estilos unificados: base + index + precios + registro
   ═══════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════
   1. RESET & VARIABLES
   ══════════════════════════════════════════════ */

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

/* ── TEMA OSCURO (por defecto) ── */
:root {
  --navy:         #0a1628;
  --navy-mid:     #0f2042;
  --blue:         #1054d4;
  --blue-light:   #2b72ff;
  --volt:         #c8ff00;
  --volt-dim:     rgba(200,255,0,0.12);
  --volt-border:  rgba(200,255,0,0.25);
  --white:        #f5f7fa;
  --muted:        #8494b0;
  --border:       rgba(255,255,255,0.08);
  --card:         rgba(255,255,255,0.04);
  --card-hover:   rgba(255,255,255,0.07);
  --danger:       #ff4d6d;
  --success:      #00e68a;

  --bg:           #0a1628;
  --bg-nav:       rgba(10,22,40,0.85);
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-h:    rgba(255,255,255,0.07);
  --bg-input:     rgba(255,255,255,0.06);
  --bg-input-f:   rgba(255,255,255,0.09);
  --text:         #f5f7fa;
  --text-item:    #d0d8e8;
  --shadow-volt:  rgba(200,255,0,0.25);
}

/* ── TEMA CLARO ── */
[data-theme="light"] {
  --navy:         #f0f4ff;
  --navy-mid:     #e2e9f8;
  --blue:         #1054d4;
  --blue-light:   #2b72ff;
  --volt:         #5a8800;
  --volt-dim:     rgba(90,136,0,0.08);
  --volt-border:  rgba(90,136,0,0.22);
  --white:        #1a2540;
  --muted:        #6070a0;
  --border:       rgba(10,22,40,0.10);
  --card:         rgba(10,22,40,0.04);
  --card-hover:   rgba(10,22,40,0.08);
  --danger:       #d9203e;
  --success:      #008a52;

  --bg:           #f0f4ff;
  --bg-nav:       rgba(240,244,255,0.90);
  --bg-card:      rgba(10,22,40,0.04);
  --bg-card-h:    rgba(10,22,40,0.08);
  --bg-input:     rgba(10,22,40,0.05);
  --bg-input-f:   rgba(10,22,40,0.09);
  --text:         #1a2540;
  --text-item:    #344060;
  --shadow-volt:  rgba(90,136,0,0.2);
}


/* ══════════════════════════════════════════════
   2. BASE — HTML & BODY
   ══════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

/* registro.css agrega flex al body */
body.registro-page {
  display: flex;
  flex-direction: column;
}


/* ══════════════════════════════════════════════
   3. FONDOS DECORATIVOS
   ══════════════════════════════════════════════ */

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transition: opacity .3s;
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(16,84,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,84,212,0.04) 1px, transparent 1px);
}

.bg-glow {
  position: fixed; top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(16,84,212,0.25) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] .bg-glow {
  background: radial-gradient(circle, rgba(16,84,212,0.10) 0%, transparent 70%);
}

.bg-glow2 {
  position: fixed; bottom: -300px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] .bg-glow2 {
  background: radial-gradient(circle, rgba(90,136,0,0.06) 0%, transparent 70%);
}

/* index.css */
.bg-glow3 {
  position: fixed; top: 40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,255,0,0.03) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.bg-left {
  position: fixed; left: -200px; top: 30%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,84,212,0.2) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] .bg-left {
  background: radial-gradient(circle, rgba(16,84,212,0.08) 0%, transparent 70%);
}

.bg-right {
  position: fixed; right: -100px; bottom: 10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,255,0,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] .bg-right {
  background: radial-gradient(circle, rgba(90,136,0,0.06) 0%, transparent 70%);
}


/* ══════════════════════════════════════════════
   4. NAVEGACIÓN
   ══════════════════════════════════════════════ */

nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}

/* registro.css sobreescribe sticky */
nav.registro-nav { position: relative; }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1100px; margin: 0 auto;
  gap: .75rem;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--text);
  transition: color .3s;
}
.logo svg { flex-shrink: 0; }

.nav-cta {
  background: var(--blue); color: #fff;
  text-decoration: none; padding: .45rem 1.1rem;
  border-radius: 6px; font-size: .82rem; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-light); }

.nav-back {
  font-size: .82rem; color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: .4rem;
  transition: color .2s;
}
.nav-back:hover { color: var(--text); }
.nav-back svg { width: 14px; height: 14px; }

/* Links centrales (index) */
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-size: .82rem; color: var(--muted); text-decoration: none;
  padding: .4rem .85rem; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--card); }

.nav-right {
  display: flex; align-items: center; gap: .75rem; margin-left: auto;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem;
  display: flex; align-items: center; gap: .15rem;
  cursor: pointer;
  transition: border-color .2s, background .3s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--volt-border); }

.theme-option {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 100px;
  font-size: .85rem;
  transition: background .2s;
  user-select: none;
}
.theme-option.active { background: var(--volt-dim); }


/* ══════════════════════════════════════════════
   5. LAYOUT GENERAL
   ══════════════════════════════════════════════ */

.container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  position: relative; z-index: 1;
}


/* ══════════════════════════════════════════════
   6. FOOTER
   ══════════════════════════════════════════════ */

footer {
  margin-top: 5rem; padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted); font-size: .8rem;
  position: relative; z-index: 1;
  transition: border-color .3s, color .3s;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--volt); }

/* Footer home (index) */
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  transition: border-color .3s;
}
.footer-brand p {
  color: var(--muted); font-size: .8rem; margin-top: .6rem;
  max-width: 260px; line-height: 1.6; transition: color .3s;
}
.fl-col { display: flex; flex-direction: column; gap: .5rem; }
.fl-title {
  font-family: 'DM Mono', monospace; font-size: .65rem;
  color: var(--volt); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .35rem; transition: color .3s;
}
.fl-col a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.fl-col a:hover { color: var(--text); }
.footer-bottom { font-size: .75rem; color: var(--muted); transition: color .3s; }

/* Footer registro */
footer.registro-footer { margin-top: 0; padding: 1.25rem 2rem; }

/* Footer — fila inferior: copyright + links + crédito diseñador */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .75rem;
  color: var(--muted);
  transition: color .3s;
}
.f-links {
  display: flex;
  gap: 1.25rem;
}
.f-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .75rem;
  transition: color .2s;
}
.f-links a:hover { color: var(--volt); }

/* Crédito del diseñador */
.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  letter-spacing: .02em;
  border: 1px solid var(--border);
  padding: .28rem .7rem;
  border-radius: 100px;
  background: var(--card);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-dev:hover {
  color: var(--volt);
  border-color: var(--volt-border);
  background: var(--volt-dim);
}
.footer-dev svg {
  width: 12px; height: 12px; flex-shrink: 0;
  opacity: .6;
}


/* ══════════════════════════════════════════════
   7. HIGHLIGHT (búsqueda)
   ══════════════════════════════════════════════ */

mark {
  background: rgba(200,255,0,0.25);
  color: var(--volt);
  border-radius: 2px;
  padding: 0 2px;
}
[data-theme="light"] mark { background: rgba(90,136,0,0.15); }


/* ══════════════════════════════════════════════
   8. ANIMACIONES
   ══════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes blink   { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════
   9. BOTONES COMPARTIDOS
   ══════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--volt); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .9rem; padding: .8rem 1.5rem;
  border-radius: 9px; text-decoration: none;
  transition: all .2s;
}
.btn-primary:hover {
  background: #d4ff26;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,255,0,.25);
}
[data-theme="light"] .btn-primary { background: #5a8800; color: #fff; }
[data-theme="light"] .btn-primary:hover { background: #4a7000; box-shadow: 0 6px 24px rgba(90,136,0,.2); }
.btn-primary svg { width: 15px; height: 15px; }
.btn-primary--large { font-size: 1rem; padding: .95rem 2rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: .9rem; padding: .8rem 1.4rem;
  border-radius: 9px; text-decoration: none;
  transition: all .2s;
}
.btn-ghost:hover {
  background: var(--card-hover);
  border-color: var(--volt-border);
  color: var(--volt);
}
.btn-ghost svg { width: 15px; height: 15px; }


/* ══════════════════════════════════════════════
   10. INDEX — HERO
   ══════════════════════════════════════════════ */

.hero {
  min-height: calc(100vh - 61px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  position: relative; z-index: 1;
}

/* Líneas de fondo */
.hero-lines {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  display: flex; gap: 22%;
}
.hline {
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* Bolt decorativo */
.hero-bolt-bg {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 320px; opacity: .03; color: var(--volt);
  pointer-events: none;
}
[data-theme="light"] .hero-bolt-bg { opacity: .05; }

.hero-inner { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'DM Mono', monospace; font-size: .72rem;
  color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp .5s ease both;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--volt);
  animation: blink 1.8s infinite;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02; letter-spacing: -.03em;
  color: var(--text);
  animation: fadeUp .5s .08s ease both;
  transition: color .3s;
}
.h1-accent {
  display: block;
  background: linear-gradient(110deg, var(--volt) 0%, #80ff40 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .h1-accent {
  background: linear-gradient(110deg, #5a8800, #3d6600);
  -webkit-background-clip: text; background-clip: text;
}

.hero-desc {
  font-size: 1.05rem; color: var(--muted); font-weight: 300;
  line-height: 1.7; margin-top: 1.5rem; max-width: 480px;
  animation: fadeUp .5s .16s ease both;
  transition: color .3s;
}

/* Botones hero */
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2.25rem;
  animation: fadeUp .5s .22s ease both;
}

/* Stats hero */
.hero-stat-row {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2.75rem;
  animation: fadeUp .5s .3s ease both;
}
.hero-stat-div { width: 1px; height: 32px; background: var(--border); }
.hs-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.6rem; color: var(--volt); line-height: 1;
  transition: color .3s;
}
.hs-label {
  font-size: .7rem; color: var(--muted); margin-top: .2rem;
  font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .05em;
  transition: color .3s;
}


/* ══════════════════════════════════════════════
   11. INDEX — PREVIEW CARD (lado derecho del hero)
   ══════════════════════════════════════════════ */

.hero-preview {
  position: relative; z-index: 2;
  animation: fadeUp .5s .18s ease both;
}
.preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35), 0 0 0 1px var(--border);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
[data-theme="light"] .preview-card {
  box-shadow: 0 24px 80px rgba(10,22,40,.12), 0 0 0 1px var(--border);
}
.pc-header {
  display: flex; align-items: center; gap: .45rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
[data-theme="light"] .pc-header { background: rgba(10,22,40,.03); }
.pc-dot { width: 10px; height: 10px; border-radius: 50%; }
.pc-dot.r { background: #ff5f57; }
.pc-dot.y { background: #febc2e; }
.pc-dot.g { background: #28c840; }
.pc-title {
  font-family: 'DM Mono', monospace; font-size: .65rem;
  color: var(--muted); margin-left: .5rem;
}
.pc-body { padding: 1.1rem; }
.pc-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  color: var(--volt); font-family: 'DM Mono', monospace;
  font-size: .65rem; padding: .25rem .7rem;
  border-radius: 100px; margin-bottom: 1rem;
  transition: background .3s, color .3s;
}
.pc-rows { display: flex; flex-direction: column; gap: .1rem; }
.pc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem .75rem; border-radius: 8px;
  transition: background .15s;
}
.pc-row:hover { background: var(--card-hover); }
.pc-row-active { background: var(--volt-dim); }
.pc-name { font-size: .78rem; color: var(--text-item); transition: color .3s; }
.pc-price {
  font-family: 'DM Mono', monospace; font-size: .78rem;
  color: var(--volt); font-weight: 500; transition: color .3s;
}

/* Badge flotante */
.floating-badge {
  position: absolute; bottom: -1rem; left: -1.5rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--navy-mid); border: 1px solid var(--volt-border);
  color: var(--volt); font-family: 'DM Mono', monospace;
  font-size: .72rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: float 3s ease-in-out infinite;
  transition: background .3s;
}
[data-theme="light"] .floating-badge {
  background: var(--navy-mid);
  box-shadow: 0 8px 24px rgba(10,22,40,.12);
}
.floating-badge svg { width: 14px; height: 14px; }


/* ══════════════════════════════════════════════
   12. INDEX — FEATURES
   ══════════════════════════════════════════════ */

.features-section {
  padding: 6rem 0;
  position: relative; z-index: 1;
}
.section-header {
  text-align: center; margin-bottom: 3.5rem;
}
.sh-tag {
  font-family: 'DM Mono', monospace; font-size: .7rem;
  color: var(--volt); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .85rem; transition: color .3s;
}

h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--text); transition: color .3s;
}
h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--volt), #80ff40);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] h2 em {
  background: linear-gradient(135deg, #5a8800, #3d6600);
  -webkit-background-clip: text; background-clip: text;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feat-card:hover {
  background: var(--card-hover);
  border-color: var(--volt-border);
  transform: translateY(-3px);
}
.feat-card--large { grid-column: span 2; }
.feat-card--accent {
  border-color: var(--volt-border);
  background: var(--volt-dim);
}
.feat-card--accent:hover { background: rgba(200,255,0,.16); }
[data-theme="light"] .feat-card--accent { background: rgba(90,136,0,.06); }
[data-theme="light"] .feat-card--accent:hover { background: rgba(90,136,0,.10); }

.fc-icon {
  font-size: 1.6rem; margin-bottom: 1rem;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  border-radius: 12px;
  transition: background .3s, border-color .3s;
}
.feat-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1rem; margin-bottom: .6rem;
  color: var(--text); transition: color .3s;
}
.feat-card p { font-size: .84rem; color: var(--muted); line-height: 1.65; transition: color .3s; }
.fc-tag {
  display: inline-block; margin-top: 1rem;
  font-family: 'DM Mono', monospace; font-size: .65rem;
  color: var(--volt); background: var(--volt-dim);
  border: 1px solid var(--volt-border);
  padding: .2rem .6rem; border-radius: 4px; text-transform: uppercase;
  letter-spacing: .05em;
  transition: color .3s, background .3s;
}
.fc-link {
  display: inline-block; margin-top: 1rem;
  font-size: .82rem; color: var(--volt);
  font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.fc-link:hover { opacity: .75; }


/* ══════════════════════════════════════════════
   13. INDEX — CÓMO FUNCIONA
   ══════════════════════════════════════════════ */

.how {
  padding: 5rem 0;
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  transition: border-color .3s;
}
.steps {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 3rem; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  transition: background .2s, border-color .2s;
}
.step:hover { background: var(--card-hover); border-color: var(--volt-border); }
.step-num {
  font-family: 'DM Mono', monospace; font-size: .7rem;
  color: var(--volt); font-weight: 500;
  margin-bottom: 1rem; letter-spacing: .06em;
  transition: color .3s;
}
.step h4 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .95rem; margin-bottom: .5rem;
  color: var(--text); transition: color .3s;
}
.step p { font-size: .82rem; color: var(--muted); line-height: 1.6; transition: color .3s; }
.step-arrow { font-size: 1.4rem; color: var(--border); flex-shrink: 0; font-weight: 300; }


/* ══════════════════════════════════════════════
   14. INDEX — CTA FINAL
   ══════════════════════════════════════════════ */

.cta-section {
  padding: 5rem 0 3rem;
  position: relative; z-index: 1;
}
.cta-box {
  background: var(--card); border: 1px solid var(--volt-border);
  border-radius: 20px; padding: 4rem 2rem;
  text-align: center; position: relative; overflow: hidden;
  transition: background .3s, border-color .3s;
}
.cta-box::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(circle, var(--volt-dim) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bolt {
  font-size: 2.5rem; margin-bottom: 1.25rem; display: block;
  animation: float 3s ease-in-out infinite;
}
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.cta-box p { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; transition: color .3s; }
.cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
}


/* ══════════════════════════════════════════════
   15. PRECIOS — HERO FULL-WIDTH
   ══════════════════════════════════════════════ */

.hero-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
}
.hero-wrapper + .container { margin-top: 2.5rem; }

.hero-precios {
  position: relative; text-align: center;
  overflow: hidden;
  min-height: 560px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5rem 1.5rem 4rem;
}

/* ── CARRUSEL ── */
.hero-carousel-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: var(--navy);
  transition: background .3s;
}
.hero-carousel-bg .carousel-track {
  display: flex; height: 100%;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-carousel-bg .carousel-track img {
  min-width: 100vw; width: 100vw; height: 100%;
  object-fit: cover; object-position: center top;
  display: block; user-select: none; -webkit-user-drag: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(10,22,40,.45) 0%,
    rgba(10,22,40,.15) 45%,
    rgba(10,22,40,.75) 100%);
  transition: background .3s;
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(to bottom,
    rgba(240,244,255,.55) 0%,
    rgba(240,244,255,.25) 45%,
    rgba(240,244,255,.80) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}

/* Botones de navegación del carrusel */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: rgba(10,22,40,.6);
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; z-index: 3; backdrop-filter: blur(6px);
}
[data-theme="light"] .carousel-btn {
  background: rgba(240,244,255,.7);
  border-color: rgba(10,22,40,.15);
  color: #1a2540;
}
.carousel-btn:hover { background: rgba(200,255,0,.2); border-color: var(--volt); }
[data-theme="light"] .carousel-btn:hover { background: rgba(90,136,0,.15); }
.carousel-btn svg { width: 18px; height: 18px; pointer-events: none; }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

/* Dots */
.carousel-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 3;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .2s, transform .2s; border: none; padding: 0;
}
[data-theme="light"] .carousel-dot { background: rgba(10,22,40,.25); }
.carousel-dot.active { background: var(--volt); transform: scale(1.35); }

/* Contador */
.carousel-counter {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(10,22,40,.6); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-family: 'DM Mono', monospace;
  font-size: .7rem; padding: .25rem .65rem; border-radius: 100px; backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s;
}
[data-theme="light"] .carousel-counter {
  background: rgba(240,244,255,.75);
  border-color: rgba(10,22,40,.12);
  color: rgba(26,37,64,.7);
}
.carousel-counter span { color: var(--text); }

/* ── CONTENIDO DEL HERO PRECIOS ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  color: var(--volt); padding: .35rem .9rem;
  border-radius: 100px; font-size: .75rem; font-weight: 600;
  font-family: 'DM Mono', monospace;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .6s ease both;
  transition: background .3s, border-color .3s, color .3s;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--volt); border-radius: 50%;
  animation: blink 1.5s infinite;
}

h1.hero-precios-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05; letter-spacing: -.02em;
  animation: fadeUp .6s .1s ease both;
  color: var(--text);
  transition: color .3s;
}
h1.hero-precios-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--volt) 0%, #80ff40 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] h1.hero-precios-title em {
  background: linear-gradient(135deg, #5a8800 0%, #3d6600 100%);
  -webkit-background-clip: text; background-clip: text;
}

.hero-sub {
  color: var(--muted); font-size: 1.05rem; font-weight: 300;
  max-width: 520px; margin: 1.25rem auto 0;
  line-height: 1.65;
  animation: fadeUp .6s .2s ease both;
  transition: color .3s;
}

/* ── PILL DE ACTUALIZACIÓN ── */
.updated-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); padding: .3rem .8rem;
  border-radius: 100px; font-size: .72rem;
  font-family: 'DM Mono', monospace;
  margin-top: 1.5rem;
  animation: fadeUp .6s .3s ease both;
  transition: background .3s, border-color .3s, color .3s;
}
.updated-pill svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── BUSCADOR ── */
.search-bar {
  max-width: 520px; margin: 2.5rem auto 0;
  position: relative;
  animation: fadeUp .6s .35s ease both;
}
.search-bar input {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); color: var(--text);
  padding: .85rem 1rem .85rem 3rem;
  border-radius: 10px; font-size: .9rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s, background .2s, color .3s;
  outline: none;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar input:focus {
  border-color: var(--volt-border);
  background: var(--bg-input-f);
}
.search-bar svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); width: 16px; height: 16px; pointer-events: none;
}

/* ── ESTADÍSTICAS ── */
.stats {
  display: flex; justify-content: center; gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2.5rem 0;
  flex-wrap: wrap;
  animation: fadeUp .6s .4s ease both;
  transition: border-color .3s;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem; font-weight: 800;
  color: var(--volt); line-height: 1;
  transition: color .3s;
}
.stat-label { font-size: .78rem; color: var(--muted); margin-top: .3rem; transition: color .3s; }

/* ── CATEGORÍAS ── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: .7rem; color: var(--volt);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  animation: fadeUp .6s .5s ease both;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: background .2s, border-color .2s, transform .2s;
}
.cat-card:hover {
  background: var(--card-hover);
  border-color: var(--volt-border);
  transform: translateY(-2px);
}
.cat-header {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer; user-select: none;
}
.cat-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.cat-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: .95rem; flex: 1;
  color: var(--text); transition: color .3s;
}
.cat-count {
  font-family: 'DM Mono', monospace;
  font-size: .7rem; color: var(--muted);
  background: var(--card);
  padding: .2rem .55rem; border-radius: 4px;
  transition: background .3s, color .3s;
}
.cat-toggle {
  width: 20px; height: 20px; color: var(--muted);
  transition: transform .25s, color .3s; flex-shrink: 0;
}
.cat-card.open .cat-toggle { transform: rotate(180deg); }

.cat-items {
  display: none;
  border-top: 1px solid var(--border);
  transition: border-color .3s;
}
.cat-card.open .cat-items { display: block; }

.item-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .15s;
}
[data-theme="light"] .item-row { border-bottom-color: rgba(10,22,40,0.05); }
.item-row:last-child { border-bottom: none; }
.item-row:hover { background: var(--card-hover); }
.item-name { font-size: .84rem; line-height: 1.45; color: var(--text-item); flex: 1; transition: color .3s; }
.item-desc { font-size: .72rem; color: var(--muted); margin-top: .2rem; transition: color .3s; }
.item-price-wrap { text-align: right; flex-shrink: 0; }
.item-price {
  font-family: 'DM Mono', monospace;
  font-weight: 500; font-size: .95rem; color: var(--volt);
  white-space: nowrap; transition: color .3s;
}
.item-unit { font-size: .68rem; color: var(--muted); margin-top: .1rem; transition: color .3s; }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center; padding: 4rem 1rem;
  color: var(--muted); display: none;
}
.empty-state svg { width: 40px; height: 40px; margin-bottom: 1rem; opacity: .4; }

/* ── LOADING ── */
.loading-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--volt);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1rem;
}


/* ══════════════════════════════════════════════
   16. REGISTRO — LAYOUT
   ══════════════════════════════════════════════ */

.main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1.5rem;
  position: relative; z-index: 1;
}
.register-wrap {
  width: 100%; max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

/* ── PANEL IZQUIERDO ── */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  color: var(--volt); padding: .3rem .85rem;
  border-radius: 100px; font-size: .7rem; font-weight: 600;
  font-family: 'DM Mono', monospace;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: background .3s, border-color .3s, color .3s;
}
.badge::before {
  content: ''; width: 5px; height: 5px;
  background: var(--volt); border-radius: 50%;
}

h1.registro-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--text); transition: color .3s;
}
h1.registro-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--volt), #80ff40);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] h1.registro-title em {
  background: linear-gradient(135deg, #5a8800, #3d6600);
  -webkit-background-clip: text; background-clip: text;
}

.left-desc {
  color: var(--muted); font-weight: 300;
  line-height: 1.7; font-size: .95rem;
  margin-bottom: 2rem; max-width: 400px;
  transition: color .3s;
}
.features-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.features-list li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--text-item);
  transition: color .3s;
}
.feat-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--volt-dim); border: 1px solid var(--volt-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 2rem;
  backdrop-filter: blur(12px);
  animation: slideIn .5s ease;
  transition: background .3s, border-color .3s;
}
.form-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  margin-bottom: .25rem;
  color: var(--text); transition: color .3s;
}
.form-sub { color: var(--muted); font-size: .82rem; margin-bottom: 1.75rem; transition: color .3s; }

/* ── CAMPOS ── */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 500;
  color: var(--muted); margin-bottom: .4rem;
  font-family: 'DM Mono', monospace; transition: color .3s;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 9px; font-size: .88rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s, background .2s, color .3s;
  appearance: none;
}
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--volt-border);
  background: var(--bg-input-f);
}
.form-group select option { background: var(--navy-mid); color: var(--text); }
.form-group .select-wrap { position: relative; }
.form-group .select-wrap::after {
  content: '▾'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); color: var(--muted); pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.input-error { border-color: rgba(255,77,109,0.5) !important; }
[data-theme="light"] .input-error { border-color: rgba(217,32,62,0.4) !important; }
.field-error {
  font-size: .72rem; color: var(--danger); margin-top: .3rem; display: none;
  transition: color .3s;
}

/* ── DIVIDER ── */
.divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0; color: var(--muted); font-size: .75rem;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── BOTÓN SUBMIT ── */
.btn-submit {
  width: 100%; padding: .85rem;
  background: var(--volt); color: var(--navy);
  border: none; border-radius: 9px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn-submit:hover {
  background: #d4ff26;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--shadow-volt);
}
[data-theme="light"] .btn-submit { background: var(--volt); color: #fff; }
[data-theme="light"] .btn-submit:hover { background: #4a7000; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── ALERTS ── */
.alert {
  border-radius: 9px; padding: .75rem 1rem;
  font-size: .83rem; margin-bottom: 1rem;
  display: none; align-items: flex-start; gap: .6rem;
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-error   { background: rgba(255,77,109,0.12); border: 1px solid rgba(255,77,109,0.3); color: #ff8fa3; }
.alert-success { background: rgba(0,230,138,0.1);  border: 1px solid rgba(0,230,138,0.3);  color: var(--success); }
[data-theme="light"] .alert-error   { background: rgba(217,32,62,0.08); color: var(--danger); }
[data-theme="light"] .alert-success { background: rgba(0,138,82,0.08);  color: var(--success); }

/* ── ESTADO ÉXITO ── */
.success-state { text-align: center; display: none; padding: 1rem 0; }
.success-icon {
  width: 56px; height: 56px; background: rgba(0,230,138,0.12);
  border: 1px solid rgba(0,230,138,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.5rem;
}
[data-theme="light"] .success-icon {
  background: rgba(0,138,82,0.10);
  border-color: rgba(0,138,82,0.25);
}
.success-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem;
  margin-bottom: .5rem; color: var(--text); transition: color .3s;
}
.success-sub { color: var(--muted); font-size: .85rem; line-height: 1.5; transition: color .3s; }

/* ── SPINNER PEQUEÑO ── */
.spinner-sm {
  width: 16px; height: 16px;
  border: 2px solid rgba(10,22,40,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}


/* ══════════════════════════════════════════════
   17. RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* index */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto; padding: 4rem 1.5rem 3rem;
  }
  .hero-bolt-bg  { display: none; }
  .hero-preview  { display: none; }
  .feat-grid     { grid-template-columns: 1fr 1fr; }
  .feat-card--large { grid-column: span 2; }
  .nav-links     { display: none; }
}

@media (max-width: 820px) {
  /* registro */
  .register-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .left-panel    { text-align: center; }
  .left-desc     { margin-left: auto; margin-right: auto; }
  .features-list { align-items: center; }
}

@media (max-width: 600px) {
  /* index */
  .feat-grid        { grid-template-columns: 1fr; }
  .feat-card--large { grid-column: span 1; }
  .steps            { flex-direction: column; }
  .step-arrow       { transform: rotate(90deg); }
  .footer-inner     { flex-direction: column; gap: 1.5rem; }
  /* precios */
  .hero-precios  { min-height: 420px; padding: 3.5rem 1rem 3rem; }
  .carousel-btn  { width: 32px; height: 32px; }
  .stats         { gap: 1.5rem; }
  .cat-grid      { grid-template-columns: 1fr; }
}