/* ==========================================================================
   INDIGO.COM.MX - HOJA DE ESTILOS PERSONALIZADA
   Paleta Oficial 50+ Shades of Indigo
   ========================================================================== */

:root {
  --color-indigo-primary: #4B0082;
  --color-indigo-dark: #1F0954;
  --color-indigo-deep: #2B0071;
  --color-indigo-electric: #6F00FF;
  --color-indigo-bright: #6F00FE;
  --color-indigo-royal: #240952;
  --color-indigo-persian: #32127A;
  --color-indigo-websafe: #330099;
  --color-indigo-blueviolet: #8A2BE2;
  --color-indigo-neon: #7B00FF;
  --color-indigo-tropical: #9683EC;
  --color-indigo-lavender: #9457EB;
  --color-indigo-tint: #F3EDF7;
  --color-indigo-bg: #F8F6FC;
  --color-text-dark: #1A132F;
  --color-text-muted: #58536E;
  --color-gold-accent: #FF9800;
  --color-gold-dark: #E65100;
  --color-green-success: #10B981;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text-dark);
}

/* Selección de texto */
::selection {
  background-color: var(--color-indigo-electric);
  color: #FFFFFF;
}

/* Gradientes Oficiales */
.bg-gradient-indigo {
  background: linear-gradient(135deg, #1F0954 0%, #2B0071 40%, #4B0082 80%, #6F00FF 100%);
}

.bg-gradient-indigo-soft {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3EDF7 50%, #FAF8FD 100%);
}

.bg-gradient-card-popular {
  background: linear-gradient(145deg, #240952 0%, #32127A 60%, #4B0082 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, #6F00FF 0%, #8A2BE2 50%, #9457EB 100%);
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #2B0071 0%, #4B0082 50%, #6F00FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-light {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2D9F3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow & Sombras */
.shadow-indigo-sm {
  box-shadow: 0 4px 14px rgba(75, 0, 130, 0.08);
}

.shadow-indigo-md {
  box-shadow: 0 10px 25px -3px rgba(75, 0, 130, 0.15), 0 4px 6px -2px rgba(75, 0, 130, 0.05);
}

.shadow-indigo-xl {
  box-shadow: 0 20px 40px -10px rgba(31, 9, 84, 0.35);
}

.shadow-glow {
  box-shadow: 0 0 35px rgba(111, 0, 255, 0.4);
}

.shadow-glow-popular {
  box-shadow: 0 0 45px rgba(138, 43, 226, 0.45);
}

/* Bordes y Vidrio */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(243, 237, 247, 0.8);
}

.glass-dark {
  background: rgba(31, 9, 84, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(150, 131, 236, 0.2);
}

/* Animaciones sutiles */
@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(111, 0, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(111, 0, 255, 0.7);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Transiciones interactivas */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Estilos de tabla comparativa */
.table-indigo th {
  background-color: var(--color-indigo-primary);
  color: #FFFFFF;
}

.table-indigo tr:nth-child(even) td {
  background-color: var(--color-indigo-tint);
}

/* Botón flotante WhatsApp */
.wa-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Barra inferior móvil */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 85;
    background: rgba(31, 9, 84, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
  }
}
