/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}

body{
font-family:'Inter',sans-serif;
background:#05080c;
color:#fff;
overflow-x:hidden;
}

/* PARTICLES */
canvas#particles{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}

/* LAYOUT */
.container{width:90%;max-width:1200px;margin:auto;}
.section{padding:120px 0;}
.dark-section{
background:rgba(255,255,255,.03);
backdrop-filter:blur(20px);
}

/* NAVBAR */
.navbar{
position:fixed;
width:100%;
padding:25px 0;
background:rgba(5,8,12,.6);
backdrop-filter:blur(10px);
transition:.4s;
z-index:1000;
}
.navbar.scrolled{
padding:12px 0;
background:rgba(5,8,12,.95);
box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-weight:900;
color:#2ed573;
font-size:1.4rem;
}

.nav-links a{
margin:0 15px;
color:#fff;
text-decoration:none;
}
.nav-links a:hover{color:#2ed573;}

/* HERO */
.hero{
height:100vh;
display:flex;
align-items:center;
}
.hero h1{
font-size:4rem;
font-weight:900;
}
.highlight{
color:#2ed573;
text-shadow:0 0 25px rgba(46,213,115,.6);
}
.hero p{margin:25px 0;color:#bbb;}

.badge{
background:rgba(46,213,115,.15);
color:#2ed573;
padding:6px 16px;
border-radius:30px;
border:1px solid rgba(46,213,115,.4);
}

/* BUTTONS */
.btn{
padding:14px 32px;
border-radius:40px;
text-decoration:none;
font-weight:600;
display:inline-block;
transition:.3s;
}
.btn-primary{
background:#2ed573;
color:black;
}
.btn-primary:hover{
transform:scale(1.05);
box-shadow:0 0 20px rgba(46,213,115,.5);
}

/* GRID */
.grid-4{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:50px;
}

/* CARDS */
.card,.plan-card{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.1);
padding:40px;
border-radius:20px;
transition:.4s;
position:relative;
overflow:hidden;
}
.card:hover,.plan-card:hover{
transform:translateY(-10px);
border-color:#2ed573;
}

/* SPEED PLAN */
.plan-card.speed:hover{
border-color:#00bfff;
box-shadow:0 0 30px rgba(0,191,255,.45);
transform:translateY(-12px) scale(1.02);
}

/* PREMIUM */
.plan-card.premium:hover{
border-color:#ffd700;
box-shadow:0 0 25px rgba(255,215,0,.4);
}

/* STATS */
.stats-section{
padding:80px 0 120px;
margin-top:-80px;
}
.stats-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}
.stat-box{
background:rgba(255,255,255,.04);
padding:60px 40px;
border-radius:20px;
text-align:center;
}
.stat-box h2{
font-size:4.5rem;
color:#2ed573;
}
.stat-box p{color:#aaa;font-size:1.1rem;}

/* COBERTURA */
.cobertura-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}
.zona-card{
background:rgba(255,255,255,.05);
padding:40px;
border-radius:20px;
}
.expansion-badge{
display:inline-block;
margin-top:15px;
color:#2ed573;
}

/* PORTAL */
.portal-wrapper{display:flex;justify-content:center;}

.portal-card{
max-width:700px;
text-align:center;
padding:70px 60px;
background:rgba(255,255,255,.05);
border-radius:25px;
border:1px solid rgba(255,255,255,.1);
backdrop-filter:blur(25px);
transition:.4s;
}
.portal-card:hover{
transform:translateY(-10px);
border-color:#2ed573;
box-shadow:0 0 40px rgba(46,213,115,.25);
}

.portal-list{
list-style:none;
margin:25px 0;
}
.portal-list li{margin:10px 0;color:#ddd;}

/* FOOTER */
.footer{
padding:50px 0;
text-align:center;
color:#555;
}

/* REVEAL */
.reveal{
opacity:0;
transform:translateY(60px);
transition:1s;
}
.reveal.active{
opacity:1;
transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:992px){
.grid-4{grid-template-columns:1fr;}
.stats-grid{grid-template-columns:1fr;}
.cobertura-wrapper{grid-template-columns:1fr;}
.hero h1{font-size:2.5rem;}
}
/* =========================================
   BLUR BAR EFECTO PREMIUM
========================================= */

.blur-bar{
position:absolute;
top:0;
left:0;
width:100%;
height:140px;

background:linear-gradient(
to bottom,
rgba(5,8,12,0.85) 0%,
rgba(5,8,12,0.6) 40%,
rgba(5,8,12,0.2) 75%,
rgba(5,8,12,0) 100%
);

backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);

pointer-events:none;
z-index:2;
}
.hero{
height:100vh;
display:flex;
align-items:center;
position:relative; /* IMPORTANTE */
overflow:hidden;
}
/* =========================================
   BLUR BAR PREMIUM ANIMADA
========================================= */

