/* ===================================
   Mindfulness AI - Main Styles
   =================================== */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #2AA897;
  --primary-dark: #228A7B;
  --primary-light: #3DBFAF;
  --secondary: #FF6B52;
  --secondary-dark: #E65545;
  --accent: #6aa84f;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2AA897 0%, #3DBFAF 100%);
  --gradient-secondary: linear-gradient(135deg, #FF6B52 0%, #FFA593 100%);
  --gradient-hero: linear-gradient(135deg, rgba(42,168,151,0.9) 0%, rgba(61,191,175,0.7) 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --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: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  font-size: var(--font-size-2xl);
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-logo-image {
  width: 48px;
  height: 48px;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-donate-nav {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition-base);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(42, 168, 151, 0.1), rgba(255, 107, 82, 0.08), rgba(106, 168, 79, 0.08)),
              url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 11, 30, 0.7), rgba(0, 11, 30, 0.4));
  z-index: 2;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 3;
}

.orb {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 168, 151, 0.6), rgba(61, 191, 175, 0.4));
  box-shadow:
    0 0 20px rgba(42, 168, 151, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 4;
  color: #ffffff;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: var(--spacing-5xl);
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.hero-story {
  flex: 1 1 320px;
  text-align: left;
}

.hero-visual {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

/* Enhanced Meditation Scene */
.meditation-scene {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1 / 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.meditation-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0.85;
  z-index: 0;
}

.meditation-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.7;
  transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-primary {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(61, 191, 175, 0.6), transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 10s infinite alternate ease-in-out;
}

.glow-secondary {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(106, 168, 79, 0.5), transparent 70%);
  top: 60%;
  left: 25%;
  animation: pulse 14s infinite alternate-reverse ease-in-out;
}

.glow-accent {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 82, 0.4), transparent 70%);
  top: 50%;
  right: 15%;
  animation: pulse 12s infinite alternate ease-in-out;
}

