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

body {
  font-family: "Poppins", sans-serif;
  color: #e9d5ff;
  background-color: #000;
  line-height: 1.6;
  padding-top: 0;
}

body.menu-open {
  overflow: hidden;
}

/* ===== COUNTDOWN BANNER ===== */
.countdown-banner {
  background: linear-gradient(90deg, #000 0%, #0a0118 50%, #000 100%);
  color: #fff;
  padding: 10px 20px;
  position: relative;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(114, 9, 183, 0.6);
  border-bottom: 2px solid rgba(114, 9, 183, 0.8);
  display: none;
  /* CAMBIAR AQUÍ DE flex A none */
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
  pointer-events: auto;
}

.countdown-banner.visible {
  display: flex;
}

.countdown-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 1200px;
  position: relative;
  width: 100%;
}

.countdown-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 55px;
  border: 1px solid rgba(114, 9, 183, 0.6);
}

.time-number {
  font-size: 20px;
  font-weight: 700;
  color: #c9a7eb;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  text-shadow: 0 0 10px rgba(201, 167, 235, 0.6);
}

.time-label {
  font-size: 8px;
  color: #999;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.countdown-btn {
  background: linear-gradient(90deg, #7209b7, #560bad);
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
  border: 1px solid rgba(201, 167, 235, 0.3);
  white-space: nowrap;
}

.countdown-btn:hover {
  background: linear-gradient(90deg, #560bad, #3c096c);
}

.countdown-close {
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 10px;
  line-height: 1;
  position: relative;
  z-index: 10001;
  pointer-events: auto;
}

.countdown-close:hover {
  color: #fff;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 3rem;
  background: rgba(0, 0, 0, 0.95);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(114, 9, 183, 0.3);
  border-bottom: 1px solid rgba(114, 9, 183, 0.3);
  backdrop-filter: blur(10px);
}

/* LOGO */
.navbar .logo a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
  transition: all 0.3s;
}

.navbar .logo a:hover {
  color: #f5f5f5;
  text-shadow: 0 0 15px rgba(114, 9, 183, 0.5);
}

/* MENÚ CENTRADO PERFECTO */
.navbar nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #e9d5ff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
}

.navbar a:hover {
  color: #c9a7eb;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

.navbar ul li a.active {
  color: #c9a7eb;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(114, 9, 183, 0.8);
  border-bottom: 2px solid #7209b7;
}

/* CARRITO A LA DERECHA */
/* .cart-icon {
  width: 40px;
  height: 40px;
  background: rgba(114, 9, 183, 0.3);
  border: 2px solid rgba(114, 9, 183, 0.6);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a7eb;
  font-size: 20px;
  transition: all 0.3s;
} */

/* Efecto hover carrito */
.cart-icon:hover {
  background: rgba(114, 9, 183, 0.5);
  border-color: rgba(201, 167, 235, 0.8);
}

/* Mantiene el espacio si no hay carrito */
.cart-icon:empty::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
}

/* ==========================
   NAVBAR RESPONSIVO
=========================== */

/* Menu toggle invisible en escritorio */
.menu-toggle {
  display: none;
}

/* Menú y navbar responsivo para pantallas <= 768px */
@media (max-width: 768px) {

  /* Mostrar toggle */
  .menu-toggle {
    display: block;
  }

  /* Ocultar menú por defecto */
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    /* Debajo del navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    gap: 0;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(114, 9, 183, 0.3);
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  /* Cuando el toggle está activo */
  nav ul.active {
    display: flex;
  }

  /* Mantener iconos siempre a la derecha */
  .right-icons {
    margin-left: auto;
    gap: 0.5rem;
  }

  .cart-icon,
  .login-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {

  .cart-icon,
  .login-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}


/* BOTÓN MENÚ MÓVIL */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #c9a7eb;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1002;
}

.menu-toggle:hover {
  color: #e9d5ff;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

.menu-toggle.active {
  color: #fff;
}

/* Contenedor de iconos a la derecha */
.right-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* LOGIN ICON igual que el carrito */
/* .login-icon {
  width: 40px;
  height: 40px;
  background: rgba(114, 9, 183, 0.3);
  border: 2px solid rgba(114, 9, 183, 0.6);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a7eb;
  font-size: 20px;
  transition: all 0.3s;
} */

.login-icon:hover {
  background: rgba(114, 9, 183, 0.5);
  border-color: rgba(201, 167, 235, 0.8);
}


/* BOTÓN CERRAR MENÚ MÓVIL */
.menu-close-btn {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease;
    z-index: 999;
  }

  .navbar nav.active {
    left: 0;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1.8rem;
  }

  .menu-toggle {
    display: block;
  }

  .menu-close-btn {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #c9a7eb;
    background: none;
    border: none;
    cursor: pointer;
  }

  .cart-icon {
    display: none;
  }
}


