/* RESET PRO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}
body{font-family:'Poppins',sans-serif;background:#0b0f1a;color:white}

header{
 display:flex;justify-content:space-between;align-items:center;
 padding:20px 40px;background:#0b0f1a;
}

header img{height:50px}
nav a{margin-left:25px;color:#ccc;text-decoration:none;font-size:14px}

.hero{
 display:flex;align-items:center;justify-content:space-between;
 padding:80px 0;
 max-width:1200px;
 margin:auto;
 /*background:radial-gradient(circle at top,#1e1b4b,#020617);*/
 gap:60px;
}

body{padding:0 20px}

.hero-text{max-width:550px}
.hero-text h1{font-size:48px;line-height:1.2;margin-bottom:20px}
.hero-text span{color:#8b5cf6}
.hero-text p{color:#aaa;margin-bottom:25px}

.btn{
 padding:14px 26px;border-radius:30px;
 background:linear-gradient(90deg,#83048f,#83048f);
 color:white;text-decoration:none;font-weight:600;
 display:inline-block;
 transition:.3s;
}
.btn:hover{transform:scale(1.05)}

.whatsapp{
 background:#25d366;
 margin-left:10px;
}

/* PHONE MOCKUP */
.phone{
 width:280px;height:560px;border-radius:40px;
 background:#0a0a0a;
 position:relative;
 box-shadow:0 40px 100px rgba(0,0,0,0.6);
 animation:float 4s ease-in-out infinite;
 overflow:hidden;
}

.screen{
 position:absolute;top:10px;left:10px;right:10px;bottom:10px;
 border-radius:30px;
 background:linear-gradient(180deg,#0f172a,#020617);
 padding:20px;
 display:flex;flex-direction:column;
 justify-content:flex-start;
}

.status{font-size:12px;color:#aaa;margin-bottom:10px}

.card{
 background:#111827;
 border-radius:20px;
 padding:15px;
 margin-top:20px;
 animation:fadeIn 2s ease infinite alternate;
}

.amount{color:#00ffa3;font-size:22px;font-weight:bold}

.badge{
 margin-top:10px;
 padding:8px;
 background:#065f46;
 border-radius:10px;
 font-size:12px;
 display:inline-block;
}

.stats{
 display:flex;
 gap:10px;
 margin-top:20px;
}

.stat{
 flex:1;
 background:#1f2937;
 padding:15px;
 border-radius:15px;
 text-align:center;
}

@keyframes float{
 0%,100%{transform:translateY(0)}
 50%{transform:translateY(-15px)}
}

@keyframes fadeIn{
 from{opacity:.5;transform:translateY(5px)}
 to{opacity:1;transform:translateY(0)}
}

.section{padding:100px 40px;text-align:center}
.section h2{font-size:36px;margin-bottom:15px}
.section p{color:#aaa}

.cards{
 display:flex;gap:30px;justify-content:center;margin-top:50px;flex-wrap:wrap;
}

.card-info{
 background:#111827;padding:30px;border-radius:20px;width:280px;
 box-shadow:0 20px 50px rgba(0,0,0,0.3);
 transition:.3s;
}

.card-info:hover{transform:translateY(-10px)}

.cta{
 background:linear-gradient(135deg,#7c3aed,#4c1d95);
 padding:80px 40px;text-align:center;
}

footer{
 background:#020617;padding:40px;text-align:center;color:#aaa;
}

@media(max-width:900px){
 .hero{flex-direction:column;text-align:center}
}

.hero-text h1{
 font-size:52px;
 font-weight:700;
 letter-spacing:-1px;
}


@keyframes escribirBorrar {
  0% { width: 0 }
  40% { width: 100% }
  60% { width: 100% }
  100% { width: 0 }
}

@keyframes cursor {
  50% { border-color: transparent; }
}

.typing-pro {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #304be6;
  animation: 
    escribirBorrar 6s steps(22) infinite,
    cursor 0.7s step-end infinite;
  font-weight: bold;
}

/* Forzar colores correctamente */
.yape {
  color: #83048f !important;
}

.plin {
  color: #21b6b2 !important;
}

.bancos {
  color: #ffffff !important;
}


/* 🔥 PRICING PRO */
.pricing{
 display:flex;
 justify-content:center;
 gap:30px;
 flex-wrap:wrap;
 margin-top:50px;
}

.price-card{
 background:linear-gradient(180deg,#111827,#020617);
 border:1px solid #1f2937;
 padding:40px;
 border-radius:20px;
 width:320px;
 text-align:left;
 transition:.4s;
 position:relative;
}

.price-card:hover{
 transform:scale(1.05);
 box-shadow:0 0 40px rgba(139,92,246,0.4);
}

.price-card.pro{
 border:1px solid #8b5cf6;
}

.price-title{
 font-size:18px;
 color:#8b5cf6;
}

.price{
 font-size:40px;
 margin:20px 0;
}

.features{
 color:#ccc;
 line-height:2;
 font-size:14px;
}

/* CTA */
.cta{
 background:linear-gradient(135deg,#020617,#020617);
 padding:80px 40px;
 text-align:center;
 margin-top:80px;
}

/* 🔥 FOOTER PRO */
footer{
 background:#020617;
 padding:60px 20px;
}

.footer-container{
 max-width:1200px;
 margin:auto;
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
 gap:40px;
}



.footer p{
 color:#aaa;
 font-size:14px;
}

.footer h4{
 margin-bottom:10px;
}

.footer a{
 display:block;
 color:#aaa;
 text-decoration:none;
 margin:5px 0;
 font-size:14px;
}

.footer a:hover{
 color:#8b5cf6;
}

.socials{
 margin-top:10px;
}

.socials a{
 margin-right:10px;
 font-size:18px;
}

.footer-bottom{
 text-align:center;
 margin-top:40px;
 color:#666;
 font-size:13px;
}

/* RESPONSIVE */
@media(max-width:900px){
 .hero{
  flex-direction:column;
  text-align:center;
 }
}


/* Centrar imagen */
.logo {
  display: block;
  margin: 0 auto 40px auto;
}

/* Campana */
.notification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

/* Icono campana */
.bell {
  position: relative;
  font-size: 18px;
}

/* Badge rojo */
.badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  animation: contar 4s steps(16) forwards;
}

/* Animación contador */
@keyframes contar {
  from { content: "1"; }
  to { content: "16"; }
}

.notification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.whatsapp-icon {
  position: relative;
  font-size: 32px;
}

/* badge rojo */
.badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
}


/* ICONOS CASOS DE USO */
/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

/* HEADER */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.section-header span {
  color: #ff0015;
}

.section-header p {
  color: #9ca3af;
}

/* GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.card-info {
  background: linear-gradient(145deg,#0b1220,#020617);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(139,92,246,0.2);
  transition: all 0.3s ease;
}

.card-info:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 20px 60px rgba(139,92,246,0.15);
}

/* ICONOS */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: #8b5cf6;
  background: rgba(139,92,246,0.1);
}

.icon-box.green {
  color: #00ffa3;
  background: rgba(0,255,163,0.1);
}

.icon-box.purple {
  color: #a855f7;
  background: rgba(168,85,247,0.1);
}

/* TEXTOS */
.card-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-info p {
  color: #9ca3af;
  font-size: 14px;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .cards {
    grid-template-columns: 1fr;
  }
}


/* FOOTER */
footer {
  background: #020617;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* LOGO */
.footer-logo img {
  height: 50px;
  display: block;
}

.footer-logo p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 280px;
}

/* LINKS */
.footer-links h4 {
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #8b5cf6;
}

/* CONTACTO */
.footer-links p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links i {
  color: #8b5cf6;
}

/* ONLINE */
.online {
  color: #22c55e !important;
  font-weight: 500;
}

/* REDES */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #0b1220;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 18px;
  transition: 0.3s;
}

.socials a:hover {
  color: white;
  background: #8b5cf6;
  transform: translateY(-3px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  color: #6b7280;
  font-size: 13px;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links p {
    justify-content: center;
  }

  .socials {
    justify-content: center;
  }
}

/* SECCIÓN */
.how-it-works {
  text-align: center;
  padding: 100px 20px;
  background: radial-gradient(circle at top, #020617, #020617);
}

.how-it-works h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-it-works h2 span {
  background: linear-gradient(90deg,#ff0015,#ff0015);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-it-works p {
  color: #94a3b8;
  max-width: 600px;
  margin: auto;
}

/* GRID */
.steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* CARD */
.step-card {
  background: linear-gradient(145deg,#0b1220,#020617);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  border: 1px solid rgba(139,92,246,0.15);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 20px 60px rgba(139,92,246,0.15);
}

/* ICONOS */
.step-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 22px;
}

/* COLORES */
.step-icon.purple {
  background: rgba(139,92,246,0.15);
  color: #8b5cf6;
}

.step-icon.green {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.step-icon.blue {
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
}

/* TEXTO */
.step-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: #8b5cf6;
  font-weight: 600;
}

.step-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.step-card p {
  color: #94a3b8;
  font-size: 14px;
}

/* EFECTO GLOW PRO */
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(139,92,246,0.15), transparent 60%);
  opacity: 0;
  transition: 0.3s;
}

.step-card:hover::before {
  opacity: 1;
}


/* HERO RESPONSIVE */
.hero-text h1 {
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.2;
  word-break: break-word;
}

/* Typing ajuste */
.typing-pro {
  max-width: 100%;
  display: inline-block;
  white-space: nowrap;
}

/* En móviles que haga salto */
@media (max-width: 600px) {
  .typing-pro {
    white-space: normal;
    border-right: none;
    animation: none;
  }
}

/*Esconde menú*/
@media (max-width:768px){

  nav {
    display:none; /* oculto por defecto */
  }

  nav.active {
    display:flex;
  }

}


/* FOOTER BASE */
.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  padding:60px 20px;
}

.footer-logo img{
  height:50px;
  margin-bottom:15px;
}

.footer-logo p{
  color:#aaa;
  margin-bottom:20px;
  line-height:1.6;
}

/* LINKS */
.footer-links h4{
  margin-bottom:15px;
}

.footer-links a{
  display:block;
  color:#aaa;
  text-decoration:none;
  margin-bottom:10px;
  transition:.3s;
}

.footer-links a:hover{
  color:#8b5cf6;
}

/* SOCIALS */
.socials{
  display:flex;
  gap:12px;
}

.socials a{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111827;
  border-radius:10px;
  color:#fff;
  transition:.3s;
}

.socials a:hover{
  background:#8b5cf6;
  transform:translateY(-3px);
}

/* CONTACTO PRO */
.contacto{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#111827;
  padding:12px 15px;
  border-radius:12px;
}

.contact-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#111827;
  padding:12px 15px;
  border-radius:12px;
  flex-wrap:wrap; /* 🔥 clave */
}

.contact-box span{
  font-size:14px;
  color:#ccc;
  word-break: break-word;
}

.schedule-box{
  background:linear-gradient(145deg,#1e1b4b,#020617);
  padding:15px;
  border-radius:15px;
}

.schedule-box small{
  color:#8b5cf6;
  display:block;
  margin-bottom:5px;
  font-size:12px;
}

.schedule-box strong{
  font-size:14px;
}

/* FOOTER BOTTOM */
.footer-bottom{
  text-align:center;
  padding:20px;
  color:#666;
  border-top:1px solid rgba(255,255,255,0.05);
}

.contact-box:hover,
.schedule-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139,92,246,0.15);
}