/* ==========================================================================
   🏆 BESALENTA PREMIUM LANDING PAGE - ADVANCED CSS ARCHITECTURE
   Advanced Conversion-Optimized Design System with Psychology Triggers
   ========================================================================== */

/* Advanced CSS Variables - Premium Color Psychology System */
:root {
  /* Primary Brand Colors - Trust & Success */
  --primary-emerald: #059669;    /* Trust, Health, Nature */
  --primary-teal: #0d9488;       /* Reliability, Calmness */
  --primary-forest: #065f46;     /* Premium, Luxury */
  --primary-sage: #047857;       /* Natural, Organic */
  
  /* Conversion Action Colors - Urgency & Desire */
  --action-orange: #f59e0b;      /* Urgency, Action */
  --action-amber: #d97706;       /* Desire, Premium */
  --action-yellow: #fbbf24;      /* Attention, Warning */
  --action-gold: #b45309;        /* Luxury, Exclusivity */
  
  /* Emotional Trigger Colors */
  --success-green: #10b981;      /* Achievement, Success */
  --trust-blue: #3b82f6;        /* Trust, Reliability */
  --urgency-red: #dc2626;       /* Urgency, Scarcity */
  --premium-purple: #8b5cf6;    /* Premium, Exclusivity */
  
  /* Neutral Base Colors */
  --text-primary: #111827;       /* High contrast readability */
  --text-secondary: #374151;     /* Supporting text */
  --text-tertiary: #6b7280;     /* Subtle information */
  --bg-primary: #ffffff;        /* Clean, professional */
  --bg-secondary: #f9fafb;      /* Subtle section breaks */
  --bg-cream: #fefdf8;          /* Warm, inviting */
  
  /* Advanced Gradients for Visual Hierarchy */
  --gradient-hero: linear-gradient(135deg, #065f46 0%, #047857 25%, #059669 50%, #10b981 100%);
  --gradient-cta: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  --gradient-urgency: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
  --gradient-premium: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
  
  /* Advanced Shadow System - Depth & Hierarchy */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.05), 0 1px 3px 0 rgba(59, 130, 246, 0.45);
  --shadow-glow-orange: 0 0 40px rgba(245, 158, 11, 0.4);
  --shadow-glow-green: 0 0 40px rgba(16, 185, 129, 0.3);
  
  /* Advanced Typography Scale */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */
  --font-size-7xl: 4.5rem;      /* 72px */
  --font-size-8xl: 6rem;        /* 96px */
  --font-size-9xl: 8rem;        /* 128px */
  
  /* Advanced Spacing Scale */
  --spacing-px: 1px;
  --spacing-0: 0px;
  --spacing-1: 0.25rem;         /* 4px */
  --spacing-2: 0.5rem;          /* 8px */
  --spacing-3: 0.75rem;         /* 12px */
  --spacing-4: 1rem;            /* 16px */
  --spacing-5: 1.25rem;         /* 20px */
  --spacing-6: 1.5rem;          /* 24px */
  --spacing-8: 2rem;            /* 32px */
  --spacing-10: 2.5rem;         /* 40px */
  --spacing-12: 3rem;           /* 48px */
  --spacing-16: 4rem;           /* 64px */
  --spacing-20: 5rem;           /* 80px */
  --spacing-24: 6rem;           /* 96px */
  --spacing-32: 8rem;           /* 128px */
  
  /* Advanced Border Radius System */
  --radius-none: 0px;
  --radius-sm: 0.125rem;        /* 2px */
  --radius-base: 0.25rem;       /* 4px */
  --radius-md: 0.375rem;        /* 6px */
  --radius-lg: 0.5rem;          /* 8px */
  --radius-xl: 0.75rem;         /* 12px */
  --radius-2xl: 1rem;           /* 16px */
  --radius-3xl: 1.5rem;         /* 24px */
  --radius-full: 9999px;
  
  /* Advanced Animation Timing */
  --duration-75: 75ms;
  --duration-100: 100ms;
  --duration-150: 150ms;
  --duration-200: 200ms;
  --duration-300: 300ms;
  --duration-500: 500ms;
  --duration-700: 700ms;
  --duration-1000: 1000ms;
  
  /* Advanced Easing Functions */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   🎨 ADVANCED TYPOGRAPHY SYSTEM
   ========================================================================== */

/* Premium Arabic Font Loading with Fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* Typography Base System */
.font-cairo { font-family: 'Cairo', 'Segoe UI', 'Tahoma', sans-serif; }
.font-tajawal { font-family: 'Tajawal', 'Segoe UI', 'Tahoma', sans-serif; }

/* Advanced Heading System with Emotional Impact */
.heading-hero {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: 'Cairo', sans-serif;
}

.heading-section {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-family: 'Cairo', sans-serif;
}

.heading-card {
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Cairo', sans-serif;
}

.text-body-large {
  font-size: var(--font-size-xl);
  line-height: 1.7;
  font-weight: 400;
}

.text-body {
  font-size: var(--font-size-base);
  line-height: 1.6;
  font-weight: 400;
}

.text-caption {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  font-weight: 500;
}

/* ==========================================================================
   🌈 ADVANCED ANIMATION SYSTEM
   ========================================================================== */

/* Sophisticated Entrance Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Advanced Attention-Grabbing Animations */
@keyframes pulse-premium {
  0%, 100% {
    box-shadow: var(--shadow-glow-orange);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.8);
    transform: scale(1.05);
  }
}

