/* Rowhni - Awwwards Level Design System */

/* Floating Particles System */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-size: 16px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent);
  pointer-events: none;
  will-change: transform, opacity;
  font-weight: 300;
}

.particle:nth-child(odd) {
  color: var(--secondary);
  text-shadow: 0 0 15px var(--secondary);
}

.particle:nth-child(3n) {
  color: var(--text-secondary);
  text-shadow: 0 0 10px var(--text-secondary);
}

/* Premium Hover States & Ripple Effects */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 208, 63, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Enhanced Button States */
button, .btn, [role="button"] {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.magnetic-btn {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Premium Glow Effects */
.btn-hero-primary:hover,
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 40px rgba(244, 208, 63, 0.4), 
    0 0 20px rgba(244, 208, 63, 0.2),
    var(--shadow-large);
}

.trust-badge:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 
    0 8px 25px rgba(82, 196, 26, 0.3),
    0 0 15px rgba(82, 196, 26, 0.2);
}

/* 3D Tilt Effects */
.feature-card:hover,
.app-card:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg) translateY(-8px);
}

/* Pulse Animation */
@keyframes premium-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.ios-requirement-badge {
  animation: premium-pulse 2s ease-in-out infinite;
}

/* Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transition-pattern {
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

/* Smooth Section Transitions */
section {
  opacity: 1;
  transition: opacity 0.5s var(--ease-smooth);
}

/* Page Load States */
.nav,
.hero-title,
.hero-subtitle,
.btn-hero-primary,
.trust-badge {
  opacity: 1;
  transform: translateY(0);
}

body.loaded .nav,
body.loaded .hero-title,
body.loaded .hero-subtitle,
body.loaded .btn-hero-primary,
body.loaded .trust-badge {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s var(--ease-smooth);
}

/* Interactive App Showcase */
.app-mockup {
  position: relative;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.device-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.screen-reflection {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 30%;
  height: 40%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0.3;
  transform: rotate(-10deg);
}

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  opacity: 0.7;
  pointer-events: none;
}

