/* ===== LEAD MAGNET VIP — POPUP EXIT-INTENT ===== */

#lm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lm-overlay.lm-visible {
  opacity: 1;
  pointer-events: all;
}

#lm-card {
  position: relative;
  background: linear-gradient(135deg, #0d0f1e 0%, #111428 100%);
  border: 1px solid rgba(198, 167, 94, 0.22);
  border-radius: 14px;
  padding: 32px 28px 28px;
  max-width: 420px;
  width: 100%;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(198, 167, 94, 0.08);
}

#lm-overlay.lm-visible #lm-card {
  transform: translateY(0);
}

#lm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
  font-family: inherit;
}

#lm-close:hover {
  color: rgba(255, 255, 255, 0.5);
}

.lm-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C6A75E;
  margin: 0 0 14px 0;
}

.lm-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #E5E7EB;
  margin: 0 0 12px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lm-desc {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.65;
  margin: 0 0 22px 0;
}

.lm-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #C6A75E, #F3D98E, #C6A75E);
  color: #070812;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 14px;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
}

.lm-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lm-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 11px 14px;
  color: #E5E7EB;
  font-size: 0.88rem;
  font-family: inherit;
  margin-bottom: 10px;
  transition: border-color 0.2s;
  outline: none;
}

.lm-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
}

.lm-input::placeholder {
  color: #6B7280;
}

.lm-dismiss {
  text-align: center;
  font-size: 0.75rem;
  color: #4B5563;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.lm-dismiss:hover {
  color: #6B7280;
}

.lm-confirm {
  text-align: center;
  font-size: 0.88rem;
  color: #a78bfa;
  padding: 8px 0;
  margin: 0;
}

.lm-error {
  font-size: 0.8rem;
  color: #e05050;
  margin: -6px 0 8px 0;
  display: none;
}
