/* ==========================================================
   Argendia · estilos propios (lo que Tailwind no cubre solo)
   ========================================================== */

html {
  background: #010824;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Resplandor de fondo ---------- */
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 38% at 50% 0%, rgba(10, 92, 255, 0.24), transparent 70%),
    radial-gradient(55% 30% at 50% 52%, rgba(37, 211, 102, 0.10), transparent 70%),
    radial-gradient(60% 30% at 50% 100%, rgba(10, 92, 255, 0.14), transparent 70%);
}

/* El logo tiene fondo azul oscuro: con "lighten" se funde con la página */
.logo-blend {
  mix-blend-mode: lighten;
}

/* ---------- Botón principal (WhatsApp) ---------- */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 26rem;
  padding: 1.05rem 0.8rem;
  border-radius: 9999px;
  background: #25d366;
  color: #012b12;
  font-weight: 800;
  font-size: clamp(0.78rem, 3.8vw, 1.05rem); /* una sola línea en casi todos los celulares */
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 10px 30px -6px rgba(37, 211, 102, 0.55),
    0 0 60px -10px rgba(37, 211, 102, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cta:hover {
  background: #3be37b;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 14px 38px -6px rgba(37, 211, 102, 0.7),
    0 0 80px -8px rgba(37, 211, 102, 0.7);
}

.cta:active {
  transform: translateY(0) scale(0.99);
}

.cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Anillo que late suave para llamar la atención */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: cta-ring 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes cta-ring {
  0%   { transform: scale(1);    opacity: 0.8; }
  70%  { transform: scale(1.14); opacity: 0;   }
  100% { transform: scale(1.14); opacity: 0;   }
}

/* Celulares muy angostos (<= 340px): dejamos que el texto baje de línea */
@media (max-width: 340px) {
  .cta {
    white-space: normal;
    line-height: 1.15;
  }
}

@media (min-width: 640px) {
  .cta {
    width: auto;
    max-width: none;
    gap: 0.75rem;
    font-size: 1.15rem;
    padding: 1.2rem 2.5rem;
  }
}

/* ---------- Tres puntos ---------- */
.point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.point-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
}

.point-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff;
}

.point-text {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #b4bfd6;
}

@media (min-width: 640px) {
  .point {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.35rem;
  }
}

/* ---------- Tarjeta de oferta ---------- */
.offer-card {
  padding: 1.75rem 0.9rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid transparent;
  background:
    linear-gradient(#030d33, #030d33) padding-box,
    linear-gradient(135deg, #0a5cff, #0df2b0) border-box;
  box-shadow: 0 20px 60px -25px rgba(10, 92, 255, 0.55);
}

@media (min-width: 640px) {
  .offer-card {
    padding: 2.5rem 2.75rem 2.75rem;
  }
}

/* ---------- Cartel de cupos ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(13, 242, 176, 0.1);
  border: 1px solid rgba(13, 242, 176, 0.35);
  color: #0df2b0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge.hidden {
  display: none;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #0df2b0;
  animation: dot-pulse 1.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta::after,
  .badge-dot {
    animation: none;
  }
  .cta,
  html {
    transition: none;
    scroll-behavior: auto;
  }
}
