*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, sans-serif;
  background:#050816;
  color:white;
}

header{
  text-align:center;
  padding:30px;
  background:#0a1025;
  border-bottom:1px solid #1e2a52;
}

header h1{
  color:#2f7cff;
  font-size:40px;
}

header p{
  color:#aaa;
  margin-top:10px;
}

.hero{
  text-align:center;
  padding:80px 20px;
}

.hero h2{
  font-size:45px;
  max-width:800px;
  margin:auto;
  line-height:1.2;
}

.hero p{
  margin-top:20px;
  color:#bbb;
  font-size:18px;
}

.boton{
  display:inline-block;
  margin-top:30px;
  background:#2f7cff;
  color:white;
  padding:15px 30px;
  text-decoration:none;
  border-radius:12px;
  font-weight:bold;
  transition:0.3s;
}

.boton:hover{
  background:#5394ff;
}

.productos{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  padding:60px 20px;
}

.card{
  background:#101935;
  width:300px;
  padding:30px;
  border-radius:20px;
  border:1px solid #1d2a52;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
}

.card h3{
  font-size:24px;
  margin-bottom:15px;
}

.card p{
  color:#bbb;
  line-height:1.5;
}

.card span{
  display:block;
  margin-top:20px;
  font-size:30px;
  font-weight:bold;
  color:#2f7cff;
}

.card button{
  margin-top:20px;
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background:#2f7cff;
  color:white;
  font-size:16px;
  cursor:pointer;
}

.card button:hover{
  background:#5394ff;
}

footer{
  text-align:center;
  padding:30px;
  color:#888;
}
.loading::before{
  content:"Cargando productos...";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#050816;
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:30px;
  z-index:9999;
}
/* ANIMACIONES GENERALES */

body{
  animation: aparecerPagina 0.8s ease-in-out;
}

@keyframes aparecerPagina{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

.hero h2{
  animation: subirTexto 1s ease forwards;
}

.hero p{
  animation: subirTexto 1.3s ease forwards;
}

.boton{
  animation: pulso 2s infinite;
}

.card{
  animation: aparecerCard 0.8s ease forwards;
}

.card:nth-child(1){
  animation-delay:0.1s;
}

.card:nth-child(2){
  animation-delay:0.3s;
}

.card:nth-child(3){
  animation-delay:0.5s;
}

.card:nth-child(4){
  animation-delay:0.7s;
}

.card:nth-child(5){
  animation-delay:0.9s;
}

.card:nth-child(6){
  animation-delay:1.1s;
}

@keyframes subirTexto{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes aparecerCard{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
/* ANIMACIONES GENERALES */

body{
  animation: aparecerPagina 0.8s ease-in-out;
}

@keyframes aparecerPagina{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

.hero h2{
  animation: subirTexto 1s ease forwards;
}

.hero p{
  animation: subirTexto 1.3s ease forwards;
}

.boton{
  animation: pulso 2s infinite;
}

.card{
  animation: aparecerCard 0.8s ease forwards;
}

.card:nth-child(1){
  animation-delay:0.1s;
}

.card:nth-child(2){
  animation-delay:0.3s;
}

.card:nth-child(3){
  animation-delay:0.5s;
}

.card:nth-child(4){
  animation-delay:0.7s;
}

.card:nth-child(5){
  animation-delay:0.9s;
}

.card:nth-child(6){
  animation-delay:1.1s;
}

@keyframes subirTexto{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes aparecerCard{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes pulso{
  0%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.05);
  }
  100%{
    transform:scale(1);
  }
}
.beneficios{
  padding:70px 20px;
  text-align:center;
  background:#081126;
}

.beneficios h2{
  font-size:36px;
  margin-bottom:40px;
}

.beneficios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:25px;
  max-width:1100px;
  margin:auto;
}

.beneficio{
  background:#101935;
  padding:30px;
  border-radius:20px;
  border:1px solid #1d2a52;
  transition:0.3s;
}

.beneficio:hover{
  transform:translateY(-8px);
  border-color:#2f7cff;
}

.beneficio h3{
  font-size:22px;
  margin-bottom:15px;
}

.beneficio p{
  color:#bbb;
  line-height:1.6;
}

.destacado{
  padding:80px 20px;
  text-align:center;
  background:linear-gradient(135deg, #0a1025, #123076);
}

.destacado h2{
  font-size:38px;
  max-width:800px;
  margin:auto;
}

.destacado p{
  max-width:750px;
  margin:25px auto 0;
  color:#d5d5d5;
  font-size:18px;
  line-height:1.7;
}

.cta{
  padding:80px 20px;
  text-align:center;
}

.cta h2{
  font-size:38px;
}

.cta p{
  margin-top:15px;
  color:#bbb;
  font-size:18px;
}

.loading::before{
  content:"Cargando productos...";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#050816;
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:30px;
  z-index:9999;
}
.logo{
  text-decoration:none;
  color:#2f7cff;
  transition:0.3s;
}

.logo:hover{
  color:#5394ff;
}
.logo{
  text-decoration:none;
  color:#2f7cff;
}

.logo:hover{
  color:#5d96ff;
}

h3{
  margin-top:10px;
}
.promo{
  background:#ff3131;
  color:white;
  font-weight:bold;
  padding:8px 12px;
  border-radius:12px;
  display:inline-block;
  margin-bottom:15px;
}

.precio{
  margin-top:20px;
  margin-bottom:20px;
}

.precio-antiguo{
  display:block;
  text-decoration:line-through;
  color:#999;
  font-size:18px;
}

.precio-nuevo{
  display:block;
  color:#00ff88;
  font-size:34px;
  font-weight:bold;
}
.oferta-global{
  background:#ff3131;
  color:white;
  text-align:center;
  padding:15px;
  font-size:20px;
  font-weight:bold;
}

.promo{
  background:#ff3131;
  color:white;
  font-weight:bold;
  padding:8px 12px;
  border-radius:12px;
  display:inline-block;
  margin-bottom:15px;
}

.precio{
  margin-top:20px;
  margin-bottom:20px;
}

.precio-antiguo{
  display:block;
  text-decoration:line-through;
  color:#999;
  font-size:18px;
}

.precio-nuevo{
  display:block;
  color:#00ff88;
  font-size:34px;
  font-weight:bold;
}

.logo{
  text-decoration:none;
  color:#2f7cff;
}

.logo:hover{
  color:#5d96ff;
}