/* ============================================================ */
/* Upsell Modal (Premium Comparison) */
/* ============================================================ */
.upsell-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in;
  padding: 20px;
}

.upsell-modal.active {
  display: flex;
}

.upsell-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 400px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  animation: slideUpModal 0.4s ease-out;
}

.upsell-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.upsell-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.upsell-modal-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.upsell-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upsell-btn-unlock {
  background: linear-gradient(135deg, var(--toxic-green) 0%, #00cc77 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.upsell-btn-unlock:hover {
  background: linear-gradient(135deg, #00ffaa 0%, #00dd88 100%);
  transform: translateY(-1px);
}

.upsell-btn-skip {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.upsell-btn-skip:hover {
  color: var(--text);
}

.upsell-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.upsell-close:hover {
  background: var(--surface);
  color: var(--text);
}

/* Button Pulse Animation (for upsell CTA) */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px var(--glow-orange);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 40px var(--glow-orange);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px var(--glow-orange);
  }
}

.pulse {
  animation: pulse 1s ease-in-out;
}