.device-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(244, 208, 63, 0.4) 0%, 
    rgba(244, 208, 63, 0.2) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.mockup-image {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Simplified showcase for image clarity */
.app-showcase {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* Mobile responsiveness for device showcase */
@media (max-width: 768px) {
  .app-mockup {
    transform: none !important;
  }
  
  .device-frame {
    display: none;
  }
}

/* Premium Split-Text Animation Styles */
.split-word {
  display: inline-block;
  overflow: hidden;
}

.split-char {
  display: inline-block;
  transform-origin: 50% 50% -50px;
  transition: transform 0.3s var(--ease-smooth);
}

.split-char:hover {
  transform: rotateY(10deg) scale(1.1);
}

/* Premium Staggered Reveal Styles */
[data-split-text] {
  perspective: 1000px;
}

/* Morphing Shape Container */
[data-morph-shape] {
  transition: all 0.5s var(--ease-smooth);
}

[data-morph-shape] svg {
  overflow: visible;
}

[data-morph-shape] path {
  transition: d 0.5s var(--ease-smooth);
}

/* Skip Links for Accessibility */
.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--primary, #1B4D3E);
  color: var(--text, #FFFFFF);
  padding: var(--space-sm, 12px) var(--space-md, 16px);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 var(--space-xs, 8px) 0;
  transition: all 0.3s var(--ease-smooth, ease-out);
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  left: var(--space-xs, 8px);
  top: var(--space-xs, 8px);
  z-index: 10000;
  box-shadow: var(--shadow-medium, 0 8px 32px rgba(0, 0, 0, 0.4));
}

:root {
  /* Islamic Color Palette - Enhanced */
  --primary: #1B4D3E;     /* Deep forest green */
  --accent: #F4D03F;      /* Golden yellow */
  --secondary: #52C41A;   /* Islamic green */
  --background: #0A0F0C;  /* Ultra dark background */
  --surface: #1A2E22;     /* Card background */
  --surface-elevated: #223530; /* Elevated surface */
  --text: #FFFFFF;        /* White text */
  --text-secondary: #9DB89D; /* Muted green text */
  --text-tertiary: #6B8870; /* Subtle text */
  --border: #2D4535;      /* Subtle border */
  --border-light: rgba(77, 138, 104, 0.2); /* Transparent border */
  
  /* Gradient System */
  --gradient-primary: linear-gradient(135deg, #1B4D3E 0%, #2E6B4F 100%);
  --gradient-accent: linear-gradient(135deg, #F4D03F 0%, #F7DC6F 100%);
  --gradient-surface: linear-gradient(145deg, #1A2E22 0%, #243A2D 100%);
  --gradient-glow: radial-gradient(circle, rgba(244, 208, 63, 0.1) 0%, transparent 70%);
  
  /* Shadows */
  --shadow-small: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(244, 208, 63, 0.2);
  
  /* Animation System */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-gentle: cubic-bezier(0.25, 0.1, 0.25, 1);
  
  /* Spacing System - Modern 8pt Grid (Material Design 3 + Apple HIG) */
  --space-2xs: 0.25rem;    /* 4px - Minimal spacing */
  --space-xs: 0.5rem;      /* 8px - Tight spacing */
  --space-sm: 0.75rem;     /* 12px - Compact spacing */
  --space-md: 1rem;        /* 16px - Base spacing */
  --space-lg: 1.5rem;      /* 24px - Comfortable spacing */
  --space-xl: 2rem;        /* 32px - Section spacing */
  --space-2xl: 3rem;       /* 48px - Major section spacing */
  --space-3xl: 4rem;       /* 64px - Hero spacing */
  --space-4xl: 6rem;       /* 96px - Extra large spacing */
  --space-5xl: 8rem;       /* 128px - Maximum spacing */
  
  /* Premium Typography System */
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;

  /* Layout System */
  --header-height: 80px;
  --container-max-width: 1400px;
  --content-width: 1000px;
  --border-radius: 16px;
  --border-radius-large: 32px;
  --border-radius-pill: 9999px;
  
  /* Z-index System */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* Light Theme Variables */
[data-theme="light"] {
  --background: #FFFFFF;
  --background-secondary: #F8F9FA;
  --surface: #FFFFFF;
  --surface-elevated: #F8F9FA;
  --surface-hover: #F0F2F5;
  --text: #1B4D3E;
  --text-primary: #1B4D3E;
  --text-secondary: #52796F;
  --text-muted: #6B8A7A;
  --accent: #D4A853;
  --accent-hover: #B8963D;
  --secondary: #52C41A;
  --error: #FF6B6B;
  --warning: #FFD93D;
  --success: #52C41A;
  --border: rgba(27, 77, 62, 0.15);
  --border-light: rgba(27, 77, 62, 0.08);
  
  /* Gradients for light theme */
  --gradient-primary: linear-gradient(135deg, #1B4D3E 0%, #52796F 100%);
  --gradient-accent: linear-gradient(135deg, #D4A853 0%, #B8963D 100%);
  --gradient-hero: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(27, 77, 62, 0.05) 100%);
  
  /* Shadows for light theme */
  --shadow-subtle: 0 2px 4px rgba(27, 77, 62, 0.08);
  --shadow-small: 0 4px 8px rgba(27, 77, 62, 0.12);
  --shadow-medium: 0 8px 16px rgba(27, 77, 62, 0.16);
  --shadow-large: 0 16px 32px rgba(27, 77, 62, 0.2);
  --shadow-xl: 0 24px 48px rgba(27, 77, 62, 0.24);
}

/* Reset & Global Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

/* Enhanced Typography for Support and Privacy Pages */
.support-item h4,
.category-card h3,
.privacy-card h2,
.info-item strong,
.usage-item h3,
.security-item h3,
.right-item h3 {
  color: #F4D03F;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.support-item p,
.info-item,
.usage-item p,
.security-item p,
.right-item p,
.category-description,
.faq-answer p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 16px;
}

.category-card,
.privacy-card,
.faq-item,
.contact-card,
.trust-item {
  background: rgba(27, 77, 62, 0.6);
  border: 2px solid rgba(244, 208, 63, 0.3);
  border-radius: var(--border-radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(244, 208, 63, 0.1);
  margin-bottom: 20px;
}

/* Icon Improvements */
.category-icon,
.section-icon,
.trust-icon,
.contact-icon {
  font-size: 24px;
  color: #F4D03F;
  margin-right: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

/* FAQ Improvements */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 208, 63, 0.2);
  cursor: pointer;
}

.faq-question h4 {
  color: #F4D03F !important;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.faq-toggle {
  color: #F4D03F;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Section Headers Improvements */
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.loading {
  overflow: hidden;
}

/* Advanced Premium Scroll Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleInBounce {
  0% { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  50% { opacity: 0.8; transform: scale(1.05) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(100px) rotateX(90deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

@keyframes morphGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.3), inset 0 0 20px rgba(244, 208, 63, 0.1); 
    border-color: rgba(244, 208, 63, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(82, 196, 26, 0.4), inset 0 0 30px rgba(82, 196, 26, 0.15); 
    border-color: rgba(82, 196, 26, 0.4);
  }
}

@keyframes textReveal {
  0% { 
    opacity: 0; 
    transform: translateY(50px) rotateX(90deg);
    filter: blur(10px);
  }
  50% {
    opacity: 0.5;
    filter: blur(5px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg);
    filter: blur(0px);
  }
}

@keyframes pulseGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(244, 208, 63, 0.2);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(244, 208, 63, 0.6), 0 0 50px rgba(82, 196, 26, 0.3);
    transform: scale(1.02);
  }
}

@keyframes gradientWave {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  25% {
    background-position: 100% 50%;
    filter: hue-rotate(45deg);
  }
  50% {
    background-position: 200% 50%;
    filter: hue-rotate(90deg);
  }
  75% {
    background-position: 300% 50%;
    filter: hue-rotate(135deg);
  }
}

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

/* Selection Styles */
::selection {
  background-color: var(--accent);
  color: var(--background);
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--background);
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, var(--font-size-6xl));
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 6vw, var(--font-size-5xl));
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.5rem, 4vw, var(--font-size-3xl));
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 500;
}

p {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Layout Containers */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Section Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
  margin: var(--space-3xl) 0;
}

.section-divider.reverse {
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.3;
  filter: blur(1px);
}

/* Unified Button System - Desktop & Mobile Optimized 
   All interactive elements follow consistent design patterns */

/* Universal Interactive Element System */
/* All button-like elements share consistent hover and shimmer effects */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 16px 28px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 3px solid transparent;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 56px;
}

.btn-primary,
.btn-download {
  background: linear-gradient(90deg, #F4D03F 0%, #F7DC6F 50%, #F4D03F 100%);
  color: #0A0F0C;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-lg) var(--space-2xl);
  box-shadow: 
    0 0 40px rgba(244, 208, 63, 0.6),
    0 0 60px rgba(244, 208, 63, 0.4),
    0 0 80px rgba(244, 208, 63, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  min-height: 64px; /* Increased for mobile touch targets */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary::before,
.btn-download::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #F4D03F, #F7DC6F, #F1C40F, #F4D03F);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.8;
}

.btn-primary:hover,
.btn-download:hover {
  background: linear-gradient(90deg, #F7DC6F 0%, #F4D03F 30%, #F1C40F 70%, #F7DC6F 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 0 50px rgba(244, 208, 63, 0.8),
    0 0 70px rgba(244, 208, 63, 0.6),
    0 0 100px rgba(244, 208, 63, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(46, 107, 79, 0.95) 100%);
  color: #F4D03F;
  border: 3px solid #F4D03F;
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(15px);
  font-weight: 700;
  box-shadow: 
    0 8px 32px rgba(244, 208, 63, 0.2),
    0 4px 16px rgba(27, 77, 62, 0.4),
    inset 0 1px 0 rgba(244, 208, 63, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(46, 107, 79, 0.95) 0%, rgba(27, 77, 62, 0.95) 100%);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 16px 48px rgba(244, 208, 63, 0.4),
    0 8px 24px rgba(27, 77, 62, 0.3),
    0 0 30px rgba(244, 208, 63, 0.2);
  border-color: #F7DC6F;
  color: #F7DC6F;
}

.btn-primary-large {
  background: linear-gradient(135deg, #F4D03F 0%, #F7DC6F 50%, #F4D03F 100%);
  color: #0A0F0C;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 800;
  border-radius: var(--border-radius-large);
  border: 4px solid #F4D03F;
  box-shadow: 
    0 12px 48px rgba(244, 208, 63, 0.5),
    0 6px 24px rgba(244, 208, 63, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 56px;
}

.btn-primary-large:hover {
  background: linear-gradient(135deg, #F7DC6F 0%, #F4D03F 30%, #F1C40F 70%, #F7DC6F 100%);
  transform: translateY(-8px) scale(1.08);
  box-shadow: 
    0 25px 80px rgba(244, 208, 63, 0.7),
    0 15px 40px rgba(244, 208, 63, 0.5),
    0 0 50px rgba(244, 208, 63, 0.4);
  border-color: #F1C40F;
}

/* Magnetic Button Effect */
.magnetic-btn {
  transition: transform 0.3s var(--ease-smooth);
}

.magnetic-btn .btn-background,
.magnetic-btn .btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.magnetic-btn .btn-background {
  background: var(--gradient-primary);
}

.magnetic-btn .btn-glow {
  background: var(--gradient-glow);
  filter: blur(20px);
}

.magnetic-btn:hover .btn-background {
  opacity: 0.1;
}

.magnetic-btn:hover .btn-glow {
  opacity: 1;
}

.magnetic-btn span {
  position: relative;
  z-index: 1;
}

/* Navigation System */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s var(--ease-smooth);
}

.nav-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.nav.scrolled .nav-background {
  opacity: 1;
}

.nav-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s var(--ease-smooth) 0.2s forwards;
}

.nav-logo {
  width: 36px;
  height: 36px;
  transition: transform 0.3s var(--ease-smooth);
}

.nav-logo:hover {
  transform: rotate(5deg) scale(1.1);
}

.nav-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links > * {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s var(--ease-smooth) forwards;
}

.nav-links > *:nth-child(1) { animation-delay: 0.3s; }
.nav-links > *:nth-child(2) { animation-delay: 0.4s; }
.nav-links > *:nth-child(3) { animation-delay: 0.5s; }
.nav-links > *:nth-child(4) { animation-delay: 0.6s; }

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all 0.3s var(--ease-smooth);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s var(--ease-smooth) 0.7s forwards;
}

/* Animation System */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  50% {
    transform: translateY(-12px) rotate(0deg);
  }
  75% {
    transform: translateY(-6px) rotate(-1deg);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-15px) translateX(10px);
  }
  66% {
    transform: translateY(-8px) translateX(-8px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(244, 208, 63, 0.6), 0 0 60px rgba(244, 208, 63, 0.3);
  }
}

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

@keyframes wave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.5);
  }
}

@keyframes pillFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  20%, 80% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

@keyframes scrollIndicator {
  0% {
    top: -50%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes typingDots {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Opacity Utilities */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-100 { opacity: 1; }

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s var(--ease-smooth);
}

.slide-up {
  animation: slideUp 0.8s var(--ease-smooth);
}

.slide-left {
  animation: slideLeft 0.8s var(--ease-smooth);
}

.slide-right {
  animation: slideRight 0.8s var(--ease-smooth);
}

.scale-up {
  animation: scaleUp 0.8s var(--ease-bounce);
}

.floating {
  animation: float 4s var(--ease-smooth) infinite;
}

.floating-slow {
  animation: floatSlow 6s var(--ease-smooth) infinite;
}

.pulsing {
  animation: pulse 2s var(--ease-smooth) infinite;
}

.glowing {
  animation: glow 3s var(--ease-smooth) infinite;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.hover-scale {
  transition: transform 0.3s var(--ease-smooth);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* 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.1), transparent);
  animation: shimmer 2s infinite;
}

/* Magnetic Cursor */
.magnetic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  mix-blend-mode: difference;
  transition: transform 0.1s var(--ease-smooth);
  visibility: visible;
  opacity: 1;
}

.cursor-inner {
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transition: transform 0.2s var(--ease-smooth);
}

.magnetic-cursor.hovering .cursor-inner {
  transform: scale(2);
}

.magnetic-cursor.clicking .cursor-inner {
  transform: scale(0.5);
}

.cursor-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 600;
  color: var(--background);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

/* Hero Section - Awwwards Level */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  background: radial-gradient(ellipse at center, rgba(27, 77, 62, 0.1) 0%, transparent 70%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.floating-pills {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.pill {
  position: absolute;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.9) 0%, rgba(46, 107, 79, 0.9) 100%);
  border: 2px solid rgba(244, 208, 63, 0.4);
  border-radius: var(--border-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #F4D03F;
  backdrop-filter: blur(20px);
  opacity: 0;
  animation: pillFloat 8s var(--ease-smooth) infinite;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(244, 208, 63, 0.1),
    inset 0 1px 0 rgba(244, 208, 63, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
}

.pill:hover {
  transform: scale(1.05) translateY(-2px);
  border-color: rgba(244, 208, 63, 0.8);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(244, 208, 63, 0.3),
    inset 0 1px 0 rgba(244, 208, 63, 0.2);
}

.pill-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-icon {
  font-size: 16px;
}

.pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pill-title {
  font-weight: 700;
  font-size: 12px;
}

.pill-subtitle {
  font-weight: 500;
  font-size: 10px;
  opacity: 0.8;
}

.pill-prayer {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.pill-dhikr {
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}

.pill-quran {
  top: 30%;
  left: 20%;
  animation-delay: 4s;
}

.pill-assistant {
  top: 70%;
  right: 25%;
  animation-delay: 6s;
}

/* Clean Hero Background */

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: calc(var(--space-4xl) + 40px) var(--space-lg) var(--space-3xl);
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.9) 0%, rgba(46, 107, 79, 0.9) 100%);
  border: 2px solid rgba(244, 208, 63, 0.6);
  border-radius: var(--border-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #F4D03F;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(244, 208, 63, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(244, 208, 63, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line span {
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(244, 208, 63, 0.85);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 90%;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Invitation Text - Enhanced Presence */
.hero-invitation {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
}

.invitation-text {
  margin-bottom: var(--space-2xl);
  position: relative;
}

.typewriter-text {
  display: inline-block;
  font-size: var(--font-size-5xl);
  font-weight: 200;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: typewriterIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.typewriter-text[data-delay="1.5"] {
  animation-delay: 1.5s;
}

.typewriter-text:first-child::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  opacity: 0;
  animation: dotPulse 0.6s ease-out forwards;
  animation-delay: 2s;
}

@keyframes typewriterIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 3.5s;
  margin-top: var(--space-lg);
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  color: var(--accent);
  stroke: currentColor;
  stroke-width: 2;
  animation: bounce 2.5s ease-in-out infinite;
  animation-delay: 4s;
}

.scroll-hint span {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-actions {
  margin-bottom: var(--space-lg);
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  opacity: 0.7;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cta-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Hero Trust Indicators - Modern Style */
.hero-trust {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px);
}

.trust-item:hover {
  opacity: 1;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 208, 63, 0.2);
  transform: translateY(-1px);
}

.trust-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
}

.stat {
  text-align: left;
  position: relative;
  padding: 16px 20px;
  background: rgba(27, 77, 62, 0.6);
  border: 2px solid rgba(244, 208, 63, 0.3);
  border-radius: var(--border-radius);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(244, 208, 63, 0.1);
  transition: all 0.4s var(--ease-smooth);
}

.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 208, 63, 0.6);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(244, 208, 63, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #F4D03F;
  margin-bottom: 4px;
  font-family: var(--font-primary);
  text-shadow: 0 2px 8px rgba(244, 208, 63, 0.3);
  background: linear-gradient(135deg, #F4D03F 0%, #F7DC6F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: rgba(244, 208, 63, 0.9);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-visual {
  position: relative;
}

.app-showcase {
  position: relative;
  height: 600px;
}

.app-mockup {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-large);
  transition: transform 0.3s var(--ease-smooth);
}

.main-mockup {
  width: 280px;
  top: 0;
  right: 0;
  z-index: 2;
}

.secondary-mockup {
  width: 240px;
  top: 100px;
  left: 0;
  z-index: 1;
  opacity: 0.8;
}

.mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--gradient-accent);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollIndicator 2s var(--ease-smooth) infinite;
}

