/* ============================================
   PRICING BADGES - PROFESSIONAL REDESIGN
   "MOST POPULAR" and "ENTERPRISE" badges
   ============================================ */

/* ============================================
   1. BASE BADGE STYLES
   ============================================ */

.pricing-plan-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.375rem, 0.6vw, 0.5rem) !important;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  padding: clamp(0.5rem, 0.9vw, 0.625rem) clamp(1rem, 1.8vw, 1.25rem) !important;
  border-radius: 20px !important;
  font-size: clamp(0.6875rem, 1vw, 0.75rem) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: clamp(0.75rem, 1.4vw, 1rem) !important;
  width: fit-content !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 
    0 2px 8px rgba(37, 99, 235, 0.25),
    0 1px 3px rgba(37, 99, 235, 0.15) !important;
  border: none !important;
  line-height: 1.2 !important;
  transition: all 0.3s ease !important;
}

/* ============================================
   2. SHIMMER EFFECT
   ============================================ */

.pricing-plan-badge::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.6s ease !important;
  z-index: 1 !important;
}

.pricing-card:hover .pricing-plan-badge::before {
  left: 100% !important;
}

/* Ensure text is above shimmer */
.pricing-plan-badge {
  z-index: 2 !important;
}

.pricing-plan-badge * {
  position: relative !important;
  z-index: 3 !important;
}

/* ============================================
   3. HOVER EFFECT
   ============================================ */

.pricing-card:hover .pricing-plan-badge {
  transform: translateY(-2px) !important;
  box-shadow: 
    0 4px 12px rgba(37, 99, 235, 0.35),
    0 2px 6px rgba(37, 99, 235, 0.2) !important;
}

/* ============================================
   4. LITE/RECOMMENDED BADGE (Green)
   ============================================ */

.pricing-plan-badge.lite-badge {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 
    0 2px 8px rgba(16, 185, 129, 0.3),
    0 1px 3px rgba(16, 185, 129, 0.2) !important;
}

.pricing-card:hover .pricing-plan-badge.lite-badge {
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 2px 6px rgba(16, 185, 129, 0.25) !important;
}

.pricing-plan-badge.lite-badge::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
}

/* ============================================
   5. ENTERPRISE BADGE (Can have different style)
   ============================================ */

.pricing-card[data-plan-id="enterprise"] .pricing-plan-badge,
.pricing-card[data-plan-id*="enterprise"] .pricing-plan-badge {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  box-shadow: 
    0 2px 8px rgba(99, 102, 241, 0.3),
    0 1px 3px rgba(99, 102, 241, 0.2) !important;
}

.pricing-card[data-plan-id="enterprise"]:hover .pricing-plan-badge,
.pricing-card[data-plan-id*="enterprise"]:hover .pricing-plan-badge {
  box-shadow: 
    0 4px 12px rgba(99, 102, 241, 0.4),
    0 2px 6px rgba(99, 102, 241, 0.25) !important;
}

/* ============================================
   6. BADGE TEXT STYLING
   ============================================ */

.pricing-plan-badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   7. MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
  .pricing-plan-badge {
    padding: 0.5rem 1rem !important;
    font-size: 0.6875rem !important;
    margin-bottom: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .pricing-plan-badge {
    padding: 0.4375rem 0.875rem !important;
    font-size: 0.625rem !important;
    letter-spacing: 0.06em !important;
  }
}

/* ============================================
   8. ACCESSIBILITY
   ============================================ */

.pricing-plan-badge {
  /* Ensure sufficient contrast */
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   9. ANIMATION ON CARD LOAD
   ============================================ */

@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-plan-badge {
  animation: badgeFadeIn 0.5s ease-out !important;
}

