/* ============================================
   PRICING PAGE - ULTIMATE ENHANCEMENT
   Professional design improvements for better UX
   ============================================ */

/* ============================================
   1. ENHANCED CARD DESIGN - PREMIUM LOOK
   ============================================ */

.pricing-card-modern {
  background: linear-gradient(to bottom, #FFFFFF 0%, #FAFBFC 100%) !important;
  border-radius: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(226, 232, 240, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  cursor: default !important;
  backdrop-filter: blur(10px) !important;
}

/* Subtle gradient overlay on hover */
.pricing-card-modern::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.pricing-card-modern:hover::after {
  opacity: 1 !important;
}

/* Enhanced top accent line */
.pricing-card-modern::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 5px !important;
  background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 50%, #10B981 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  z-index: 2 !important;
  border-radius: 28px 28px 0 0 !important;
}

.pricing-card-modern:hover::before {
  opacity: 1 !important;
}

/* Premium hover effect */
.pricing-card-modern:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.16),
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: rgba(37, 99, 235, 0.4) !important;
}

/* Recommended card - enhanced green border */
.pricing-card-recommended {
  border: 3px solid #10B981 !important;
  box-shadow: 
    0 12px 40px rgba(16, 185, 129, 0.2),
    0 6px 20px rgba(16, 185, 129, 0.15),
    0 0 0 1px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  background: linear-gradient(to bottom, #FFFFFF 0%, #F0FDF4 100%) !important;
}

.pricing-card-recommended::before {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%) !important;
  opacity: 1 !important;
}

.pricing-card-recommended:hover {
  border-color: #059669 !important;
  box-shadow: 
    0 28px 72px rgba(16, 185, 129, 0.25),
    0 14px 36px rgba(16, 185, 129, 0.2),
    0 0 0 1px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* ============================================
   2. ENHANCED CARD BODY - BETTER SPACING
   ============================================ */

.pricing-card-body {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem) !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================
   3. ENHANCED TYPOGRAPHY - BETTER HIERARCHY
   ============================================ */

.pricing-card-title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  letter-spacing: -0.02em !important;
}

/* Enhanced label badge */
.pricing-card-label {
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

.pricing-label-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1.25rem !important;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
  color: #475569 !important;
  border-radius: 30px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-align: left !important;
  box-shadow: 
    0 3px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
  position: relative !important;
  overflow: hidden !important;
}

.pricing-label-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.4), transparent) !important;
  transition: left 0.5s ease !important;
}

.pricing-card-modern:hover .pricing-label-badge::before {
  left: 100% !important;
}

/* ============================================
   4. ENHANCED PRICE DISPLAY - MORE PROMINENT
   ============================================ */

.pricing-card-price-inline {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.75rem !important;
  margin-bottom: 1.75rem !important;
  text-align: left !important;
  padding: 1.5rem 0 !important;
  border-bottom: 3px solid rgba(226, 232, 240, 0.6) !important;
  position: relative !important;
}

.pricing-card-price-inline::after {
  content: '' !important;
  position: absolute !important;
  bottom: -3px !important;
  left: 0 !important;
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 100%) !important;
  border-radius: 0 0 3px 3px !important;
  transition: width 0.5s ease !important;
}

.pricing-card-modern:hover .pricing-card-price-inline::after {
  width: 100% !important;
}

.pricing-amount-inline {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem) !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  background: linear-gradient(135deg, #0F172A 0%, #475569 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative !important;
}

.pricing-currency-inline {
  font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
  font-weight: 600 !important;
  color: #64748B !important;
  letter-spacing: 0.02em !important;
  padding-bottom: 0.25rem !important;
}

/* ============================================
   5. ENHANCED DESCRIPTION
   ============================================ */

.pricing-card-subtitle {
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem) !important;
  color: #475569 !important;
  margin: 0 0 2rem 0 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  font-weight: 400 !important;
}

/* ============================================
   6. ENHANCED FEATURES - PREMIUM STYLING
   ============================================ */

.pricing-card-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.125rem !important;
  margin-top: auto !important;
  margin-bottom: 2.5rem !important;
}

.pricing-feature-item {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.125rem 1.5rem !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border-radius: 14px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 
    0 3px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  position: relative !important;
  overflow: hidden !important;
}

.pricing-feature-item::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #10B981 0%, #059669 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}

.pricing-card-modern:hover .pricing-feature-item::before {
  opacity: 1 !important;
}

.pricing-card-modern:hover .pricing-feature-item {
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
  transform: translateX(8px) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.pricing-feature-check {
  color: #10B981 !important;
  font-size: 1.375rem !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.3)) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  z-index: 1 !important;
}

.pricing-card-modern:hover .pricing-feature-check {
  transform: scale(1.2) rotate(10deg) !important;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.5)) !important;
}

.pricing-feature-text {
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem) !important;
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.01em !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================
   7. ENHANCED BUTTONS - PREMIUM DESIGN
   ============================================ */