.meditation-figure {
  position: relative;
  z-index: 1;
  width: 90%;
  height: 90%;
  padding: var(--spacing-xl);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.figure-elements {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.figure-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.circle-outer {
  width: 200px;
  height: 200px;
  animation: breathe-circle 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-middle {
  width: 160px;
  height: 160px;
  animation: breathe-circle 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-inner {
  width: 120px;
  height: 120px;
  animation: breathe-circle 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.meditation-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  animation: gentle-float 6s infinite alternate ease-in-out;
}

.shadow-soft {
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.15),
    0 2px 10px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(61, 191, 175, 0.2);
}

.meditation-quote {
  text-align: center;
  max-width: 280px;
}

.meditation-quote p {
  font-size: var(--font-size-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: var(--spacing-xs);
}

.meditation-quote cite {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Breathing Animations */
.breathe-slow {
  animation-duration: 10s;
}

.breathe-medium {
  animation-duration: 7s;
}

.breathe-fast {
  animation-duration: 4s;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #2AA897 0%, #3DBFAF 50%, #FF6B52 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Enhanced Hero Story Elements */
.story-context {
  margin-bottom: var(--spacing-md);
}

.story-whisper {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
}

.hero-tagline {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.tagline-emphasis {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.tagline-support {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
  opacity: 0.95;
  z-index: 15;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  opacity: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%) translateY(-4px);
  outline: none;
}

.scroll-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.scroll-arrow {
  font-size: var(--font-size-2xl);
  margin-top: 0;
  display: block;
}

/* Floating Particles */
.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.particle {
  position: absolute;
  font-size: var(--font-size-2xl);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }

/* Scroll Indicator */
.scroll-arrow {
  font-size: var(--font-size-2xl);
  animation: bounce 2s infinite;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Section Styles */
section {
  padding: var(--spacing-2xl) 0;
}

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

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin: var(--spacing-md) auto 0;
  border-radius: var(--radius-full);
}

/* Mission Section */
.mission {
  background: var(--gray-50);
}

.mission-text {
  font-size: var(--font-size-xl);
  line-height: 1.8;
  color: var(--gray-700);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto var(--spacing-2xl);
}

.value-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  text-align: center;
}

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

.value-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-md);
  display: block;
}

.value-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.value-description {
  font-size: var(--font-size-base);
  color: var(--gray-500);
  line-height: 1.6;
}

.mission-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(42, 168, 151, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
}

.mission-quote blockquote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--gray-700);
  margin: 0 0 var(--spacing-sm);
  line-height: 1.7;
}

.mission-quote cite {
  font-size: var(--font-size-base);
  color: var(--primary);
  font-weight: 600;
  font-style: normal;
}

/* Features Section - Enhanced 3D Universe */
.features {
  background: linear-gradient(180deg, 
    rgba(248, 250, 252, 0.95) 0%, 
    rgba(241, 245, 249, 0.98) 50%, 
    rgba(248, 250, 252, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.features-universe {
  position: relative;
  min-height: 100vh;
  padding: var(--spacing-4xl) 0;
}

/* Ambient Floating Particles */
.ambient-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.particle-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, 
    rgba(61, 191, 175, 0.15), 
    rgba(106, 168, 79, 0.08), 
    transparent 70%);
  filter: blur(2px);
  animation: floatUniverse calc(18s + var(--delay, 0s)) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.orb-1 { top: 10%; left: 5%; }
.orb-2 { top: 60%; right: 8%; }
.orb-3 { top: 30%; left: 50%; transform: translateX(-50%); }

/* Features Constellation Layout */
.features-constellation {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Feature Story Cards */
.feature-story {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: var(--spacing-2xl);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-story:hover {
  transform: rotateX(-2deg) rotateY(4deg) translateY(-12px) translateZ(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Feature Backdrop Visual Layers */
.feature-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  opacity: 0.6;
  z-index: -1;
  transition: opacity 0.6s ease;
}

.meditation-backdrop {
  background: radial-gradient(circle at 20% 80%, rgba(147, 197, 253, 0.3), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(196, 181, 253, 0.2), transparent 60%);
}

.emotion-backdrop {
  background: radial-gradient(circle at 30% 70%, rgba(251, 113, 133, 0.25), transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(248, 113, 113, 0.2), transparent 60%);
}

.wisdom-backdrop {
  background: radial-gradient(circle at 40% 60%, rgba(34, 197, 94, 0.25), transparent 60%),
              radial-gradient(circle at 60% 40%, rgba(101, 163, 13, 0.2), transparent 60%);
}

.coaching-backdrop {
  background: radial-gradient(circle at 25% 75%, rgba(250, 204, 21, 0.25), transparent 60%),
              radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.2), transparent 60%);
}

.insights-backdrop {
  background: radial-gradient(circle at 35% 65%, rgba(139, 92, 246, 0.25), transparent 60%),
              radial-gradient(circle at 65% 35%, rgba(124, 58, 237, 0.2), transparent 60%);
}

.growth-backdrop {
  background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.25), transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(5, 150, 105, 0.2), transparent 60%);
}

.feature-story:hover .feature-backdrop {
  opacity: 0.8;
}

/* Feature Content Layout */
.feature-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Enhanced Icon Scene with Depth */
.feature-icon-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  height: 100px;
  perspective: 200px;
}

.icon-depth-layer {
  position: relative;
  font-size: 4rem;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
  filter: blur(15px);
  transition: all 0.6s ease;
}

.meditation-glow { background: radial-gradient(circle, rgba(147, 197, 253, 0.8), transparent 70%); }
.emotion-glow { background: radial-gradient(circle, rgba(251, 113, 133, 0.8), transparent 70%); }
.wisdom-glow { background: radial-gradient(circle, rgba(34, 197, 94, 0.8), transparent 70%); }
.coaching-glow { background: radial-gradient(circle, rgba(250, 204, 21, 0.8), transparent 70%); }
.insights-glow { background: radial-gradient(circle, rgba(139, 92, 246, 0.8), transparent 70%); }
.growth-glow { background: radial-gradient(circle, rgba(16, 185, 129, 0.8), transparent 70%); }

.feature-story:hover .icon-depth-layer {
  transform: translateZ(10px) scale(1.1);
}

.feature-story:hover .icon-glow {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1.2);
}

/* Feature Narrative Content */
.feature-narrative {
  flex: 1;
  text-align: left;
}

.feature-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.feature-story-opener {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
  opacity: 0.9;
}

.feature-description {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

/* Benefit Tags */
.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-top: auto;
}

.benefit-tag {
  display: inline-block;
  background: rgba(61, 191, 175, 0.1);
  color: var(--primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid rgba(61, 191, 175, 0.2);
  transition: all 0.3s ease;
}

.benefit-tag:hover {
  background: rgba(61, 191, 175, 0.15);
  transform: scale(1.05);
}

/* Staggered Animation Delays */
.feature-delay-1 { animation-delay: 0s; }
.feature-delay-2 { animation-delay: 0.1s; }
.feature-delay-3 { animation-delay: 0.2s; }
.feature-delay-4 { animation-delay: 0.3s; }
.feature-delay-5 { animation-delay: 0.4s; }
.feature-delay-6 { animation-delay: 0.5s; }

/* Features Call to Action */
.features-cta {
  text-align: center;
  margin-top: var(--spacing-4xl);
  padding: var(--spacing-2xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-message {
  font-size: var(--font-size-xl);
  color: var(--gray-700);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

/* Enhanced Screenshots Section */
.screenshots {
  background: linear-gradient(180deg, 
    rgba(241, 245, 249, 0.95) 0%, 
    rgba(248, 250, 252, 0.98) 50%, 
    rgba(241, 245, 249, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

/* Atmospheric Background Elements */
.screenshots-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.atmosphere-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  animation: atmosphereFloat 20s ease-in-out infinite;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 191, 175, 0.3), transparent 70%);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.glow-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(106, 168, 79, 0.25), transparent 70%);
  top: 60%;
  right: 15%;
  animation-delay: 7s;
}

.glow-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 82, 0.2), transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 14s;
}

.screenshots-carousel {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-card {
  text-align: center;
}

.screenshots-carousel .screenshot-card.scroll-reveal-scale:nth-child(1) {
  transition-delay: 0.0s;
}

.screenshots-carousel .screenshot-card.scroll-reveal-scale:nth-child(2) {
  transition-delay: 0.08s;
}

.screenshots-carousel .screenshot-card.scroll-reveal-scale:nth-child(3) {
  transition-delay: 0.16s;
}

.screenshots-carousel .screenshot-card.scroll-reveal-scale:nth-child(4) {
  transition-delay: 0.24s;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--gray-900);
  border-radius: 2.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  margin: 0 auto var(--spacing-md);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 2rem;
  overflow: hidden;
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-md);
}

/* Enhanced Screenshot Storytelling */
.screenshot-story {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
}

.screenshot-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.screenshot-caption {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Support Section */
.support {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.support-message {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

.support-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-md);
}

.support-text {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--gray-700);
}

.donation-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto var(--spacing-xl);
}

