/* ═══════════════════════════════════════════════════════════════
   SIGTAD PRO — ESTILOS COMPLETOS
   Tema oscuro: Azul / Negro / Morado
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-primary:      #080818;
  --bg-secondary:    #0d0d28;
  --bg-card:         #111130;
  --bg-card-hover:   #161640;
  --bg-glass:        rgba(15, 15, 45, 0.88);

  --border:          rgba(79, 111, 255, 0.2);
  --border-bright:   rgba(79, 111, 255, 0.5);

  --blue:            #4f6fff;
  --blue-light:      #7c9aff;
  --blue-bright:     #00d4ff;
  --purple:          #8b5cf6;
  --purple-light:    #a78bfa;
  --gold:            #fbbf24;

  --text-primary:    #e8e8ff;
  --text-secondary:  #9999cc;
  --text-muted:      #6666aa;

  --success:         #10b981;
  --error:           #ef4444;
  --warning:         #f59e0b;

  --glow-blue:       0 0 30px rgba(79, 111, 255, 0.25);
  --glow-purple:     0 0 30px rgba(139, 92, 246, 0.25);

  --radius:          12px;
  --radius-lg:       20px;
  --radius-xl:       28px;

  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:        70px;
  --section-pad:     80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a  { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-bright); }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight { color: var(--blue-bright); }
.highlight-gold { color: var(--gold); }

/* ─── SPLASH SCREEN ──────────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  animation: splashPulse 2.2s ease-in-out;
  filter: drop-shadow(0 0 35px rgba(79, 111, 255, 0.6));
}

#splash .splash-name {
  margin-top: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--blue), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes splashPulse {
  0%   { opacity: 0; transform: scale(0.7); }
  35%  { opacity: 1; transform: scale(1.06); }
  65%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── MODALES ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 18, 0.86);
  backdrop-filter: blur(8px);
  z-index: 8500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  opacity: 1;
  transition: opacity var(--transition);
}

.modal-overlay.modal-visible {
  opacity: 1;
}

select, select option {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--glow-blue), 0 25px 60px rgba(0,0,0,0.8);
  max-height: 90vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform var(--transition);
  position: relative;
}

.modal-overlay.modal-visible .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}
.modal-close:hover { background: rgba(239,68,68,0.25); color: #ef4444; border-color: #ef4444; }

.modal-header {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--border);
}
.modal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-title-row h2 {
  font-size: 1.35rem;
  color: var(--blue-bright);
}
.modal-logo { width: 38px; height: 38px; object-fit: contain; }

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.scrollable {
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 8px;
}

.modal-footer {
  padding: 16px 24px 22px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}

/* Términos */
.terms-modal { max-width: 680px; }
.terms-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.terms-item strong { color: var(--text-primary); }
.terms-item:last-child { border-bottom: none; }

.copyright-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(79, 111, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 16px;
}
.copyright-notice p { font-size: 0.85rem; color: var(--text-secondary); }
.copyright-notice p strong { color: var(--blue-light); }
.shield-icon { font-size: 1.5rem; }

/* Auth */
.auth-modal {
  max-width: 480px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255,255,255,0.05);
}
.auth-modal::-webkit-scrollbar {
  width: 6px;
}
.auth-modal::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}
.auth-tabs {
  display: flex;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
}
.auth-tab.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Botón Google OAuth Oficial */
.btn-google-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.btn-google-oauth:hover {
  background: #f9fafb;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.25);
  transform: translateY(-1px);
}
.btn-google-oauth:active {
  transform: translateY(0);
}
.btn-google-oauth .google-icon-svg {
  flex-shrink: 0;
}

/* Divisor Visual de Autenticación */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-divider:not(:empty)::before {
  margin-right: 12px;
}
.auth-divider:not(:empty)::after {
  margin-left: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,111,255,0.2);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Sello de Privacidad y Confidencialidad */
.privacy-seal-box {
  background: rgba(79, 111, 255, 0.07);
  border: 1px solid rgba(79, 111, 255, 0.25);
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: #c7d2fe;
  line-height: 1.45;
  margin-top: 2px;
}
.privacy-seal-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.privacy-seal-text strong {
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
}
.privacy-seal-text a {
  color: var(--blue-bright);
  text-decoration: underline;
}

/* Contenedor Captcha */
.captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65px;
  margin: 4px 0;
}

