/* Theme-aware component styles for Tailwind UI components */
/* This file maps Tailwind's default color classes to our CSS variables */

/* Import Vision Components styles */

/* vision-backgrounds.css */
/* Vision Hero Background Effects - World-Class Premium Design */

/* Base pattern container with performance optimizations */
.pattern-container {
  contain: layout style paint;
  will-change: transform;
}

/* Mobile performance - no animations or complex effects */
@media (max-width: 1023px) {
  .pattern-container {
    will-change: auto;
  }
  .wave-pattern::before,
  .wave-pattern::after,
  .aurora-pattern::before,
  .aurora-pattern::after {
    animation: none !important;
  }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

/* Base background container */
.vision-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  contain: layout style paint;
}

/* ==================================
   1. GRADIENT MESH - Organic flowing gradients
   ================================== */
.bg-gradient-mesh {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  overflow: hidden;
}

.bg-gradient-mesh::before,
.bg-gradient-mesh::after {
  content: '';
  position: absolute;
  inset: -20%; /* Extend beyond borders to hide edges */
  width: 140%;
  height: 140%;
}

.bg-gradient-mesh::before {
  background: 
    radial-gradient(circle at 30% 70%, var(--atmosphere-primary) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, var(--atmosphere-secondary) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--atmosphere-accent) 0%, transparent 35%),
    radial-gradient(circle at 85% 85%, var(--atmosphere-primary-light, var(--atmosphere-primary)) 0%, transparent 40%);
  opacity: 0.9;
  filter: brightness(1.4) saturate(1.2);
}

.bg-gradient-mesh::after {
  background: 
    radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
}

/* Desktop only: Subtle breathing animation */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .bg-gradient-mesh::before {
    animation: mesh-breathe 30s ease-in-out infinite;
  }
}

@keyframes mesh-breathe {
  0%, 100% { 
    transform: scale(1) translate(0, 0);
  }
  25% { 
    transform: scale(1.05) translate(-5%, -5%);
  }
  50% { 
    transform: scale(1.08) translate(5%, -5%);
  }
  75% { 
    transform: scale(1.05) translate(0, 5%);
  }
}

/* ==================================
   2. WAVE PATTERN - Flowing multi-color waves
   ================================== */
.bg-wave-pattern {
  /* Base gradient using all atmosphere colors */
  background: linear-gradient(135deg, 
    var(--atmosphere-primary) 0%,
    var(--atmosphere-primary-light, var(--atmosphere-primary)) 25%,
    var(--atmosphere-secondary) 50%,
    var(--atmosphere-accent) 75%,
    var(--atmosphere-primary) 100%
  );
  background-size: 200% 200%;
}

/* Layer 1: Light highlight wave */
.bg-wave-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600% 100% at 50% 100%,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 40%,
    transparent 60%
  );
  transform: translateY(50%);
  opacity: 0.6;
}

/* Layer 2: Color accent wave */
.bg-wave-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800% 100% at 50% 120%,
    transparent 30%,
    var(--atmosphere-primary-light, var(--atmosphere-primary)) 50%,
    transparent 70%
  );
  opacity: 0.4;
}

/* Desktop only: Subtle drift animation */
@media (min-width: 1024px) {
  .bg-wave-pattern {
    animation: wave-drift 30s ease-in-out infinite;
  }
}

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

/* ==================================
   3. AURORA PATTERN - Ethereal northern lights
   ================================== */
.bg-aurora {
  /* Multiple radial gradients for depth */
  background: 
    radial-gradient(ellipse at 20% 30%, var(--atmosphere-primary) 0%, transparent 50%), 
    radial-gradient(ellipse at 80% 70%, var(--atmosphere-secondary) 0%, transparent 50%), 
    radial-gradient(ellipse at 50% 50%, var(--atmosphere-accent) 0%, transparent 70%);
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* Conic gradient for aurora glow - desktop only */
.bg-aurora::before {
  content: '';
  position: absolute;
  inset: -50%; /* Extend beyond container for better blur */
  background: conic-gradient(
    from 0deg at 50% 50%,
    var(--atmosphere-primary),
    var(--atmosphere-secondary),
    var(--atmosphere-accent),
    var(--atmosphere-primary-light, var(--atmosphere-primary)),
    var(--atmosphere-primary)
  );
  filter: blur(60px);
  opacity: 0.6;
}

/* Desktop: Slow rotation */
@media (min-width: 1024px) {
  .bg-aurora::before {
    animation: rotate 60s linear infinite;
  }
}

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

/* Additional shimmer effect for aurora */
.bg-aurora .aurora-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0.5;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .bg-aurora .aurora-shimmer {
    animation: shimmer 8s linear infinite;
  }
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

/* Vignette for aurora focus */
.bg-aurora .aurora-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

/* ==================================
   4. DOT PATTERN - Sophisticated halftone
   ================================== */
.bg-dot-pattern {
  background-color: #050505;
}

/* Three dot sizes using golden ratio spacing */
.bg-dot-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--atmosphere-primary) 1px, transparent 1px),
    radial-gradient(circle, var(--atmosphere-primary-light, var(--atmosphere-primary)) 1.5px, transparent 1.5px),
    radial-gradient(circle, var(--atmosphere-accent) 2px, transparent 2px);
  background-size: 40px 40px, 65px 65px, 105px 105px;
  background-position: 0 0, 32px 32px, 52px 52px;
  opacity: 0.50/* All dots at 15% opacity for subtlety */
}

/* Vignette overlay for depth */
.bg-dot-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
}

/* ==================================
   CONTENT OVERLAY for readability
   ================================== */
.vision-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Light overlay for community atmosphere */
.atmosphere-community .vision-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* ==================================
   ATMOSPHERE-SPECIFIC ENHANCEMENTS
   ================================== */

/* Regenerative - Nature & Growth */
.atmosphere-regenerative .bg-gradient-mesh {
  filter: saturate(1.3) brightness(1.05);
}

.atmosphere-regenerative .bg-wave-pattern {
  filter: saturate(1.2);
}

.atmosphere-regenerative .bg-aurora::before {
  filter: blur(80px) saturate(1.3);
}

/* Revolutionary - Disruption & Energy */
.atmosphere-revolutionary .bg-gradient-mesh {
  filter: contrast(1.2) saturate(1.4);
}

.atmosphere-revolutionary .bg-wave-pattern {
  background-size: 150% 150%;
}

.atmosphere-revolutionary .bg-aurora::before {
  filter: blur(50px) saturate(1.8);
}

/* Innovative - Technology & Trust */
.atmosphere-innovative .bg-gradient-mesh {
  filter: saturate(0.9) brightness(1.1);
}

.atmosphere-innovative .bg-wave-pattern::before {
  opacity: 0.7;
}

.atmosphere-innovative .bg-aurora {
  background-color: rgba(0, 0, 20, 0.9);
}

/* Community - Connection & Warmth */
.atmosphere-community .bg-gradient-mesh {
  filter: saturate(1.2) brightness(1.15);
}

.atmosphere-community .bg-wave-pattern {
  filter: brightness(1.1);
}

.atmosphere-community .bg-aurora::before {
  filter: blur(100px) saturate(1.1) brightness(1.1);
}

/* ==================================
   PERFORMANCE OPTIMIZATIONS
   ================================== */