/* Gradient and Visual Effects */
.gradient-badge {
  background: var(--gradient-accent);
  color: var(--background);
  font-weight: 600;
}

.section-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section System */
section {
  position: relative;
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 6vw, var(--font-size-5xl));
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section - Enhanced */
.features {
  padding: var(--space-3xl) 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-title {
  font-size: clamp(1.8rem, 5vw, var(--font-size-4xl));
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text);
  line-height: 1.2;
}

.feature-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.highlight-pill {
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid rgba(244, 208, 63, 0.2);
  border-radius: var(--border-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.highlight-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.1), transparent);
  transition: left 0.5s ease;
}

.highlight-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: linear-gradient(135deg, var(--surface-elevated) 0%, rgba(244, 208, 63, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 208, 63, 0.2);
}

.highlight-pill:hover::before {
  left: 100%;
}

.feature-visual {
  position: relative;
}

.app-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-large);
  transition: transform 0.3s var(--ease-smooth);
}

.app-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-large), var(--shadow-glow);
}

.feature-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.feature-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.stat-pill {
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 120px;
}

.stat-value {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.stat-desc {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Feature Overlays */
.voice-overlay,
.prayer-overlay,
.ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 12, 0.3);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.app-frame:hover .voice-overlay,
.app-frame:hover .prayer-overlay,
.app-frame:hover .ai-overlay {
  opacity: 1;
}

.voice-indicator {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  animation: pulse 2s var(--ease-smooth) infinite;
}

.dhikr-counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--background);
}

.next-prayer-pill {
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--border-radius-pill);
  color: var(--background);
  font-weight: 600;
  animation: pulse 3s var(--ease-smooth) infinite;
}

.typing-indicator {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface-elevated);
  border-radius: var(--border-radius-large);
}

.typing-indicator .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingDots 1.4s var(--ease-smooth) infinite;
}

.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* iOS 26 Glass Design Showcase */
.design-showcase {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.03) 0%, rgba(82, 196, 26, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.design-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(244, 208, 63, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.design-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.design-text .section-badge {
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.design-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.design-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  transition: all 0.4s var(--ease-smooth);
}

.design-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  box-shadow: var(--shadow-medium);
}

.design-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.2) 0%, rgba(82, 196, 26, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.glass-icon, .depth-icon, .material-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.glass-icon {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.glass-icon::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 4px 4px 0 0;
}

.depth-icon {
  background: linear-gradient(135deg, #1B4D3E 0%, #2E6B4F 100%);
  position: relative;
}

.depth-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(244, 208, 63, 0.3) 0%, transparent 50%);
  border-radius: 6px;
}

.material-icon {
  background: rgba(244, 208, 63, 0.2);
  border: 1px solid rgba(244, 208, 63, 0.3);
  position: relative;
}

.material-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(244, 208, 63, 0.6);
}

.design-feature-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.design-feature-content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

.design-visual {
  position: relative;
}

.design-showcase-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.design-highlight {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  align-items: center;
}

.new-badge {
  background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-small);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s var(--ease-smooth) infinite;
}

.design-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.showcase-device {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  box-shadow: var(--shadow-large);
  background: linear-gradient(135deg, #1B1B1D 0%, #2C2C2E 100%);
  margin-bottom: 80px;
}

.design-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.glass-overlay {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 10;
}

.glass-tabbar {
  position: relative;
  padding: 16px 20px 32px;
  background: rgba(28, 28, 30, 0.8);
  backdrop-filter: blur(40px) saturate(180%);
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.glass-tabbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.glass-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(244, 208, 63, 0.1) 0%, transparent 70%);
  opacity: 0.6;
}

.tab-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: var(--space-sm);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
  min-width: 60px;
}

.tab-item.active {
  background: rgba(244, 208, 63, 0.2);
  transform: translateY(-2px);
}

.tab-item.active .tab-label {
  color: var(--accent);
  font-weight: 600;
}

.tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-item.active .tab-icon {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
}

.home-icon::after { 
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9,22 9,12 15,12 15,22'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}

.prayer-icon::after { 
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12,6 12,12 16,14'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}

.tasbih-icon::after { 
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}

.quran-icon::after { 
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}

.more-icon::after { 
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}

.tab-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

/* Responsive Design for iOS 26 Showcase */
@media (max-width: 768px) {
  .design-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .design-features {
    align-items: center;
  }
  
  .design-feature {
    max-width: 400px;
  }
  
  .glass-tabbar {
    padding: 12px 16px 24px;
  }
  
  .tab-icon {
    width: 24px;
    height: 24px;
  }
  
  .tab-label {
    font-size: 10px;
  }
  
  .tab-item {
    min-width: 50px;
    padding: 6px 8px;
  }
  
  .showcase-device {
    margin-bottom: 60px;
  }
  
  .glass-overlay {
    bottom: -60px;
  }
}

/* Professional Support & Privacy Page Styles */
.important-notice {
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: var(--border-radius-large);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.important-notice p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.legal-notice {
  background: rgba(27, 77, 62, 0.1);
  border: 1px solid rgba(27, 77, 62, 0.3);
  border-radius: var(--border-radius-medium);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}

.legal-notice p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-notice ul {
  list-style-type: none;
  padding-left: 0;
  margin: var(--space-sm) 0;
}

.legal-notice li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.legal-notice li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.exercise-right {
  background: rgba(82, 196, 26, 0.1);
  color: var(--secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-small);
  margin-top: var(--space-sm);
  border-left: 3px solid var(--secondary);
}

.legal-basis {
  display: block;
  background: rgba(27, 77, 62, 0.2);
  color: var(--primary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-small);
  margin-top: var(--space-sm);
}

.support-item ul, .purpose-item ul, .service-item ul, .transfer-item ul, .retention-item ul {
  list-style-type: none;
  padding-left: 0;
  margin: var(--space-sm) 0;
}

.support-item li, .purpose-item li, .service-item li, .transfer-item li, .retention-item li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.support-item li::before, .purpose-item li::before, .service-item li::before, .transfer-item li::before, .retention-item li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.faq-answer ul {
  list-style-type: none;
  padding-left: 0;
  margin: var(--space-sm) 0;
}

.faq-answer li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-answer li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.contact-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-large);
  padding: var(--space-xl);
  transition: all 0.3s var(--ease-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 208, 63, 0.4);
  box-shadow: var(--shadow-medium);
}

.contact-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.contact-card strong {
  color: var(--text);
  font-weight: 600;
}

/* Enhanced Right Cards */
.right-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-large);
  padding: var(--space-lg);
  transition: all 0.3s var(--ease-smooth);
}

.right-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 208, 63, 0.3);
  box-shadow: var(--shadow-small);
}

.right-card h4 {
  color: var(--text);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.right-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

/* Premium Hero Section Enhancements */
.hero-trust-signal {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-smooth) forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(244, 208, 63, 0.15);
  border: 1px solid rgba(244, 208, 63, 0.4);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(244, 208, 63, 0.1);
  transition: all 0.3s var(--ease-smooth);
}

.trust-badge:hover {
  background: rgba(244, 208, 63, 0.2);
  border-color: rgba(244, 208, 63, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 208, 63, 0.15);
}

.trust-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: trustPulse 2s infinite;
  box-shadow: 0 0 10px rgba(244, 208, 63, 0.6);
}

@keyframes trustPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.trust-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--accent);
}

.ios-requirement-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: var(--space-2xs) var(--space-xs);
  margin-top: var(--space-xs);
  backdrop-filter: blur(10px);
}

.ios-icon {
  font-size: 1rem;
  font-weight: 500;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
  filter: drop-shadow(0 0 4px rgba(244, 208, 63, 0.3));
}

.hero-main {
  margin-bottom: var(--space-3xl);
}

.title-line-primary {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 300;
  line-height: 0.85;
  color: var(--text);
  opacity: 0;
  transform: translateY(120px) rotateX(90deg);
  perspective: 1000px;
  animation: titleReveal 1.2s var(--ease-bounce) forwards;
  animation-delay: 0.5s;
}

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.title-line-gradient {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(120px) rotateX(90deg);
  position: relative;
  animation: gradientTitleReveal 1.4s var(--ease-bounce) forwards, gradientMove 3s ease-in-out infinite;
  animation-delay: 0.8s, 2s;
  text-shadow: 0 0 30px rgba(244, 208, 63, 0.3);
}