.auth-message {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  min-height: 1.5em;
}
.auth-message.success { background: rgba(16,185,129,0.15); color: var(--success); }
.auth-message.error   { background: rgba(239,68,68,0.15); color: var(--error); }
.auth-message.info    { background: rgba(79,111,255,0.15); color: var(--blue-light); }

/* Perfil de Usuario Activo en Auth Modal */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 6px 0;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79, 111, 255, 0.15);
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--glow-blue);
}
.profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.profile-user-sub {
  font-size: 0.85rem;
  color: #93c5fd;
  margin: -6px 0 0 0;
  font-weight: 500;
}
.profile-email {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
  word-break: break-all;
}

.btn-license-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
  transition: all var(--transition);
}
.btn-license-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45);
  color: #ffffff;
}

.btn-danger-discrete {
  background: transparent;
  border: none;
  color: #f87171;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0.75;
  transition: all var(--transition);
  text-decoration: none;
  margin-top: 4px;
}
.btn-danger-discrete:hover {
  opacity: 1;
  background: rgba(239, 68, 68, 0.1);
  text-decoration: underline;
}
.btn-pencil-edit {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
  color: #93c5fd;
}
.btn-pencil-edit:hover {
  background: rgba(59, 130, 246, 0.28);
  border-color: #60a5fa;
  color: #ffffff;
  transform: scale(1.08);
}
.expiration-calc-box {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.btn-edit-compact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all var(--transition);
  margin: 4px 0 6px auto;
}
.btn-edit-compact:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #60a5fa;
  color: #ffffff;
}
.profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}
.profile-details-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin: 6px 0;
}
.profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.profile-info-label { color: var(--text-muted); }
.profile-info-val { font-weight: 600; color: var(--text-primary); }
.profile-info-val.highlight-green { color: #10b981; }
.profile-logout-btn {
  margin-top: 8px;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}
.profile-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: #ffffff;
}

/* Premio Modal */
.prize-modal { max-width: 440px; padding: 34px 28px; text-align: center; }
.prize-content { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.prize-emoji { font-size: 3.8rem; }
.prize-modal h2 { font-size: 1.9rem; color: var(--gold); }
.prize-subtitle { color: var(--text-secondary); font-size: 0.95rem; }
.prize-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(249,115,22,0.15));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 16px 28px;
  margin: 6px 0;
}
.prize-days {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.prize-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}
.prize-description { font-size: 0.88rem; color: var(--text-secondary); }

/* Rating Modal */
.rating-modal { max-width: 420px; padding: 32px 24px; text-align: center; }
.rating-content { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rating-stars { font-size: 2.2rem; letter-spacing: 5px; color: var(--gold); }
.rating-modal h2 { font-size: 1.6rem; }
.rating-modal p { color: var(--text-secondary); font-size: 0.95rem; }
.rating-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }

/* Modal Showcase: ¿Qué hace SIGTAD PRO? */
.que-hace-modal-box {
  max-width: 860px;
  padding: 24px 26px;
  overflow-y: auto;
  border-color: rgba(79, 111, 255, 0.45);
  background: radial-gradient(circle at top left, rgba(79, 111, 255, 0.12), transparent 70%), var(--bg-secondary);
  box-shadow: 0 0 40px rgba(79, 111, 255, 0.25), 0 25px 60px rgba(0,0,0,0.85);
}
.modal-header-inline {
  margin-bottom: 6px;
}
.card-launcher-card {
  cursor: pointer;
  border-color: rgba(79, 111, 255, 0.3);
  transition: all var(--transition);
}
.card-launcher-card:hover {
  border-color: var(--blue-bright);
  box-shadow: 0 0 25px rgba(79, 111, 255, 0.25);
  transform: translateY(-2px);
}
.launcher-badge {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(79, 111, 255, 0.15);
  color: var(--blue-bright);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(79, 111, 255, 0.3);
}
.btn-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.btn-android { background: #3DDC84; color: #022b15; }
.btn-android:hover { background: #2bc56d; transform: translateY(-2px); }
.btn-google { background: #ffffff; color: #222222; }
.btn-google:hover { background: #ebebeb; transform: translateY(-2px); }

/* ─── HEADER / NAVBAR ────────────────────────────────────────── */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#mainHeader.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo { width: 42px; height: 42px; object-fit: contain; }
.nav-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue-bright);
  background: rgba(79, 111, 255, 0.12);
}

.btn-nav-auth {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: 8px;
}
.btn-nav-auth:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BOTONES COMUNES ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--glow-blue); color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-light);
  border: 1px solid var(--blue);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(79, 111, 255, 0.12); color: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 30%, #fef08a 50%, #f59e0b 75%, #b45309 100%);
  background-size: 200% 200%;
  color: #1a0f00;
  border: 1px solid rgba(254, 240, 138, 0.7);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