/* GPU acceleration hints */
.vision-hero-bg,
.vision-hero-bg::before,
.vision-hero-bg::after {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* vision-atmosphere.css */
/* Vision Atmosphere Color System */

/* Regenerative - Nature & Growth */
.atmosphere-regenerative {
  --atmosphere-primary: #10b981;
  --atmosphere-primary-light: #34d399;
  --atmosphere-primary-rgb: 16, 185, 129;
  --atmosphere-secondary: #06b6d4;
  --atmosphere-secondary-rgb: 6, 182, 212;
  --atmosphere-accent: #6ee7b7;
  --atmosphere-accent-rgb: 110, 231, 183;
  
  /* Tints for progressive sections */
  --atmosphere-hero-tint: rgba(16, 185, 129, 0.1);
  --atmosphere-story-tint: rgba(20, 184, 166, 0.1);
  --atmosphere-partner-tint: rgba(6, 182, 212, 0.1);
  
  /* Text colors */
  --atmosphere-text-on-primary: #FFFFFF;
  --atmosphere-text-on-light: #064E3B;
  
  /* Animation timing */
  --atmosphere-duration: 4s;
  --atmosphere-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Revolutionary - Disruption & Energy */
.atmosphere-revolutionary {
  --atmosphere-primary: #dc2626;
  --atmosphere-primary-light: #ef4444;
  --atmosphere-primary-rgb: 220, 38, 38;
  --atmosphere-secondary: #7c3aed;
  --atmosphere-secondary-rgb: 124, 58, 237;
  --atmosphere-accent: #f87171;
  --atmosphere-accent-rgb: 248, 113, 113;
  
  /* Tints for progressive sections */
  --atmosphere-hero-tint: rgba(239, 68, 68, 0.1);
  --atmosphere-story-tint: rgba(249, 115, 22, 0.1);
  --atmosphere-partner-tint: rgba(245, 158, 11, 0.1);
  
  /* Text colors */
  --atmosphere-text-on-primary: #FFFFFF;
  --atmosphere-text-on-light: #7C2D12;
  
  /* Animation timing */
  --atmosphere-duration: 1.5s;
  --atmosphere-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Innovative - Technology & Trust */
.atmosphere-innovative {
  --atmosphere-primary: #3b82f6;
  --atmosphere-primary-light: #60a5fa;
  --atmosphere-primary-rgb: 59, 130, 246;
  --atmosphere-secondary: #6366f1;
  --atmosphere-secondary-rgb: 99, 102, 241;
  --atmosphere-accent: #93c5fd;
  --atmosphere-accent-rgb: 147, 197, 253;
  
  /* Tints for progressive sections */
  --atmosphere-hero-tint: rgba(59, 130, 246, 0.1);
  --atmosphere-story-tint: rgba(139, 92, 246, 0.1);
  --atmosphere-partner-tint: rgba(99, 102, 241, 0.1);
  
  /* Text colors */
  --atmosphere-text-on-primary: #FFFFFF;
  --atmosphere-text-on-light: #1E3A8A;
  
  /* Animation timing */
  --atmosphere-duration: 2s;
  --atmosphere-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Community - Connection & Warmth */
.atmosphere-community {
  --atmosphere-primary: #f59e0b;
  --atmosphere-primary-light: #fbbf24;
  --atmosphere-primary-rgb: 245, 158, 11;
  --atmosphere-secondary: #10b981;
  --atmosphere-secondary-rgb: 16, 185, 129;
  --atmosphere-accent: #fde68a;
  --atmosphere-accent-rgb: 253, 230, 138;
  
  /* Tints for progressive sections */
  --atmosphere-hero-tint: rgba(245, 158, 11, 0.1);
  --atmosphere-story-tint: rgba(249, 115, 22, 0.1);
  --atmosphere-partner-tint: rgba(251, 191, 36, 0.1);
  
  /* Text colors */
  --atmosphere-text-on-primary: #FFFFFF;
  --atmosphere-text-on-light: #78350F;
  
  /* Animation timing */
  --atmosphere-duration: 3s;
  --atmosphere-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Common vision component styles */
.vision-component {
  min-height: var(--vision-section-min-height, clamp(28rem, 60vh, 36rem));
  padding: var(--vision-section-padding-block, clamp(3rem, 8vh, 6rem)) 0;
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease-out, background-color 0.3s var(--atmosphere-ease);
  position: relative;
}

.vision-component:only-child {
  min-height: 100vh;
  min-height: 100dvh;
}

@media (prefers-reduced-motion: reduce) {
  .vision-component {
    animation: none;
  }
}

.vision-component > div {
  width: 100%;
}

.vision-component.flex > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Partner Slot CTA animation */
@keyframes subtlePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.partner-slot-cta {
  background: rgba(var(--atmosphere-primary-rgb), 0.05);
  border: 2px dashed rgba(var(--atmosphere-primary-rgb), 0.3);
  animation: subtlePulse 3s ease-in-out infinite;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--atmosphere-ease);
}

.partner-slot-cta:hover {
  background: rgba(var(--atmosphere-primary-rgb), 0.1);
  border-color: rgba(var(--atmosphere-primary-rgb), 0.5);
  transform: scale(1.02);
}


/* Primary colors (replacing indigo) */
.bg-indigo-600 {
  background-color: rgb(var(--color-primary-600));
}
.bg-indigo-500 {
  background-color: rgb(var(--color-primary-500));
}
.bg-indigo-400 {
  background-color: rgb(var(--color-primary-400));
}
.bg-indigo-50 {
  background-color: rgb(var(--color-primary-50));
}
.text-indigo-600 {
  color: rgb(var(--color-primary-600));
}
.text-indigo-700 {
  color: rgb(var(--color-primary-700));
}
.text-indigo-500 {
  color: rgb(var(--color-primary-500));
}
.border-indigo-500 {
  border-color: rgb(var(--color-primary-500));
}
.hover\:bg-indigo-500:hover {
  background-color: rgb(var(--color-primary-500));
}
.hover\:bg-indigo-700:hover {
  background-color: rgb(var(--color-primary-700));
}
.hover\:bg-indigo-400:hover {
  background-color: rgb(var(--color-primary-400));
}
.focus\:ring-indigo-500:focus {
  --tw-ring-color: rgb(var(--color-primary-500));
}
.focus\:ring-indigo-600:focus {
  --tw-ring-color: rgb(var(--color-primary-600));
}
.focus\:ring-offset-indigo-500:focus {
  --tw-ring-offset-color: rgb(var(--color-primary-500));
}
.focus-visible\:outline-indigo-600:focus-visible {
  outline-color: rgb(var(--color-primary-600));
}
.focus-visible\:outline-indigo-500:focus-visible {
  outline-color: rgb(var(--color-primary-500));
}
.ring-indigo-500 {
  --tw-ring-color: rgb(var(--color-primary-500));
}
.ring-white\/10 {
  --tw-ring-color: rgb(255 255 255 / 0.1);
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

/* Accent colors (for ratings, etc) */
.bg-yellow-400 {
  background-color: rgb(var(--color-accent-400));
}
.text-yellow-400 {
  color: rgb(var(--color-accent-400));
}

/* Gray colors */
.bg-gray-50 {
  background-color: rgb(var(--color-neutral-50));
}
.bg-gray-100 {
  background-color: rgb(var(--color-neutral-100));
}
.bg-gray-200 {
  background-color: rgb(var(--color-neutral-200));
}
.bg-gray-300 {
  background-color: rgb(var(--color-neutral-300));
}
.bg-gray-400 {
  background-color: rgb(var(--color-neutral-400));
}
.bg-gray-500 {
  background-color: rgb(var(--color-neutral-500));
}
.bg-gray-800 {
  background-color: rgb(var(--color-neutral-800));
}
.bg-gray-900 {
  background-color: rgb(var(--color-neutral-900));
}

.text-gray-100 {
  color: rgb(var(--color-neutral-100));
}
.text-gray-300 {
  color: rgb(var(--color-neutral-300));
}
.text-gray-400 {
  color: rgb(var(--color-neutral-400));
}
.text-gray-500 {
  color: rgb(var(--color-neutral-500));
}
.text-gray-600 {
  color: rgb(var(--color-neutral-600));
}
.text-gray-700 {
  color: rgb(var(--color-neutral-700));
}
.text-gray-800 {
  color: rgb(var(--color-neutral-800));
}
.text-gray-900 {
  color: rgb(var(--color-neutral-900));
}

.border-gray-200 {
  border-color: rgb(var(--color-neutral-200));
}
.border-gray-300 {
  border-color: rgb(var(--color-neutral-300));
}
.border-gray-400 {
  border-color: rgb(var(--color-neutral-400));
}

.hover\:bg-gray-50:hover {
  background-color: rgb(var(--color-neutral-50));
}
.hover\:bg-gray-100:hover {
  background-color: rgb(var(--color-neutral-100));
}
.hover\:text-gray-400:hover {
  color: rgb(var(--color-neutral-400));
}
.hover\:text-gray-500:hover {
  color: rgb(var(--color-neutral-500));
}
.hover\:text-gray-700:hover {
  color: rgb(var(--color-neutral-700));
}
.hover\:text-gray-800:hover {
  color: rgb(var(--color-neutral-800));
}
.hover\:text-white:hover {
  color: rgb(255 255 255);
}
.hover\:border-gray-300:hover {
  border-color: rgb(var(--color-neutral-300));
}

.focus\:ring-gray-500:focus {
  --tw-ring-color: rgb(var(--color-neutral-500));
}

.ring-gray-900\/5 {
  --tw-ring-color: rgb(var(--color-neutral-900) / 0.05);
}

/* Success colors */
.bg-green-100 {
  background-color: rgb(220 252 231);
}
.text-green-800 {
  color: rgb(22 101 52);
}
.text-green-600 {
  color: rgb(22 163 74);
}
.text-green-500 {
  color: rgb(34 197 94);
}

/* Warning colors */
.bg-yellow-100 {
  background-color: rgb(254 249 195);
}
.text-yellow-800 {
  color: rgb(133 77 14);
}
.text-yellow-600 {
  color: rgb(202 138 4);
}

/* Error colors */
.bg-red-100 {
  background-color: rgb(254 226 226);
}
.text-red-800 {
  color: rgb(153 27 27);
}
.text-red-600 {
  color: rgb(220 38 38);
}
.hover\:text-red-600:hover {
  color: rgb(220 38 38);
}

/* Additional theme mappings */
.from-indigo-500 {
  --tw-gradient-from: rgb(var(--color-primary-500));
}
.to-purple-600 {
  --tw-gradient-to: rgb(var(--color-accent-600));
}
.from-indigo-600 {
  --tw-gradient-from: rgb(var(--color-primary-600));
}
.text-indigo-100 {
  color: rgb(var(--color-primary-100));
}
.bg-indigo-100 {
  background-color: rgb(var(--color-primary-100));
}


/* vision-animations.css */
/* Vision Hero Text Animations - Premium entrance effects */

/* Initial states - text starts hidden and below */
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 0.25em; /* Natural word spacing */
  /* add subtle black shadow */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subheading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  /* add subtle black shadow */
}

.hero-cta {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

/* Animated in states */
.hero-headline.animate-in .word {
  opacity: 1;
  transform: translateY(0);
}

.hero-subheading.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Hover effects - subtle glow */
.hero-headline:hover .word {
  text-shadow: 0 0 20px rgba(var(--atmosphere-primary-rgb), 0.3);
  transition: text-shadow 0.3s ease;
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(var(--atmosphere-primary-rgb), 0.3);
}

/* Counter animation */
.hero-counter {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-counter.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-headline .word {
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .hero-subheading {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .hero-cta {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Limit simultaneous animations on mobile */
  .hero-headline .word:nth-child(n+4) {
    transition-delay: 0ms !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-headline .word,
  .hero-subheading,
  .hero-cta,
  .hero-counter {
    transition: opacity 0.3s ease;
    transform: none !important;
  }
}

/* Loading state for edit mode */
.hero-content-editing {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
/* story-animations.css */
/* Smart Story Telling - Scroll-triggered animations */

/* Import atmospheric fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Oswald:wght@400;700&family=Bebas+Neue&family=Montserrat:ital,wght@0,400;0,700;1,400&family=Space+Grotesk:wght@400;700&family=Exo+2:ital,wght@0,400;0,700;1,400&family=JetBrains+Mono:wght@400;700&family=Quicksand:wght@400;700&family=Comfortaa:wght@400;700&display=swap');

/* Initial state - statements start hidden and offset */
.manifesto-statement {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-statement.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Block-specific animations */
.story-block {
  position: relative;
}

/* Powerful Question - Slides in with scale */
.powerful-question .manifesto-statement {
  transform: translateX(-40px) scale(0.95);
}

.powerful-question .manifesto-statement.visible {
  transform: translateX(0) scale(1);
}

/* Key Statement - Standard slide */
.key-statement .manifesto-statement {
  transform: translateX(-40px);
}

.key-statement .manifesto-statement.visible {
  transform: translateX(0);
}

/* Inspiring Quote - Fades in from center */
.inspiring-quote .manifesto-statement {
  transform: translateY(20px);
  text-align: center;
}

.inspiring-quote .manifesto-statement.visible {
  transform: translateY(0);
}

/* Vision List - Staggered list items */
.vision-list .manifesto-statement {
  transform: translateX(-60px);
}

.vision-list .manifesto-statement.visible {
  transform: translateX(0);
}

/* Chapter Intro - Expands from center */
.chapter-intro .manifesto-statement {
  transform: scaleX(0.8);
  transform-origin: center;
}

.chapter-intro .manifesto-statement.visible {
  transform: scaleX(1);
}

/* Emphasis words with gradient shimmer */
.manifesto-emphasis {
  background: linear-gradient(90deg, 
    var(--atmosphere-primary, #10b981) 0%,
    var(--atmosphere-accent, #6ee7b7) 50%,
    var(--atmosphere-primary, #10b981) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
  animation: text-shimmer 4s ease-in-out infinite;
}

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

/* Author attribution animation */
.quote-author {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.3s;
}

.quote-author.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .manifesto-statement {
    transform: translateX(-20px);
    transition-duration: 0.8s;
  }
  
  .manifesto-statement.visible {
    transform: translateX(0);
  }
  
  /* Remove shimmer on mobile for performance */
  .manifesto-emphasis {
    animation: none;
    background-position: 50% 50%;
  }
  
  .vision-list .manifesto-statement {
    transform: translateX(-30px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .manifesto-statement {
    transform: none !important;
    transition: opacity 0.5s ease;
  }
  
  .manifesto-emphasis {
    animation: none;
  }
}

/* Loading states for edit mode */
.story-block-editing .manifesto-statement {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Edit mode hover effect */
.story-block-editing .cursor-pointer {
  position: relative;
  transition: background-color 0.2s ease;
}

.story-block-editing .cursor-pointer:hover {
  background-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.05);
  border-radius: 4px;
  padding: 2px 6px;
  margin: -2px -6px;
}

/* Ensure toolbar visibility in SmartStoryTelling */
.smart-story-telling .inline-rich-text-editor {
  position: relative;
  z-index: 10;
}

.smart-story-telling .floating-toolbar {
  z-index: 1000;
}

/* Enhanced word-level styling in rich text content */
.smart-story-telling .rich-text-content strong,
.smart-story-telling .inline-editor-content strong {
  font-weight: 700;
  color: var(--atmosphere-primary);
  text-shadow: 0 0 20px rgba(var(--atmosphere-primary-rgb), 0.3);
}

.smart-story-telling .rich-text-content em,
.smart-story-telling .inline-editor-content em {
  font-style: italic;
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(var(--atmosphere-accent-rgb), 0.1) 50%, 
    transparent 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.smart-story-telling .rich-text-content u,
.smart-story-telling .inline-editor-content u {
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    var(--atmosphere-primary),
    var(--atmosphere-accent)
  );
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.smart-story-telling .rich-text-content u:hover,
.smart-story-telling .inline-editor-content u:hover {
  background-size: 100% 3px;
}

.smart-story-telling .rich-text-content mark,
.smart-story-telling .inline-editor-content mark {
  background: linear-gradient(135deg, 
    rgba(var(--atmosphere-primary-rgb), 0.2) 0%,
    rgba(var(--atmosphere-accent-rgb), 0.2) 100%);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(var(--atmosphere-primary-rgb), 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.smart-story-telling .rich-text-content mark:hover,
.smart-story-telling .inline-editor-content mark:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(var(--atmosphere-primary-rgb), 0.2);
}

/* Special emphasis class for individual words */
.smart-story-telling .word-emphasis {
  position: relative;
  display: inline-block;
  font-weight: 700;
  background: linear-gradient(90deg, 
    var(--atmosphere-primary) 0%,
    var(--atmosphere-accent) 50%,
    var(--atmosphere-primary) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: word-shimmer 3s ease-in-out infinite;
}

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

/* Color-styled text */
.smart-story-telling [style*="color"] {
  transition: all 0.3s ease;
  position: relative;
}

.smart-story-telling [style*="color"]:hover {
  filter: brightness(1.2);
  text-shadow: 0 0 20px currentColor;
}

.story-block-editing .cursor-pointer:hover::after {
  content: 'Click to edit - Select text to format';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: tooltip-fade-in 0.2s ease forwards;
}

@keyframes tooltip-fade-in {
  to {
    opacity: 1;
  }
}

/* Progressive reveal indicators */
.story-progress-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.story-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--atmosphere-primary-rgb), 0.3);
  margin: 8px 0;
  transition: all 0.3s ease;
}

.story-progress-dot.active {
  background: var(--atmosphere-primary);
  transform: scale(1.5);
}

/* Hero Component Rich Text Styling - Same as SmartStoryTelling */
.hero-headline .inline-rich-text-editor,
.hero-subheading .inline-rich-text-editor {
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
}

/* Ensure the editor content is clickable */
.hero-headline .inline-editor-content,
.hero-subheading .inline-editor-content {
  cursor: text;
  min-height: 1.5em;
}

/* Ensure each editor maintains its own focus state */
.hero-headline .inline-rich-text-editor,
.hero-subheading .inline-rich-text-editor {
  isolation: isolate;
  position: relative;
  display: block;
}

/* Ensure proper stacking context for each editor */
.hero-headline,
.hero-subheading {
  position: relative;
  z-index: auto;
}

/* Make sure editors don't overlap */
.hero-headline {
  z-index: 2;
}

.hero-subheading {
  z-index: 1;
}

/* Prevent toolbar from being hidden when switching editors */
.hero-headline .floating-toolbar,
.hero-subheading .floating-toolbar {
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure ProseMirror maintains focus */
.hero-headline .ProseMirror:focus,
.hero-subheading .ProseMirror:focus {
  outline: none;
  border-bottom: 2px solid var(--atmosphere-primary, #10b981);
}

/* Fix toolbar button interactions */
.hero-headline .floating-toolbar button,
.hero-subheading .floating-toolbar button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure content updates immediately */
.hero-headline .ProseMirror *,
.hero-subheading .ProseMirror * {
  transition: none !important;
}

/* Ensure editors can be clicked */
.hero-headline .inline-editor-content,
.hero-subheading .inline-editor-content {
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

/* Fix for editor selection */
.hero-headline .ProseMirror,
.hero-subheading .ProseMirror {
  user-select: text !important;
  -webkit-user-select: text !important;
  pointer-events: auto !important;
}

.hero-headline .floating-toolbar,
.hero-subheading .floating-toolbar {
  z-index: 1000;
}

.hero-headline .rich-text-content strong,
.hero-headline .inline-editor-content strong,
.hero-subheading .rich-text-content strong,
.hero-subheading .inline-editor-content strong {
  font-weight: 700;
  color: var(--atmosphere-primary);
  text-shadow: 0 0 20px rgba(var(--atmosphere-primary-rgb), 0.3);
}

.hero-headline .rich-text-content em,
.hero-headline .inline-editor-content em,
.hero-subheading .rich-text-content em,
.hero-subheading .inline-editor-content em {
  font-style: italic;
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(var(--atmosphere-accent-rgb), 0.1) 50%, 
    transparent 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.hero-headline .rich-text-content u,
.hero-headline .inline-editor-content u,
.hero-subheading .rich-text-content u,
.hero-subheading .inline-editor-content u {
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    var(--atmosphere-primary),
    var(--atmosphere-accent)
  );
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.hero-headline .rich-text-content u:hover,
.hero-headline .inline-editor-content u:hover,
.hero-subheading .rich-text-content u:hover,
.hero-subheading .inline-editor-content u:hover {
  background-size: 100% 3px;
}

.hero-headline .rich-text-content mark,
.hero-headline .inline-editor-content mark,
.hero-subheading .rich-text-content mark,
.hero-subheading .inline-editor-content mark {
  background: linear-gradient(135deg, 
    rgba(var(--atmosphere-primary-rgb), 0.2) 0%,
    rgba(var(--atmosphere-accent-rgb), 0.2) 100%);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(var(--atmosphere-primary-rgb), 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.hero-headline .rich-text-content mark:hover,
.hero-headline .inline-editor-content mark:hover,
.hero-subheading .rich-text-content mark:hover,
.hero-subheading .inline-editor-content mark:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(var(--atmosphere-primary-rgb), 0.2);
}

/* Color-styled text in hero */
.hero-headline [style*="color"],
.hero-subheading [style*="color"],
.hero-background-headline [style*="color"],
.hero-background-subheading [style*="color"] {
  transition: all 0.3s ease;
  position: relative;
}

.hero-headline [style*="color"]:hover,
.hero-subheading [style*="color"]:hover,
.hero-background-headline [style*="color"]:hover,
.hero-background-subheading [style*="color"]:hover {
  filter: brightness(1.2);
  text-shadow: 0 0 20px currentColor;
}

/* Hero with Background Component Rich Text Styling - Same as other heroes */
.hero-background-headline .inline-rich-text-editor,
.hero-background-subheading .inline-rich-text-editor {
  position: relative;
  z-index: 10;
}

.hero-background-headline .floating-toolbar,
.hero-background-subheading .floating-toolbar {
  z-index: 1000;
  /* Override toolbar colors for better visibility on Hero with Background */
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Fix toolbar button colors for dark background */
.hero-background-headline .floating-toolbar button,
.hero-background-subheading .floating-toolbar button {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.2s ease !important;
}

.hero-background-headline .floating-toolbar button:hover,
.hero-background-subheading .floating-toolbar button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

/* Ensure SVG icons inherit the button color */
.hero-background-headline .floating-toolbar button svg,
.hero-background-subheading .floating-toolbar button svg {
  fill: currentColor !important;
  color: inherit !important;
}

.hero-background-headline .floating-toolbar button.active,
.hero-background-subheading .floating-toolbar button.active,
.hero-background-headline .floating-toolbar button[data-state="on"],
.hero-background-subheading .floating-toolbar button[data-state="on"],
.hero-background-headline .floating-toolbar button[aria-pressed="true"],
.hero-background-subheading .floating-toolbar button[aria-pressed="true"] {
  background-color: white !important;
  color: black !important;
  box-shadow: 0 0 0 2px white !important;
}

/* Ensure active state is visible for all toolbar buttons */
.hero-background-headline .floating-toolbar button.is-active,
.hero-background-subheading .floating-toolbar button.is-active {
  background-color: white !important;
  color: black !important;
}

/* Vision Hero Rich Text Styling */
.vision-hero-headline .inline-rich-text-editor,
.vision-hero-subheading .inline-rich-text-editor {
  position: relative;
  z-index: 10;
  color: inherit;
}

.vision-hero-headline .floating-toolbar,
.vision-hero-subheading .floating-toolbar {
  z-index: 1000;
  /* Dark background for visibility on Vision Hero backgrounds */
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.vision-hero-headline .floating-toolbar button,
.vision-hero-subheading .floating-toolbar button {
  color: rgba(255, 255, 255, 0.8) !important;
}

.vision-hero-headline .floating-toolbar button:hover,
.vision-hero-subheading .floating-toolbar button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.vision-hero-headline .floating-toolbar button.is-active,
.vision-hero-subheading .floating-toolbar button.is-active {
  background-color: white !important;
  color: black !important;
}

.vision-hero-headline .rich-text-content strong,
.vision-hero-headline .inline-editor-content strong,
.vision-hero-subheading .rich-text-content strong,
.vision-hero-subheading .inline-editor-content strong {
  font-weight: 700;
  color: inherit;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.vision-hero-headline .rich-text-content em,
.vision-hero-headline .inline-editor-content em,
.vision-hero-subheading .rich-text-content em,
.vision-hero-subheading .inline-editor-content em {
  font-style: italic;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0) 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.vision-hero-headline .rich-text-content u,
.vision-hero-headline .inline-editor-content u,
.vision-hero-subheading .rich-text-content u,
.vision-hero-subheading .inline-editor-content u {
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.vision-hero-headline .rich-text-content mark,
.vision-hero-headline .inline-editor-content mark,
.vision-hero-subheading .rich-text-content mark,
.vision-hero-subheading .inline-editor-content mark {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.2) 100%);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  color: inherit;
}

/* Fix dropdown menus for dark background */
.hero-background-headline .floating-toolbar [role="menu"],
.hero-background-subheading .floating-toolbar [role="menu"],
.hero-background-headline .floating-toolbar .popover-content,
.hero-background-subheading .floating-toolbar .popover-content {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.hero-background-headline .floating-toolbar [role="menuitem"],
.hero-background-subheading .floating-toolbar [role="menuitem"] {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero-background-headline .floating-toolbar [role="menuitem"]:hover,
.hero-background-subheading .floating-toolbar [role="menuitem"]:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

/* Selected menu items should be highlighted */
.hero-background-headline .floating-toolbar [role="menuitem"][aria-selected="true"],
.hero-background-subheading .floating-toolbar [role="menuitem"][aria-selected="true"],
.hero-background-headline .floating-toolbar [role="menuitem"].is-active,
.hero-background-subheading .floating-toolbar [role="menuitem"].is-active {
  background-color: white !important;
  color: black !important;
}

.hero-background-headline .rich-text-content strong,
.hero-background-headline .inline-editor-content strong,
.hero-background-subheading .rich-text-content strong,
.hero-background-subheading .inline-editor-content strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-background-headline .rich-text-content em,
.hero-background-headline .inline-editor-content em,
.hero-background-subheading .rich-text-content em,
.hero-background-subheading .inline-editor-content em {
  font-style: italic;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0) 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.hero-background-headline .rich-text-content u,
.hero-background-headline .inline-editor-content u,
.hero-background-subheading .rich-text-content u,
.hero-background-subheading .inline-editor-content u {
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.hero-background-headline .rich-text-content u:hover,
.hero-background-headline .inline-editor-content u:hover,
.hero-background-subheading .rich-text-content u:hover,
.hero-background-subheading .inline-editor-content u:hover {
  background-size: 100% 3px;
}

.hero-background-headline .rich-text-content mark,
.hero-background-headline .inline-editor-content mark,
.hero-background-subheading .rich-text-content mark,
.hero-background-subheading .inline-editor-content mark {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.2) 100%);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  color: #000;
}

.hero-background-headline .rich-text-content mark:hover,
.hero-background-headline .inline-editor-content mark:hover,
.hero-background-subheading .rich-text-content mark:hover,
.hero-background-subheading .inline-editor-content mark:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Ensure proper text color inheritance for hero with background */
.hero-background-headline.text-white,
.hero-background-subheading.text-gray-300 {
  color: inherit;
}

.hero-background-headline .ProseMirror,
.hero-background-subheading .ProseMirror {
  color: inherit;
}

/* General dark toolbar styling for any component with dark background */
.floating-toolbar.dark-theme,
.dark .floating-toolbar,
[data-theme="dark"] .floating-toolbar {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.floating-toolbar.dark-theme button,
.dark .floating-toolbar button,
[data-theme="dark"] .floating-toolbar button {
  color: rgba(255, 255, 255, 0.8) !important;
}

.floating-toolbar.dark-theme button.is-active,
.floating-toolbar.dark-theme button[data-state="on"],
.floating-toolbar.dark-theme button[aria-pressed="true"],
.dark .floating-toolbar button.is-active,
.dark .floating-toolbar button[data-state="on"],
.dark .floating-toolbar button[aria-pressed="true"],
[data-theme="dark"] .floating-toolbar button.is-active,
[data-theme="dark"] .floating-toolbar button[data-state="on"],
[data-theme="dark"] .floating-toolbar button[aria-pressed="true"] {
  background-color: white !important;
  color: black !important;
  border-color: white !important;
}

/* Highlight effect for selected state */
.floating-toolbar.dark-theme button.is-active::after,
.dark .floating-toolbar button.is-active::after,
[data-theme="dark"] .floating-toolbar button.is-active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid white;
  border-radius: inherit;
  pointer-events: none;
}

/* Carousel Rich Text Styling */
.carousel-title .inline-rich-text-editor,
.carousel-subtitle .inline-rich-text-editor {
  position: relative;
  z-index: 10;
  color: inherit;
}

.carousel-title .floating-toolbar,
.carousel-subtitle .floating-toolbar {
  z-index: 1000;
  /* Dark background for visibility on carousel images */
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.carousel-title .floating-toolbar button,
.carousel-subtitle .floating-toolbar button {
  color: rgba(255, 255, 255, 0.8) !important;
}

.carousel-title .floating-toolbar button:hover,
.carousel-subtitle .floating-toolbar button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.carousel-title .floating-toolbar button.is-active,
.carousel-subtitle .floating-toolbar button.is-active {
  background-color: white !important;
  color: black !important;
}

.carousel-title .rich-text-content strong,
.carousel-title .inline-editor-content strong,
.carousel-subtitle .rich-text-content strong,
.carousel-subtitle .inline-editor-content strong {
  font-weight: 700;
  color: inherit;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.carousel-title .rich-text-content em,
.carousel-title .inline-editor-content em,
.carousel-subtitle .rich-text-content em,
.carousel-subtitle .inline-editor-content em {
  font-style: italic;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0) 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.carousel-title .rich-text-content u,
.carousel-title .inline-editor-content u,
.carousel-subtitle .rich-text-content u,
.carousel-subtitle .inline-editor-content u {
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.carousel-title .rich-text-content mark,
.carousel-title .inline-editor-content mark,
.carousel-subtitle .rich-text-content mark,
.carousel-subtitle .inline-editor-content mark {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.2) 100%);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  color: inherit;
}
/* partner-grid.css */
/* Smart Partner Grid Styles - Golden Ratio Design System
 * 
 * Design Philosophy:
 * - Golden ratio (φ = 1.618) applied to all spacing and sizing
 * - Circular logo containers for visual consistency
 * - Atmospheric-aligned color system
 * - High-contrast typography with backdrop blur
 * - Performance-optimized with GPU acceleration
 * 
 * Key Features:
 * 1. Perfect circles with φ-based proportions
 * 2. Tier-based atmospheric gradients
 * 3. Typography scale following golden subdivisions
 * 4. Premium partner name badges with glass effect
 * 5. Touch-optimized mobile with 2-column grid
 * 6. Accessibility-first with proper contrast ratios
 * 
 * Base unit: 120px (logo diameter)
 * Padding: 120/φ/2 ≈ 37px
 * Name spacing: 37/φ ≈ 23px
 * Font sizes: 120/6.472 ≈ 18.5px (golden subdivision)
 */

/* Grid Layout - Uniform Parallel Grid */
.smart-partner-grid .partner-grid-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Desktop: Fixed 6-column grid for consistency */
@media (min-width: 1024px) {
  .smart-partner-grid .partner-grid-container {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
}

/* Tablet: 4-column grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .smart-partner-grid .partner-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Mobile: 2-column grid */
@media (max-width: 767px) {
  .smart-partner-grid .partner-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem;
  }
}

/* Partner Cards - Uniform Sizing System */
.smart-partner-grid .partner-card {
  --golden-ratio: 1.618;
  --base-size: 100px; /* Smaller logo for better grid fit */
  --card-padding: 1.5rem;
  --name-spacing: 1rem;
  
  background: transparent;
  border: none;
  padding: var(--card-padding);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .smart-partner-grid .partner-card {
    background: transparent;
  }
}

/* Logo Placeholder - Atmospheric aligned design */
.smart-partner-grid .partner-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 2rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Atmospheric placeholder gradients - Rich & Visible */
.partner-card[data-tier="platinum"] .partner-logo-placeholder {
  background: linear-gradient(
    135deg,
    rgb(var(--atmosphere-primary-rgb, 16, 185, 129)) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.85) 100%
  );
  color: #ffffff;
  font-size: calc(var(--base-size) / 2.618); /* Golden ratio subdivision */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.partner-card[data-tier="gold"] .partner-logo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.9) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.75) 100%
  );
  color: #ffffff;
  font-size: calc(var(--base-size) / 3);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.partner-card[data-tier="silver"] .partner-logo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.8) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.65) 100%
  );
  color: #ffffff;
  font-size: calc(var(--base-size) / 3);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.partner-card[data-tier="bronze"] .partner-logo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.7) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.55) 100%
  );
  color: #ffffff;
  font-size: calc(var(--base-size) / 3.5);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Default gradient for untiered partners */
.smart-partner-grid .partner-logo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.85) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.7) 100%
  );
  color: #ffffff;
  font-size: calc(var(--base-size) / 3);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Remove animated pattern for cleaner look */

/* Small initials for long names */
.partner-logo-placeholder.small-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.partner-card[data-tier="platinum"] .partner-logo-placeholder.small-text {
  font-size: 1.8rem;
  font-weight: 800;
}

/* Partner name styling - Consistent Width */
.smart-partner-grid .partner-card .partner-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin-top: var(--name-spacing);
  line-height: 1.4;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  
  /* Consistent width across all cards */
  width: 100%;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dark mode partner names */
@media (prefers-color-scheme: dark) {
  .smart-partner-grid .partner-card .partner-name {
    background: rgba(30, 30, 30, 0.9);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.06);
  }
}

/* Partner slot CTA - Matches Partner Card Sizing */
.partner-slot-cta {
  /* Inherits all partner-card styles automatically */
}

/* CTA Circle - Dashed Border */
.partner-slot-cta .partner-logo {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.05) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.02) 100%
  );
  border: 2px dashed rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  box-shadow: none;
}

/* Partner slot CTA content */
.partner-slot-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.9);
  margin-bottom: 0.5rem;
}

.partner-slot-cta p {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
  max-width: 200px;
}

.partner-slot-cta button {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.9);
  color: white;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-slot-cta button:hover {
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
}

.partner-slot-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1) 0%,
    transparent 70%
  );
  animation: gentleGlow 4s ease-in-out infinite;
  pointer-events: none;
}

.partner-slot-cta:hover {
  background: linear-gradient(
    135deg,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.08) 0%,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.15) 100%
  );
  border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.15);
}

@keyframes gentleGlow {
  0%, 100% { 
    opacity: 0.5;
    transform: scale(0.8) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

/* Remove border glow effect since we have no borders */

.smart-partner-grid .partner-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Logo container - Perfect Circle with Golden Ratio */
.smart-partner-grid .partner-card .partner-logo {
  width: var(--base-size);
  height: var(--base-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  background: #ffffff;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Dark mode logo background */
@media (prefers-color-scheme: dark) {
  .smart-partner-grid .partner-card .partner-logo {
    background: transparent;
  }
}

/* Logo image - Fill Circle with Proper Scaling */
.smart-partner-grid .partner-card .partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

/* For logos that shouldn't be cropped (contain mode) */
.smart-partner-grid .partner-card .partner-logo.logo-contain img {
  object-fit: contain;
  width: 85%;
  height: 85%;
}

.smart-partner-grid .partner-card:hover .partner-logo {
  transform: scale(1.05);
}

/* Remove tier-specific shadows for cleaner look */

/* Filter pills - Magnetic hover effect */
.smart-partner-grid .filter-pill {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

/* Magnetic hover effect with JavaScript-free animation */
.smart-partner-grid .filter-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.smart-partner-grid .filter-pill:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 10px 20px -5px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.smart-partner-grid .filter-pill:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.smart-partner-grid .filter-pill:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* Active filter state */
.smart-partner-grid .filter-pill.active {
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.9);
  color: white;
  border-color: transparent;
  font-weight: 600;
}

.smart-partner-grid .filter-pill.active:hover {
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 1);
  box-shadow: 
    0 10px 25px -5px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3),
    0 0 0 3px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
}

/* Mobile responsiveness - Consistent Scaling */
@media (max-width: 767px) {
  /* Adjust sizes for mobile */
  .smart-partner-grid .partner-card {
    --base-size: 80px; /* Smaller logos on mobile */
    --card-padding: 1rem;
    --name-spacing: 0.75rem;
  }
  
  /* Mobile-specific hover (touch) states */
  .smart-partner-grid .partner-card:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }
  
  /* Simplify animations on mobile */
  .partner-slot-cta::before {
    animation: none;
  }
  
  /* Partner names on mobile */
  .smart-partner-grid .partner-card .partner-name {
    font-size: 0.875rem;
    padding: 0.375em 0.75em;
    max-width: 120px;
  }
  
  /* Mobile tier badges */
  .tier-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    letter-spacing: 0.025em;
  }
  
  /* Filter pills - Horizontal scroll */
  .filter-pills-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  
  .filter-pills-container::-webkit-scrollbar {
    display: none;
  }
  
  .filter-pills-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .smart-partner-grid .filter-pill {
    flex-shrink: 0;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  /* Mobile entrance animations - Faster */
  .smart-partner-grid .partner-card {
    animation-duration: 0.5s;
  }
  
  /* Reduce stagger delay on mobile */
  .smart-partner-grid .partner-card:nth-child(n) {
    animation-delay: calc(var(--index, 0) * 40ms);
  }
}

/* Remove tier-based sizing for uniform grid */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .smart-partner-grid .partner-card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  /* Add touch feedback */
  .smart-partner-grid .partner-card:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }
  
  /* Larger touch targets */
  .filter-pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Large screens enhancement */
@media (min-width: 1280px) {
  .partner-card:hover {
    transform: translateY(-10px) translateZ(30px) rotateX(5deg);
  }
  
  .partner-slot-cta:hover {
    transform: translateY(-4px);
  }
  
  /* Extra large screens - Expand grid */
  .smart-partner-grid .partner-grid-container {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Tier badges - Subtle Indicator */
.tier-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0.9;
}

.tier-bronze {
  background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}

.tier-silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.tier-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #7B5800;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.tier-platinum {
  background: linear-gradient(135deg, #E5E4E2 0%, #BCC6CC 100%);
  color: #4A4A4A;
  box-shadow: 0 2px 8px rgba(229, 228, 226, 0.3);
}

.tier-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Filter container horizontal scroll on mobile */
@media (max-width: 768px) {
  .filter-pills-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .filter-pills-container::-webkit-scrollbar {
    display: none;
  }
  
  .filter-pills-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* Edit modal animations */
.partner-edit-modal {
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Empty state - Elegant & inviting */
.smart-partner-grid .empty-state {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.smart-partner-grid .empty-state::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: gentlePulse 4s ease-in-out infinite;
}

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

.smart-partner-grid .empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
  animation: fadeInScale 0.6s ease-out;
}

.smart-partner-grid .empty-state-message {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
  animation: slideInFromBottom 0.7s ease-out 0.2s both;
}

.smart-partner-grid .empty-state-action {
  animation: slideInFromBottom 0.8s ease-out 0.4s both;
}

/* Partner Application Modal - Sophisticated animations */
@keyframes elegantFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

@keyframes modalReveal {
  0% {
    transform: translateY(40px) scale(0.9);
    opacity: 0;
  }
  60% {
    transform: translateY(-5px) scale(1.02);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

.partner-modal-backdrop {
  animation: elegantFadeIn 0.4s ease-out;
  backdrop-filter: blur(8px);
}

.partner-modal-container {
  animation: modalReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.animate-successPulse {
  animation: successPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Form field focus states */
.partner-modal-container input:focus,
.partner-modal-container textarea:focus,
.partner-modal-container select:focus {
  transform: translateY(-1px);
}

/* Spinning loader */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Progress dots animation */
.partner-modal-container .progress-dot {
  transition: all 0.3s ease;
}

/* Button hover effects - Ripple animation */
.partner-modal-container button {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.partner-modal-container button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-modal-container button:hover::before {
  width: 300px;
  height: 300px;
}

/* Grid entrance animations - Cinematic reveal */
@keyframes partnerReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9) rotateX(-10deg);
    filter: blur(4px);
  }
  50% {
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply entrance animation to partner cards */
.smart-partner-grid .partner-card {
  animation: partnerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: center bottom;
}

/* Staggered animation delays for natural flow */
.smart-partner-grid .partner-card:nth-child(1) { animation-delay: 0ms; }
.smart-partner-grid .partner-card:nth-child(2) { animation-delay: 80ms; }
.smart-partner-grid .partner-card:nth-child(3) { animation-delay: 160ms; }
.smart-partner-grid .partner-card:nth-child(4) { animation-delay: 240ms; }
.smart-partner-grid .partner-card:nth-child(5) { animation-delay: 320ms; }
.smart-partner-grid .partner-card:nth-child(6) { animation-delay: 400ms; }
.smart-partner-grid .partner-card:nth-child(7) { animation-delay: 480ms; }
.smart-partner-grid .partner-card:nth-child(8) { animation-delay: 560ms; }
.smart-partner-grid .partner-card:nth-child(9) { animation-delay: 640ms; }
.smart-partner-grid .partner-card:nth-child(10) { animation-delay: 720ms; }
.smart-partner-grid .partner-card:nth-child(11) { animation-delay: 800ms; }
.smart-partner-grid .partner-card:nth-child(12) { animation-delay: 880ms; }

/* Header and filters entrance */
.smart-partner-grid .text-center {
  animation: fadeInScale 0.6s ease-out;
}

.smart-partner-grid .filter-container {
  animation: slideInFromBottom 0.7s ease-out 0.2s both;
}

/* Partner slot CTA special entrance */
.partner-slot-cta {
  animation: partnerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .smart-partner-grid .partner-card,
  .smart-partner-grid .text-center,
  .smart-partner-grid .filter-container,
  .partner-slot-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Search input - Premium design with floating label effect */
.smart-partner-grid .search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.smart-partner-grid .search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.smart-partner-grid .search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.smart-partner-grid .search-input:focus {
  outline: none;
  border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.4);
  box-shadow: 
    0 0 0 4px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1),
    0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.smart-partner-grid .search-input:focus::placeholder {
  opacity: 0.7;
}

/* Search icon */
.smart-partner-grid .search-container::after {
  content: '🔍';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

/* Loading state - Premium skeleton with wave effect */
@keyframes shimmerWave {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes skeletonPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.partner-loading {
  position: relative;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: skeletonPulse 2s ease-in-out infinite;
}

.partner-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmerWave 1.5s ease-in-out infinite;
}

/* Dark mode skeleton */
@media (prefers-color-scheme: dark) {
  .partner-loading {
    background: rgba(255, 255, 255, 0.06);
  }
  
  .partner-loading::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 20%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.08) 80%,
      transparent 100%
    );
  }
}

/* Loading skeleton structure */
.smart-partner-grid .skeleton-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.smart-partner-grid .skeleton-logo {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
}

.smart-partner-grid .skeleton-text {
  height: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.smart-partner-grid .skeleton-text.w-three-quarters {
  width: 75%;
}

.smart-partner-grid .skeleton-text.w-half {
  width: 50%;
}

/* ========== Promotion Carousel Styles ========== */

/* Beautiful promotion carousel for visitors */
.promotion-carousel-container {
  position: relative;
  margin-top: 1.5rem;
  padding: 0 2.5rem;
}

/* Mobile-first carousel touch optimization */
@media (max-width: 640px) {
  .promotion-carousel-container {
    padding: 0;
  }
}

/* Promotion card animation */
@keyframes promotionSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.promotion-card-animated {
  animation: promotionSlideIn 0.4s ease-out;
}

/* Gradient overlays for better text readability */
.promotion-image-gradient {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/* Mobile swipe indicators */
.swipe-indicator {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Promotion dots with smooth transitions */
.promotion-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.promotion-dot.active {
  width: 24px;
  background: var(--atmosphere-primary, #10b981);
  border-radius: 4px;
}

.promotion-dot:hover:not(.active) {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.2);
}

/* Smooth carousel transitions */
.promotion-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
  .promotion-carousel-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .promotion-card {
    scroll-snap-align: center;
  }
}

/* Navigation arrows with glass morphism */
.promotion-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* Show arrows on hover for desktop */
@media (hover: hover) {
  .promotion-carousel-container:hover .promotion-nav-arrow {
    opacity: 1;
    pointer-events: all;
  }
}

.promotion-nav-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.promotion-nav-arrow.prev {
  left: 0;
}

.promotion-nav-arrow.next {
  right: 0;
}

/* Promotion CTA button with magnetic effect */
.promotion-cta-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promotion-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.promotion-cta-button:hover::before {
  transform: translateX(100%);
}

.promotion-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.4);
}

/* Active promotion badge animation */
@keyframes activePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.95);
  }
}

.promotion-active-badge {
  animation: activePulse 2s ease-in-out infinite;
}

/* Loading skeleton for promotions */
.promotion-skeleton {
  background: linear-gradient(
    90deg,
    rgba(200, 200, 200, 0.1) 0%,
    rgba(200, 200, 200, 0.2) 50%,
    rgba(200, 200, 200, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: promotionShimmer 1.5s infinite;
  border-radius: 0.75rem;
}

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

/* Smooth height transitions for dynamic content */
.promotion-content-wrapper {
  transition: height 0.3s ease-out;
  overflow: hidden;
}

/* Accessibility - Focus states */
.promotion-card:focus-visible,
.promotion-dot:focus-visible,
.promotion-nav-arrow:focus-visible {
  outline: 2px solid var(--atmosphere-primary, #10b981);
  outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .promotion-carousel-track,
  .promotion-card-animated,
  .promotion-cta-button,
  .promotion-active-badge {
    animation: none;
    transition: none;
  }
  
  .promotion-nav-arrow {
    opacity: 1;
  }
}
/* vision-cta.css */
/* Vision CTA Styles */

.vision-cta {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
}

.vision-cta-container {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-cta-content {
  text-align: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 3rem 2rem;
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Typography */
.vision-cta-headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--atmosphere-text, #1f2937);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.vision-cta-description {
  font-size: 1.125rem;
  color: var(--atmosphere-text-muted, #6b7280);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Edit mode inputs */
.vision-cta-edit-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  color: inherit;
  text-align: center;
  padding: 0.5rem 0;
  transition: border-color 0.2s;
}

.vision-cta-edit-input:focus {
  outline: none;
  border-bottom-color: var(--atmosphere-primary, #10b981);
}

/* Action area */
.vision-cta-action {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* Primary CTA button */
.vision-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, 
    var(--atmosphere-primary, #10b981) 0%, 
    var(--atmosphere-primary-light, #34d399) 100%);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 10px 15px -3px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3),
    0 4px 6px -2px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.15);
}

.vision-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 20px 25px -5px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.35),
    0 10px 10px -5px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
}

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

/* Email form */
.vision-cta-form {
  width: 100%;
  max-width: 24rem;
}

.vision-cta-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 3rem;
  font-size: 1rem;
  border: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  color: var(--atmosphere-text, #1f2937);
}

.vision-cta-input:focus {
  outline: none;
  border-color: var(--atmosphere-primary, #10b981);
  background: white;
  box-shadow: 
    0 0 0 4px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vision-cta-submit {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--atmosphere-primary, #10b981);
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.vision-cta-submit:hover:not(:disabled) {
  background: var(--atmosphere-primary-dark, #059669);
  transform: translateY(-50%) scale(1.05);
}

.vision-cta-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* OTP input section */
.vision-cta-otp {
  max-width: 24rem;
  margin: 0 auto;
}

.vision-cta-otp-input {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  color: var(--atmosphere-text, #1f2937);
}

.vision-cta-otp-input:focus {
  outline: none;
  border-color: var(--atmosphere-primary, #10b981);
  background: white;
  transform: scale(1.05);
  box-shadow: 
    0 0 0 4px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vision-cta-otp-input:not(:placeholder-shown) {
  border-color: var(--atmosphere-primary, #10b981);
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.05);
}

/* Loading state */
.vision-cta-loading {
  text-align: center;
  padding: 2rem;
}

/* Success state */
.vision-cta-success {
  text-align: center;
  padding: 2rem;
}

/* Authenticated state */
.vision-cta-authenticated {
  text-align: center;
  padding: 2rem;
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
}

@keyframes floatGradient {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(30px, -30px) scale(0.9);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out;
}

.animate-scaleIn {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .vision-cta {
    padding: 3rem 1rem;
  }
  
  .vision-cta-content {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }
  
  .vision-cta-headline {
    font-size: 2rem;
  }
  
  .vision-cta-description {
    font-size: 1rem;
  }
  
  .vision-cta-otp-input {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .vision-cta-content {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  }
  
  .vision-cta-input {
    background: rgba(0, 0, 0, 0.3);
    color: white;
  }
  
  .vision-cta-input:focus {
    background: rgba(0, 0, 0, 0.5);
  }
  
  .vision-cta-otp-input {
    background: rgba(0, 0, 0, 0.3);
    color: white;
  }
  
  .vision-cta-otp-input:focus {
    background: rgba(0, 0, 0, 0.5);
  }
}
/* vision-showcase.css */
/* Vision Showcase Styles */

.vision-showcase {
  position: relative;
  padding: 4rem 1rem;
  background: transparent;
  --vision-showcase-corner-radius: 1rem;
}

.vision-showcase-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.vision-showcase-controls__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--atmosphere-text-muted, #6b7280);
}

.vision-showcase-controls__group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.08);
  backdrop-filter: blur(8px);
}

.vision-showcase-toggle-button {
  position: relative;
  border: none;
  background: transparent;
  color: var(--atmosphere-text-muted, #6b7280);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vision-showcase-toggle-button[data-active='true'] {
  color: var(--atmosphere-primary, #10b981);
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.16);
  box-shadow: 0 12px 24px -12px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.6);
}

.vision-showcase-toggle-button:not([data-active='true']):hover {
  color: var(--atmosphere-text, #1f2937);
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.12);
}

.vision-showcase-toggle-button:focus-visible {
  outline: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.5);
  outline-offset: 2px;
}

/* Showcase Item */
.vision-showcase-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--vision-showcase-corner-radius, 1rem);
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  position: relative;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  will-change: transform;
  z-index: 1;
}

/* Disable transitions while editing to prevent bumps */
.vision-showcase-item.editing-active {
  transition: none !important;
}

.vision-showcase-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.vision-showcase-item[data-corner-style='rounded'],
.vision-showcase-item[data-corner-style='rounded'] .showcase-icon-empty,
.vision-showcase-add[data-corner-style='rounded'] {
  --vision-showcase-corner-radius: 1rem;
}

.vision-showcase-item[data-corner-style='sharp'],
.vision-showcase-item[data-corner-style='sharp'] .showcase-icon-empty,
.vision-showcase-add[data-corner-style='sharp'] {
  --vision-showcase-corner-radius: 0rem;
}

/* Icon */
.showcase-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
  display: block;
  filter: saturate(1.2);
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-icon-empty {
  opacity: 0.5;
  border: 2px dashed rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  border-radius: var(--vision-showcase-corner-radius, 1rem);
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
}

/* Emoji Picker */
.showcase-emoji-picker {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  max-width: 90vw;
  max-height: 80vh;
  width: 480px;
  display: flex;
  flex-direction: column;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(80vh - 4rem);
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3) transparent;
}

.emoji-grid::-webkit-scrollbar {
  width: 8px;
}

.emoji-grid::-webkit-scrollbar-track {
  background: transparent;
}

.emoji-grid::-webkit-scrollbar-thumb {
  background-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  border-radius: 4px;
}

.emoji-grid::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.5);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 640px) {
  .showcase-emoji-picker {
    width: 320px;
    max-width: 95vw;
  }
  
  .emoji-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.emoji-option {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.1s;
}

.emoji-option:hover {
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
  transform: scale(1.1);
}

.emoji-picker-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  animation: fadeIn 0.15s ease-out;
}

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

.emoji-picker-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--atmosphere-text-muted, #6b7280);
  transition: all 0.1s;
  z-index: 10;
}

.emoji-picker-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.showcase-icon-input {
  font-size: 3rem;
  width: 4rem;
  height: 4rem;
  text-align: center;
  border: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  margin: 0 auto 1rem;
  display: block;
}

.showcase-icon-input:focus {
  outline: none;
  border-color: var(--atmosphere-primary, #10b981);
  box-shadow: 0 0 0 3px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
}

/* Title */
.showcase-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--atmosphere-text, #1f2937);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.showcase-title-input {
  width: 100%;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--atmosphere-text, #1f2937);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
}

.showcase-title-input:focus {
  outline: none;
  border-bottom-color: var(--atmosphere-primary, #10b981);
}

/* Description */
.showcase-description {
  font-size: 0.875rem;
  color: var(--atmosphere-text-muted, #6b7280);
  line-height: 1.6;
  text-align: center;
}

.showcase-description-input {
  width: 100%;
  font-size: 0.875rem;
  text-align: center;
  color: var(--atmosphere-text-muted, #6b7280);
  background: transparent;
  border: 1px solid rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  border-radius: 0.5rem;
  padding: 0.5rem;
  resize: none;
  line-height: 1.6;
}

.showcase-description-input:focus {
  outline: none;
  border-color: var(--atmosphere-primary, #10b981);
  box-shadow: 0 0 0 3px rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
}

/* Add Item Button */
.vision-showcase-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.05);
  border: 2px dashed rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  border-radius: var(--vision-showcase-corner-radius, 1rem);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 200px;
}

.vision-showcase-add:hover {
  background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.1);
  border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.5);
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  .vision-showcase-item {
    padding: 1.5rem 1rem;
  }
  
  .showcase-icon {
    font-size: 2.5rem;
  }
  
  .showcase-title {
    font-size: 1.125rem;
  }
  
  .showcase-description {
    font-size: 0.813rem;
  }
}

/* Atmosphere-specific hover states - removed as we use consistent white background */

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .vision-showcase-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  }
  
  .vision-showcase-item:hover {
    background: rgba(0, 0, 0, 0.3);
  }
  
  .showcase-icon-input,
  .showcase-title-input,
  .showcase-description-input {
    background: rgba(0, 0, 0, 0.3);
    color: white;
  }
  
  .showcase-emoji-picker {
    background: #1f2937;
    border-color: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.3);
  }
  
  .emoji-option:hover {
    background: rgba(var(--atmosphere-primary-rgb, 16, 185, 129), 0.2);
  }
  
  .emoji-picker-close {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
  }
  
  .emoji-picker-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

/* Emoji picker title */
.showcase-emoji-picker h3 {
  margin: 0 0 1rem 0;
  padding: 0 2rem 0 0;
  color: var(--atmosphere-text, #1f2937);
  font-weight: 600;
}

/* Performance optimizations */
.vision-showcase-item {
  will-change: transform;
  contain: layout style paint;
}

/* Allow floating toolbar to overflow in vision showcase when editor is active */
.vision-showcase-item:has(.bolder-editor .floating-toolbar),
.vision-showcase-item:has(.ProseMirror-focused) {
  contain: none !important;
  overflow: visible !important;
}

/* Ensure proper z-index stacking for toolbar in vision showcase */
.vision-showcase-item .bolder-editor .floating-toolbar {
  z-index: 10000 !important;
}

/* Grid gap consistency */
.vision-showcase .grid {
  gap: 2rem;
}

@media (max-width: 640px) {
  .vision-showcase .grid {
    gap: 1.5rem;
  }
}

/* -------------------------------------
   Floating Toolbar Fixes (No Portal)
   ------------------------------------- */

/* When a showcase item is being edited */
.vision-showcase-item.editing-active {
  overflow: visible !important;
  contain: none !important;
  position: relative;
  z-index: 10; /* Ensures toolbar appears above other items */
}

/* Prevent hover transform from interfering during editing */
.vision-showcase-item.editing-active:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Floating toolbar positioning for vision showcase */
.vision-showcase-item .floating-toolbar {
  z-index: 10000;
  /* Allow natural positioning from the component */
}

/* vision-enhancements.css */
/* Vision Components Phase 1.5 - Visual Enhancements
   Performance-first animations that can be toggled via feature flags */

/* GPU Acceleration Base */
.vision-enhanced {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

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

/* 1. Vision Hero - Subtle Breathing Effect */
.vision-hero-breathing {
  animation: gentleBreathe 6s ease-in-out infinite;
}

@keyframes gentleBreathe {
  0%, 100% {
    transform: scale(1) translateZ(0);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.02) translateZ(0);
    opacity: 1;
  }
}

/* Mobile: Reduce to opacity only */
@media (max-width: 768px) {
  @keyframes gentleBreathe {
    0%, 100% {
      transform: scale(1) translateZ(0);
      opacity: 0.9;
    }
    50% {
      transform: scale(1) translateZ(0);
      opacity: 1;
    }
  }
}

/* Atmosphere-specific breathing rhythms */
.atmosphere-regenerative .vision-hero-breathing {
  animation-duration: 8s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.atmosphere-revolutionary .vision-hero-breathing {
  animation-duration: 3s;
  animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.atmosphere-innovative .vision-hero-breathing {
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.atmosphere-community .vision-hero-breathing {
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
}

/* 2. Story Telling - Scroll Reveal */
.story-block-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered delays for children */
.story-block-reveal:nth-child(1) { transition-delay: 0ms; }
.story-block-reveal:nth-child(2) { transition-delay: 50ms; }
.story-block-reveal:nth-child(3) { transition-delay: 100ms; }
.story-block-reveal:nth-child(4) { transition-delay: 150ms; }
.story-block-reveal:nth-child(5) { transition-delay: 200ms; }

/* Text emphasis animation */
.story-emphasis {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-emphasis.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Partner Grid - Hover Delight */
.partner-card-enhanced {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
}

.partner-card-enhanced:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.15),
    0 5px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Tier-specific hover effects */
.partner-card-enhanced.tier-platinum:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 
    0 15px 40px -10px rgba(229, 228, 226, 0.5),
    0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.partner-card-enhanced.tier-gold:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 
    0 12px 35px -10px rgba(255, 215, 0, 0.3),
    0 8px 15px -5px rgba(0, 0, 0, 0.1);
}

/* Partner logo subtle scale */
.partner-card-enhanced:hover .partner-logo {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile: Tap feedback only */
@media (max-width: 768px) {
  .partner-card-enhanced:active {
    transform: scale(0.98) translateZ(0);
    transition-duration: 0.1s;
  }
  
  .partner-card-enhanced:hover {
    transform: none;
    box-shadow: none;
  }
}

/* 4. Vision CTA - Transformation Magic */
.vision-cta-morph {
  position: relative;
  overflow: hidden;
}

.vision-cta-button {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
}

/* Button to input morphing */
.vision-cta-morphing {
  animation: morphToInput 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes morphToInput {
  0% {
    border-radius: 9999px;
    padding: 0.75rem 2rem;
  }
  50% {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
  }
  100% {
    border-radius: 8px;
    padding: 0.5rem 1rem;
  }
}

/* Success state animation */
.vision-cta-success {
  animation: successPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPulse {
  0% {
    transform: scale(1) translateZ(0);
  }
  50% {
    transform: scale(1.05) translateZ(0);
  }
  100% {
    transform: scale(1) translateZ(0);
  }
}

/* Loading state */
.vision-cta-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: ctaSpin 0.8s linear infinite;
}

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

/* 5. Vision Showcase - Micro-interactions */
.showcase-item-enhanced {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
}

.showcase-item-enhanced:hover {
  transform: translateY(-2px) translateZ(0);
}

.showcase-icon-enhanced {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.showcase-item-enhanced:hover .showcase-icon-enhanced {
  transform: scale(1.1) rotate(5deg);
}

/* Atmosphere-specific icon animations */
.atmosphere-regenerative .showcase-item-enhanced:hover .showcase-icon-enhanced {
  animation: iconFloat 2s ease-in-out infinite;
}

.atmosphere-revolutionary .showcase-item-enhanced:hover .showcase-icon-enhanced {
  animation: iconShake 0.5s ease-in-out;
}

.atmosphere-innovative .showcase-item-enhanced:hover .showcase-icon-enhanced {
  animation: iconRotate 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.atmosphere-community .showcase-item-enhanced:hover .showcase-icon-enhanced {
  animation: iconPulse 1s ease-in-out;
}

/* Icon animations */
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) scale(1.1) rotate(5deg);
  }
  50% {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
  }
}

@keyframes iconShake {
  0%, 100% {
    transform: scale(1.1) rotate(5deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(8deg);
  }
}

@keyframes iconRotate {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1.1) rotate(360deg);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
}

/* Performance optimizations */
.vision-enhanced * {
  contain: layout style paint;
}

.vision-enhanced img {
  content-visibility: auto;
}

/* Disable animations for performance mode */
.performance-mode .vision-enhanced,
.performance-mode .vision-enhanced * {
  animation: none !important;
  transition: none !important;
}

/* Debug mode - shows performance impact */
.debug-mode .vision-enhanced::before {
  content: attr(data-performance-impact);
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  font-size: 10px;
  z-index: 9999;
}
/* site-atmosphere.css */
/* Site-Wide Atmosphere System - Phase 2
   Static backgrounds and simple transitions for performance */

/* Base atmosphere layer - applied to body or main container */
.atmosphere-enabled {
  --atmosphere-intensity: 1;
  position: relative;
}

/* Atmosphere background layer - single static gradient */
.atmosphere-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: calc(0.05 * var(--atmosphere-intensity));
  background: linear-gradient(
    var(--atmosphere-angle, 135deg),
    var(--atmosphere-color-1),
    var(--atmosphere-color-2),
    var(--atmosphere-color-3)
  );
}

/* Position-based section atmospheres */
.atmosphere-section {
  position: relative;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, background 0.3s ease-out;
  will-change: opacity, transform;
}

.atmosphere-section[data-layout-desktop-height],
.atmosphere-section[data-layout-mobile-height] {
  --vision-section-min-height: clamp(28rem, 60vh, 36rem);
  --vision-section-padding-block: clamp(3rem, 8vh, 6rem);
  min-height: var(--vision-section-min-height);
  padding-block: var(--vision-section-padding-block);
  padding-inline: 0;
}
.atmosphere-section[data-layout-padding='none'] {
  --vision-section-padding-block: 0;
  padding-block: 0;
}

.atmosphere-section[data-layout-desktop-height='s'] {
  --vision-section-min-height: clamp(20rem, 40vh, 28rem);
  --vision-section-padding-block: clamp(2.5rem, 6vh, 3.5rem);
}

.atmosphere-section[data-layout-desktop-height='m'] {
  --vision-section-min-height: clamp(28rem, 60vh, 36rem);
  --vision-section-padding-block: clamp(3rem, 8vh, 6rem);
}

.atmosphere-section[data-layout-desktop-height='l'] {
  --vision-section-min-height: clamp(34rem, 75vh, 44rem);
  --vision-section-padding-block: clamp(3.5rem, 9vh, 6.5rem);
}

.atmosphere-section[data-layout-desktop-height='full'] {
  --vision-section-min-height: 100vh;
  --vision-section-padding-block: clamp(4rem, 12vh, 7rem);
}

@supports (min-height: 100dvh) {
  .atmosphere-section[data-layout-desktop-height='full'] {
    --vision-section-min-height: 100dvh;
  }
}

.atmosphere-section[data-layout-vertical-align] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.atmosphere-section[data-layout-vertical-align='center'] {
  justify-content: center;
}

.atmosphere-section[data-layout-vertical-align='end'] {
  justify-content: flex-end;
}

.atmosphere-section[data-layout-vertical-align='start'] > *,
.atmosphere-section[data-layout-vertical-align='center'] > *,
.atmosphere-section[data-layout-vertical-align='end'] > * {
  width: 100%;
}

/* Apply position-based backgrounds only for default variant */
/* Default variant - no alternating colors */
.atmosphere-section[data-background-variant="default"],
.atmosphere-section:not([data-background-variant]) {
  background: transparent;
}

/* Scroll-triggered transitions */
.atmosphere-section:not(.in-view) {
  /* opacity: 0.8; */
}

.atmosphere-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Atmosphere-specific patterns */

/* Regenerative - Organic dots pattern */
.atmosphere-regenerative .atmosphere-pattern {
  background-image: radial-gradient(
    circle at 20% 50%,
    rgba(var(--atmosphere-rgb-1), 0.1) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 80% 80%,
    rgba(var(--atmosphere-rgb-2), 0.08) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 40% 20%,
    rgba(var(--atmosphere-rgb-3), 0.06) 0%,
    transparent 50%
  );
}

/* Revolutionary - Energy waves */
.atmosphere-revolutionary .atmosphere-pattern {
  background-image: linear-gradient(
    45deg,
    rgba(var(--atmosphere-rgb-1), 0.1) 25%,
    transparent 25%,
    transparent 75%,
    rgba(var(--atmosphere-rgb-1), 0.1) 75%
  );
  background-size: 30px 30px;
}

/* Innovative - Grid mesh */
.atmosphere-innovative .atmosphere-pattern {
  background-image: linear-gradient(
    rgba(var(--atmosphere-rgb-1), 0.05) 1px,
    transparent 1px
  ),
  linear-gradient(
    90deg,
    rgba(var(--atmosphere-rgb-1), 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
}

/* Community - Connection dots */
.atmosphere-community .atmosphere-pattern {
  background-image: radial-gradient(
    circle,
    rgba(var(--atmosphere-rgb-1), 0.15) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
}

/* Mobile optimizations - simpler effects */
@media (max-width: 768px) {
  .atmosphere-section[data-layout-mobile-height],
  .vision-component {
    --vision-section-padding-block: clamp(2rem, 6vh, 4rem);
  }

  .atmosphere-section[data-layout-mobile-height='s'] {
    --vision-section-min-height: clamp(18rem, 45vh, 24rem);
    --vision-section-padding-block: clamp(1.75rem, 6vh, 3rem);
  }

  .atmosphere-section[data-layout-mobile-height='m'] {
    --vision-section-min-height: clamp(22rem, 55vh, 30rem);
    --vision-section-padding-block: clamp(2.25rem, 7vh, 3.75rem);
  }

  .atmosphere-section[data-layout-mobile-height='l'] {
    --vision-section-min-height: clamp(26rem, 65vh, 34rem);
    --vision-section-padding-block: clamp(2.75rem, 8vh, 4.5rem);
  }

  .atmosphere-section[data-layout-mobile-height='full'] {
    --vision-section-min-height: 100vh;
    --vision-section-padding-block: clamp(3.5rem, 10vh, 5rem);
  }

  @supports (min-height: 100dvh) {
    .atmosphere-section[data-layout-mobile-height='full'] {
      --vision-section-min-height: 100dvh;
    }
  }

  /* Remove gradients, use solid tints */
  .atmosphere-section:first-child {
    background: rgba(var(--atmosphere-rgb-1), 0.02);
  }
  
  .atmosphere-section:nth-child(odd):not(:first-child):not(:last-child) {
    background: rgba(var(--atmosphere-rgb-2), 0.03);
  }
  
  .atmosphere-section:nth-child(even):not(:last-child) {
    background: rgba(var(--atmosphere-rgb-3), 0.04);
  }
  
  .atmosphere-section:last-child {
    background: rgba(var(--atmosphere-rgb-1), 0.05);
  }
  
  /* Remove patterns on mobile */
  .atmosphere-pattern {
    background-image: none !important;
  }
  
  /* Simpler transitions */
  .atmosphere-section:not(.in-view) {
    /* opacity: 0.9; */
    /* transform: translateY(10px); */
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .atmosphere-section {
    transition: none !important;
    transform: none !important;
  }
  
  .atmosphere-section:not(.in-view) {
    opacity: 1;
    transform: none;
  }
}

/* Intensity controls */
.atmosphere-subtle {
  --atmosphere-intensity: 0.5;
}

.atmosphere-moderate {
  --atmosphere-intensity: 1;
}

.atmosphere-dramatic {
  --atmosphere-intensity: 1.5;
}

/* Disable atmosphere */
.atmosphere-disabled .atmosphere-layer,
.atmosphere-disabled .atmosphere-section {
  /* background: none !important; */
}

.atmosphere-disabled .atmosphere-section {
  opacity: 1 !important;
  transform: none !important;
}

/* Performance optimizations */
.atmosphere-section {
  contain: layout style paint;
}

.atmosphere-layer {
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}