@keyframes gradientTitleReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title-decoration {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
  background-size: 200% 100%;
  margin: var(--space-lg) 0;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.4);
  animation: decorationDraw 1s var(--ease-smooth) forwards, decorationGlow 2s ease-in-out infinite;
  animation-delay: 1.2s, 2.5s;
}

@keyframes decorationDraw {
  to { transform: scaleX(1); }
}

@keyframes decorationGlow {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 0 20px rgba(244, 208, 63, 0.4); }
  50% { background-position: 100% 50%; box-shadow: 0 0 30px rgba(82, 196, 26, 0.6); }
}

.hero-subtitle-wrapper {
  max-width: 620px;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-smooth) forwards;
  animation-delay: 1.3s;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

.subtitle-highlight {
  color: #FFED4E !important;
  font-weight: 700;
  position: relative;
  text-shadow: none; /* keep crisp */
  /* OVERRIDES to counter parent gradient text */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #FFED4E !important; /* force visible fill */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.subtitle-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0.3;
  border-radius: 1px;
}

.hero-benefits {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  animation: benefitsReveal 0.8s var(--ease-smooth) forwards;
  animation-delay: 1.5s;
}

@keyframes benefitsReveal {
  to { opacity: 1; transform: translateY(0); }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(26, 46, 34, 0.7);
  border: 1px solid rgba(82, 196, 26, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text);
  transform: scale(0.95);
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.1), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.benefit-item:hover {
  background: rgba(26, 46, 34, 0.9);
  border-color: rgba(244, 208, 63, 0.6);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.15);
}

.benefit-item:hover::before {
  left: 100%;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.3);
  transition: all 0.3s var(--ease-smooth);
}

.benefit-item:hover .benefit-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
}

.voice-icon {
  background: linear-gradient(135deg, #F4D03F, #52C41A);
}

.precision-icon {
  background: linear-gradient(135deg, #52C41A, #1B4D3E);
}

.privacy-icon {
  background: linear-gradient(135deg, #1B4D3E, #F4D03F);
}

.benefit-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.hero-cta-section {
  opacity: 0;
  transform: translateY(30px);
}

.cta-primary {
  margin-bottom: var(--space-lg);
}

.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: var(--space-lg) var(--space-2xl);
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: var(--font-size-lg);
  transition: all 0.4s var(--ease-smooth);
  overflow: hidden;
  cursor: pointer;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 2;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-hero-primary:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  z-index: 1;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: 3;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.cta-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-align: center;
  margin-top: var(--space-sm);
}

.cta-secondary {
  opacity: 0;
  transform: translateY(20px);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-content: center;
}

.user-avatars {
  display: flex;
  align-items: center;
  gap: -8px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--background);
  position: relative;
  z-index: 1;
}

.avatar-1 { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.avatar-2 { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.avatar-3 { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }

.avatar-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid var(--background);
  border-radius: 50%;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text);
  margin-left: var(--space-sm);
}

.social-proof-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  max-width: 200px;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
}

.scroll-text {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 2px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 1px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 0; top: 6px; }
  50% { opacity: 1; top: 16px; }
}

/* Premium Features Section */
.section-badge-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(244, 208, 63, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.badge-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.2) 0%, transparent 70%);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.section-title-hero {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.gradient-text-premium {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle-premium {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto var(--space-3xl) auto;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

/* Premium Feature Blocks */
.feature-block-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-5xl);
  padding: var(--space-3xl) 0;
}

.feature-block-premium.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-block-premium.reverse > *:first-child {
  order: 2;
}

.feature-block-premium.reverse > *:last-child {
  order: 1;
}

.feature-content-premium {
  max-width: 540px;
}

.feature-badge-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(82, 196, 26, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(82, 196, 26, 0.3);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.badge-pulse {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: badgePulse 2s infinite;
}

.badge-pulse.secondary {
  background: var(--accent);
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
}

.feature-title-hero {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-lg);
  position: relative;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 2px;
  margin-top: var(--space-sm);
}

.title-underline.secondary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.feature-description-hero {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.feature-description-hero strong {
  color: var(--accent);
  font-weight: 600;
}

.feature-proof {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.proof-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.benefit-check {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid rgba(244, 208, 63, 0.2);
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-base);
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-sm);
}

.benefit-check::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.1), transparent);
  transition: left 0.5s ease;
}

.benefit-check:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface-elevated) 0%, rgba(244, 208, 63, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 208, 63, 0.2);
}

.benefit-check:hover::before {
  left: 100%;
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--background);
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-trust-signal {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .hero-benefits {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-block-premium {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .feature-block-premium.reverse > * {
    order: initial;
  }
  
  .social-proof {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Progress Section - Dhikr Tracking */
.progress-section {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.05) 0%, rgba(46, 107, 79, 0.05) 100%);
}

.progress-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.dhikr-progress {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-circle-svg {
  width: 300px;
  height: 300px;
}

.progress-track {
  fill: none;
  stroke: rgba(244, 208, 63, 0.2);
  stroke-width: 12;
}

.progress-bar {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 754; /* 2π * 120 */
  stroke-dashoffset: 754;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 2.5s var(--ease-smooth);
}

.progress-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #F4D03F;
}

.progress-stats {
  margin-bottom: 8px;
}

.current-progress {
  font-size: 48px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.total-progress {
  font-size: 24px;
  font-weight: 600;
  opacity: 0.8;
}

.progress-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.daily-goal {
  font-size: 12px;
  opacity: 0.7;
}

.progress-insights h3 {
  color: #F4D03F;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.progress-insights > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.insight-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.insight-card {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  transition: all 0.4s var(--ease-smooth);
}

.insight-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  box-shadow: var(--shadow-medium);
}

.insight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.2) 0%, rgba(82, 196, 26, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.insight-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.insight-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.insight-content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .progress-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .progress-circle-svg {
    width: 250px;
    height: 250px;
  }
  
  .current-progress {
    font-size: 36px;
  }
  
  .insight-cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .insight-card {
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  
  .insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .insight-icon svg {
    width: 20px;
    height: 20px;
  }
}

.progress-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.main-progress-card {
  background: var(--gradient-surface);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-large);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.main-progress-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  opacity: 0.1;
  border-radius: 50%;
}

.progress-visual {
  margin-bottom: var(--space-xl);
}

.quran-progress-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-lg);
}

.progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg {
  stroke: var(--border);
  stroke-width: 8;
  fill: none;
}

.progress-fill {
  stroke: var(--accent);
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s var(--ease-smooth);
  filter: drop-shadow(0 0 10px rgba(244, 208, 63, 0.5));
}

.progress-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-main {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.progress-total {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  display: block;
  margin-bottom: var(--space-xs);
}

.progress-surah {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  display: block;
}

.progress-details h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: var(--text);
}

.progress-pills {
  display: flex;
  gap: var(--space-md);
}

.progress-pill {
  flex: 1;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(27, 77, 62, 0.4);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: 24px;
  text-align: left;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 120px;
  justify-content: center;
}

.progress-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.progress-pill:hover {
  border-color: rgba(244, 208, 63, 0.6);
  background: rgba(27, 77, 62, 0.6);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(244, 208, 63, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.progress-pill:hover::before {
  opacity: 1;
}

.pill-label {
  display: block;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  font-weight: 600;
  line-height: 1.2;
}

.pill-value {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Dhikr Grid */
.dhikr-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.dhikr-card {
  background: var(--gradient-surface);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.dhikr-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.dhikr-card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.dhikr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.dhikr-title {
  font-size: var(--font-size-base);
  color: var(--text);
  font-weight: 500;
}

.dhikr-count {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-primary);
}

.dhikr-progress-bar {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}

.dhikr-progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  transition: width 2s var(--ease-smooth);
  position: relative;
}

.dhikr-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

/* Prayer Consistency */
.prayer-consistency-card {
  grid-column: 1 / -1;
  background: var(--gradient-surface);
  padding: var(--space-xl);
  border-radius: var(--border-radius-large);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.consistency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.consistency-header h4 {
  font-size: var(--font-size-xl);
  color: var(--text);
  margin: 0;
}

.consistency-percentage {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-primary);
}

.calendar-days {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.day {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  transition: all 0.3s var(--ease-smooth);
}

.day.completed {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-small);
}

.day.partial {
  background: var(--gradient-primary);
  opacity: 0.7;
}

.day:hover {
  transform: scale(1.1);
}

/* Community Section - Enhanced */
.community {
  padding: var(--space-3xl) 0;
  background: var(--background);
  position: relative;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.stat-card {
  position: relative;
  background: var(--gradient-surface);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-large);
  border: 1px solid var(--border-light);
  text-align: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.1), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.stat-number {
  font-size: clamp(2rem, 5vw, var(--font-size-5xl));
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-family: var(--font-primary);
  display: block;
}

.stat-label {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  display: block;
}

.stat-growth {
  font-size: var(--font-size-sm);
  color: var(--secondary);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  background: rgba(82, 196, 26, 0.1);
  border-radius: var(--border-radius-pill);
  display: inline-block;
}

.stat-background {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: var(--gradient-glow);
  border-radius: 50%;
  opacity: 0.3;
  transition: all 0.3s var(--ease-smooth);
}

.stat-card:hover .stat-background {
  transform: scale(1.5);
  opacity: 0.5;
}

.community-showcase {
  margin-top: var(--space-3xl);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-2xl);
  background: var(--gradient-surface);
  border-radius: var(--border-radius-large);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.showcase-text p {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.showcase-author {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.author-name {
  font-weight: 600;
  color: var(--accent);
}

.author-location {
  color: var(--text-tertiary);
}

/* CTA Section - Enhanced */
.cta {
  padding: var(--space-3xl) 0;
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.05) 0%, transparent 70%);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.float-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-glow);
  border-radius: 50%;
  opacity: 0.1;
}

.float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: floatSlow 8s var(--ease-smooth) infinite;
}