@keyframes glow-cycle {
  0%, 100% {
    box-shadow: var(--shadow-glow-orange);
  }
  33% {
    box-shadow: var(--shadow-glow-green);
  }
  66% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
  }
}

@keyframes shake-attention {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes countdown-urgent {
  0%, 100% {
    background: var(--gradient-cta);
    box-shadow: var(--shadow-glow-orange);
    transform: scale(1);
  }
  50% {
    background: var(--gradient-urgency);
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.7);
    transform: scale(1.02);
  }
}

/* Advanced Hover Animations */
@keyframes hover-lift {
  from {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-md);
  }
  to {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
  }
}

@keyframes shine-effect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   🎯 ADVANCED COMPONENT SYSTEM
   ========================================================================== */

/* Premium Glass Morphism System */
.glass-premium {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-300) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.glass-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.glass-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* Advanced CTA Button System */
.cta-premium {
  background: var(--gradient-cta);
  color: white;
  padding: var(--spacing-5) var(--spacing-10);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: var(--font-size-xl);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  transition: all var(--duration-300) var(--ease-out);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  min-width: 280px;
  text-align: center;
}

.cta-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left var(--duration-700) var(--ease-out);
}

.cta-premium:hover::before {
  left: 100%;
}

.cta-premium:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.cta-premium:active {
  transform: translateY(-2px) scale(0.98);
}

.cta-urgent {
  animation: pulse-premium 2s infinite;
}

.cta-secondary {
  background: var(--gradient-premium);
  min-width: 240px;
}

.cta-outline {
  background: transparent;
  border: 2px solid var(--action-orange);
  color: var(--action-orange);
}

.cta-outline:hover {
  background: var(--action-orange);
  color: white;
}

/* Advanced Card System */
.card-premium {
  background: var(--bg-primary);
  border-radius: var(--radius-3xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--duration-300) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
}

.card-premium:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
}

.card-testimonial {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
}

.card-feature {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
}

.card-pricing {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border: 2px solid #dc2626;
  position: relative;
}

.card-pricing::after {
  content: 'الأكثر طلباً';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-urgency);
  color: white;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

/* Advanced Badge System */
.badge-trust {
  background: var(--gradient-success);
  color: white;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  box-shadow: var(--shadow-md);
}

.badge-urgent {
  background: var(--gradient-urgency);
  animation: pulse-premium 1.5s infinite;
}

.badge-premium {
  background: var(--gradient-premium);
}

.badge-success {
  background: var(--gradient-success);
}

/* Advanced Progress System */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-success);
  transition: width var(--duration-1000) var(--ease-out);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine-effect 2s infinite;
}

/* Advanced Countdown System */
.countdown-premium {
  background: var(--gradient-cta);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-6);
  color: white;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: countdown-urgent 3s infinite;
  position: relative;
  overflow: hidden;
}

.countdown-premium::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-urgency);
  border-radius: var(--radius-2xl);
  z-index: -1;
  animation: glow-cycle 4s infinite;
}

.countdown-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  font-weight: 600;
}

/* ==========================================================================
   📱 ADVANCED RESPONSIVE SYSTEM
   ========================================================================== */