.blur-bar{
position:fixed;
top:0;
left:0;
width:100%;
height:160px;

background:linear-gradient(
to bottom,
rgba(5,8,12,0.9) 0%,
rgba(5,8,12,0.6) 40%,
rgba(5,8,12,0.25) 75%,
rgba(5,8,12,0) 100%
);

backdrop-filter:blur(25px);
-webkit-backdrop-filter:blur(25px);

opacity:0;
transform:translateY(-20px);
transition:all .8s ease;

pointer-events:none;
z-index:900;
}

/* Glow dinámico */

.blur-bar::after{
content:"";
position:absolute;
right:-200px;
top:20px;
width:500px;
height:250px;

background:radial-gradient(circle,
rgba(46,213,115,0.35) 0%,
rgba(46,213,115,0.15) 40%,
transparent 70%
);

filter:blur(100px);
animation:floatGlow 6s ease-in-out infinite alternate;
}

/* Cuando se activa */

.blur-bar.active{
opacity:1;
transform:translateY(0);
}

/* Animación glow */

@keyframes floatGlow{
0%{transform:translateX(0px) translateY(0px);}
100%{transform:translateX(-40px) translateY(20px);}
}
/* =========================================
   WHATSAPP FLOAT SCROLL APPEAR
========================================= */

.whatsapp-float{
position:fixed;
bottom:25px;
right:25px;
width:65px;
height:65px;
border-radius:50%;
background:#25D366;
display:flex;
align-items:center;
justify-content:center;

opacity:0;
transform:translateY(20px) scale(.9);

box-shadow:0 0 25px rgba(37,211,102,.6);
z-index:1200;
transition:all .4s ease;
}

.whatsapp-float.active{
opacity:1;
transform:translateY(0) scale(1);
}

.whatsapp-float:hover{
transform:scale(1.1);
box-shadow:0 0 35px rgba(37,211,102,.9);
}
/* =========================================
   MAP COVERAGE
========================================= */

.coverage-check{
padding:100px 0;
text-align:center;
}

.coverage-box{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.1);
padding:60px;
border-radius:25px;
backdrop-filter:blur(25px);
max-width:900px;
margin:auto;
}

#map{
height:400px;
width:100%;
margin:30px 0;
border-radius:20px;
overflow:hidden;
}
.map-search{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
margin:25px 0;
}

.map-search input{
padding:15px 20px;
border-radius:40px;
border:1px solid rgba(255,255,255,.2);
background:rgba(255,255,255,.05);
color:white;
width:350px;
outline:none;
transition:.3s;
}

.map-search input:focus{
border-color:#2ed573;
box-shadow:0 0 15px rgba(46,213,115,.3);
}
.map-search{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
margin:30px 0;
z-index:10;
position:relative;
}

.map-search input{
padding:15px 20px;
border-radius:40px;
border:1px solid rgba(255,255,255,.2);
background:rgba(255,255,255,.08);
color:white;
width:350px;
outline:none;
font-size:14px;
}

.map-search button{
padding:14px 28px;
border-radius:40px;
}
html {
  scroll-behavior: smooth;
}
/* =========================================
   TESTIMONIOS
========================================= */

.testimonials {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  transition: 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: #2ed573;
  box-shadow: 0 0 30px rgba(46,213,115,0.25);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card span {
  color: #00c6ff; /* combina con tu navbar azul */
  font-weight: bold;
}
/* =========================
   NAVBAR ACTIVE LINK
========================= */

.nav-links a {
  position: relative;
  transition: 0.3s ease;
}

.nav-links a.active {
  color: #00bfff;
  text-shadow: 0 0 15px rgba(0,191,255,0.7);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00bfff;
  box-shadow: 0 0 10px #00bfff;
}
/* =========================
   NAVBAR LIGHT EFFECT
========================= */

.nav-links {
  position: relative;
  display: flex;
  gap: 25px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 5px 0;
  transition: 0.3s ease;
}

/* Hover suave */
.nav-links a:hover {
  color: #2ed573;
}

/* ACTIVO */
.nav-links a.active {
  color: #2ed573;
  text-shadow: 0 0 12px rgba(0, 224, 255, 0.8);
}

/* Línea glow animada */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2ed573, #00ff88);
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.9);
  animation: glowSlide 1.5s infinite alternate;
}