.float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation: floatSlow 10s var(--ease-smooth) infinite reverse;
}

.float-element:nth-child(3) {
  top: 80%;
  left: 20%;
  animation: floatSlow 12s var(--ease-smooth) infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 6vw, var(--font-size-5xl));
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text);
  line-height: 1.1;
}

.cta-description {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.cta-actions {
  margin-bottom: var(--space-lg);
}

.cta-note {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.cta-note::before,
.cta-note::after {
  content: '•';
  color: var(--accent);
}

/* Footer - Enhanced */
.footer {
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  width: 44px;
  height: 44px;
  transition: transform 0.3s var(--ease-smooth);
}

.footer-logo:hover {
  transform: rotate(5deg) scale(1.1);
}

.footer-brand h3 {
  font-size: var(--font-size-2xl);
  color: var(--text);
  margin: 0;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.link-column h4 {
  color: var(--text);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.link-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-base);
  transition: all 0.3s var(--ease-smooth);
  padding: var(--space-xs) 0;
}

.link-column a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-light);
}

.footer-copyright p {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
}

.app-store-badge {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  padding: var(--space-xs) var(--space-sm);
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .nav-links {
    gap: var(--space-lg);
  }
}

/* Mobile Navigation - Touch Optimized */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-lg);
    height: 70px; /* Increased touch area */
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-brand {
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: 12px;
    transition: background-color 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .nav-brand:active {
    background-color: rgba(244, 208, 63, 0.1);
  }
  
  .nav-logo {
    width: 36px; /* Larger for better visibility */
    height: 36px;
  }
  
  .nav-title {
    font-size: 18px;
    font-weight: 600;
  }
  
  /* Mobile Download Button - Larger Touch Target */
  .nav-actions .btn-download {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
  }
  
  /* Mobile Theme Toggle - Larger Touch Area */
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: var(--space-sm);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .theme-toggle:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
  }
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-container {
    gap: var(--space-2xl);
  }
  
  .app-showcase {
    height: 500px;
  }
  
  .main-mockup {
    width: 240px;
  }
  
  .secondary-mockup {
    width: 200px;
  }
}

/* Mobile Hero - Touch-First Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
    padding: calc(var(--space-4xl) + 40px) var(--space-lg) var(--space-2xl);
    min-height: calc(100vh - 70px); /* Account for nav height */
  }
  
  .hero-content {
    padding-top: var(--space-xl);
  }
  
  /* Mobile Title Optimization */
  .title-line-primary,
  .title-line-gradient {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
  }
  
  .hero-subtitle {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-md);
  }
  
  .hero-invitation {
    max-width: 100%;
    margin-bottom: var(--space-2xl);
  }
  
  /* Mobile CTA Buttons - Larger Touch Targets */
  .hero-cta-section {
    margin: var(--space-2xl) 0;
  }
  
  .btn-hero-primary {
    min-height: 64px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 800;
    width: 100%;
    max-width: 320px;
    margin: 0 auto var(--space-lg) auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn-hero-primary:active {
    transform: scale(0.98);
  }
  
  /* Trust Signals - Mobile Optimized */
  .hero-trust-signal {
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  
  .trust-badge {
    padding: var(--space-md) var(--space-lg);
    font-size: 14px;
    border-radius: 30px;
    min-height: 44px;
  }
  
  .trust-rating {
    font-size: 16px;
  }
  
  /* Benefits - Touch Friendly */
  .hero-benefits {
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) auto;
    max-width: 280px;
  }
  
  .benefit-item {
    padding: var(--space-md);
    background: rgba(244, 208, 63, 0.1);
    border-radius: 16px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  /* Mobile App Showcase */
  .app-showcase {
    height: 350px;
    margin-top: var(--space-xl);
  }
  
  .main-mockup {
    width: 220px;
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  
  .secondary-mockup,
  .floating-pills {
    display: none;
  }
  
  /* iOS 18 Requirement Badge - Prominent on Mobile */
  .ios-requirement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin: var(--space-md) 0;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }
}

/* Responsive Features */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .feature-block.reverse {
    direction: ltr;
  }
  
  .feature-highlights {
    justify-content: center;
  }
  
  .feature-stats {
    justify-content: center;
  }
}

/* Responsive Progress */
@media (max-width: 768px) {
  .progress-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .progress-pills {
    flex-direction: column;
  }
  
  .calendar-days {
    gap: var(--space-sm);
  }
  
  .day {
    width: 30px;
    height: 30px;
  }
}

/* Responsive Community */
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .stat-card.featured {
    transform: none;
  }
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .link-column a:hover {
    transform: none;
  }
}

/* Advanced Responsive Design */
@media (max-width: 1200px) {
  :root {
    --container-max-width: 100%;
    --space-3xl: 4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
  }
  
  .section-header {
    margin-bottom: var(--space-2xl);
  }
  
  .floating-pills,
  .floating-elements {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .app-showcase {
    height: 300px;
  }
  
  .main-progress-card,
  .prayer-consistency-card {
    padding: var(--space-lg);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .mockup-image,
  .feature-screenshot {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .floating,
  .floating-slow,
  .pulsing,
  .glowing {
    animation: none;
  }
  
  .magnetic-cursor {
    display: none;
  }
}

/* Performance Optimizations */
.feature-screenshot,
.mockup-image {
  will-change: transform;
  backface-visibility: hidden;
}

.nav,
.magnetic-cursor {
  will-change: transform;
}

.progress-fill,
.dhikr-progress-fill {
  will-change: stroke-dashoffset, width;
}

/* Print Styles */
@media print {
  .nav,
  .floating-pills,
  .floating-elements,
  .magnetic-cursor {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .hero,
  section {
    break-inside: avoid;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Screen Reader Only */
.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;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-elevated) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-light);
}

/* Additional Animation Classes */
.reveal-up {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s var(--ease-smooth);
}

.reveal-up.in-view {
  transform: translateY(0);
  opacity: 1;
}

.reveal-left {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s var(--ease-smooth);
}

.reveal-left.in-view {
  transform: translateX(0);
  opacity: 1;
}

.reveal-right {
  transform: translateX(50px);
  opacity: 0;
  transition: all 0.8s var(--ease-smooth);
}

.reveal-right.in-view {
  transform: translateX(0);
  opacity: 1;
}

.reveal-scale {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.8s var(--ease-bounce);
}

.reveal-scale.in-view {
  transform: scale(1);
  opacity: 1;
}

/* Text Reveal Animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal .line {
  display: block;
  overflow: hidden;
}

.text-reveal .word {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s var(--ease-smooth);
}

.text-reveal.animate .word {
  transform: translateY(0%);
}

/* Counter Animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Parallax Elements */
.parallax-slow {
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.parallax-medium {
  transform: translateY(0);
  transition: transform 0.2s linear;
}

.parallax-fast {
  transform: translateY(0);
  transition: transform 0.05s linear;
}

/* Additional Utility Classes for New Design */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.bg-gradient-surface {
  background: var(--gradient-surface);
}

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

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.border-light {
  border: 1px solid var(--border-light);
}

.rounded-pill {
  border-radius: var(--border-radius-pill);
}

.font-weight-700 {
  font-weight: 700;
}

.letter-spacing-tight {
  letter-spacing: -0.02em;
}

.cursor-none {
  cursor: pointer;
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  /* Note: loading="lazy" should be set as HTML attribute, not CSS property */
}

/* Interaction States */
.interactive {
  transition: all 0.3s var(--ease-smooth);
}

.interactive:hover {
  transform: translateY(-2px);
}

.interactive:active {
  transform: translateY(0);
}

/* State Classes */
.is-active {
  color: var(--accent);
  border-color: var(--accent);
}

.is-loading {
  pointer-events: none;
  opacity: 0.6;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.4;
}

/* Quran Reader Section */
.quran-reader-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.05) 0%, rgba(46, 107, 79, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.quran-reader-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(244, 208, 63, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.quran-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.quran-text-content .section-header {
  margin-bottom: var(--space-xl);
}

.quran-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quran-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  transition: all 0.4s var(--ease-smooth);
}

.quran-feature:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 208, 63, 0.4);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.15);
}

.feature-icon {
  flex-shrink: 0;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.2) 0%, rgba(82, 196, 26, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}

.quran-feature:hover .icon-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.3) 0%, rgba(82, 196, 26, 0.3) 100%);
}

.tracking-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #F4D03F 0%, #52C41A 100%);
  border-radius: 4px;
  position: relative;
}

.tracking-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 2px;
  z-index: 1;
}

.translation-icon::after {
  content: '';
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #F4D03F 0%, #52C41A 100%);
  border-radius: 50%;
  position: relative;
}

.translation-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  z-index: 1;
}

.goals-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #F4D03F;
  position: relative;
}

.goals-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  z-index: 1;
}

.feature-text h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2xs);
  line-height: 1.3;
}