.pricing-actions {
  margin-top: auto !important;
  padding-top: 2.5rem !important;
  border-top: 2px solid rgba(226, 232, 240, 0.8) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.125rem !important;
  position: relative !important;
}

.pricing-actions::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 100%) !important;
  transition: width 0.5s ease !important;
}

.pricing-card-modern:hover .pricing-actions::before {
  width: 100% !important;
}

.pricing-actions .btn-view-details,
.pricing-actions .btn-pay,
.pricing-actions a {
  width: 100% !important;
  text-align: center !important;
  padding: 1.125rem 1.75rem !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 1.0625rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  font-family: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', 'Plus Jakarta Sans', sans-serif !important;
  position: relative !important;
  overflow: hidden !important;
}

.pricing-actions .btn-view-details::before,
.pricing-actions .btn-pay::before,
.pricing-actions a::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translate(-50%, -50%) !important;
  transition: width 0.6s ease, height 0.6s ease !important;
}

.pricing-actions .btn-view-details:hover::before,
.pricing-actions .btn-pay:hover::before,
.pricing-actions a:hover::before {
  width: 300px !important;
  height: 300px !important;
}

/* View Details Button - Enhanced */
.pricing-actions .btn-view-details {
  background: #FFFFFF !important;
  color: #2563EB !important;
  border-color: #2563EB !important;
  position: relative !important;
  z-index: 1 !important;
}

.pricing-actions .btn-view-details:hover {
  background: #2563EB !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) !important;
  box-shadow: 
    0 8px 20px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  border-color: #2563EB !important;
}

.pricing-actions .btn-view-details:hover i {
  color: #FFFFFF !important;
  transform: translateX(4px) !important;
}

/* Primary Button - Enhanced */
.pricing-actions .btn-pay,
.pricing-actions .btn-pay.lite-pay-btn {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
  box-shadow: 
    0 6px 16px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  position: relative !important;
  z-index: 1 !important;
}

.pricing-actions .btn-pay:hover,
.pricing-actions .btn-pay.lite-pay-btn:hover {
  background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 
    0 10px 24px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Green button for recommended plan */
.pricing-card-modern .btn-pay.lite-pay-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border-color: #10B981 !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.pricing-card-modern .btn-pay.lite-pay-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 
    0 10px 24px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.pricing-actions .btn-view-details i,
.pricing-actions .btn-pay i,
.pricing-actions a i {
  transition: transform 0.3s ease !important;
  margin-right: 0.5rem !important;
}

/* ============================================
   8. ENHANCED GRID LAYOUT
   ============================================ */

.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)) !important;
  gap: clamp(2.5rem, 5vw, 3.5rem) !important;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 1600px !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

/* ============================================
   9. ENHANCED HERO SECTION
   ============================================ */

.pricing-hero-new {
  background: linear-gradient(180deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.pricing-hero-new::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%) !important;
  pointer-events: none !important;
}

.pricing-hero-badge {
  backdrop-filter: blur(20px) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.pricing-hero-cta-new {
  backdrop-filter: blur(20px) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* ============================================
   10. MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
  .pricing-card-body {
    padding: 2rem 1.5rem !important;
  }
  
  .pricing-card-title {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  }
  
  .pricing-amount-inline {
    font-size: clamp(1.25rem, 2.2vw, 1.625rem) !important;
  }
  
  .pricing-feature-item {
    padding: 1rem 1.25rem !important;
  }
  
  .pricing-actions {
    padding-top: 2rem !important;
    gap: 1rem !important;
  }
  
  .pricing-actions .btn-view-details,
  .pricing-actions .btn-pay,
  .pricing-actions a {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .pricing-grid {
    gap: 2rem !important;
    padding: 2rem 0 !important;
  }
}

/* ============================================
   11. ACCESSIBILITY & SMOOTH ANIMATIONS
   ============================================ */

.pricing-card-modern:focus-within {
  outline: 4px solid rgba(37, 99, 235, 0.5) !important;
  outline-offset: 6px !important;
  border-radius: 28px !important;
}

.pricing-actions button:focus-visible,
.pricing-actions a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5) !important;
  outline-offset: 3px !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .pricing-card-modern,
  .pricing-feature-item,
  .pricing-feature-check,
  .pricing-actions button,
  .pricing-actions a,
  .pricing-label-badge::before,
  .pricing-card-price-inline::after,
  .pricing-actions::before {
    animation: none !important;
    transition: none !important;
  }
  
  .pricing-card-modern:hover {
    transform: none !important;
  }
  
  .pricing-card-modern:hover .pricing-feature-item {
    transform: none !important;
  }
  
  .pricing-card-modern:hover .pricing-feature-check {
    transform: none !important;
  }
}

/* ============================================
   12. LAO LANGUAGE SUPPORT
   ============================================ */

.lang-lao .pricing-card-title,
.lang-lao .pricing-card-subtitle,
.lang-lao .pricing-feature-text,
.lang-lao .pricing-actions button,
.lang-lao .pricing-actions a {
  font-family: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', sans-serif !important;
}