/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10% 80px;
  position: relative;
  background: radial-gradient(circle at top right, rgba(114, 9, 183, 0.08), transparent 60%);
  min-height: 75vh;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
}

.hero-content h1:hover {
  color: #f5f5f5;
  text-shadow: 0 0 15px rgba(114, 9, 183, 0.5);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #d1d1d1;
  margin-bottom: 35px;
}

/* BOTÓN */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #7209b7, #560bad);
  color: #fff;
  font-weight: 600;
  padding: 18px 50px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.6px;
  box-shadow: 0 0 20px rgba(114, 9, 183, 0.4);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 40px rgba(114, 9, 183, 0.7);
  background: linear-gradient(90deg, #560bad, #3c096c);
}

.btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-20deg);
  transition: 0.4s;
}

.btn:hover:after {
  left: 130%;
}

.small-text {
  font-size: 15px;
  color: #b794f6;
  margin-top: 15px;
  display: block;
}

/* IMAGEN HERO */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 450px;
  min-height: 500px;
}

.image-placeholder {
  width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 40px rgba(114, 9, 183, 0.3));
}

.image-placeholder img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 60px rgba(114, 9, 183, 0.5));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* ===== SECCIONES ===== */
section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #000;
}

.about {
  background: rgba(26, 10, 46, 0.3);
  border-top: 1px solid rgba(114, 9, 183, 0.2);
  border-bottom: 1px solid rgba(114, 9, 183, 0.2);
}

.about h2,
.offer h2,
.testimonials h2,
.cursos h2,
.faq h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.about p {
  max-width: 700px;
  margin: 1rem auto;
  color: #ddd;
  font-size: 1.1rem;
}

/* TARJETAS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: rgba(26, 10, 46, 0.5);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(114, 9, 183, 0.3);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(114, 9, 183, 0.4);
  border-color: rgba(201, 167, 235, 0.6);
}

.card h3 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.card p {
  color: #e9d5ff;
}

.card-image img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  border: 3px solid #7209b7;
  margin-top: 1rem;
  transition: transform 0.3s;
}

.card-image img:hover {
  transform: scale(1.05);
}

/* TESTIMONIOS */
.testimonials {
  background: rgba(26, 10, 46, 0.2);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.testi-card {
  background: rgba(26, 10, 46, 0.5);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  border: 2px solid rgba(114, 9, 183, 0.3);
  transition: all 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(114, 9, 183, 0.4);
}

.testi-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #7209b7;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(114, 9, 183, 0.5);
}

.testi-card h3 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.testi-card p {
  color: #e9d5ff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #b794f6;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: #c9a7eb;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

/* ===== FAQ ===== */
.faq {
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
  padding: 4rem 1rem;
}

.faq-category {
  margin-bottom: 2rem;
}

.faq-category h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.faq-item {
  background: rgba(26, 10, 46, 0.5);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid rgba(114, 9, 183, 0.3);
}

.faq-item:hover {
  border-color: rgba(201, 167, 235, 0.6);
}

.faq-item .question {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #e9d5ff;
  position: relative;
}

.faq-item .question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-weight: bold;
  color: #7209b7;
}

.faq-item.active .question::after {
  content: '-';
}

.faq-item .answer {
  max-height: 0;
  padding: 0 1.5rem;
  color: #d1d1d1;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active .answer {
  padding: 1rem 1.5rem;
  max-height: 500px;
}

/* ===== FOOTER ===== */
.footer {
  background: #000;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(114, 9, 183, 0.3);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer p {
  color: #e9d5ff;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer a {
  color: #c9a7eb;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 13px;
  font-weight: 500;
}

.footer a:hover {
  color: #e9d5ff;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-social a {
  color: #b794f6;
  font-size: 18px;
  transition: all 0.3s;
  line-height: 1;
}

.footer-social a:hover {
  color: #c9a7eb;
  text-shadow: 0 0 15px rgba(114, 9, 183, 0.8);
  transform: scale(1.1);
}

/* ===== CURSO PAGE STYLES ===== */
.curso-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10% 80px;
  gap: 60px;
  background: radial-gradient(circle at top right, rgba(114, 9, 183, 0.08), transparent 60%);
}

.curso-hero-content {
  max-width: 600px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(114, 9, 183, 0.2);
  border: 1px solid rgba(114, 9, 183, 0.5);
  padding: 10px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  color: #c9a7eb;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.curso-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
}