.btn-gold:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(251, 191, 36, 0.65), 0 0 16px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  color: #0b0700;
}
.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}
.btn-gold-icon {
  font-size: 1.15rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.btn-text:hover { color: var(--text-secondary); }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  width: 100%;
}
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }

/* ─── SECCIONES BASE ─────────────────────────────────────────── */
section { padding: var(--section-pad) 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── SEPARADORES VISUALES LUMINOSOS ─────────────────────────── */
.section-divider {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.45) 0%, rgba(139, 92, 246, 0.2) 45%, transparent 75%);
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  box-shadow: 0 0 12px #00d4ff;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content { flex: 1; }
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 111, 255, 0.1);
  border: 1px solid var(--border-bright);
  color: var(--blue-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.registered-symbol {
  font-size: 1em;
  font-weight: inherit;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-logo-glow {
  width: 270px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(79,111,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(79, 111, 255, 0.5));
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}

/* ─── BLOQUE 1: INFORMATIVO ──────────────────────────────────── */
.info-section {
  background: var(--bg-secondary);
  padding: 44px 24px;
}

/* Nivel 1: Fila Dual (¿Qué somos? + Sistema de Referidos) */
.intro-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto 20px;
  align-items: stretch;
}

/* Nivel 2: Showcase Central Protagonista (¿Qué hace SIGTAD PRO?) */
.showcase-card-wrapper {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  opacity: 1;
  transform: none;
}
.info-card.visible { opacity: 1; transform: none; }
.info-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

.card-featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(79,111,255,0.06), rgba(139,92,246,0.06));
}

.card-icon { font-size: 2.3rem; }
.card-title { font-size: 1.2rem; color: var(--text-primary); }
.card-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }

/* ─── Encabezados y SVG en Bloque 1 ─── */
.title-inline-icon {
  width: 1.18em;
  height: 1.18em;
  vertical-align: -0.16em;
  margin-right: 8px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.45));
}
.title-svg-icon {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.4));
}
.card-header-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(79, 111, 255, 0.12);
}
.card-inline-svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.combo-svg {
  width: 70px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}
.card-highlight-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.98rem;
}
.highlight-purple {
  color: var(--purple-light);
}

/* ─── CARRUSEL DE BARAJAS HORIZONTAL (¿Qué hace SIGTAD PRO?) ─── */
.card-carousel-card {
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
}

.carousel-intro-text {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.carousel-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 12px;
  padding: 2px;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(13, 13, 40, 0.65);
  border: 1px solid rgba(79, 111, 255, 0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-sizing: border-box;
  min-height: 165px;
}

.slide-info {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1.25;
}

.slide-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.slide-desc strong {
  color: var(--text-primary);
}

.badge-surtir {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 1px 4px;
  border-radius: 4px;
}
.badge-agotado {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  padding: 1px 4px;
  border-radius: 4px;
}

.slide-visual {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 155px;
}

/* Naipe individual / Baraja */
.baraja-card {
  width: 82px;
  height: 155px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
  background: #000;
  transition: transform var(--transition), box-shadow var(--transition);
}
.baraja-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.baraja-single {
  transform: rotate(3deg);
}
.baraja-single:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.35);
}

.baraja-tilt-left {
  transform: rotate(-3deg);
}
.baraja-tilt-left:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.35);
}

/* Manojo de 3 Barajas (Slide 6) */
.barajas-fanned {
  position: relative;
  width: 120px;
  height: 155px;
}
.barajas-fanned .baraja-card {
  position: absolute;
  top: 6px;
  width: 64px;
  height: 140px;
}

