/* --- ESTILOS UNIFICADOS (TEMA OSCURO + FONDO GLOBAL) --- */
:root {
  --nav-bg: rgba(17, 24, 39, 0.85);
  /* Azul oscuro semi-transparente */
  --text-main: #f5f5f5;
  --text-muted: #d1d5db;
  --accent-color: #ffffff;
  --accent-text: #000000;
  --border-color: rgba(255, 255, 255, 0.15);
  /* Bordes sutiles */
  --price-color: #ffffff;
  /* Color del precio grande */
}

body {
  font-family: montserrat, -apple-system, sans-serif;
  color: var(--text-main);
  margin: 0;
  background-image: url('../img/selfielive-pc.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.6) 0%, rgba(5, 6, 10, 0.9) 100%);
  z-index: -1;
}

/* 1. NAVBAR (Estado Inicial: Transparente) */
.navbar {
  background-color: transparent !important;
  /* Totalmente transparente al inicio */
  backdrop-filter: none;
  /* Sin desenfoque al inicio */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Borde sutil opcional */
  padding: 25px 0;
  /* Más espacioso al principio */
  transition: all 0.4s ease;
  /* Transición suave para el cambio de color */
}

/* 2. NAVBAR SCROLLED (Estado al bajar: Oscuro y Compacto) */
.navbar-scrolled {
  background-color: rgba(5, 6, 10, 0.6) !important;
  /* El color que pediste */
  backdrop-filter: blur(12px);
  /* Efecto vidrio esmerilado */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  /* Se hace un poco más fino (compacto) */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main) !important;
}

.btn-outline-light-custom {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 12px;
  padding: 8px 20px;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary-custom {
  background-color: var(--accent-color);
  color: var(--accent-text);
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  font-weight: 600;
}

.btn-primary-custom:hover {
  transform: scale(1.05);
  background-color: #e5e5e5;
}

/* 2. HERO SECTION */
.hero-section {
  height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.display-1 {
  font-weight: 800;
  letter-spacing: -1px;
}

.lead {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.text-muted {
  color: #dee2e6 !important;
}

.btn-hero {
  background-color: var(--accent-color);
  color: var(--accent-text);
  padding: 16px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-hero:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  color: black;
}

/* 3. SECCIONES GENERALES (GLASS) */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-weight: 800;
  margin-bottom: 20px;
}

/* Tarjetas estilo Glass (Usadas en Features y Price) */
.glass-card {
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
}

.glass-card:hover {
  transform: translateY(-5px);
  background-color: rgba(17, 24, 39, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Estilos específicos de FEATURES */
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

/* --- 4. NUEVA SECCIÓN: PRECIOS (Estilo Glass + Grid de la Imagen) --- */
#price {
  text-align: center;
}

/* El precio grande a la izquierda */
.price-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.price-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--price-color);
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.price-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 15px;
}

.btn-price-cta {
  background: #dc3545;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 30px;
  width: 100%;
  transition: 0.2s;
}

.btn-price-cta:hover {
  background: #c82333;
  transform: scale(1.03);
}

/* Grilla de beneficios (Derecha) */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tarjetas pequeñas de la grilla */
.price-item-card {
  padding: 30px 20px;
  /* Más padding vertical */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Iconos estilo 3D (Simulado con glass y sombra) */
.price-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.1);
  /* Efecto volumen */
}

.price-item-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  /* Color oficial de WhatsApp */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  /* Sombra suave */
  z-index: 1000;
  /* Para asegurar que esté encima de todo */

  /* Para centrar el icono dentro del circulo */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Animación suave al pasar el mouse */
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #20b857;
  /* Un tono un poco más oscuro al pasar el mouse */
  transform: scale(1.1);
  /* Efecto de "crecer" un poquito */
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

/* Responsivo para la grilla */
@media (max-width: 992px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}