/* ============================================
   PRICING PAGE - PROFESSIONAL & USER-FRIENDLY
   Enhanced design for better UX and professionalism
   ============================================ */

/* ============================================
   1. CARD STRUCTURE - PREMIUM DESIGN
   ============================================ */

.pricing-card-modern {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(226, 232, 240, 0.6) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  transition: all 0.4s 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;
}

/* Subtle top accent line */
.pricing-card-modern::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 50%, #10B981 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
  z-index: 1 !important;
}

.pricing-card-modern:hover::before {
  opacity: 1 !important;
}

/* Professional hover effect */
.pricing-card-modern:hover {
  transform: translateY(-8px) !important;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(37, 99, 235, 0.2) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

/* ============================================
   2. CARD BODY - ENHANCED SPACING
   ============================================ */

.pricing-card-body {
  padding: clamp(2.25rem, 4.5vw, 3rem) clamp(2rem, 4vw, 2.5rem) !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #FFFFFF !important;
  position: relative !important;
}

/* ============================================
   3. TYPOGRAPHY - PROFESSIONAL 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;
}

/* Label badge - subtle and professional */
.pricing-card-label {
  margin-bottom: 1.25rem !important;
  text-align: left !important;
}

.pricing-label-badge {
  display: inline-block !important;
  padding: 0.5rem 1rem !important;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
  color: #475569 !important;
  border-radius: 24px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-align: left !important;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
}

/* ============================================
   4. PRICE - PROMINENT DISPLAY
   ============================================ */

.pricing-card-price-inline {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.625rem !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  padding: 1rem 0 !important;
  border-bottom: 2px solid rgba(226, 232, 240, 0.6) !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;
}

.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. DESCRIPTION - READABLE TEXT
   ============================================ */

.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. FEATURES - ENHANCED STYLING
   ============================================ */

.pricing-card-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  margin-top: auto !important;
  margin-bottom: 2rem !important;
}

.pricing-feature-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.875rem !important;
  padding: 1rem 1.25rem !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.pricing-card-modern:hover .pricing-feature-item {
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
  transform: translateX(6px) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.pricing-feature-check {
  color: #10B981 !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.25)) !important;
  transition: transform 0.3s ease !important;
}

.pricing-card-modern:hover .pricing-feature-check {
  transform: scale(1.15) rotate(5deg) !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;
}

/* ============================================
   7. BUTTONS - PROFESSIONAL CTA
   ============================================ */

.pricing-actions {
  margin-top: auto !important;
  padding-top: 2rem !important;
  border-top: 2px solid rgba(226, 232, 240, 0.8) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.pricing-actions .btn-view-details,
.pricing-actions .btn-pay,
.pricing-actions a {
  width: 100% !important;
  text-align: center !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    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;
}

/* View Details Button - Outlined */
.pricing-actions .btn-view-details {
  background: #FFFFFF !important;
  color: #2563EB !important;
  border-color: #2563EB !important;
}

.pricing-actions .btn-view-details i {
  color: #2563EB !important;
}

.pricing-actions .btn-view-details:hover {
  background: #2563EB !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 
    0 4px 12px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.pricing-actions .btn-view-details:hover i {
  color: #FFFFFF !important;
}

/* Primary Button - Solid */
.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 4px 12px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !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(-2px) !important;
  box-shadow: 
    0 6px 16px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !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 4px 12px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.pricing-card-modern .btn-pay.lite-pay-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Link buttons */
.pricing-actions a {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

/* ============================================
   8. GRID LAYOUT - BETTER SPACING
   ============================================ */

.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
  gap: clamp(2rem, 4vw, 3rem) !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

/* ============================================
   9. MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .pricing-card-body {
    padding: 1.75rem 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: 0.875rem 1rem !important;
  }
  
  .pricing-actions {
    padding-top: 1.5rem !important;
    gap: 0.875rem !important;
  }
  
  .pricing-actions .btn-view-details,
  .pricing-actions .btn-pay,
  .pricing-actions a {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.9375rem !important;
  }
}

/* ============================================
   10. ACCESSIBILITY & UX
   ============================================ */

.pricing-card-modern:focus-within {
  outline: 3px solid rgba(37, 99, 235, 0.5) !important;
  outline-offset: 4px !important;
  border-radius: 24px !important;
}

.pricing-actions button:focus-visible,
.pricing-actions a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5) !important;
  outline-offset: 2px !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .pricing-card-modern,
  .pricing-feature-item,
  .pricing-feature-check,
  .pricing-actions button,
  .pricing-actions a {
    animation: none !important;
    transition: none !important;
  }
  
  .pricing-card-modern:hover {
    transform: none !important;
  }
  
  .pricing-card-modern:hover .pricing-feature-item {
    transform: none !important;
  }
}

/* ============================================
   11. 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;
}