.feature-text p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Quran Progress Visual */
.quran-progress-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.semicircle-progress {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.semicircle-svg {
  width: 420px;
  height: 252px;
  filter: drop-shadow(0 8px 24px rgba(244, 208, 63, 0.2));
}

.semicircle-track {
  stroke: rgba(244, 208, 63, 0.2);
  stroke-width: 24;
  fill: none;
}

.semicircle-bar {
  stroke: url(#quranGradient);
  stroke-width: 24;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 377; /* π * 120 (größerer Radius) */
  stroke-dashoffset: 377;
  transform-origin: center;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.semicircle-content {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--accent);
  z-index: 2;
  width: 240px;
}

.quran-stats {
  margin-bottom: var(--space-md);
}

.current-juz {
  font-size: 56px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.total-juz {
  font-size: 28px;
  font-weight: 600;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.quran-label {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text);
  line-height: 1.2;
}

.current-surah {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.4;
}

.surah-name {
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-top: var(--space-xs);
}

/* Reading Stats */
.reading-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  width: 100%;
  max-width: 360px;
}

/* Stats positioned below semicircle */
.reading-stats-below {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  width: 100%;
  max-width: 500px;
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  transition: all 0.3s var(--ease-smooth);
}

.stat-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-2xs);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.2;
}

/* Responsive Design for Quran Section */
@media (max-width: 768px) {
  .quran-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .quran-features {
    align-items: center;
  }
  
  .quran-feature {
    max-width: 360px;
  }
  
  .semicircle-svg {
    width: 360px;
    height: 216px;
  }
  
  .current-juz {
    font-size: 52px;
  }
  
  .total-juz {
    font-size: 26px;
  }
  
  .semicircle-content {
    width: 200px;
    top: 65%;
  }
  
  .reading-stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .reading-stats-below {
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
  }
  
  .stat-item {
    padding: var(--space-sm);
  }
  
  .stat-number {
    font-size: 28px;
  }
}

/* Premium Mobile Optimizations */
@media (max-width: 768px) {
  /* Hero Section Mobile Enhancements */
  .hero {
    min-height: 85vh;
    padding-top: var(--space-4xl);
  }
  
  .hero-trust-signal {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-xl);
  }
  
  .trust-badge,
  .trust-rating {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .title-line-primary,
  .title-line-gradient {
    font-size: clamp(2.2rem, 10vw, 4rem);
    text-align: center;
    line-height: 0.9;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
  }
  
  .hero-benefits {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .benefit-item {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: center;
    padding: var(--space-md);
  }
  
  .btn-hero-primary {
    width: 100%;
    max-width: 320px;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.1rem;
  }
  
  .social-proof {
    margin-top: var(--space-lg);
  }
  
  .user-avatars {
    gap: -8px;
  }
  
  /* Feature Blocks Mobile */
  .feature-block-premium {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    margin: var(--space-3xl) 0;
  }
  
  .feature-visual {
    order: -1;
  }
  
  .feature-title-hero {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  
  .feature-description-hero {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .feature-proof {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
    padding: var(--space-md);
  }
  
  .proof-number {
    font-size: 2.2rem;
  }

  .proof-text {
    font-size: 0.9rem;
  }
}

/* Theme Toggle Styles */
.theme-toggle {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  width: 52px;
  height: 28px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(244, 208, 63, 0.4);
  transform: scale(1.05);
}

.theme-toggle-icon {
  font-size: 14px;
  transition: all 0.3s var(--ease-smooth);
  color: var(--text-primary);
  position: absolute;
  opacity: 1;
}

.theme-toggle-icon.sun {
  transform: rotate(0deg);
}

.theme-toggle-icon.moon {
  transform: rotate(180deg);
  opacity: 0;
}

/* Dark theme toggle state */
[data-theme="dark"] .theme-toggle-icon.sun {
  transform: rotate(180deg);
  opacity: 0;
}

[data-theme="dark"] .theme-toggle-icon.moon {
  transform: rotate(0deg);
  opacity: 1;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(244, 208, 63, 0.1);
  border-color: rgba(244, 208, 63, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(244, 208, 63, 0.4);
  transform: scale(1.05);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Navigation Menu */
.nav-menu.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(10, 15, 12, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl) var(--space-lg);
  z-index: 999;
  animation: slideDown 0.3s var(--ease-smooth);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.mobile-open .nav-link {
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu.mobile-open .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-actions {
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-actions .theme-toggle {
    align-self: center;
  }
}

/* Simple Islamic Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--z-modal);
  font-family: var(--font-primary);
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-large);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  border: none;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.4);
}

.chatbot-icon {
  width: 28px;
  height: 28px;
  color: white;
}

.chatbot-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.chatbot-window.open {
  display: flex;
  animation: chatbotSlideUp 0.3s var(--ease-smooth);
}

@keyframes chatbotSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: white;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chatbot-status {
  font-size: 12px;
  opacity: 0.9;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
  flex: 1;
  padding: var(--space-md);
  overflow-y: auto;
  background: var(--background);
}

.chatbot-message {
  margin-bottom: var(--space-md);
  animation: messageSlideIn 0.3s var(--ease-smooth);
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-message.bot .message-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: var(--space-md);
  max-width: 85%;
}

.chatbot-message.user .message-content {
  background: var(--accent);
  color: white;
  border-radius: 12px 12px 4px 12px;
  padding: var(--space-md);
  max-width: 85%;
  margin-left: auto;
  text-align: right;
}

.chatbot-message p {
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.5;
  font-size: 14px;
}

.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.quick-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.quick-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.chatbot-input {
  display: flex;
  padding: var(--space-md);
  background: var(--surface);
  border-top: 1px solid var(--border);
  gap: var(--space-sm);
}

.chatbot-input input {
  flex: 1;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.chatbot-input input:focus {
  border-color: var(--accent);
}

.chatbot-input button {
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chatbot-input button:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.chatbot-input button svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Enhanced Professional Chatbot Styles */
.typing-indicator-advanced {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingDot {
  0%, 80%, 100% { 
    transform: scale(0.6);
    opacity: 0.3;
  }
  40% { 
    transform: scale(1);
    opacity: 1;
  }
}

.typing-text {
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
  margin-left: 8px;
}

.typing-message {
  animation: messageSlideIn 0.3s var(--ease-smooth);
}

/* Enhanced Message Styling */
.chatbot-message.bot .message-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 6px;
  padding: var(--space-md);
  max-width: 90%;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.chatbot-message.bot .message-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0.6;
}

.chatbot-message.user .message-content {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 18px 18px 6px 18px;
  padding: var(--space-md);
  max-width: 85%;
  margin-left: auto;
  text-align: right;
  box-shadow: var(--shadow-soft);
}

.chatbot-message p {
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.6;
  font-size: 14px;
}

.chatbot-message p strong {
  color: var(--accent);
  font-weight: 600;
}

/* Enhanced Quick Buttons */
.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.quick-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.quick-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.3);
}

.quick-btn:hover::before {
  left: 100%;
}

.quick-btn:active {
  transform: translateY(0);
}

/* Enhanced Input Area */
.chatbot-input {
  display: flex;
  padding: var(--space-md);
  background: var(--surface);
  border-top: 1px solid var(--border);
  gap: var(--space-sm);
  backdrop-filter: blur(20px);
}

.chatbot-input input {
  flex: 1;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s var(--ease-smooth);
  color: var(--text);
}

.chatbot-input input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.1);
}

.chatbot-input input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.chatbot-input button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.chatbot-input button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.4);
}

.chatbot-input button:active {
  transform: scale(0.95);
}

.chatbot-input button svg {
  width: 20px;
  height: 20px;
  color: white;
  transition: transform 0.2s ease;
}

.chatbot-input button:hover svg {
  transform: translateX(2px);
}