.highlight-gradient {
  background: linear-gradient(90deg, #7209b7, #c9a7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.curso-hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #d1d1d1;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #c9a7eb;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(114, 9, 183, 0.6);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(114, 9, 183, 0.1);
  border-color: rgba(201, 167, 235, 0.8);
}

.trust-avatars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #7209b7;
  background: rgba(114, 9, 183, 0.3);
}

.trust-more {
  font-weight: 600;
  color: #c9a7eb;
}

.trust-text {
  font-size: 13px;
  color: #d1d1d1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-preview-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(26, 10, 46, 0.3);
  border: 2px solid rgba(114, 9, 183, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.video-preview-container:hover {
  border-color: rgba(201, 167, 235, 0.6);
  box-shadow: 0 0 30px rgba(114, 9, 183, 0.3);
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #c9a7eb;
}

.video-placeholder i {
  font-size: 48px;
}

/* ===== TRANSFORMATION SECTION ===== */
.curso-transformation {
  padding: 80px 5%;
  background: rgba(26, 10, 46, 0.1);
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b794f6;
  display: block;
  margin-bottom: 12px;
}

.section-header-center h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
}

.section-header-center p {
  font-size: 16px;
  color: #d1d1d1;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.transformation-card {
  background: rgba(26, 10, 46, 0.4);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 12px;
  padding: 30px 24px;
  transition: all 0.3s ease;
}

.transformation-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 167, 235, 0.6);
  box-shadow: 0 8px 40px rgba(114, 9, 183, 0.2);
}

.transform-icon {
  font-size: 40px;
  color: #7209b7;
  margin-bottom: 16px;
}

.transformation-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.transformation-card p {
  font-size: 14px;
  color: #d1d1d1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.transform-list {
  list-style: none;
}

.transform-list li {
  font-size: 13px;
  color: #c9a7eb;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.transform-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7209b7;
  font-weight: bold;
}

/* ===== CURRICULUM SECTION ===== */
.curso-curriculum {
  padding: 80px 5%;
}

.curriculum-container {
  max-width: 900px;
  margin: 0 auto;
}