/* Mobile-First Responsive Breakpoints */
@media (max-width: 640px) {
  :root {
    --font-size-hero: 2rem;
    --font-size-section: 1.5rem;
    --spacing-section: var(--spacing-12);
  }
  
  .cta-premium {
    min-width: 100%;
    padding: var(--spacing-4) var(--spacing-6);
    font-size: var(--font-size-lg);
  }
  
  .glass-premium {
    padding: var(--spacing-4);
  }
  
  .card-premium {
    padding: var(--spacing-6);
  }
  
  .heading-hero {
    font-size: var(--font-size-hero);
  }
  
  .countdown-number {
    font-size: var(--font-size-3xl);
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .cta-premium {
    min-width: 320px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cta-premium {
    min-width: 360px;
  }
}

@media (min-width: 1025px) {
  .heading-hero {
    font-size: var(--font-size-7xl);
  }
  
  .countdown-number {
    font-size: var(--font-size-5xl);
  }
}

/* ==========================================================================
   🎬 ADVANCED INTERACTION STATES
   ========================================================================== */

/* Focus States for Accessibility */
.cta-premium:focus,
.card-premium:focus {
  outline: 3px solid var(--action-orange);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine-effect 1.5s infinite;
}

/* Success States */
.success-animation {
  animation: bounceIn var(--duration-700) var(--ease-bounce);
}

/* Error States */
.error-shake {
  animation: shake-attention var(--duration-500) var(--ease-out);
}

/* ==========================================================================
   🌟 ADVANCED UTILITY CLASSES
   ========================================================================== */

/* Animation Utility Classes */
.animate-slide-up { animation: slideInUp var(--duration-700) var(--ease-out); }
.animate-slide-right { animation: slideInRight var(--duration-700) var(--ease-out); }
.animate-fade-scale { animation: fadeInScale var(--duration-500) var(--ease-out); }
.animate-bounce-in { animation: bounceIn var(--duration-700) var(--ease-bounce); }
.animate-float { animation: float-gentle 6s var(--ease-in-out) infinite; }
.animate-rotate { animation: rotate-slow 20s linear infinite; }
.animate-pulse-premium { animation: pulse-premium 2s infinite; }
.animate-glow { animation: glow-cycle 3s infinite; }

/* Delay Classes for Staggered Animations */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }
.delay-700 { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }

/* Hover Effect Classes */
.hover-lift:hover { animation: hover-lift var(--duration-300) var(--ease-out) forwards; }
.hover-glow:hover { box-shadow: var(--shadow-glow-orange); }
.hover-scale:hover { transform: scale(1.05); }

/* Text Effects */
.text-gradient-gold {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-success {
  background: var(--gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-premium {
  background: var(--gradient-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shadow Utilities */
.shadow-premium { box-shadow: var(--shadow-2xl); }
.shadow-glow-orange { box-shadow: var(--shadow-glow-orange); }
.shadow-glow-green { box-shadow: var(--shadow-glow-green); }

/* Border Utilities */
.border-gradient-gold {
  border: 2px solid;
  border-image: var(--gradient-cta) 1;
  border-radius: var(--radius-xl);
}

/* Background Utilities */
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-cta { background: var(--gradient-cta); }
.bg-gradient-success { background: var(--gradient-success); }
.bg-gradient-premium { background: var(--gradient-premium); }
.bg-gradient-urgency { background: var(--gradient-urgency); }

/* Positioning Utilities */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.fixed-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: var(--spacing-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   🔥 ADVANCED PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

/* GPU Acceleration for Smooth Animations */
.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
  }
  
  .glass-premium {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ==========================================================================
   📊 ADVANCED CONVERSION OPTIMIZATION STYLES
   ========================================================================== */

/* Scarcity Indicators */
.scarcity-indicator {
  background: var(--gradient-urgency);
  color: white;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  animation: pulse-premium 2s infinite;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* Social Proof Elements */
.social-proof-badge {
  background: var(--gradient-success);
  color: white;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  box-shadow: var(--shadow-md);
}

/* Trust Signals */
.trust-badge {
  background: white;
  border: 2px solid var(--success-green);
  border-radius: var(--radius-xl);
  padding: var(--spacing-4);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-300) var(--ease-out);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Urgency Elements */
.urgency-banner {
  background: var(--gradient-urgency);
  color: white;
  text-align: center;
  padding: var(--spacing-4);
  font-weight: 700;
  animation: pulse-premium 2s infinite;
  position: relative;
  overflow: hidden;
}

.urgency-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine-effect 3s infinite;
}

/* Price Comparison */
.price-comparison {
  position: relative;
  text-align: center;
}

.price-old {
  font-size: var(--font-size-xl);
  color: var(--text-tertiary);
  text-decoration: line-through;
  position: relative;
}

.price-current {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--action-orange);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.price-savings {
  background: var(--gradient-urgency);
  color: white;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  display: inline-block;
  margin-top: var(--spacing-2);
  animation: pulse-premium 2s infinite;
}

/* Testimonial Styling */
.testimonial-card {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-300) var(--ease-out);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.testimonial-quote {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-6);
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: var(--font-size-6xl);
  color: var(--action-orange);
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: serif;
  opacity: 0.3;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: var(--spacing-1);
  justify-content: center;
  margin: var(--spacing-4) 0;
}

.star {
  font-size: var(--font-size-xl);
  color: #fbbf24;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Weight Loss Indicator */
.weight-loss-badge {
  background: var(--gradient-urgency);
  color: white;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: var(--font-size-lg);
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  box-shadow: var(--shadow-lg);
  animation: pulse-premium 2s infinite;
}

/* ==========================================================================
   🎯 ADVANCED CONVERSION FUNNELS
   ========================================================================== */

/* Multi-Step Form Styling */
.form-step {
  opacity: 0;
  transform: translateX(100px);
  transition: all var(--duration-500) var(--ease-out);
}

.form-step.active {
  opacity: 1;
  transform: translateX(0);
}

.form-progress {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--spacing-8);
}

.form-progress-bar {
  height: 100%;
  background: var(--gradient-success);
  transition: width var(--duration-700) var(--ease-out);
  position: relative;
}

/* Advanced Form Inputs */
.input-premium {
  width: 100%;
  padding: var(--spacing-4) var(--spacing-6);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-lg);
  font-family: 'Cairo', sans-serif;
  background: white;
  transition: all var(--duration-300) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.input-premium:focus {
  border-color: var(--action-orange);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  outline: none;
}

.input-premium::placeholder {
  color: var(--text-tertiary);
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  background: white;
  border: 2px solid var(--action-orange);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2);
  box-shadow: var(--shadow-md);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gradient-cta);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-out);
}

.quantity-btn:hover {
  transform: scale(1.1);
}

.quantity-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  min-width: 60px;
  text-align: center;
}

/* ==========================================================================
   🚀 PERFORMANCE & ACCESSIBILITY
   ========================================================================== */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --bg-primary: #ffffff;
    --action-orange: #cc5500;
  }
  
  .cta-premium {
    border: 3px solid #000000;
  }
}

