/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: radial-gradient(circle at left, #1e6cc7 0%, #0b2d5a 55%, #000 100%);
  overflow: hidden;
}

/* LEFT */
.left {
  padding: 60px 70px;
  position: relative;
}

/* BADGE */
.badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #d32f2f;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(-20deg);
  animation: pulse 2s infinite;
}

/* TITULOS */
h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
}

h1 span {
  display: block;
  font-size: 30px;
  margin-top: 10px;
}

/* TEXTO */
.verse {
  margin: 30px 0 40px;
  font-size: 18px;
  max-width: 520px;
  opacity: 0.9;
}

.open {
  font-size: 36px;
  font-weight: 800;
  color: #ffeb3b;
  margin-bottom: 20px;
}

/* CONTADOR */
#countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

#countdown div {
  background: rgba(0,0,0,0.4);
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
}

#countdown span {
  font-size: 26px;
  display: block;
}

/* CTA WHATSAPP */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #25D366, #128C7E);
  padding: 18px 30px;
  border-radius: 6px;
  font-size: 22px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.cta small {
  display: block;
  font-size: 14px;
  font-weight: normal;
  opacity: 0.9;
}

/* FECHA */
.date {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  font-weight: 800;
  background: rgba(0,0,0,0.4);
  padding: 10px 24px;
  border-radius: 30px;
}

/* RIGHT */
.right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  position: relative;
}

.right img {
  max-height: 85vh;
  animation: float 4s ease-in-out infinite;
}

/* FOOTER BAR */
.footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d47a1;
  padding: 14px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

/* ANIMACIONES */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .right { display: none; }
  h1 { font-size: 40px; }
}


/* =============================
   BENEFICIOS (AISLADO Y SEGURO)
============================= */
.benefits {
  padding: 100px 8%;
  background: linear-gradient(180deg, #050505 0%, #000 100%);
  text-align: center;
}

.benefits-title {
  font-size: 38px;
  margin-bottom: 60px;
  font-weight: 900;
  color: #ffeb3b;
  text-shadow: 0 0 15px rgba(255,235,59,.4);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.benefit-card {
  background: linear-gradient(160deg, #0b2d5a 0%, #000 80%);
  padding: 35px 28px;
  border-radius: 22px;
  box-shadow:
    0 15px 40px rgba(30,108,199,.6),
    inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .4s ease, box-shadow .4s ease;
}

.benefit-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 25px 60px rgba(30,108,199,.9),
    inset 0 0 0 1px rgba(255,235,59,.3);
}

.benefit-card .icon {
  font-size: 52px;
  margin-bottom: 18px;
  text-shadow: 0 0 20px rgba(255,235,59,.8);
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: .9;
}

/* =============================
   WHATSAPP FLOTANTE
============================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  z-index: 9999;
  animation: whatsappPulse 2s infinite;
  transition: transform .3s ease, box-shadow .3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37,211,102,.7);
}

/* PULSO */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37,211,102,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }
}

/* PREVIEW DE PAGINA */
.page-preview {
  padding: 100px 10%;
  background: radial-gradient(circle at top, #0b2d5a 0%, #000 70%);
  text-align: center;
}

.page-preview h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffeb3b;
}

.preview-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.7);
}

/* IMAGEN */
.preview-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
  z-index: 1;
  position: relative;
}

/* ZOOM */
.preview-card:hover img {
  transform: scale(1.12);
}

/* OVERLAY */
.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1),
    rgba(0,0,0,.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2; /* 👈 CLAVE */
}

/* TEXTO */
.preview-overlay span {
  font-size: 28px;
  font-weight: 800;
  color: #ffeb3b;
  text-shadow: 0 0 15px rgba(0,0,0,.8);
}

/* MOSTRAR TEXTO */
.preview-card:hover .preview-overlay {
  opacity: 1;
}
.preview-overlay span {
  transform: translateY(20px);
  transition: transform .4s ease;
}

.preview-card:hover .preview-overlay span {
  transform: translateY(0);
}


.preview-card img {
  width: 100%;
  display: block;
  transition: transform 1.2s ease;
}

.preview-card:hover img {
  transform: scale(1.12);
}


.preview-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1),
    rgba(0,0,0,.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
}

.preview-card span {
  font-size: 28px;
  font-weight: 800;
  color: #ffeb3b;
}

.preview-card:hover .overlay {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .preview-card img {
    height: 260px;
  }
}


/* ANIMACIÓN SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
