/* ==========================================================================
   COLECCIÓN ARTESANAL PREMIUM - JABONES DE GLICERINA
   Tema: Morado Imperial, Violeta Real, Lila y Oro Brillante
   Diseño Llamativo, Espectacular, Vibrante y de Alta Conversión
   ========================================================================== */

:root {
  /* Paleta Morado y Lila */
  --purple-950: #140226;
  --purple-900: #22063d;
  --purple-850: #2d0852;
  --purple-800: #3b0966;
  --purple-700: #54118f;
  --purple-600: #731dbf;
  --purple-500: #9333ea;
  
  --lila-400: #a855f7;
  --lila-300: #c084fc;
  --lila-200: #d8b4fe;
  --lila-100: #ede4fb;
  --lila-50:  #f8f4fe;

  /* Oro y Acentos Llamativos */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: #ffd700;
  --gold-dark: #b45309;

  /* CTA Botón - Ultra Llamativo (Gradiente Rosa Coral Neón a Naranja Fuego) */
  --cta-btn-start: #ff3366;
  --cta-btn-mid: #ff4b2b;
  --cta-btn-end: #ff7700;
  
  --bg-dark: #160329;
  --bg-light: #f7f2fc;
  --bg-card: #ffffff;
  --bg-card-lila: #f3ebfc;

  --text-dark: #19032e;
  --text-muted: #5e4b75;
  --text-light: #f5f0ff;
  
  --border-lila: #dbc7f5;
  --border-gold: #f59e0b;
  --border-purple: #4c1182;

  --shadow-purple-sm: 0 4px 12px rgba(45, 8, 82, 0.08);
  --shadow-purple-md: 0 10px 30px rgba(45, 8, 82, 0.16);
  --shadow-purple-lg: 0 20px 50px rgba(45, 8, 82, 0.28);
  --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.45);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.45);
  --shadow-glow-cta: 0 10px 35px rgba(255, 51, 102, 0.55);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
}

.font-cinzel {
  font-family: var(--font-accent);
}

/* Barra Superior de Urgencia */
.top-banner {
  background: linear-gradient(90deg, #160228 0%, #36085a 50%, #160228 100%);
  color: #ffffff;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  border-bottom: 2px solid var(--gold-primary);
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.35);
}

.top-banner .timer-badge {
  background: linear-gradient(135deg, #ff3366 0%, #ff5500 100%);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-family: monospace;
  font-size: 0.98rem;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-left: 8px;
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Botones CTA Principales - Ultra Llamativos */
.btn-cta {
  background: linear-gradient(135deg, #ff2a6d 0%, #ff5e36 50%, #ff9900 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 18px 36px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-glow-cta), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #ffd3bb;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shineSweep 3.5s infinite ease-in-out;
}

@keyframes shineSweep {
  0% { left: -70%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

.btn-cta:hover {
  background: linear-gradient(135deg, #ff407d 0%, #ff7049 50%, #ffa71a 100%);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 16px 40px rgba(255, 42, 109, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-cta:active {
  transform: translateY(1px) scale(0.99);
}

.pulse-animation {
  animation: pulseButtonPurple 2.2s infinite;
}

@keyframes pulseButtonPurple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 51, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
  }
}

/* Insignias y Pills Moradas y Doradas */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16) 0%, rgba(245, 158, 11, 0.16) 100%);
  border: 1.5px solid var(--lila-300);
  color: var(--purple-800);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.12);
}

.pill-badge-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--lila-300);
  color: var(--lila-200);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.25);
}

.pill-badge-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid var(--gold-light);
  color: var(--gold-dark);
}

/* Efectos de Imagen y Mockups */
.mockup-wrapper {
  position: relative;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.mockup-wrapper:hover {
  transform: translateY(-6px);
}

.mockup-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(34, 6, 61, 0.28), 0 0 20px rgba(168, 85, 247, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.9);
  display: block;
}

/* Marcos de Celular de WhatsApp con Aura Morada */
.phone-mockup {
  background: #ffffff;
  border-radius: 34px;
  border: 8px solid #1a032c;
  box-shadow: 0 20px 45px rgba(34, 6, 61, 0.25), 0 0 25px rgba(168, 85, 247, 0.2);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.phone-mockup:hover {
  transform: scale(1.025);
  box-shadow: 0 25px 60px rgba(45, 8, 82, 0.38), 0 0 35px rgba(192, 132, 252, 0.4);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-click-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(34, 6, 61, 0.9);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid var(--lila-300);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 2, 33, 0.94);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 92%;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(192, 132, 252, 0.35);
  border: 2px solid var(--lila-300);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.lightbox-close:hover {
  background: var(--purple-600);
  transform: scale(1.1);
}

/* Acordeón de Recetas y Preguntas */
.accordion-item {
  background: #ffffff;
  border: 1.5px solid var(--border-lila);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item.active {
  border-color: var(--purple-500);
  box-shadow: 0 6px 20px rgba(84, 17, 143, 0.12);
}

.accordion-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background: var(--lila-50);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lila-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--purple-600);
  color: #ffffff;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  padding: 6px 24px 22px 24px;
}

/* Oferta / Pricing Box en Morado Imperial */
.pricing-card {
  background: linear-gradient(145deg, #240542 0%, #350860 50%, #1c0334 100%);
  border: 3px solid var(--gold-primary);
  border-radius: 30px;
  box-shadow: var(--shadow-purple-lg), var(--shadow-glow-purple);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.pricing-badge-top {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 50%, #b45309 100%);
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 0.92rem;
  padding: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Barra Flotante Inferior para Móvil (Morado Profundo y Lila) */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 3, 41, 0.97);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--lila-300);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}

.sticky-bottom-bar.visible {
  transform: translateY(0);
}

/* Toast de Notificación de Compra Ficticia */
.social-proof-toast {
  position: fixed;
  bottom: 85px;
  left: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(34, 6, 61, 0.22);
  border-left: 5px solid var(--purple-500);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
  transform: translateX(-150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 330px;
}

.social-proof-toast.show {
  transform: translateX(0);
}

/* Efectos de fondo morado brillante */
.purple-glow-bg {
  background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.28) 0%, rgba(34, 6, 61, 0) 70%);
}

.lila-section-bg {
  background: linear-gradient(180deg, #f7f2fc 0%, #efe4fa 50%, #f7f2fc 100%);
}

.purple-deep-section {
  background: linear-gradient(180deg, #18032d 0%, #29074d 50%, #160228 100%);
  color: #ffffff;
}

/* Tarjetas con Borde Lila Suave */
.lila-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1.5px solid var(--border-lila);
  box-shadow: var(--shadow-purple-sm);
  transition: all 0.3s ease;
}

.lila-card:hover {
  border-color: var(--purple-500);
  box-shadow: var(--shadow-purple-md), 0 0 15px rgba(168, 85, 247, 0.18);
  transform: translateY(-4px);
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
  .btn-cta {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 22px;
  }
  
  .sticky-bottom-bar {
    padding: 9px 12px;
  }
}