/* Reduced Transparency */
@media (prefers-reduced-transparency: reduce) {
  .glass-premium {
    background: var(--bg-primary);
    backdrop-filter: none;
  }
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Visible for Better Accessibility */
.focus-visible:focus-visible {
  outline: 3px solid var(--action-orange);
  outline-offset: 2px;
}

/* ==========================================================================
   📱 MOBILE-SPECIFIC OPTIMIZATIONS
   ========================================================================== */

/* Touch-Friendly Sizing */
@media (hover: none) and (pointer: coarse) {
  .cta-premium {
    min-height: 48px;
    font-size: var(--font-size-lg);
    padding: var(--spacing-4) var(--spacing-8);
  }
  
  .quantity-btn {
    width: 48px;
    height: 48px;
  }
  
  .input-premium {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* PWA Specific Styles */
@media (display-mode: standalone) {
  .app-header {
    padding-top: env(safe-area-inset-top);
  }
  
  .app-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ==========================================================================
   🎨 FINAL POLISH & MICRO-INTERACTIONS
   ========================================================================== */

/* Advanced Scroll Indicators */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(245, 158, 11, 0.2);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: var(--gradient-cta);
  transition: width var(--duration-100) var(--ease-out);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-skeleton 1.5s infinite;
}

@keyframes loading-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Advanced Tooltips */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: white;
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-300) var(--ease-out);
  z-index: 1000;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Final Performance Optimization */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

/* Critical CSS End */