/* Animación */
@keyframes glowSlide {
  from {
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
  }
  to {
    box-shadow: 0 0 25px rgba(0, 224, 255, 1);
  }
}

/* =========================================
   SECTION SEPARATOR GLOW
========================================= */

.section-separator {
  height: 1px;
  width: 60%;
  margin: 0 auto;
  position: relative;
}

.section-separator::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(46,213,115,0.7),
    rgba(0,191,255,0.7),
    transparent
  );

  box-shadow: 0 0 20px rgba(0,191,255,0.7);
}
/* =========================================
   DYNAMIC PLAN BADGE
========================================= */

.plan-card {
  position: relative;
}

.plan-badge {
  position: absolute;
  top: 10px;
  right: 20px;
  background: linear-gradient(45deg,#2ed573,#00bfff);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  box-shadow: 0 0 20px rgba(0,191,255,.7);
}

.badge-text {
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease;
}
/* =========================================
   PREMIUM BADGE
========================================= */

.premium-badge {
  top: 10px;
  right: 20px;
  background: linear-gradient(45deg,#ffd700,#ff8c00);
  box-shadow: 0 0 25px rgba(255,215,0,.6);
}

.premium-badge-text {
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease;
}
/* =========================================
   AREAS SECTION
========================================= */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.area-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all .4s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,191,255,0.6);
  box-shadow: 0 0 30px rgba(0,191,255,.3);
}

.area-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.area-card p {
  margin-bottom: 25px;
  opacity: 0.8;
  font-size: 14px;
}
/* =========================================
   AREA ICONS
========================================= */

.area-icon {
  font-size: 42px;
  margin-bottom: 20px;
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
  position: relative;
}

/* Glow específico por área */

.admin-icon {
  text-shadow: 0 0 20px rgba(0,191,255,.8);
}

.support-icon {
  text-shadow: 0 0 20px rgba(46,213,115,.8);
}

/* Animación flotante */

@keyframes floatIcon {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Hover más fuerte */

.area-card:hover .area-icon {
  transform: scale(1.15);
  transition: transform .3s ease;
}
.hero-wrapper{
display:flex;
align-items:center;
justify-content:center;
height:100%;
}

.hero-left{
max-width:700px;
text-align:center;
}
.hero-left h1{
line-height:1.1;
}

.hero-left p{
font-size:1.2rem;
max-width:550px;
margin:25px auto;
}
.hero-left p{
  position: relative;
  display: inline-block;
  padding: 0 40px;
  color: #bbb;
}

/* Líneas */
.hero-left p::before,
.hero-left p::after{
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 450px; /* largo de línea */
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46,213,115,.6) 30%,
    rgba(0,191,255,.8) 50%,
    rgba(46,213,115,.6) 70%,
    transparent 100%
  );

  box-shadow: 0 0 20px rgba(0,191,255,.6);
}

/* Línea izquierda */
.hero-left p::before{
  right: 100%;
  margin-right: 15px;
}

/* Línea derecha */
.hero-left p::after{
  left: 100%;
  margin-left: 15px;
}
/* Plan cards como flex column */
.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Esto empuja el botón al final */
  height: 100%; /* Para que todas las cards tengan la misma altura en la grid */
}

/* Para que el texto y precios ocupen el espacio disponible */
.plan-card .price-box,
.plan-card p {
  margin-bottom: 20px; /* Espacio entre texto y botón */
}
/* DIFERENCIAS */
.diferencias-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05); /* base transparente */
  backdrop-filter: blur(15px); /* efecto vidrio más marcado */
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px; /* opcional, suaviza bordes */
  box-shadow: 0 0 40px rgba(46, 213, 115, 0.1); /* glow suave */
  text-align: center;
}

.diferencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.diferencia-box h2 {
  font-size: 2.5rem;
  color: #2ed573; /* verde */
  margin-bottom: 10px;
}

.diferencia-box p {
  font-size: 1rem;
  color: #333;
}
