/* ============================================
   PRICING CARD HEADER - MATCH IMAGE DESIGN
   Clean blue gradient header with badges
   ============================================ */

/* ============================================
   1. HEADER - CLEAN BLUE GRADIENT
   ============================================ */

.pricing-card-header-modern {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 180px !important;
  max-height: 180px !important;
  overflow: hidden !important;
  border-radius: 20px 20px 0 0 !important;
}

/* Header with image - keep image visible */
.pricing-card-header-with-image {
  padding: 0 !important;
  background: transparent !important;
  min-height: 180px !important;
  max-height: 180px !important;
}

.pricing-card-header-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.4s ease !important;
  opacity: 0 !important;
  border-radius: 20px 20px 0 0 !important;
}

.pricing-card-header-image.loaded {
  opacity: 1 !important;
}

.pricing-card-modern:hover .pricing-card-header-image {
  transform: scale(1.05) !important;
}

/* Header without image - clean blue gradient */
.pricing-card-header-no-image {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  padding: 0 !important;
  min-height: 180px !important;
  max-height: 180px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  border-radius: 20px 20px 0 0 !important;
}

/* ============================================
   2. BADGES - TOP POSITIONING
   ============================================ */

.pricing-recommended-badge {
  position: absolute !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
  z-index: 10 !important;
}

/* Badge styling - match image design */
.pricing-plan-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.625rem 1.25rem !important;
  border-radius: 24px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: white !important;
  white-space: nowrap !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.3s ease !important;
}

.pricing-plan-badge:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* Blue badge for "MOST POPULAR" */
.pricing-badge-blue {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1E3A8A 100%) !important;
  color: white !important;
}

/* Purple badge for "ENTERPRISE" */
.pricing-badge-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%) !important;
  color: white !important;
}

/* ============================================
   3. HEADER OVERLAY - SUBTLE EFFECTS
   ============================================ */

/* Subtle shine effect on header */
.pricing-card-header-modern::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  border-radius: 20px 20px 0 0 !important;
}

/* Ensure badge is above overlay */
.pricing-recommended-badge {
  z-index: 15 !important;
}

/* ============================================
   4. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .pricing-card-header-modern {
    min-height: 160px !important;
    max-height: 160px !important;
  }
  
  .pricing-card-header-with-image,
  .pricing-card-header-no-image {
    min-height: 160px !important;
    max-height: 160px !important;
  }
  
  .pricing-card-header-image {
    min-height: 160px !important;
    max-height: 160px !important;
  }
  
  .pricing-recommended-badge {
    top: 1rem !important;
    right: 1rem !important;
  }
  
  .pricing-plan-badge {
    font-size: 0.6875rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* ============================================
   5. ENSURE CLEAN DESIGN
   ============================================ */

/* Remove any decorative patterns */
.pricing-card-header-modern::after {
  display: none !important;
}

.pricing-card-header-with-image::after {
  display: none !important;
}