.tier-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
}

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

.tier-card.featured {
  border: 3px solid var(--primary);
  transform: scale(1.03);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.tier-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-sm);
}

.tier-amount {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.tier-label {
  font-size: var(--font-size-base);
  color: var(--gray-500);
  margin-bottom: var(--spacing-md);
}
.tier-seed {
  background: linear-gradient(135deg, rgba(42, 168, 151, 0.06), rgba(255, 255, 255, 0.95));
}

.tier-sapling {
  background: linear-gradient(135deg, rgba(42, 168, 151, 0.09), rgba(61, 191, 175, 0.04));
}

.tier-tree {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.1), rgba(42, 168, 151, 0.05));
}

.tier-custom {
  background: linear-gradient(135deg, rgba(255, 107, 82, 0.06), rgba(255, 255, 255, 0.95));
}

.btn-tier {
  width: 100%;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-tier:hover {
  background: var(--gray-200);
}

.btn-tier.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.impact-statement {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--gray-700);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* Download Section */
.download {
  background: var(--white);
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2xl);
}

.download-badges {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  display: block;
  text-decoration: none;
  transition: var(--transition-base);
  border-radius: var(--radius-lg);
}

.store-badge:focus-visible,
.store-badge:hover {
  transform: translateY(-5px);
  outline: none;
}

.store-badge:focus-visible .store-badge-content {
  box-shadow: 0 0 0 3px rgba(42, 168, 151, 0.35);
}

.store-badge-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--gray-900);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  min-width: 180px;
}

.store-text-group {
  display: flex;
  flex-direction: column;
}

.store-icon {
  font-size: var(--font-size-3xl);
}

.store-text-small {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.store-text-large {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.download-qr {
  text-align: center;
}

.qr-code {
  width: 200px;
  height: 200px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.qr-placeholder {
  font-size: var(--font-size-5xl);
}

.qr-text {
  font-size: var(--font-size-base);
  color: var(--gray-500);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(140px, 1fr));
  gap: var(--spacing-lg);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: var(--gray-300);
  font-size: var(--font-size-sm);
}

.footer-column h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column a {
  color: var(--gray-300);
  font-size: var(--font-size-sm);
  transition: var(--transition-base);
}

.footer-column a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  font-size: var(--font-size-xl);
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: var(--font-size-2xl);
  color: var(--gray-500);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.modal-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.modal-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.modal-header p {
  color: var(--gray-500);
}

.modal-body {
  padding: var(--spacing-xl);
}

.donation-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.amount-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

.amount-btn {
  padding: var(--spacing-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition-base);
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.custom-amount label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: var(--spacing-md);
  color: var(--gray-500);
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 2.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: var(--transition-base);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.donation-note {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

#paypal-button-container {
  margin-top: var(--spacing-md);
}

/* ================================
   Stories of Hope Section
   ================================ */

.stories-section {
  position: relative;
  padding: var(--spacing-4xl) 0;
  background: var(--white);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.stories-atmosphere {
  display: none;
}

.stories-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  width: 100%;
  box-sizing: border-box;
}

.story-card-right {
  grid-template-columns: 1fr 1fr;
}

.story-card-right .story-content {
  order: 1;
}

.story-card-right .story-image-wrapper {
  order: 2;
}

.story-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background-color: var(--gray-50);
}

.story-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.story-image-overlay {
  display: none;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.story-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin: 0;
}

.story-text {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.7;
  margin: var(--spacing-xs) 0 0;
}

.story-impact {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.impact-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.impact-text {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0;
}

.impact-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* Stories CTA */

.stories-cta {
  margin-top: var(--spacing-4xl);
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--spacing-xl);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  width: 100%;
  box-sizing: border-box;
}

.cta-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.cta-content > p {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: var(--font-size-base);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
  min-width: 200px;
  justify-content: center;
  text-align: center;
}

.btn-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
