*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple:     #6B1FA2;
  --magenta:    #C2185B;
  --white:      #FFFFFF;
  --dark:       #1A1A2E;
  --lavender:   #F3E5F5;
  --purple-mid: #8B2FC9;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Lato', sans-serif;
  color: var(--white);
  background: linear-gradient(135deg, #2D0B4E 0%, #4A0E6E 40%, #7B1A3A 100%);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Textura de ruido sutil ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* ── Marca de agua 333 ── */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(200px, 40vw, 500px);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  letter-spacing: -0.02em;
}

/* ── Layout principal ── */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  max-height: calc(100dvh - 56px);
}

/* ── Columna izquierda ── */
.col-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
  gap: 1rem;
}

.logo-wrap {
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.1s;
}

.logo-wrap img {
  width: clamp(100px, 12vw, 160px);
  height: auto;
  display: block;
}

.logo-placeholder {
  width: clamp(100px, 12vw, 160px);
  height: clamp(100px, 12vw, 160px);
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 0.5rem;
}

.course-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.2s;
}

.course-name span {
  color: #E040FB;
}

.tagline {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.35s;
}

.description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 480px;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.5s;
}

.verse {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: rgba(243, 229, 245, 0.75);
  border-left: 2px solid rgba(194, 24, 91, 0.6);
  padding-left: 1rem;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.65s;
}

/* ── Métricas de impacto ── */
.metrics {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.85rem 1.25rem;
  gap: 0;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.78s;
}

.metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.5rem;
}

.metric-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #E040FB;
  line-height: 1;
}

.metric-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── Columna derecha ── */
.col-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 4rem);
  gap: 1.5rem;
  position: relative;
}

/* Separador visual sutil */
.col-action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 320px;
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.8s;
}

.cta-label {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse 2.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(194, 24, 91, 0.5);
  white-space: nowrap;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(194, 24, 91, 0.55), 0 0 0 0 rgba(194, 24, 91, 0);
  animation: none;
}

/* ── Botón WhatsApp ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  text-align: center;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
  transform: scale(1.03);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* ── Decoración circular ── */
.glow-orb {
  position: fixed;
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,31,162,0.3) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-2 {
  position: fixed;
  width: clamp(150px, 25vw, 350px);
  height: clamp(150px, 25vw, 350px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,24,91,0.2) 0%, transparent 70%);
  top: -5%;
  left: 5%;
  pointer-events: none;
  z-index: 0;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 1s;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.footer-sep {
  color: rgba(255,255,255,0.25);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

/* ── Animaciones ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(194, 24, 91, 0.5); }
  50%  { box-shadow: 0 0 0 14px rgba(194, 24, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 24, 91, 0); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
  }

  main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-height: none;
    padding-bottom: 1rem;
  }

  .col-content {
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .logo-wrap img,
  .logo-placeholder {
    margin: 0 auto;
  }

  .description {
    max-width: 360px;
  }

  .verse {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid rgba(194, 24, 91, 0.5);
    padding-top: 0.75rem;
  }

  .metrics {
    padding: 0.65rem 0.75rem;
    width: 100%;
    max-width: 360px;
  }

  .metric-number {
    font-size: 1.4rem;
  }

  .metric-label {
    font-size: 0.65rem;
  }

  .col-action {
    padding: 1.5rem 1.5rem 2rem;
  }

  .col-action::before {
    display: none;
  }

  .cta-wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0 0.5rem;
  }

  footer {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.25rem;
  }
}