.card-fanned-left {
  left: 0;
  transform: rotate(-13deg) translateY(3px);
  z-index: 1;
}
.card-fanned-center {
  left: 28px;
  top: 0 !important;
  transform: rotate(0deg) translateY(-2px);
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.45);
}
.card-fanned-right {
  left: 56px;
  transform: rotate(13deg) translateY(3px);
  z-index: 2;
}

/* Controles de Navegación del Carrusel */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 2px;
}

.carousel-nav-btn {
  background: rgba(79, 111, 255, 0.15);
  border: 1px solid var(--border);
  color: var(--blue-bright);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all var(--transition);
}
.carousel-nav-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.carousel-dot:hover {
  background: rgba(0, 212, 255, 0.6);
}
.carousel-dot.active {
  background: var(--blue-bright);
  width: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px #00d4ff;
}
.feature-list li { font-size: 0.9rem; color: var(--text-secondary); }

/* ─── BLOQUE 2: DESCARGAS ────────────────────────────────────── */
.downloads-section {
  padding: var(--section-pad) 24px;
  text-align: center;
}

.counter-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px 44px;
  margin-bottom: 48px;
  box-shadow: var(--glow-blue);
}

.counter-display { display: flex; align-items: baseline; gap: 12px; }
.counter-number {
  font-size: 3.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.counter-label { font-size: 1rem; color: var(--text-secondary); font-weight: 600; }

.counter-live-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.vivid-brand-text {
  color: #00d4ff;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.65);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.download-buttons {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.download-card.visible { opacity: 1; transform: translateY(0); }
.download-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

.badge-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.store-badge-img {
  width: 100%;
  max-width: 290px;
  height: auto;
  border-radius: 12px;
  transition: transform var(--transition), filter var(--transition);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}

.download-card:hover .store-badge-img {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 25px rgba(0, 212, 255, 0.25));
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-windows {
  background: linear-gradient(135deg, #0078d4, #004ea2);
  color: #fff;
}
.btn-windows:hover { background: linear-gradient(135deg, #0090ff, #0060c0); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,120,212,0.4); }

.btn-android-dl {
  background: linear-gradient(135deg, #3DDC84, #1a9957);
  color: #022b15;
}
.btn-android-dl:hover { background: linear-gradient(135deg, #50e898, #20b564); color: #022b15; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(61,220,132,0.4); }

.download-note { font-size: 0.82rem; color: var(--text-muted); align-self: center; }

/* ─── BLOQUE 3: REFERIDOS ────────────────────────────────────── */
.referidos-section {
  background: var(--bg-secondary);
  padding: var(--section-pad) 24px;
}

/* Diagrama de referidos */
.referral-flow-container {
  max-width: 520px;
  margin: 0 auto 28px;
  text-align: center;
  padding: 6px 14px;
  display: flex;
  justify-content: center;
}

.referral-flow-img {
  width: 100%;
  max-width: 490px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.35)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  transition: transform var(--transition);
}
.referral-flow-img:hover {
  transform: scale(1.02);
}

.referidos-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.referidos-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}
.referidos-info.visible { opacity: 1; transform: translateY(0); }

.plans-table { display: flex; flex-direction: column; gap: 14px; }
.plans-table h3 { font-size: 1.05rem; color: var(--blue-bright); font-weight: 800; letter-spacing: 0.05em; }

.plan-row {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition);
}
.plan-row:hover { border-color: var(--border-bright); transform: translateX(4px); box-shadow: var(--glow-blue); }

.plan-text-content {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.plan-text-content strong {
  color: var(--gold);
}
.plan-condition {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-left: 4px;
}

.referidos-legal-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 4px 6px;
}
.referidos-legal-note strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.referidos-video {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease 0.2s;
}
.referidos-video.visible { opacity: 1; transform: translateY(0); }

.video-promo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.video-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
}

.video-promo-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 38px rgba(251, 191, 36, 0.45);
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow-blue);
  background: #000;
}
.video-glow-border {
  border: 2px solid rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.35), 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  transition: all var(--transition);
}
.video-glow-border:hover {
  border-color: #00d4ff !important;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.55), 0 12px 35px rgba(0, 0, 0, 0.9) !important;
}
.video-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.video-shorts { padding-top: 177.78%; max-width: 340px; margin: 0 auto; width: 100%; }
.video-landscape { padding-top: 56.25%; width: 100%; }

/* ─── BLOQUE 4: MANUAL DE USO ────────────────────────────────── */
.manual-section { padding: var(--section-pad) 24px; }
.video-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ─── BLOQUE 5: CONTACTO ─────────────────────────────────────── */
.contact-section {
  background: var(--bg-secondary);
  padding: var(--section-pad) 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}
.contact-item.visible { opacity: 1; transform: translateX(0); }
.contact-item:hover { border-color: var(--border-bright); transform: translateX(4px); }

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.contact-icon svg {
  width: 38px;
  height: 38px;
  display: block;
}
.contact-label { font-size: 0.76rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}
.contact-value:hover { color: var(--blue-bright); }
.whatsapp-link:hover { color: #25D366; }
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.contact-reasons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-reasons h4 { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.contact-reasons li { font-size: 0.88rem; color: var(--text-secondary); padding: 4px 0; }

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.contact-qr h3 { font-size: 1.2rem; }
.qr-container {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 0 30px rgba(79,111,255,0.25);
  display: inline-block;
}
.qr-container canvas, .qr-container img { width: 190px; height: 190px; display: block; }
.qr-caption { font-size: 0.84rem; color: var(--text-muted); max-width: 240px; line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #040410;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; }
.footer-brand h3 { font-size: 1.25rem; font-weight: 700; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.88rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--blue-bright); }

.footer-legal { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; max-width: 800px; }

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-dual-grid { max-width: 100%; }
  .showcase-card-wrapper { max-width: 100%; }
  .referidos-layout { grid-template-columns: 1fr; }
  .hero-section { flex-direction: column; text-align: center; min-height: auto; }
  .hero-logo-glow { width: 220px; height: 220px; }
  .hero-logo { width: 170px; height: 170px; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --section-pad: 42px; }
  .hamburger { display: flex; }

  /* Asegurar visibilidad inmediata en móviles evitando cualquier vacío */
  .info-card, .download-card, .contact-item, .referidos-info, .referidos-video {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 10px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 1rem; width: 100%; text-align: center; }
  .btn-nav-auth {
    order: -1;
    width: 100%;
    margin-left: 0;
    margin-bottom: 8px;
    padding: 13px;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 16px rgba(79, 111, 255, 0.4);
  }

  .intro-dual-grid { grid-template-columns: 1fr; gap: 14px; max-width: 100%; margin-bottom: 16px; }
  .showcase-card-wrapper { max-width: 100%; }
  .card-carousel-card { padding: 18px 16px; }
  .que-hace-modal-box { max-width: 95vw; padding: 18px 14px; }
  .carousel-slide { padding: 12px 14px; gap: 12px; }

  .section-title-flex { gap: 10px; }
  .title-inline-icon { width: 1.15em; height: 1.15em; margin-right: 6px; }
  .card-header-inline { gap: 10px; }
  .combo-svg { width: 62px; height: 24px; }

  .download-buttons { flex-direction: column; align-items: center; }
  .download-card { max-width: 100%; min-width: unset; width: 100%; }
  .store-badge-img { max-width: 260px; }

  .referral-flow-container { margin-bottom: 24px; padding: 4px 6px; }
  .video-promo-title { font-size: 1.65rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-qr { order: -1; }

  .hero-section { padding-top: calc(var(--header-h) + 20px); gap: 28px; }
  .hero-title { font-size: 2.2rem; }

  .counter-container { padding: 20px 24px; }
  .counter-number { font-size: 2.7rem; }

  .plan-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .modal-overlay { padding: 10px; }
  .modal-box { max-height: 94dvh; border-radius: var(--radius-lg); }
  .expiration-calc-box { flex-direction: column; align-items: stretch; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.55rem; }
  .title-inline-icon { width: 1.12em; height: 1.12em; margin-right: 6px; }
  .combo-svg { width: 54px; height: 22px; }
  .card-title { font-size: 1.12rem; }
  .info-card { padding: 18px 16px; gap: 10px; }
  .intro-dual-grid { gap: 12px; margin-bottom: 14px; }
  .card-carousel-card { padding: 16px 14px; }
  .counter-number { font-size: 2.3rem; }
  .store-badge-img { max-width: 225px; }
  .prize-days { font-size: 3.8rem; }
  .video-promo-title { font-size: 1.45rem; }

  .carousel-slide {
    padding: 8px 10px;
    gap: 8px;
    min-height: 128px;
  }
  .slide-info {
    gap: 2px;
  }
  .slide-title {
    font-size: 0.88rem;
    line-height: 1.18;
  }
  .slide-desc {
    font-size: 0.74rem;
    line-height: 1.32;
  }
  .slide-visual {
    min-height: 120px;
  }
  .baraja-card {
    width: 62px;
    height: 120px;
    border-radius: 6px;
  }
  .barajas-fanned {
    width: 88px;
    height: 120px;
  }
  .barajas-fanned .baraja-card {
    width: 46px;
    height: 106px;
  }
  .card-fanned-left { left: 0; }
  .card-fanned-center { left: 21px; }
  .card-fanned-right { left: 42px; }
}

/* ─── MODAL CONFIRMACIÓN DE EMAIL ────────────────────────────── */
.email-confirm-modal {
  max-width: 480px;
  padding: 32px 26px;
  text-align: center;
}
.email-confirm-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.email-confirm-icon {
  font-size: 3.5rem;
  animation: bounceIn 0.8s ease;
}
.email-confirm-modal h2 {
  font-size: 1.55rem;
  color: var(--blue-bright);
}
.email-confirm-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}
.email-target-badge {
  background: rgba(79, 111, 255, 0.15);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 18px;
  word-break: break-all;
}
.instructions-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  width: 100%;
  margin: 6px 0;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.step-item strong { color: var(--text-primary); }
.step-num {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.email-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   CENTRO DE AYUDA Y FAQ INTERACTIVO
   ═══════════════════════════════════════════════════════════════ */
.faq-container {
  max-width: 920px;
  margin: 110px auto 60px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-header-block {
  text-align: center;
  margin-bottom: 30px;
}

.faq-badge {
  display: inline-block;
  background: rgba(79, 111, 255, 0.15);
  border: 1px solid var(--border-bright);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Buscador interactivo */
.faq-search-wrapper {
  margin: 28px 0 16px;
  position: relative;
}

.faq-search-box {
  display: flex;
  align-items: center;
  background: rgba(14, 14, 30, 0.85);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 6px 16px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.faq-search-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  padding: 10px 0;
}

.faq-search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  display: none;
  transition: color var(--transition);
}

.faq-search-clear:hover {
  color: #ffffff;
}

.faq-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.faq-counter-badge {
  font-size: 0.84rem;
  color: var(--cyan);
  font-weight: 600;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
}

.faq-toggle-actions {
  display: flex;
  gap: 8px;
}

.faq-btn-text {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.faq-btn-text:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: var(--border-bright);
}

/* Píldoras de categoría */
.faq-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 30px;
  scrollbar-width: thin;
}

.faq-pill {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-pill:hover {
  background: rgba(79, 111, 255, 0.12);
  border-color: var(--border-bright);
  color: #ffffff;
}

.faq-pill.active {
  background: var(--blue);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(79, 111, 255, 0.4);
}

/* Categoría de preguntas */
.faq-category {
  margin-bottom: 36px;
}

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-category-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Acordeón de pregunta */
.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(79, 111, 255, 0.35);
  background: rgba(79, 111, 255, 0.04);
}

.faq-item[open] {
  border-color: var(--border-bright);
  background: rgba(18, 18, 38, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-q-text {
  flex-grow: 1;
  line-height: 1.45;
}

.faq-chevron {
  font-size: 0.75rem;
  color: var(--blue-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 4px;
  padding-top: 14px;
}

.faq-answer p {
  margin: 0 0 10px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* No results state */
.faq-no-results {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin: 20px 0;
}

.faq-no-results h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.faq-no-results p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .faq-container {
    margin: 90px 12px 40px;
    padding: 24px 16px;
  }
  .faq-title {
    font-size: 1.7rem;
  }
  .faq-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── MODAL ASISTENTE DE DESCARGA SEGURA ─────────────────────── */
.download-guide-modal {
  max-width: 580px;
  width: 94%;
}
.guide-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: var(--transition-normal);
}
.guide-step-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-bright);
}
.guide-step-card h4 {
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.guide-step-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.45;
}
.guide-step-card kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-family: inherit;
  color: #ffffff;
}
.guide-guarantee-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid #3b82f6;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.83rem;
  color: #93c5fd;
  margin: 14px 0;
  line-height: 1.45;
}
.guide-zip-box {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: 14px;
}


