

/* RESET */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}
body{background:#f8fafc;color:#0f172a;}

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 60px;
  background:white;
  position:sticky;
  top:0;
  border-bottom:1px solid #e2e8f0;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

#nav-menu{
  display:flex;
}

#nav-menu a{
  margin:0 12px;
  text-decoration:none;
  color:#334155;
}

/* BOTONES */
.btn-primary{
  background:#22c55e;
  color:white;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.hamburger span{
  width:28px;
  height:3px;
  background:#0f172a;
  transition:.3s;
}

/* HERO */
.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:80px 60px;
}

.hero-text h1{font-size:42px;margin-bottom:20px;}
.hero-text p{color:#475569;margin-bottom:20px;}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.card{
  background:white;
  padding:20px;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* RESPONSIVE */
@media(max-width:768px){

  .hero{
    flex-direction:column;
    text-align:center;
  }

  .grid{
    grid-template-columns:1fr;
  }

  #nav-menu{
    position:absolute;
    top:80px;
    right:20px;
    width:220px;

    flex-direction:column;
    gap:15px;

    padding:20px;
    background:#0f172a;
    border-radius:12px;

    opacity:0;
    transform:translateY(-20px);
    pointer-events:none;

    transition:.3s;
  }

  #nav-menu a{
    color:white;
  }

  #nav-menu.active{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .hamburger{
    display:flex;
  }
}




.btn-secondary{
  border:1px solid #22c55e;
  color:#22c55e;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
}

.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:80px 60px;
  min-height:100vh;
}

.hero-text h1{
  font-size:42px;
  margin-bottom:20px;
}

.hero-text p{
  color:#475569;
  margin-bottom:20px;
  max-width:500px;
}

.cta{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.stats{
  display:flex;
  gap:20px;
  color:#64748b;
  font-size:14px;
}

.hero-image{
  display:flex;
  justify-content:center;
  align-items:center;
  transition:all .4s ease;
}

.phone-3d{
  width:280px;
  height:520px;
  border-radius:40px;

  background:linear-gradient(145deg,#0f172a,#1e293b);

  box-shadow:
    0 40px 80px rgba(0,0,0,.35),
    0 10px 30px rgba(34,197,94,.25),
    inset 0 0 0 2px rgba(255,255,255,.08);

  position:relative;

  transform-style:preserve-3d;
  transform:perspective(1200px) rotateY(-18deg) rotateX(10deg);

  transition:transform .3s ease;
  animation:float 6s ease-in-out infinite;
}

.phone-screen{
  position:absolute;
  top:18px;
  left:14px;
  right:14px;
  bottom:18px;

  border-radius:30px;
  background:linear-gradient(180deg,#ecfdf5,#ffffff);

  display:flex;
  justify-content:center;
  align-items:center;

  overflow:hidden;
}

.app-ui{
  text-align:center;
  font-size:16px;
  font-weight:600;
  color:#0f172a;
  line-height:1.6;
  padding:20px;
}

.phone-3d::before{
  content:"";
  position:absolute;
  width:140%;
  height:140%;
  top:-20%;
  left:-20%;

  background:radial-gradient(circle,
    rgba(34,197,94,.35),
    transparent 60%
  );

  z-index:-1;
  filter:blur(40px);
}

.phone-3d:hover{
  transform:perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.phone-screen{
  position:absolute;
  top:18px;
  left:14px;
  right:14px;
  bottom:18px;

  border-radius:30px;

  background:linear-gradient(180deg,#ecfdf5,#ffffff);

  display:flex;
  justify-content:center;
  align-items:center;

  overflow:hidden;

  box-shadow:inset 0 0 20px rgba(0,0,0,.05);
}

@keyframes float{
  0%{
    transform:perspective(1000px) rotateY(-15deg) rotateX(8deg) translateY(0);
  }

  50%{
    transform:perspective(1000px) rotateY(-15deg) rotateX(8deg) translateY(-20px);
  }

  100%{
    transform:perspective(1000px) rotateY(-15deg) rotateX(8deg) translateY(0);
  }
}

.hide-mockup{
  opacity:0;
  transform:translateY(40px) scale(.95);
  pointer-events:none;
  transition:all .4s ease;
}

.section{
  padding:80px 60px;
  text-align:center;
}

.section h2{
  font-size:32px;
  margin-bottom:10px;
}

.subtitle{
  color:#64748b;
  margin-bottom:40px;
}

.green{
  background:#ecfdf5;
}

.dark{
  background:#0f172a;
  color:white;
}



.card{
  background:white;
  padding:10px;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
  color:#000;
}

.stats-big{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  font-size:20px;
  font-weight:600;
}

.cta-section{
  padding:80px;
  background:#22c55e;
  color:white;
  text-align:center;
}

form{
  display:flex;
  flex-direction:column;
  max-width:400px;
  margin:auto;
  gap:10px;
}

input,
textarea{
  padding:10px;
  border:1px solid #cbd5e1;
  border-radius:8px;
}

footer{
  text-align:center;
  padding:30px;
  background:white;
  border-top:1px solid #e2e8f0;
}

.img-responsive{
  width:100%;
  max-width:450px;
  height:auto;
  object-fit:cover;
  border-radius:10px;
}

.img-responsive2{
  width:120%;
  max-width:1000px;
  height:auto;
  object-fit:cover;
  border-radius:10px;
    margin:0 auto;
}

.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:80px 60px;
  min-height:100vh;
  gap:40px;
}

.stats-big{
  grid-template-columns:1fr 1fr;
}

.cta{
  justify-content:center;
}

.stats{
  justify-content:center;
  flex-wrap:wrap;
}



/* 📱 CELULAR 3D */
.phone{
  width:300px;
  height:600px;
  border-radius:40px;

  background:linear-gradient(145deg,#0f172a,#1e293b);

  box-shadow:
    0 40px 80px rgba(0,0,0,.3),
    0 10px 30px rgba(34,197,94,.25),
    inset 0 0 0 2px rgba(255,255,255,.08);

  position:relative;

  transform:rotateY(-15deg) rotateX(8deg);
  transform-style:preserve-3d;

  animation:float 6s ease-in-out infinite;
  transition:.3s;
}

/* HOVER INTERACTIVO */
.phone:hover{
  transform:rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* GLOW */
.phone::before{
  content:"";
  position:absolute;
  width:140%;
  height:140%;
  top:-20%;
  left:-20%;
  background:radial-gradient(circle,rgba(34,197,94,.35),transparent 60%);
  filter:blur(40px);
  z-index:-1;
}

/* PANTALLA */
.screen{
  position:absolute;
  top:18px;
  left:14px;
  right:14px;
  bottom:18px;

  border-radius:30px;
  background:linear-gradient(180deg,#ecfdf5,#ffffff);

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;

  padding:20px;

  box-shadow:inset 0 0 20px rgba(0,0,0,.05);
}

/* CONTENIDO APP */
.app-ui{
  font-size:16px;
  font-weight:600;
  color:#0f172a;
  line-height:1.6;
}

/* ANIMACIÓN FLOAT */
@keyframes float{
  0%{
    transform:rotateY(-15deg) rotateX(8deg) translateY(0);
  }
  50%{
    transform:rotateY(-15deg) rotateX(8deg) translateY(-20px);
  }
  100%{
    transform:rotateY(-15deg) rotateX(8deg) translateY(0);
  }
}