:root{
  --brand:#0ea5e9;
  --brand2:#7c3aed;
  --bg:#0b1020;
  --card:#111a33;
  --muted:#94a3b8;
}

body{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,58,237,.25), transparent 60%),
              radial-gradient(1000px 500px at 90% 10%, rgba(14,165,233,.22), transparent 55%),
              var(--bg);
  color:#e5e7eb;
}

.navbar{background: rgba(11,16,32,.6)!important; backdrop-filter: blur(10px);}
.hero{padding: 6rem 0 2.5rem 0;}
.hero h1{font-weight: 800; letter-spacing:-.02em; line-height:1.05;}

/* === ESTILOS GENERALES DE BOTONES Y BADGES === */
.badge-gradient{background: linear-gradient(90deg, var(--brand), var(--brand2));}
.btn-brand{
  background: linear-gradient(90deg, var(--brand), var(--brand2)); 
  border:0;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-brand:hover{
  filter: brightness(1.2); /* Hace el color más brillante al pasar el mouse */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.section-title{font-weight: 800; letter-spacing:-.01em;}
.card-soft{background: rgba(17,26,51,.92); border: 1px solid rgba(148,163,184,.15); border-radius: 18px;}

/* === TARJETAS DE PLANES (La Magia) === */
.plan-card{
  position:relative; 
  overflow:hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
  border: 1px solid rgba(148,163,184,.15);
}

/* Efecto HOVER: Movimiento y Brillo */
.plan-card:hover{
  transform: translateY(-12px) scale(1.02); /* Sube y crece un poco */
  border-color: var(--brand); /* El borde se ilumina del color del plan */
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6), 
              0 0 20px var(--brand); /* Resplandor de neón */
  z-index: 10;
}

/* === COLORES DINÁMICOS POR POSICIÓN (ARCOÍRIS) === */
/* Plan 2: Tonos Fuego (Naranja/Rojo) */
.row > div:nth-child(2) .plan-card {
  --brand: #f59e0b; 
  --brand2: #ef4444; 
}
/* Plan 3: Tonos Naturaleza (Verde/Cyan) */
.row > div:nth-child(3) .plan-card {
  --brand: #10b981; 
  --brand2: #3b82f6; 
}
/* Plan 4: Tonos Premium (Rosa/Violeta Fuerte) */
.row > div:nth-child(4) .plan-card {
  --brand: #ec4899; 
  --brand2: #8b5cf6; 
}
/* Si agregas un Plan 5, volverá al Azul original, o puedes agregar más aquí */

/* Cinta de "Más Vendido" */
.plan-card.featured{
  border:1px solid var(--brand); 
  box-shadow: 0 0 0 1px var(--brand), 0 18px 60px rgba(0,0,0,.3);
}
.ribbon{
  position:absolute; top:18px; right:-52px; transform: rotate(35deg); 
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color:#fff; padding:.35rem 3.5rem; font-weight:700; font-size:.75rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* Precios */
.price-old{color:var(--muted); text-decoration: line-through;}
.price-new{font-size: 2.3rem; font-weight: 900; color: #fff;}
.price-cents{font-size: 1.1rem; vertical-align: super; opacity:.9;}

/* Iconos */
.icon-pill{
  width:44px; height:44px; border-radius:14px; 
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)); 
  border: 1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
}

/* Galería */
.gallery-img{width:100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border:1px solid rgba(148,163,184,.15);}

/* Footer y Textos */
.footer{border-top: 1px solid rgba(148,163,184,.12); padding: 2.5rem 0; color:var(--muted);}
.small-muted{color:var(--muted);}
hr.soft{border-color: rgba(148,163,184,.12); opacity:1;}

/* Acordeón */
.accordion-item{background: rgba(17,26,51,.92); border:1px solid rgba(148,163,184,.15);}
.accordion-button{background: transparent; color:#e5e7eb;}
.accordion-button:not(.collapsed){background: rgba(14,165,233,.08); color:#fff; box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);}

/* WhatsApp flotante */
.whatsapp-float{
  position: fixed; width:56px; height:56px; bottom:20px; right:20px;
  background: linear-gradient(135deg, #25D366, #128C7E); /* Verde oficial de WhatsApp */
  color:#fff; border-radius:50%; text-align:center; font-size:28px;
  box-shadow:0 10px 25px rgba(0,0,0,.35); z-index:9999;
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover{
  transform:scale(1.15) rotate(15deg);
  box-shadow:0 14px 30px rgba(0,0,0,.5);
  color:#fff; text-decoration:none;
}

/* === TEXTO BLANCO DEFAULT (Manteniendo tu configuración) === */
body, p, span, li, a, label, small, div { color: #ffffff !important; }
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important; font-weight: 900;
  text-shadow: 0 2px 10px rgba(255,255,255,0.25), 0 0 25px rgba(255,255,255,0.15);
}

/* === NUEVO: SECCIÓN DISPOSITIVOS === */
.devices-section {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
}
.device-box {
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
  padding: 10px;
}
.devices-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  color: var(--muted);
}
.device-box:hover {
  transform: translateY(-5px);
}
.device-box:hover .devices-icon {
  color: #fff;
  text-shadow: 0 0 15px var(--brand); /* Efecto de brillo */
}
.device-box:hover .small {
  color: #fff !important;
}