/* Slides with Animated Backgrounds */
.benefit-slides-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 3rem 0;
    border-radius: var(--mc-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
}

.benefit-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

/* Animated Background Patterns */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatAnimation 8s infinite ease-in-out;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #059669, #10b981);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #65a30d, #84cc16);
    top: 40%;
    left: 75%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #15803d, #16a34a);
    bottom: 10%;
    left: 25%;
    animation-delay: 6s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Slide Styles */
.benefit-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.benefit-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.benefit-slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    text-align: center;
    padding: 3rem;
    max-width: 600px;
}

.slide-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-accent));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(22, 163, 74, 0);
    }
}

.slide-content h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.1rem;
    color: #e5e7eb;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: var(--mc-primary);
    transform: scale(1.2);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* Enhanced Animations */
.benefit-slides-container.scroll-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.benefit-slides-container.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.benefit-slide.scroll-reveal {
    transform: translateX(100px) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-slide.scroll-reveal.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.slide-content.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.3s;
}

.slide-content.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-icon.scroll-reveal {
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.6s ease-out 0.4s;
}

.slide-icon.scroll-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Hover Effects */
.slide-nav:hover {
    transform: translateY(-50%) scale(1.15);
    background: rgba(255, 255, 255, 0.25);
}

.slide-indicator:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.5);
}

.bg-shape:hover {
    animation-play-state: paused;
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .benefit-slides-container {
        height: 450px;
    }
    
    .slide-content h3 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .benefit-slides-container {
        height: 400px;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slide-prev {
        left: 10px;
    }
    
    .slide-next {
        right: 10px;
    }
    
    .slide-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .bg-shape {
        width: 80px;
        height: 80px;
    }
    
    .shape-3, .shape-4 {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    .benefit-slides-container {
        height: 380px;
    }
    
    .slide-content {
        padding: 1.75rem;
    }
    
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .slide-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .slide-nav {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .slide-indicator {
        width: 10px;
        height: 10px;
    }
    
    .bg-shape {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 540px) {
    .benefit-slides-container {
        height: 350px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slide-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .benefit-slides-container {
        height: 320px;
    }
    
    .slide-content {
        padding: 1.25rem;
        max-width: 320px;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
    }
    
    .slide-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .slide-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .slide-prev {
        left: 5px;
    }
    
    .slide-next {
        right: 5px;
    }
    
    .bg-shape {
        width: 60px;
        height: 60px;
    }
    
    .shape-3, .shape-4 {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 360px) {
    .benefit-slides-container {
        height: 300px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .slide-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-nav {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}