/* ============================================================
   PRE-LANDING SIN FORMULARIO (funnel-emmaster, 2026-10-13)
   Estilos propios de index.html de este funnel. style.css es el sistema
   de diseño compartido con funnel-nuevo y no se toca.
   ============================================================ */

/* ---------- Hero ---------- */
.hero-emm {
  padding: 64px 0 96px;
  text-align: left;
  background:
    radial-gradient(1000px 560px at 100% -20%, rgba(25, 167, 184, .34), transparent 60%),
    radial-gradient(760px 420px at -10% 110%, rgba(226, 178, 90, .18), transparent 58%),
    linear-gradient(150deg, var(--navy) 0%, var(--teal-800) 70%, var(--teal) 120%);
}
/* Rejilla muy sutil para dar textura al fondo oscuro */
.hero-emm::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-emm .container { position: relative; z-index: 1; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  animation: orb-float 14s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; right: -120px; top: -140px; background: var(--teal-bright); }
.orb-2 { width: 340px; height: 340px; left: -140px; bottom: -120px; background: var(--gold); opacity: .28; animation-delay: -7s; }
@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-18px, 22px, 0); }
}

.hero-emm-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-emm .eyebrow { margin-bottom: 18px; }
.hero-emm h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing: -.01em;
}
.hero-emm h1 .hl { color: var(--hl-dark); }

/* Ventajas: tres filas con check, sobre cristal */
.ventajas { list-style: none; display: grid; gap: 12px; margin: 0; }
.ventajas li {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(247, 243, 235, .92);
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s, border-color .2s;
}
.ventajas li:hover { background: rgba(255, 255, 255, .11); border-color: rgba(25, 167, 184, .6); transform: translateX(4px); }
.ventajas li strong { color: #fff; }
.ventajas .check {
  flex: none;
  width: 30px; height: 30px; margin-top: 1px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-bright), #7fe3ef);
  color: var(--navy);
  font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 16px rgba(25, 167, 184, .45);
}

/* ---------- Tarjeta de la clase ---------- */
.clase-card {
  background: var(--bone-card);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
  transform: translateZ(0);
}
.clase-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(520px 260px at 70% 20%, rgba(25, 167, 184, .55), transparent 60%),
    radial-gradient(400px 240px at 10% 100%, rgba(226, 178, 90, .35), transparent 60%),
    linear-gradient(135deg, #0b1f28, var(--teal-800));
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}
/* Anillo que late detrás del play */
.clase-preview::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .22);
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  0%   { transform: translate(-50%, -50%) scale(.6); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}
.clase-badge {
  position: absolute; left: 16px; top: 16px;
  background: rgba(12, 48, 56, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #e9fbfd;
  font-family: var(--font-head);
  font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.play {
  position: absolute; left: 50%; top: 50%;
  width: 82px; height: 82px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), #5fd7e4);
  box-shadow: 0 16px 36px rgba(25, 167, 184, .55), inset 0 0 0 6px rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.play-tri {
  width: 0; height: 0;
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.clase-preview:hover .play { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 22px 46px rgba(25, 167, 184, .7), inset 0 0 0 6px rgba(255, 255, 255, .26); }
.clase-hint {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center;
  font-size: .86rem; font-weight: 500;
  color: rgba(247, 243, 235, .78);
  letter-spacing: .02em;
  transition: opacity .2s, transform .2s;
}
.clase-preview:hover .clase-hint { color: #fff; transform: translateY(-2px); }

.clase-body { padding: 24px 24px 22px; text-align: center; }
.clase-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-800);
  margin-bottom: 16px;
  line-height: 1.3;
}
.clase-nota { font-size: .84rem; color: #6b7d82; margin: 14px 0 0; }

/* ---------- Botón principal ---------- */
.btn-cta {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  border-radius: 16px;
  padding: 18px 26px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 30px rgba(15, 113, 128, .42);
  animation: cta-glow 2.8s ease-in-out infinite;
  transition: transform .18s ease, filter .18s;
}
.btn-cta .btn-cta-main {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: .03em;
}
.btn-cta .btn-cta-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .82rem;
  opacity: .88;
  margin-top: 4px;
}
.btn-cta .arrow { display: inline-block; transition: transform .2s ease; }
/* Destello que recorre el botón cada pocos segundos */
.btn-cta::after {
  content: '';
  position: absolute; top: -40%; bottom: -40%; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .34) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: shine 3.6s ease-in-out infinite;
  z-index: -1;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 14px 30px rgba(15, 113, 128, .42), 0 0 0 0 rgba(25, 167, 184, .45); }
  50%      { box-shadow: 0 16px 34px rgba(15, 113, 128, .5), 0 0 0 12px rgba(25, 167, 184, 0); }
}
.btn-cta:hover { transform: translateY(-3px); filter: brightness(1.06); }
.btn-cta:hover .arrow { transform: translateX(6px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible { outline: 3px solid var(--hl-dark); outline-offset: 3px; }

/* Variante del CTA final (fondo oscuro): ancho natural, centrado */
.btn-cta-light { display: inline-block; width: auto; min-width: 320px; padding: 20px 46px; }

/* ---------- Método: tres pasos ---------- */
.metodo { padding-bottom: 56px; }
.pasos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 40px auto 0;
}
.pasos li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bone-card);
  border: 1px solid #e8e1d2;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pasos li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pasos .num {
  flex: none;
  width: 36px; height: 36px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: #fff; font-family: var(--font-head); font-weight: 800;
}
.pasos strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--teal-800); margin-bottom: 2px; }
.pasos div > span { font-size: .9rem; color: #46595e; }

.cta-final .section-lead { color: rgba(247, 243, 235, .78); margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-emm { padding: 48px 0 80px; }
  .hero-emm-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-emm-copy { text-align: center; }
  .ventajas li { text-align: left; }
  .clase-card { max-width: 520px; margin: 0 auto; }
  .pasos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-emm h1 { font-size: 1.5rem; }
  .ventajas li { font-size: .96rem; padding: 12px 14px; }
  .play { width: 68px; height: 68px; }
  .play-tri { border-width: 12px 0 12px 21px; }
  .btn-cta-light { min-width: 0; width: 100%; }
  .btn-cta { padding: 16px 18px; }
  .btn-cta .btn-cta-main { font-size: 1rem; white-space: nowrap; gap: 8px; }
  .clase-body { padding: 20px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .btn-cta, .btn-cta::after, .clase-preview::before { animation: none; }
}
