/* ============================================
   PRICING HERO - TEXT & COLOR ENHANCEMENTS
   Improved readability, contrast, and visual appeal
   ============================================ */

/* ============================================
   1. HERO SECTION - ENHANCED BACKGROUND
   ============================================ */

.pricing-hero-new {
  background: linear-gradient(180deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Add subtle overlay for better text contrast */
.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 30% 40%, rgba(0, 0, 0, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.1) 0%, transparent 60%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* ============================================
   2. HERO CONTENT - ENHANCED CONTRAST
   ============================================ */

.pricing-hero-content-new {
  position: relative !important;
  z-index: 2 !important;
  color: #FFFFFF !important;
}

/* ============================================
   3. BADGE - ENHANCED TEXT & COLORS
   ============================================ */

.pricing-hero-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.pricing-hero-badge span {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 0.02em !important;
}

.pricing-hero-badge i {
  color: #FFFFFF !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   4. MAIN TITLE - ENHANCED READABILITY
   ============================================ */

.pricing-hero-title-new {
  color: #FFFFFF !important;
  text-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.3),
    0 1px 6px rgba(0, 0, 0, 0.25) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  position: relative !important;
}

/* Enhanced gradient text for emphasis */
.pricing-hero-title-new .pricing-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 50%, #C7D2FE 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) !important;
  position: relative !important;
}

/* Add glow effect to gradient text */
.pricing-hero-title-new .pricing-gradient-text::after {
  content: attr(data-text) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 50%, #C7D2FE 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: blur(8px) opacity(0.5) !important;
  z-index: -1 !important;
}

/* ============================================
   5. SUBTITLE - ENHANCED READABILITY
   ============================================ */

.pricing-hero-subtitle-new {
  color: #FFFFFF !important;
  text-shadow: 
    0 3px 16px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 1px 4px rgba(0, 0, 0, 0.2) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: 0.01em !important;
  opacity: 0.98 !important;
  position: relative !important;
}

/* Add subtle background for better readability */
.pricing-hero-subtitle-new::before {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;
  left: -20px !important;
  right: -20px !important;
  bottom: -10px !important;
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  z-index: -1 !important;
  opacity: 0.6 !important;
}

/* ============================================
   6. CTA BUTTON - ENHANCED COLORS & TEXT
   ============================================ */

.pricing-hero-cta-new {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 2.5px solid rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 5px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.2) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.pricing-hero-cta-new span {
  color: #FFFFFF !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.2) !important;
  font-weight: 700 !important;
}

.pricing-hero-cta-new i {
  color: #FFFFFF !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.pricing-hero-cta-new:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 
    0 14px 48px rgba(0, 0, 0, 0.35),
    0 7px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  text-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   7. LAO TEXT - ENHANCED READABILITY
   ============================================ */

.lang-lao .pricing-hero-title-new,
.lang-lao .pricing-hero-subtitle-new,
.lang-lao .pricing-hero-badge,
.lang-lao .pricing-hero-cta-new {
  font-family: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', sans-serif !important;
  font-weight: 700 !important;
}

.lang-lao .pricing-hero-title-new {
  text-shadow: 
    0 5px 28px rgba(0, 0, 0, 0.45),
    0 3px 14px rgba(0, 0, 0, 0.35),
    0 1px 7px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: 0.01em !important;
}

.lang-lao .pricing-hero-subtitle-new {
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 1px 5px rgba(0, 0, 0, 0.25) !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}

/* ============================================
   8. ENHANCED CONTRAST FOR ALL TEXT
   ============================================ */

.pricing-hero-content-new * {
  color: #FFFFFF !important;
}

.pricing-hero-content-new p,
.pricing-hero-content-new span,
.pricing-hero-content-new h1,
.pricing-hero-content-new h2,
.pricing-hero-content-new h3 {
  color: #FFFFFF !important;
}

/* ============================================
   9. MOBILE RESPONSIVE TEXT ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
  .pricing-hero-title-new {
    text-shadow: 
      0 3px 20px rgba(0, 0, 0, 0.45),
      0 2px 10px rgba(0, 0, 0, 0.35),
      0 1px 5px rgba(0, 0, 0, 0.3) !important;
  }
  
  .pricing-hero-subtitle-new {
    text-shadow: 
      0 3px 14px rgba(0, 0, 0, 0.4),
      0 2px 7px rgba(0, 0, 0, 0.3),
      0 1px 4px rgba(0, 0, 0, 0.25) !important;
  }
  
  .pricing-hero-badge,
  .pricing-hero-cta-new {
    text-shadow: 
      0 2px 6px rgba(0, 0, 0, 0.35),
      0 1px 3px rgba(0, 0, 0, 0.25) !important;
  }
}

/* ============================================
   10. ACCESSIBILITY - HIGH CONTRAST MODE
   ============================================ */

@media (prefers-contrast: high) {
  .pricing-hero-title-new,
  .pricing-hero-subtitle-new,
  .pricing-hero-badge,
  .pricing-hero-cta-new {
    text-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.6),
      0 2px 10px rgba(0, 0, 0, 0.5) !important;
  }
  
  .pricing-hero-badge,
  .pricing-hero-cta-new {
    border-width: 3px !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
  }
}

/* ============================================
   11. DARK MODE SUPPORT (if needed)
   ============================================ */

@media (prefers-color-scheme: dark) {
  .pricing-hero-new {
    background: linear-gradient(180deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%) !important;
  }
  
  .pricing-hero-title-new,
  .pricing-hero-subtitle-new {
    color: #FFFFFF !important;
  }
}

