:root {
  --violet: #9b5cf6;
  --bg-dark: #0a0a0f;
  --text-light: #f0f0f0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.navbar {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(155, 92, 246, 0.2);
}
.navbar img{
  height: 60px;
}

.navbar-brand span {
  color: var(--violet);
}

.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=2000&q=80') center/cover fixed;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
}

.hero h1 span {
  color: var(--violet);
}

.btn-cta {
  background: var(--violet);
  border: none;
  color: white;
  padding: 12px 35px;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-cta:hover {
  background: white;
  color: var(--violet);
  transform: scale(1.05);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--violet);
  font-weight: 700;
  margin-bottom: 30px;
}

#benefits i, #services i {
  color: var(--violet);
  transition: transform 0.3s;
}

#benefits i:hover, #services i:hover {
  transform: scale(1.2);
}

.cta-section {
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2000&q=80') center/cover fixed;
  height: 60vh;
  position: relative;
  color: white;
}

.cta-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.contact-form {
  max-width: 500px;
}
.form-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}
.form-dark:focus {
  border-color: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}
.form-control::placeholder {
  color: #5a3b85;
}

footer {
  background: #111;
  border-top: 1px solid rgba(155, 92, 246, 0.2);
}
.btn-accent {
  background-color: rgba(155, 92, 246, 0.2);
  color: var(--text-light);
  border: none;
  transition: var(--transition);
}
.btn-accent:hover {
  background-color: rgba(88, 42, 153, 0.2);
  color: var(--bg-darker);
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 1.8rem;
  padding: 4px 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  transition: 0.3s;
  z-index: 1000;
}

.whatsapp:hover {
  transform: scale(1.1);
}

footer span {
  color: var(--violet);
}

/* CARDS SERVICES */

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  transform: scale(1.05);
}

.card img {
  border-radius: var(--radius);
}

.card img:hover {
  transform: scale(1.05);
}

.card-title {
  color: var(--text-light);
}

/* PRUEBA */

/* SECCIÓN PLANES */
#planes {
  padding: 80px 0;
}

#planes h2 {
  color: var(--violet);
  margin-bottom: 60px;
  text-align: center;
  font-weight: 600;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid #1f1f2b;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(155, 92, 246, 0.3);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.card-text {
  line-height: 1.6;
  color: #ddd;
}

footer {
  background-color: #11111a;
  text-align: center;
  padding: 20px;
  color: #aaa;
  border-top: 1px solid var(--violet);
}

.text-violet {
  color: var(--violet);
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 30px;
  }
}

/*  SERVICIOS  */

/* --- Sección de Planes de Suscripción --- */

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 1px;
}

.plan-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  color: white;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.plan-logo {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.logo-img {
  width: 80px;
  height: auto;
  filter: brightness(1.2);
}

.plan-info h5 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #fff;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.plan-features li {
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1.2rem;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
}

.plan-button {
  margin-top: auto;
  padding-top: 1rem;
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-light:hover {
  background: white;
  transform: scale(1.02);
}

/* PROMO */ 

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .popup-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4d4d;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
  }

  .popup-close:hover {
    background: #e60000;
  }

  .popup-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }

  @media (max-width: 768px) {
    .popup-image {
      max-height: 70vh;
    }
  }