/* Enhanced Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: white;
  position: relative;
  overflow: hidden;
}

.chatbot-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.chatbot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.chatbot-avatar::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #00ff88;
  border-radius: 50%;
  border: 2px solid white;
}

.chatbot-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chatbot-status {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}

/* Enhanced Window */
.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 550px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border);
  border: none;
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.chatbot-window.open {
  display: flex;
  animation: chatbotSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chatbotSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - 40px);
    max-width: 350px;
    height: 500px;
    bottom: 70px;
    right: 10px;
  }
  
  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }
  
  .chatbot-icon {
    width: 26px;
    height: 26px;
  }
  
  .chatbot-input {
    padding: var(--space-sm);
  }
  
  .chatbot-input input {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .quick-btn {
    font-size: 11px;
    padding: 8px 12px;
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Disable heavy animations on mobile */
  .floating-pills,
  .floating-elements,
  [data-parallax] {
    animation: none !important;
    transform: none !important;
  }
  
  /* Simplified shadows for better performance */
  .btn-primary,
  .btn-download {
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
  }
  
  /* Reduce blur effects on mobile */
  .nav {
    backdrop-filter: blur(10px);
  }
  
  .chatbot-window {
    backdrop-filter: blur(10px);
  }
  
  /* Touch-optimized feature blocks */
  .feature-benefits {
    gap: var(--space-md);
    padding: var(--space-md);
  }
  
  .benefit-check {
    padding: var(--space-md);
    font-size: 14px;
    text-align: left;
    min-height: 48px;
    border-radius: 12px;
    background: rgba(244, 208, 63, 0.05);
    transition: background-color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .benefit-check:active {
    background: rgba(244, 208, 63, 0.1);
  }
  
  /* Mobile-optimized quick buttons */
  .quick-btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
    margin: 4px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .quick-btn:active {
    transform: scale(0.95);
  }
  
  /* Improved mobile scrolling */
  .chatbot-messages {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Mobile viewport optimizations */
  .hero-container {
    min-height: 100svh; /* Use small viewport height for mobile */
  }
  
  /* Prevent zoom on inputs */
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
  }
  
  /* Mobile-friendly focus states */
  button:focus,
  a:focus,
  input:focus {
    outline: 3px solid rgba(244, 208, 63, 0.6);
    outline-offset: 2px;
  }
  
  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Section Headers Mobile */
@media (max-width: 768px) {
  .section-title-hero {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
    text-align: center;
  }
  
  .section-subtitle-premium {
    font-size: 1rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Design Showcase Mobile */
  .design-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .design-visual {
    order: -1;
  }
  
  .design-feature {
    text-align: center;
    align-items: center;
  }
  
  /* Progress Section Mobile */
  .progress-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .progress-visual {
    order: -1;
  }
  
  .insight-cards {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  /* Community Mobile */
  .community-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  /* Navigation Mobile */
  .nav-links {
    display: none;
  }
  
  .nav-brand {
    gap: var(--space-sm);
  }
  
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  
  /* Scroll Indicator Mobile */
  .hero-scroll-indicator {
    bottom: var(--space-lg);
  }
  
  .scroll-text {
    font-size: 0.75rem;
  }
  
  /* Magnetic Cursor Disable */
  .magnetic-cursor {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Ultra-small screen optimizations */
  .hero {
    padding-top: var(--space-3xl);
    min-height: 80vh;
  }
  
  .hero-trust-signal {
    margin-bottom: var(--space-lg);
  }
  
  .trust-badge,
  .trust-rating {
    font-size: 0.75rem;
    padding: var(--space-2xs) var(--space-xs);
  }
  
  .title-line-primary,
  .title-line-gradient {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .benefit-item {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
  
  .btn-hero-primary {
    max-width: 280px;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }
  
  .feature-block-premium {
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-2xl) 0;
  }
  
  .feature-title-hero {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .feature-description-hero {
    font-size: 0.95rem;
  }
  
  .proof-number {
    font-size: 2rem;
  }
  
  .benefit-check {
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .section-badge-premium {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .insight-cards {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
}

/* Exit-Intent Newsletter Popup */
.exit-intent-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
}

.exit-intent-popup.show {
  display: flex;
  opacity: 1;
  pointer-events: all;
  align-items: center;
  justify-content: center;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.popup-content {
  position: relative;
  max-width: 480px;
  width: 90%;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border-radius: 24px;
  padding: var(--space-2xl);
  border: 1px solid rgba(244, 208, 63, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 80px rgba(244, 208, 63, 0.1);
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s var(--ease-bounce);
}

.exit-intent-popup.show .popup-content {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.popup-close:hover {
  background: rgba(244, 208, 63, 0.2);
  color: var(--accent);
  transform: scale(1.1);
}

.popup-close svg {
  width: 20px;
  height: 20px;
}

.popup-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.popup-icon {
  position: relative;
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.popup-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: popupPulse 2s infinite;
}

@keyframes popupPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.1; }
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.popup-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.popup-benefits {
  margin-bottom: var(--space-2xl);
}

.popup-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.benefit-check-popup {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.popup-form {
  margin-bottom: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

#popupEmail {
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 208, 63, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-secondary);
  transition: all 0.3s var(--ease-smooth);
}

#popupEmail:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

#popupEmail::placeholder {
  color: var(--text-tertiary);
}

.popup-cta {
  position: relative;
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 12px;
  color: var(--background);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244, 208, 63, 0.4);
}

.popup-cta:active {
  transform: translateY(0);
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top: 2px solid var(--background);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

.popup-privacy {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--space-sm);
}

.popup-social-proof {
  text-align: center;
}

.social-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.avatar-popup {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border: 2px solid var(--surface);
}

.social-count {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-left: var(--space-sm);
}

/* Mobile Optimization for Popup */
@media (max-width: 768px) {
  .popup-content {
    max-width: 360px;
    padding: var(--space-xl) var(--space-lg);
  }
  
  .popup-title {
    font-size: 1.5rem;
  }
  
  .popup-subtitle {
    font-size: 0.9rem;
  }
  
  .form-group {
    gap: var(--space-sm);
  }
  
  #popupEmail {
    padding: var(--space-sm) var(--space-md);
  }
  
  .popup-cta {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
  }
}

/* Service Worker & PWA Notifications */
.update-notification,
.pwa-install-prompt {
  font-family: var(--font-secondary);
}

.update-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.update-icon {
  font-size: 1.5rem;
  animation: rotate 2s linear infinite;
}

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

.update-text strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.update-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 4px 0 0 0;
}

.update-btn {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--background);
  border: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
}

.update-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
}

.update-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 4px;
  transition: all 0.3s var(--ease-smooth);
}

.update-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.install-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.install-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.install-text {
  flex: 1;
}

.install-text strong {
  color: var(--accent);
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

.install-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.install-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.install-btn {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--background);
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
}

.install-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
}

.install-later {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.install-later:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 208, 63, 0.3);
  color: var(--text);
}

/* Mobile Optimization for Notifications */
@media (max-width: 768px) {
  .update-notification {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .pwa-install-prompt {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .install-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .install-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  
  .install-btn,
  .install-later {
    flex: 1;
  }
}

/* ================================================================================================ */
/* MOBILE-OPTIMIZED PROGRESSIVE BLUR BACKGROUND */
/* ================================================================================================ */

/* Progressive Blur Background - Desktop First */
.progressive-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.blur-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    /* GPU acceleration for better performance */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* Desktop Blur Layers */
.blur-1 {
    background: radial-gradient(ellipse 800px 400px at 20% 30%, rgba(27, 77, 62, 0.15) 0%, transparent 50%);
    filter: blur(40px);
    animation: floatBlur1 20s ease-in-out infinite;
}

.blur-2 {
    background: radial-gradient(ellipse 600px 300px at 80% 70%, rgba(244, 208, 63, 0.1) 0%, transparent 50%);
    filter: blur(60px);
    animation: floatBlur2 25s ease-in-out infinite reverse;
}

.blur-3 {
    background: radial-gradient(ellipse 400px 600px at 50% 80%, rgba(36, 58, 45, 0.08) 0%, transparent 50%);
    filter: blur(80px);
    animation: floatBlur3 30s ease-in-out infinite;
}

.gradient-overlay {
    background: linear-gradient(135deg, 
        rgba(27, 77, 62, 0.02) 0%, 
        rgba(244, 208, 63, 0.03) 50%, 
        rgba(36, 58, 45, 0.02) 100%);
    backdrop-filter: blur(1px);
}

/* Enhanced Hero Section with Blur */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

/* Desktop Blur Animations */
@keyframes floatBlur1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    33% { 
        transform: translate(30px, -30px) scale(1.1); 
        opacity: 0.8;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9); 
        opacity: 0.9;
    }
}

@keyframes floatBlur2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translate(-40px, -20px) scale(1.2); 
        opacity: 0.7;
    }
}

@keyframes floatBlur3 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    25% { 
        transform: translate(20px, 30px) scale(0.8); 
        opacity: 0.8;
    }
    75% { 
        transform: translate(-30px, -10px) scale(1.1); 
        opacity: 0.9;
    }
}

/* ================================================================================================ */
/* MOBILE OPTIMIZATIONS - Performance First */
/* ================================================================================================ */

/* Tablet Optimization */
@media (max-width: 1024px) {
    .blur-1 {
        background: radial-gradient(ellipse 600px 300px at 25% 25%, rgba(27, 77, 62, 0.12) 0%, transparent 60%);
        filter: blur(30px);
        animation: floatBlurTablet1 25s ease-in-out infinite;
    }
    
    .blur-2 {
        background: radial-gradient(ellipse 450px 250px at 75% 65%, rgba(244, 208, 63, 0.08) 0%, transparent 60%);
        filter: blur(45px);
        animation: floatBlurTablet2 30s ease-in-out infinite reverse;
    }
    
    .blur-3 {
        background: radial-gradient(ellipse 300px 450px at 50% 75%, rgba(36, 58, 45, 0.06) 0%, transparent 60%);
        filter: blur(60px);
        animation: floatBlurTablet3 35s ease-in-out infinite;
    }
}

/* Mobile Phone Optimization */
@media (max-width: 768px) {
    .blur-1 {
        background: radial-gradient(ellipse 350px 200px at 30% 20%, rgba(27, 77, 62, 0.08) 0%, transparent 70%);
        filter: blur(20px);
        animation: floatBlurMobile1 35s ease-in-out infinite;
    }
    
    .blur-2 {
        background: radial-gradient(ellipse 280px 160px at 70% 60%, rgba(244, 208, 63, 0.05) 0%, transparent 70%);
        filter: blur(30px);
        animation: floatBlurMobile2 40s ease-in-out infinite reverse;
    }
    
    .blur-3 {
        background: radial-gradient(ellipse 200px 280px at 50% 80%, rgba(36, 58, 45, 0.03) 0%, transparent 70%);
        filter: blur(40px);
        animation: floatBlurMobile3 45s ease-in-out infinite;
    }
    
    .gradient-overlay {
        background: linear-gradient(135deg, 
            rgba(27, 77, 62, 0.01) 0%, 
            rgba(244, 208, 63, 0.015) 50%, 
            rgba(36, 58, 45, 0.01) 100%);
        backdrop-filter: none; /* Remove for mobile performance */
    }
}

/* Small Mobile Optimization */
@media (max-width: 480px) {
    .blur-1, .blur-2, .blur-3 {
        opacity: 0.6;
        filter: blur(15px);
    }
    
    .blur-1 {
        background: radial-gradient(ellipse 250px 150px at 30% 20%, rgba(27, 77, 62, 0.06) 0%, transparent 80%);
    }
    
    .blur-2 {
        background: radial-gradient(ellipse 200px 120px at 70% 60%, rgba(244, 208, 63, 0.04) 0%, transparent 80%);
    }
    
    .blur-3 {
        background: radial-gradient(ellipse 150px 200px at 50% 80%, rgba(36, 58, 45, 0.02) 0%, transparent 80%);
    }
}

/* Tiny Screens - Ultra Light */
@media (max-width: 320px) {
    .progressive-blur-bg {
        opacity: 0.3;
    }
    
    .blur-3 {
        display: none; /* Hide third layer on very small screens */
    }
}