.curriculum-module {
  background: rgba(26, 10, 46, 0.3);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.curriculum-module.active {
  border-color: rgba(201, 167, 235, 0.6);
  box-shadow: 0 0 20px rgba(114, 9, 183, 0.2);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(114, 9, 183, 0.1);
}

.module-header:hover {
  background: rgba(114, 9, 183, 0.15);
}

.module-info {
  flex: 1;
}

.module-number {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b794f6;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.module-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.module-meta {
  font-size: 12px;
  color: #999;
}

.module-toggle {
  font-size: 20px;
  color: #7209b7;
  transition: all 0.3s;
}

.curriculum-module.active .module-toggle {
  transform: rotate(180deg);
}

.module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.curriculum-module.active .module-content {
  max-height: 2000px;
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid rgba(114, 9, 183, 0.15);
  transition: all 0.3s;
}

.lesson-item:hover {
  background: rgba(114, 9, 183, 0.1);
}

.lesson-item i {
  color: #7209b7;
  font-size: 16px;
  flex-shrink: 0;
}

.lesson-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 20px;
}

.lesson-info h4 {
  font-size: 14px;
  color: #e9d5ff;
  font-weight: 500;
}

.lesson-duration {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

/* ===== PRICING SECTION ===== */
.curso-pricing {
  padding: 80px 5%;
  background: rgba(26, 10, 46, 0.1);
}

.pricing-container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(26, 10, 46, 0.4);
  border: 2px solid rgba(114, 9, 183, 0.4);
  border-radius: 15px;
  padding: 40px 30px;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(201, 167, 235, 0.6);
  box-shadow: 0 0 40px rgba(114, 9, 183, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(90deg, #7209b7, #560bad);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 10px;
}

.price-currency {
  font-size: 24px;
  color: #c9a7eb;
}

.price-amount {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.price-original {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.pricing-subtitle {
  text-align: center;
  color: #d1d1d1;
  font-size: 14px;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #d1d1d1;
  font-size: 14px;
  border-bottom: 1px solid rgba(114, 9, 183, 0.1);
}

.pricing-features i {
  color: #7209b7;
  font-size: 16px;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}

.pricing-guarantee {
  text-align: center;
  padding: 16px;
  background: rgba(114, 9, 183, 0.1);
  border-radius: 8px;
  font-size: 13px;
  color: #d1d1d1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: #d1d1d1;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.pricing-footer {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE CURSO PAGE ===== */
@media (max-width: 900px) {
  .curso-hero {
    flex-direction: column;
    padding: 40px 5%;
    gap: 40px;
  }

  .curso-hero-title {
    font-size: 36px;
  }

  .video-preview-container {
    min-height: 300px;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .curso-hero-title {
    font-size: 28px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header-center h2 {
    font-size: 28px;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .lesson-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   RESPONSIVE - MOBILE FIXES
   ============================================ */

@media (max-width: 900px) {
  body {
    padding-top: 0;
    overflow-x: hidden;
  }

  body.menu-open {
    overflow: hidden;
  }

  .navbar {
    padding: 0.9rem 1.2rem;
    display: flex;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .navbar .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .cart-icon {
    order: 3;
  }

  nav#navMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100vh;
    background: rgba(10, 1, 24, 0.98);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(114, 9, 183, 0.4);
    display: flex;
    flex-direction: column;
    padding: 80px 0 20px;
    z-index: 2000;
    overflow-y: auto;
    animation: slideOut 0.3s ease forwards;
  }

  nav#navMenu.show {
    animation: slideIn 0.3s ease forwards;
  }

  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }

    to {
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-100%);
    }
  }

  nav#navMenu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
  }

  .menu-close-btn {
    display: block;
    position: fixed;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    padding: 8px 12px;
    transition: all 0.3s;
  }

  .menu-close-btn:hover {
    color: #b26dff;
    text-shadow: 0 0 10px rgba(178, 109, 255, 0.8);
  }

  #navbarLinks {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #navbarLinks li {
    width: 100%;
    border-bottom: 1px solid rgba(114, 9, 183, 0.15);
  }

  #navbarLinks a {
    display: block;
    padding: 18px 30px;
    font-size: 16px;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s;
    text-shadow: 0 0 8px rgba(201, 167, 235, 0.4);
  }

  #navbarLinks a:hover,
  #navbarLinks a.active {
    background: rgba(114, 9, 183, 0.3);
    color: #b26dff !important;
    padding-left: 40px;
    text-shadow: 0 0 15px rgba(178, 109, 255, 0.9);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5% 60px;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 45px;
  }

  .hero-image {
    min-width: unset;
    min-height: unset;
  }

  .image-placeholder {
    width: 350px;
    height: 350px;
  }

  .image-placeholder img {
    width: 100%;
    height: 100%;
  }

  .countdown-banner {
    padding: 8px 12px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .countdown-content {
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .countdown-text {
    font-size: 10px;
    flex: 0 0 100%;
    text-align: center;
  }

  .countdown-timer {
    gap: 4px;
  }

  .time-block {
    min-width: 38px;
    padding: 3px 6px;
    border-radius: 4px;
  }

  .time-number {
    font-size: 13px;
  }

  .time-label {
    font-size: 7px;
  }

  .countdown-btn {
    font-size: 9px;
    padding: 6px 14px;
    border-radius: 12px;
  }

  .countdown-close {
    font-size: 20px;
    position: relative;
  }

  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .footer p {
    font-size: 11px;
    margin: 0;
  }

  .footer ul {
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer a {
    font-size: 11px;
  }

  .footer-social {
    gap: 1rem;
    margin-top: 0.3rem;
  }

  .footer-social a {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar .logo a {
    font-size: 1.4rem;
  }

  .menu-toggle {
    font-size: 1.6rem;
  }

  .cart-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  #navbarLinks a {
    padding: 16px 25px;
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .image-placeholder {
    width: 300px;
    height: 300px;
  }

  .countdown-banner {
    padding: 6px 10px;
  }

  .countdown-text {
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .countdown-timer {
    gap: 3px;
  }

  .time-block {
    min-width: 32px;
    padding: 2px 4px;
    border-radius: 3px;
  }

  .time-number {
    font-size: 11px;
  }

  .time-label {
    font-size: 6px;
    margin-top: 1px;
  }

  .countdown-btn {
    font-size: 8px;
    padding: 5px 12px;
    border-radius: 10px;
  }

  .countdown-close {
    font-size: 18px;
    position: relative;
  }

  .footer p {
    font-size: 10px;
  }

  .footer a {
    font-size: 10px;
  }

  .footer-social a {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .navbar .logo a {
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .image-placeholder {
    width: 260px;
    height: 260px;
  }

  nav#navMenu {
    width: 85%;
  }
}

/* ===== POLICY PAGE ===== */
.policy-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  background-color: #000;
  color: #e9d5ff;
  min-height: calc(100vh - 200px);
}

.policy-header {
  background: rgba(26, 10, 46, 0.3);
  border-bottom: 1px solid rgba(114, 9, 183, 0.2);
  padding: 4rem 2rem;
  text-align: center;
}

.policy-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.last-updated {
  color: #b794f6;
  font-size: 0.95rem;
  font-style: italic;
}

.policy-content {
  padding: 3rem 2rem;
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.8rem;
  color: #fff;
  margin: 2.5rem 0 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
  font-family: 'Montserrat', sans-serif;
  border-left: 4px solid #7209b7;
  padding-left: 1rem;
}

.policy-content h3 {
  font-size: 1.3rem;
  color: #c9a7eb;
  margin: 2rem 0 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.policy-content p {
  color: #d1d1d1;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  text-align: justify;
}

.policy-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.policy-list li {
  color: #d1d1d1;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
}

.policy-list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #7209b7;
  font-size: 1.2rem;
}

.policy-list li strong {
  color: #c9a7eb;
}

.policy-content a {
  color: #b794f6;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.policy-content a:hover {
  color: #c9a7eb;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

@media (max-width: 900px) {
  .policy-header {
    padding: 2.5rem 1.5rem;
  }

  .policy-header h1 {
    font-size: 2rem;
  }

  .policy-content {
    padding: 2rem 1.5rem;
  }

  .policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }

  .policy-content h3 {
    font-size: 1.1rem;
  }

  .policy-list li {
    padding-left: 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .policy-header {
    padding: 2rem 1rem;
  }

  .policy-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .last-updated {
    font-size: 0.85rem;
  }

  .policy-content {
    padding: 1.5rem 1rem;
  }

  .policy-content h2 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    padding-left: 0.8rem;
  }

  .policy-content h3 {
    font-size: 1rem;
    margin: 1.2rem 0 0.6rem;
  }

  .policy-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .policy-list li {
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
  }
}




/* ===== Playlist seccion css ===== */
/* Playlist Section */
.playlist {
  padding: 3rem 2rem;
  text-align: center;
}

.playlist h2 {
  color: #f0483e;
  margin-bottom: 2rem;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Card */
.track-card {
  background: #d8b4fe;
  /* Morado */
  color: #000;
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  gap: 1rem;
}

/* Portada */
.track-card img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Info */
.track-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Título */
.track-info h3 {
  font-size: 1.1rem;
  margin: 0;
}

/* Texto */
.track-info p {
  font-size: 0.85rem;
  margin: 0;
}

/* Barra de audio elegante morada */
.track-info audio {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  background: #d8b4fe;
  /* color morado de la tarjeta */
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Webkit controls (Chrome, Edge, Safari) */
.track-info audio::-webkit-media-controls-panel {
  background: #d8b4fe;
  /* morado */
  border-radius: 12px;
}

.track-info audio::-webkit-media-controls-play-button,
.track-info audio::-webkit-media-controls-volume-slider {
  filter: invert(100%) brightness(150%);
}

.track-info audio::-webkit-media-controls-timeline {
  height: 6px;
  border-radius: 3px;
  background: #f0d0ff;
  /* barra de progreso más clara */
}

.track-info audio::-webkit-media-controls-current-time-display,
.track-info audio::-webkit-media-controls-time-remaining-display {
  color: #f0483e;
  /* color rojo para tiempos */
  font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .playlist-grid {
    grid-template-columns: 1fr;
    /* 1 tarjeta por fila */
  }

  .track-card {
    flex-direction: column;
    /* Imagen arriba, info debajo */
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .track-card img {
    width: 80%;
    max-width: 200px;
    height: auto;
  }

  .track-info {
    width: 100%;
  }

  .track-info audio {
    width: 100%;
  }
}

/* CONTACTO */
.contact {
  background: #0e0e0e;
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {

  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #ddd;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

/* FORMULARIO */
.contact-form {
  flex: 1 1 350px;
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* INFO DE CONTACTO */
.contact-info {
  flex: 1 1 250px;
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: #f0483e;
}

.contact-info p {
  margin-bottom: 0.8rem;
  color: #ddd;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    text-align: center;
  }
}


/* ============================
   CUADRÍCULA DE PRODUCTOS (PRESETS-V2)
   ============================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.product-card {
  background: rgba(26, 10, 46, 0.4);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 167, 235, 0.6);
  box-shadow: 0 8px 40px rgba(114, 9, 183, 0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card.purchased {
  border-color: #0cbc87;
}

.purchased-badge {
  background-color: #0cbc87;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.purchased-badge i {
  font-size: 1.2em;
}

.product-card.purchased .btn-add-to-cart,
.product-card.purchased .paypal-button-container {
  display: none;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.product-content p {
  color: #d1d1d1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #c9a7eb;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.paypal-button-container {
  width: 100%;
}

/* ============================
   ESTILOS NAVBAR - ESTADO LOGIN
   ============================ */

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-actions a,
.user-actions button {
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/*lógica de visibilidad */
body .logged-out.navbar-icon-button {
  /* Añadimos body y .navbar-icon-button */
  display: flex;
  /* O inline-flex */
}

body .logged-in.navbar-icon-button {
  /* Añadimos body y .navbar-icon-button */
  display: none;
}

/* Cuando SÍ está logueado (cuando body SÍ tiene .user-logged-in):
   - Oculta .logged-out
   - Muestra .logged-in */
body.user-logged-in .logged-out.navbar-icon-button {
  display: none;
}

body.user-logged-in .logged-in.navbar-icon-button {
  display: flex;
  /* O inline-flex */
}

/*ajuste responsive (para los del frontend, ajustar aquí)*/
@media (max-width: 900px) {


  .navbar .user-actions {
    order: 3;
  }

  .navbar-icon-button {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}


/* ============================
   CLASE BASE PARA ICONOS NAVBAR (Carrito, Login, Cuenta, Logout)
   ============================ */
.navbar-icon-button {
  width: 40px;
  height: 40px;
  background: rgba(114, 9, 183, 0.3);
  border: 2px solid rgba(114, 9, 183, 0.6);
  border-radius: 8px;
  cursor: pointer;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  color: #c9a7eb;
  font-size: 20px;
  transition: all 0.3s;
  padding: 0;
  text-decoration: none;
}

.navbar-icon-button:hover {
  background: rgba(114, 9, 183, 0.5);
  border-color: rgba(201, 167, 235, 0.8);
  color: #e9d5ff;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

/* ============================
   BOTÓN AÑADIR AL CARRITO
   ============================ */
.btn-add-to-cart {
  background: rgba(114, 9, 183, 0.2);
  border: 1px solid rgba(114, 9, 183, 0.5);
  color: #c9a7eb;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
  width: 100%;
}

.btn-add-to-cart:hover {
  background: rgba(114, 9, 183, 0.4);
  border-color: rgba(201, 167, 235, 0.8);
  color: #fff;
}

.btn-add-to-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-add-to-cart i {
  font-size: 1.1em;
}

/* ===== FIN CSS BASE ===== */
/* ===== NAVBAR MEJORADO - ESTILOS CORREGIDOS ===== */

/* Ajustes al navbar principal */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 3rem;
  background: rgba(0, 0, 0, 0.98);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(114, 9, 183, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(114, 9, 183, 0.3);
}

.navbar .logo a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.3);
  transition: all 0.3s;
}

/* Navbar Center */
.navbar-center {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%); */
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  position: relative;
}

.navbar-links a {
  color: #999;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #c9a7eb;
}

.navbar-links a i {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

/* Dropdowns - Con delay para no cerrarse tan rápido */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 12px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  z-index: 1001;
}

/* Área invisible para mantener el dropdown abierto */
.dropdown-parent::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.dropdown-parent:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.navbar-links li:hover a i.bi-chevron-down {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #999;
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(114, 9, 183, 0.2);
  color: #c9a7eb;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.dropdown-divider {
  height: 1px;
  background: rgba(114, 9, 183, 0.2);
  margin: 8px 0;
}

/* Search Bar - MÁS GRANDE */
.navbar-search {
  position: relative;
  width: 420px;
}

.navbar-search input {
  width: 100%;
  padding: 0.7rem 2.8rem 0.7rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
}

.navbar-search input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(114, 9, 183, 0.6);
  box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.1);
}

.navbar-search input::placeholder {
  color: #666;
}

.navbar-search i {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1rem;
  pointer-events: none;
}

/* Navbar Right */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* User Dropdown - Con delay también */
.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(114, 9, 183, 0.3);
  border-radius: 12px;
  padding: 12px;
  min-width: 260px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  z-index: 1010;
}

.user-dropdown.active .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu .admin-only {
  display: none;
}

body.user-is-admin .user-dropdown-menu .admin-only {
  display: flex;
}

/* Área invisible para mantener el user dropdown abierto */
.user-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.user-dropdown-header {
  padding: 12px;
  border-bottom: 1px solid rgba(114, 9, 183, 0.2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7209b7, #560bad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.user-dropdown-info {
  flex: 1;
}

.user-dropdown-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.user-dropdown-email {
  font-size: 0.75rem;
  color: #666;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background: rgba(114, 9, 183, 0.2);
  color: #c9a7eb;
}

.user-dropdown-item i {
  width: 18px;
  text-align: center;
}

.user-dropdown-item.logout {
  color: #ef4444;
  margin-top: 8px;
  border-top: 1px solid rgba(114, 9, 183, 0.2);
  padding-top: 12px;
}

.user-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Ajustes de iconos navbar */
.navbar-icon-button {
  width: 40px;
  height: 40px;
  background: rgba(114, 9, 183, 0.2);
  border: 1px solid rgba(114, 9, 183, 0.4);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a7eb;
  font-size: 20px;
  transition: all 0.3s;
  padding: 0;
  text-decoration: none;
}

.navbar-icon-button:hover {
  background: rgba(114, 9, 183, 0.3);
  border-color: rgba(201, 167, 235, 0.6);
  color: #e9d5ff;
  text-shadow: 0 0 10px rgba(114, 9, 183, 0.8);
}

/* Responsive Navbar Mejorado */
@media (max-width: 1200px) {
  .navbar-search {
    width: 320px;
  }

  .navbar-center {
    gap: 1.5rem;
  }
}

@media (max-width: 968px) {
  .navbar {
    padding: 0.75rem 1.5rem;
  }

  .navbar-center {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .navbar .logo {
    order: 2;
  }

  .navbar-right {
    order: 3;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar .logo a {
    font-size: 1.3rem;
  }

  .navbar .logo a img {
    height: 28px !important;
    margin-right: 6px !important;
  }

  .navbar-icon-button {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

.logged-out-actions,
.logged-in-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-login-link {
  color: #c9a7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.navbar-login-link:hover {
  color: #fff;
  background-color: rgba(114, 9, 183, 0.2);
}

.btn-join {
  padding: 8px 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #6a0dad, #8a2be2);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.btn-join:hover {
  background: linear-gradient(90deg, #560bad, #7209b7);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.6);
  transform: scale(1.05);
}

.btn-join i {
  font-size: 1em;
}



body .logged-out-actions {
  display: flex;
}

body .logged-in-actions {
  display: none;
}

body.user-logged-in .logged-out-actions {
  display: none;
}

body.user-logged-in .logged-in-actions {
  display: flex;
}

/* ===== FIN NAVBAR MEJORADO ===== */

/* ===== PROMO BANNER $5 USD ===== */
.promo-banner {
  background: linear-gradient(90deg, #0cbc87 0%, #0a9668 100%);
  color: #fff;
  padding: 0.875rem 0;
  text-align: center;
  position: relative;
  z-index: 1002;
  animation: slideDownPromo 0.5s ease;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideDownPromo {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.promo-icon {
  font-size: 1.5rem;
  animation: bouncePromo 2s infinite;
}

@keyframes bouncePromo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.promo-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.promo-highlight {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.promo-close {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) rotate(90deg);
}

/* Responsive Promo Banner */
@media (max-width: 968px) {
  .promo-banner {
    padding: 0.75rem 0;
  }

  .promo-content {
    gap: 0.5rem;
  }

  .promo-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .promo-banner {
    padding: 0.6rem 0;
  }

  .promo-text {
    font-size: 0.75rem;
  }

  .promo-highlight {
    font-size: 0.95rem;
  }

  .promo-close {
    right: 0.75rem;
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
  }
}

/* Ajuste para hero-stats si no existe */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-icon {
  font-size: 1.5rem;
  color: #c9a7eb;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

/* ===== FIN PROMO BANNER ===== */

/* ===== COUNTDOWN BANNER (MORADO) ===== */
.countdown-banner {
  background: linear-gradient(90deg, #000 0%, #0a0118 50%, #000 100%);
  color: #fff;
  padding: 10px 20px;
  position: relative;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(114, 9, 183, 0.6);
  border-bottom: 2px solid rgba(114, 9, 183, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.countdown-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 1200px;
  position: relative;
  width: 100%;
}

.countdown-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 55px;
  border: 1px solid rgba(114, 9, 183, 0.6);
}

.time-number {
  font-size: 20px;
  font-weight: 700;
  color: #c9a7eb;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  text-shadow: 0 0 10px rgba(201, 167, 235, 0.6);
}

.time-label {
  font-size: 8px;
  color: #999;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.countdown-btn {
  background: linear-gradient(90deg, #7209b7, #560bad);
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
  border: 1px solid rgba(201, 167, 235, 0.3);
  white-space: nowrap;
}

.countdown-btn:hover {
  background: linear-gradient(90deg, #560bad, #3c096c);
}

.countdown-close {
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 10px;
  line-height: 1;
  position: absolute;
  right: 10px;
}

.countdown-close:hover {
  color: #fff;
}

.product-price.free-price {
  color: #22c55e;
  /* Un color verde para "Gratis" */
  font-weight: 700;
}

/* Inicio de estilos del chatbot  */
:root {
  --offszn-purple: #8a2be2;
  --offszn-dark-purple: #4B0082;
  --offszn-dark-bg: #1a1a1a;
  --offszn-text-light: white;
  --offszn-text-dark: #cccccc;
}


.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--offszn-purple);
  color: var(--offszn-text-light);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.chat-icon:hover {
  background-color: var(--offszn-dark-purple);
}


.chat-window {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  background-color: var(--offszn-dark-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 999;
  flex-direction: column;
  border: 1px solid var(--offszn-dark-purple);
  font-family: 'Inter', sans-serif;
  /* User requested font */
}

.chat-menu {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background-color: var(--offszn-dark-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  padding: 15px;
  border: 1px solid var(--offszn-dark-purple);
  font-family: 'Inter', sans-serif;
  /* User requested font */
}

.chat-window.open {
  display: flex;
}

.chat-header {
  padding: 15px;
  background-color: var(--offszn-dark-purple);
  color: var(--offszn-text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.1em;
}

#closeChat {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--offszn-text-light);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#closeChat:hover {
  opacity: 1;
}

.chat-body {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--offszn-dark-bg);
}

.chat-body::-webkit-scrollbar {
  width: 8px;
}

.chat-body::-webkit-scrollbar-track {
  background: var(--offszn-dark-bg);
}

.chat-body::-webkit-scrollbar-thumb {
  background: var(--offszn-purple);
  border-radius: 4px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: var(--offszn-dark-purple);
}


/* CONFLICTING CHAT STYLES (Commented out for OFFSZN Chat UI) */
/* .message {
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 0.95em;
  line-height: 1.4;
}

.message.user {
  background-color: var(--offszn-purple);
  color: var(--offszn-text-light);
  align-self: flex-end;
}

.message.bot {
  background-color: #333333;
  color: var(--offszn-text-light);
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.05);
} */

.chat-footer {
  padding: 10px;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--offszn-dark-bg);
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
}

#chatInput {
  flex-grow: 1;
  border: 1px solid var(--offszn-dark-purple);
  border-radius: 25px;
  padding: 10px 15px;
  background-color: #333333;
  color: var(--offszn-text-light);
  font-size: 0.95em;
  outline: none;
  transition: border-color 0.3s ease;
}

#chatInput::placeholder {
  color: var(--offszn-text-dark);
}

#chatInput:focus {
  border-color: var(--offszn-purple);
}

#sendButton {
  margin-left: 10px;
  background-color: var(--offszn-purple);
  color: var(--offszn-text-light);
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

#sendButton:hover {
  background-color: var(--offszn-dark-purple);
}

.chat-menu {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  background-color: var(--offszn-dark-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 999;
  flex-direction: column;
  border: 1px solid var(--offszn-dark-purple);
  padding-bottom: 50px;
}

.chat-menu.open {
  display: flex;
}

.chat-menu-header {
  background-color: #2c2c54;
  color: var(--offszn-text-light);
  padding: 20px;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  text-align: center;
  line-height: 1.4;
}

.chat-menu-header h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.3em;
}

.chat-menu-header p {
  margin-bottom: 0;
  font-size: 0.9em;
  color: var(--offszn-text-dark);
}

.chat-menu-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--offszn-dark-bg);
}

.chat-menu-body h4 {
  color: var(--offszn-text-dark);
  font-size: 0.9em;
  margin-top: 15px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-button-primary {
  background-color: #2c2c54;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  width: 100%;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

.menu-button-primary:hover {
  background-color: #3e3e7a;
}

.predefined-question {
  background-color: #333333;
  color: var(--offszn-text-light);
  border: 1px solid #444444;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95em;
  text-align: left;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.predefined-question:hover {
  background-color: #444444;
  border-color: var(--offszn-purple);
}

.menu-close-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--offszn-text-dark);
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.menu-close-button:hover {
  opacity: 1;
  color: var(--offszn-text-light);
}

#closeChat {
  color: var(--offszn-text-light);
  opacity: 0.8;
}

#closeChat:hover {
  opacity: 1;
}

.message.bot a {
  color: #80bfff;
  text-decoration: underline;
}

/*==== FIN ESTILOS DEL CHATBOT ==== */