/* ============================================
   Webinar Popup — EMBRACE Your Journey
   Gentle, warm, inviting — not salesy
   ============================================ */

/* Overlay */
.webinar-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 27, 105, 0.35);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.webinar-popup-overlay.active {
  opacity: 1;
}

/* Popup Container */
.webinar-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 9999;
  width: 90%;
  max-width: 480px;
  background: #FDF8F0;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(45, 27, 105, 0.25), 0 0 0 1px rgba(45, 27, 105, 0.05);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.webinar-popup.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Top accent bar */
.webinar-popup-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--purple-mid, #4A2C8A), var(--gold, #D4A847), var(--teal, #3AAFA9));
}

/* Inner content */
.webinar-popup-inner {
  padding: 2.2rem 2rem 1.8rem;
  text-align: center;
}

/* Logo */
.webinar-popup-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  box-shadow: 0 3px 12px rgba(45, 27, 105, 0.12);
}

/* Headline */
.webinar-popup-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #4A2C8A;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.webinar-popup-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: #2D1B69;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.webinar-popup-lotus {
  display: inline-block;
  margin-left: 0.2rem;
}

/* Body */
.webinar-popup-body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Date */
.webinar-popup-date {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2D1B69;
  background: rgba(232, 223, 245, 0.5);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* Bonus */
.webinar-popup-bonus {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #6B4FA0;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* CTA Button */
.webinar-popup-cta {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #D4A847, #e8c45a);
  color: #2D1B69;
  box-shadow: 0 3px 12px rgba(212, 168, 71, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.webinar-popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 71, 0.5);
  color: #2D1B69;
}

/* Tagline */
.webinar-popup-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #6B4FA0;
  margin-top: 1.2rem;
  margin-bottom: 0;
}

/* Maybe Later link */
.webinar-popup-dismiss {
  display: block;
  margin-top: 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8rem;
  color: #999;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.2s ease;
}

.webinar-popup-dismiss:hover {
  color: #666;
}

/* Close X button */
.webinar-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(45, 27, 105, 0.08);
  color: #999;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.webinar-popup-close:hover {
  background: rgba(45, 27, 105, 0.15);
  color: #555;
}

/* Responsive */
@media (max-width: 600px) {
  .webinar-popup {
    width: 94%;
    max-width: none;
  }

  .webinar-popup-inner {
    padding: 1.8rem 1.5rem 1.5rem;
  }

  .webinar-popup-title {
    font-size: 1.45rem;
  }

  .webinar-popup-body {
    font-size: 0.9rem;
  }
}
