/* Custom Animations */
@keyframes fade-in-left {
  from {
      opacity: 0;
      transform: translateX(-30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fade-in-right {
  from {
      opacity: 0;
      transform: translateX(30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fade-in-up {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.animate-fade-in-left {
  animation: fade-in-left 0.6s ease-out forwards;
}

.animate-fade-in-right {
  animation: fade-in-right 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Ensure images load smoothly */
img {
    transition: opacity 0.3s ease-in-out;
}

img:not([src]) {
    opacity: 0;
}

/* Aspect ratio utilities */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Dotted overlay pattern - Updated for feminine palette */
.dotted-overlay {
    //background-image: radial-gradient(circle, rgba(218, 112, 214, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
}

/* Enhanced 3D Video Shadow Effects - Updated for feminine palette */
.video-3d-shadow {
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 10px 20px rgba(0,0,0,0.2),
        0 5px 10px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.video-3d-shadow:hover {
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 15px 30px rgba(0,0,0,0.3),
        0 8px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.float-animation-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Enhanced YouTube iframe styling - Updated for feminine palette */
.youtube-iframe {
    border-radius: 16px;
    box-shadow: 
        0 0 20px rgba(218, 112, 214, 0.3),
        0 0 40px rgba(218, 112, 214, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Glow effect for video border - Updated for feminine palette */
.video-glow {
    box-shadow: 
        0 0 20px rgba(218, 112, 214, 0.3),
        0 0 40px rgba(218, 112, 214, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Benefits Section Enhanced Background - Updated for feminine palette */
.benefits-section-bg {
    background: linear-gradient(135deg, 
        #fdf2f8 0%, 
        #f3e8ff 25%, 
        #e9d5ff 50%, 
        #f3e8ff 75%, 
        #fdf2f8 100%);
    position: relative;
}

.benefits-gradient {
    background: linear-gradient(135deg, 
        rgba(253, 242, 248, 0.95) 0%, 
        rgba(243, 232, 255, 0.9) 25%, 
        rgba(233, 213, 255, 0.85) 50%, 
        rgba(243, 232, 255, 0.8) 75%, 
        rgba(253, 242, 248, 0.75) 100%);
}

.benefits-texture {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(218, 112, 214, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(218, 112, 214, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(186, 191, 201, 0.04) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(218, 112, 214, 0.02) 50%, transparent 70%);
    background-size: 120px 120px, 180px 180px, 240px 240px, 360px 360px;
    animation: textureFloat 25s ease-in-out infinite;
}

@keyframes textureFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.2;
    }
    25% { 
        transform: translate(-8px, -3px) rotate(0.5deg); 
        opacity: 0.3;
    }
    50% { 
        transform: translate(4px, -8px) rotate(-0.5deg); 
        opacity: 0.25;
    }
    75% { 
        transform: translate(-4px, 4px) rotate(0.3deg); 
        opacity: 0.3;
    }
}

.benefits-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(218, 112, 214, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(218, 112, 214, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefits-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(218, 112, 214, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(218, 112, 214, 0.15),
        inset 0 1px 0 rgba(218, 112, 214, 0.1);
    transform: translateY(-8px) scale(1.02);
}

/* Is This You Section Enhanced Background - Updated for feminine palette */
.is-this-you-section-bg {
    background: linear-gradient(135deg, 
        #f3e8ff 0%, 
        #e9d5ff 25%, 
        #fdf2f8 50%, 
        #f3e8ff 75%, 
        #e9d5ff 100%);
    position: relative;
}

.is-this-you-gradient {
    background: linear-gradient(135deg, 
        rgba(243, 232, 255, 0.95) 0%, 
        rgba(233, 213, 255, 0.9) 25%, 
        rgba(253, 242, 248, 0.85) 50%, 
        rgba(243, 232, 255, 0.8) 75%, 
        rgba(233, 213, 255, 0.75) 100%);
}

.is-this-you-texture {
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(218, 112, 214, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(218, 112, 214, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(186, 191, 201, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, transparent 40%, rgba(218, 112, 214, 0.015) 60%, transparent 80%);
    background-size: 140px 140px, 200px 200px, 280px 280px, 400px 400px;
    animation: textureFloat 30s ease-in-out infinite;
}

.symptom-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(218, 112, 214, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.symptom-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(218, 112, 214, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(218, 112, 214, 0.1);
    transform: translateX(8px);
}

.message-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(218, 112, 214, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(218, 112, 214, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(218, 112, 214, 0.4);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(218, 112, 214, 0.15),
        inset 0 1px 0 rgba(218, 112, 214, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.image-container {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(218, 112, 214, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(218, 112, 214, 0.2);
    transform: translateY(-8px) scale(1.03);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .dotted-overlay {
        background-size: 6px 6px;
    }
    
    .video-overlay {
        background: linear-gradient(135deg, rgba(32,29,31,0.8) 0%, rgba(0,0,0,0.2) 100%);
    }
    
    /* Reduce shadow intensity on mobile */
    .video-3d-shadow {
        box-shadow: 
            0 10px 20px rgba(0,0,0,0.2),
            0 5px 10px rgba(0,0,0,0.1);
    }
    
    .benefits-section-bg {
        background: linear-gradient(135deg, 
            #fdf2f8 0%, 
            #f3e8ff 50%, 
            #fdf2f8 100%);
    }
    
    .benefits-texture {
        background-size: 80px 80px, 120px 120px, 160px 160px, 240px 240px;
        animation: textureFloat 20s ease-in-out infinite;
    }
    
    .benefits-card {
        backdrop-filter: blur(8px);
    }
    
    .is-this-you-section-bg {
        background: linear-gradient(135deg, 
            #f3e8ff 0%, 
            #fdf2f8 50%, 
            #f3e8ff 100%);
    }
    
    .is-this-you-texture {
        background-size: 100px 100px, 140px 140px, 200px 200px, 280px 240px;
        animation: textureFloat 25s ease-in-out infinite;
    }
    
    .symptom-item {
        backdrop-filter: blur(6px);
        padding: 10px 14px;
    }
    
    .message-card {
        backdrop-filter: blur(8px);
    }
}

/* Fade Word Animation */
.fade-word {
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    line-height: inherit;
}

.fade-word.active {
    opacity: 1;
}

/* Additional feminine palette enhancements */
.video-overlay {
    background: linear-gradient(135deg, rgba(1,0,11,0.7) 0%, rgba(32,29,31,0.3) 100%);
}

/* Enhanced button hover effects for feminine palette */
.btn-feminine {
    background: linear-gradient(135deg, #da70d6 0%, #e8a0e6 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-feminine:hover {
    background: linear-gradient(135deg, #e8a0e6 0%, #da70d6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 112, 214, 0.3);
}

/* Feminine card styling */
.card-feminine {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(218, 112, 214, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(218, 112, 214, 0.1);
    transition: all 0.3s ease;
}

.card-feminine:hover {
    border-color: rgba(218, 112, 214, 0.4);
    box-shadow: 0 16px 48px rgba(218, 112, 214, 0.2);
    transform: translateY(-4px);
}

/* Feminine gradient backgrounds */
.gradient-feminine-1 {
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #e9d5ff 100%);
}

.gradient-feminine-2 {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #fdf2f8 100%);
}

.gradient-feminine-3 {
    background: linear-gradient(135deg, #e9d5ff 0%, #fdf2f8 50%, #f3e8ff 100%);
}