/* Mobile-Optimized Animations - Smoother & Less Intensive */
@keyframes floatBlurTablet1 {
    0%, 100% { transform: translate(0, 0) scale(0.95); opacity: 0.8; }
    50% { transform: translate(20px, -15px) scale(1.05); opacity: 0.6; }
}

@keyframes floatBlurTablet2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-25px, -10px) scale(1.1); opacity: 0.4; }
}

@keyframes floatBlurTablet3 {
    0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.5; }
    50% { transform: translate(15px, 20px) scale(1); opacity: 0.3; }
}

@keyframes floatBlurMobile1 {
    0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.6; }
    50% { transform: translate(15px, -10px) scale(1); opacity: 0.4; }
}

@keyframes floatBlurMobile2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-20px, -8px) scale(1.05); opacity: 0.3; }
}

@keyframes floatBlurMobile3 {
    0%, 100% { transform: translate(0, 0) scale(0.85); opacity: 0.3; }
    50% { transform: translate(10px, 15px) scale(0.95); opacity: 0.2; }
}

/* Accessibility - Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    .blur-1, .blur-2, .blur-3 {
        animation: none;
    }
    
    .progressive-blur-bg {
        opacity: 0.7; /* Slightly reduce intensity for sensitive users */
    }
}

/* Battery & Performance Optimization */
@media (max-width: 768px) and (max-resolution: 2dppx) {
    /* Lower resolution screens - reduce blur intensity */
    .blur-1, .blur-2, .blur-3 {
        filter: blur(12px);
        opacity: 0.5;
    }
}

/* ================================================================================================ */
/* MOBILE HERO LAYOUT OVERHAUL - Smartphone Optimized */
/* ================================================================================================ */

@media (max-width: 768px) {
    /* RESET ALL DESKTOP STYLES FOR MOBILE */
    .hero {
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding: 80px var(--space-md) var(--space-2xl) !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .hero-container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-lg) !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    
    /* Trust Signal Mobile */
    .hero-trust-signal {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .trust-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-xs);
        padding: var(--space-sm) var(--space-md);
        background: rgba(244, 208, 63, 0.1);
        border-radius: var(--border-radius-pill);
        border: 1px solid rgba(244, 208, 63, 0.2);
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .trust-rating {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        font-size: 0.9rem;
        color: var(--text-secondary);
    }
    
    .stars {
        color: #ffc107;
        font-size: 0.9rem;
    }
    
    .ios-requirement-badge {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        padding: var(--space-xs) var(--space-sm);
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--border-radius-pill);
        font-size: 0.75rem;
        color: var(--text-tertiary);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Main Hero Content Mobile */
    .hero-main {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: var(--space-lg);
        font-weight: 800;
    }
    
    .title-line-primary,
    .title-line-gradient {
        display: block;
    }
    
    .title-line-gradient {
        background: linear-gradient(135deg, #F4D03F, #1B4D3E);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .hero-subtitle-wrapper {
        margin-bottom: var(--space-xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        line-height: 1.6;
        color: var(--text-secondary);
        max-width: none;
        margin: 0 auto;
    }
    
    .subtitle-highlight {
        color: var(--accent);
        font-weight: 600;
        background: linear-gradient(135deg, #F4D03F, #E8C547);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    /* Benefits Mobile */
    .hero-benefits {
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin: var(--space-xl) 0;
    }
    
    .benefit-item {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-md);
        background: rgba(244, 208, 63, 0.05);
        border-radius: var(--border-radius);
        border: 1px solid rgba(244, 208, 63, 0.1);
        font-size: var(--font-size-sm);
        font-weight: 500;
    }
    
    .benefit-icon {
        width: 20px;
        height: 20px;
        background: var(--accent);
        border-radius: 50%;
        flex-shrink: 0;
    }
    
    /* Stats Mobile */
    .hero-actions {
        order: 4;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
        margin-bottom: var(--space-xl);
    }
    
    .stat {
        text-align: center;
        padding: var(--space-md);
        background: rgba(255, 255, 255, 0.03);
        border-radius: var(--border-radius);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stat-number {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: var(--space-xs);
    }
    
    .stat-label {
        font-size: 0.8rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* CTA Mobile */
    .hero-cta-section {
        order: 5;
    }
    
    .cta-primary {
        margin-bottom: var(--space-lg);
    }
    
    .btn-hero-primary {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-lg) var(--space-xl);
        font-size: var(--font-size-lg);
        font-weight: 600;
        border-radius: var(--border-radius-large);
        background: linear-gradient(135deg, #F4D03F, #E8C547);
        color: #1B4D3E;
        text-decoration: none;
        box-shadow: 0 8px 32px rgba(244, 208, 63, 0.3);
        transition: all 0.3s ease;
        min-height: 56px; /* Better touch target */
    }
    
    .btn-hero-primary:hover,
    .btn-hero-primary:active {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(244, 208, 63, 0.4);
    }
    
    .btn-content {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .cta-subtitle {
        text-align: center;
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        margin-top: var(--space-md);
        line-height: 1.4;
    }
    
    /* Social Proof Mobile */
    .cta-secondary {
        text-align: center;
    }
    
    .social-proof {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .user-avatars {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        justify-content: center;
    }
    
    .avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #F4D03F, #1B4D3E);
        border: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .avatar-count {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--accent);
        margin-left: var(--space-xs);
    }
    
    .social-proof-text {
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        text-align: center;
        margin: 0;
    }
    
    /* Scroll Indicator Mobile */
    .hero-scroll-indicator {
        order: 6;
        margin-top: var(--space-2xl);
        text-align: center;
    }
    
    .scroll-text {
        font-size: var(--font-size-sm);
        color: var(--text-tertiary);
        margin-bottom: var(--space-sm);
    }
}

/* Small Mobile Specific */
@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .hero-container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    
    .stat {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .benefit-item {
        padding: var(--space-sm);
        font-size: 0.85rem;
    }
    
    .btn-hero-primary {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--font-size-base);
        min-height: 48px;
    }
}

/* Tiny Mobile */
@media (max-width: 360px) {
    .hero-content {
        gap: var(--space-lg);
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .hero-benefits {
        margin: var(--space-lg) 0;
    }
}

/* ================================================================================================ */
/* MOBILE LAYOUT COMPLETE FIX - FINAL OVERRIDE */
/* ================================================================================================ */
@media (max-width: 768px) {
    /* COMPLETE MOBILE RESET - Override all desktop styles */
    .hero {
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding: 70px 16px 32px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
        text-align: center !important;
    }
    
    .hero-container {
        display: block !important;
        padding: 0 !important;
        max-width: 400px !important;
        width: 100% !important;
        margin: 0 auto !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .hero-content {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    /* Trust Signal Mobile - Fixed Layout */
    .hero-trust-signal {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
        margin-bottom: 32px !important;
        width: 100% !important;
    }
    
    .trust-badge,
    .trust-rating,
    .ios-requirement-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-radius: 20px !important;
        background: rgba(244, 208, 63, 0.1) !important;
        border: 1px solid rgba(244, 208, 63, 0.2) !important;
        white-space: nowrap !important;
        width: auto !important;
        min-width: auto !important;
    }
    
    /* Main Hero Content Mobile - Centered & Stacked */
    .hero-main {
        margin-bottom: 24px !important;
        text-align: center !important;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
    
    .title-line-primary,
    .title-line-gradient {
        display: block !important;
        font-size: inherit !important;
        line-height: inherit !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    .hero-subtitle-wrapper {
        margin-bottom: 24px !important;
        width: 100% !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }
    
    .subtitle-highlight {
        color: var(--accent) !important;
        font-weight: 600 !important;
    }
    
    /* Benefits Mobile - Stacked Vertically */
    .hero-benefits {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
        margin: 24px 0 !important;
        width: 100% !important;
    }
    
    .benefit-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-radius: 16px !important;
        background: rgba(27, 77, 62, 0.1) !important;
        border: 1px solid rgba(27, 77, 62, 0.2) !important;
        width: auto !important;
        min-width: auto !important;
        white-space: nowrap !important;
    }
    
    .benefit-icon {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }
    
    /* Hero Actions Mobile - Stats Grid */
    .hero-actions {
        margin: 24px 0 !important;
        width: 100% !important;
    }
    
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .stat {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 12px 8px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .stat-number {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--accent) !important;
        line-height: 1 !important;
    }
    
    .stat-label {
        font-size: 10px !important;
        color: var(--text-secondary) !important;
        margin-top: 4px !important;
        line-height: 1 !important;
    }
    
    /* CTA Section Mobile - Full Width Button */
    .hero-cta-section {
        margin: 32px 0 16px 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .cta-primary {
        width: 100% !important;
        margin-bottom: 16px !important;
    }
    
    .btn-hero-primary {
        width: 100% !important;
        max-width: 320px !important;
        min-height: 56px !important;
        padding: 16px 24px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 28px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .btn-content {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .btn-text {
        font-size: inherit !important;
        font-weight: inherit !important;
    }
    
    .btn-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    .cta-subtitle {
        font-size: 11px !important;
        color: var(--text-secondary) !important;
        margin-top: 8px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
    
    /* Secondary CTA - Social Proof */
    .cta-secondary {
        margin-top: 16px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .social-proof {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .user-avatars {
        display: flex !important;
        gap: -4px !important;
        align-items: center !important;
    }
    
    .avatar {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        border: 2px solid var(--background) !important;
    }
    
    /* Hide desktop-only elements on mobile */
    .hero-visual,
    .floating-pills,
    .floating-elements,
    .title-decoration {
        display: none !important;
    }
}