/* Modern Hero Slider - Ultra Contemporary Design */
.modern-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
}

/* Slide Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.next {
    z-index: 3;
}

/* Video Background */
.slide-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1) saturate(1.2);
    transition: transform 8s ease-out, filter 1.5s ease;
}

.slide.active .slide-video {
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(0.5) contrast(1.2) saturate(1.3);
}

/* Dynamic Overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(34, 139, 230, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(15, 23, 42, 0.7) 0%, 
            rgba(30, 41, 59, 0.6) 30%, 
            rgba(51, 65, 85, 0.65) 70%, 
            rgba(15, 23, 42, 0.8) 100%);
    z-index: 3;
    animation: overlayShift 12s ease-in-out infinite alternate;
}

@keyframes overlayShift {
    0% { 
        background: 
            radial-gradient(circle at 30% 20%, rgba(34, 139, 230, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
            linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 30%, rgba(51, 65, 85, 0.65) 70%, rgba(15, 23, 42, 0.8) 100%);
    }
    100% { 
        background: 
            radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(34, 139, 230, 0.15) 0%, transparent 50%),
            linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(51, 65, 85, 0.65) 30%, rgba(30, 41, 59, 0.7) 70%, rgba(15, 23, 42, 0.85) 100%);
    }
}

/* Floating Particles */
.slide-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 25px 35px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 65px 85px, rgba(34,197,94,0.6), transparent),
        radial-gradient(1px 1px at 95px 45px, rgba(16,185,129,0.5), transparent),
        radial-gradient(2px 2px at 15px 75px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 85px 25px, rgba(34,139,230,0.4), transparent);
    background-size: 200px 200px, 150px 150px, 120px 120px, 180px 180px, 100px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.8;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Content Container */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.slide-inner {
    max-width: 800px;
    transform: translateY(60px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-inner {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

/* Typography */
.slide-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.slide-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.slide-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    padding-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    transition: transform 0.3s ease;
}

.slide-title .highlight {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.8);
    animation: highlightGlow 2s ease-in-out infinite alternate;
    z-index: -1;
    margin-bottom: 8px;
}

@keyframes highlightGlow {
    0% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.8); }
    100% { box-shadow: 0 0 25px rgba(34, 197, 94, 1); }
}

.slide-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    box-shadow: 
        0 10px 30px rgba(34, 197, 94, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.slide-cta:hover::before {
    left: 100%;
}

.slide-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.5),
        inset 0 3px 0 rgba(255, 255, 255, 0.3);
}

.slide-cta:active {
    transform: translateY(-1px) scale(1.02);
}

.slide-cta i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.slide-cta:hover i {
    transform: translateX(5px);
}

/* Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #22c55e, #16a34a, #22c55e);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: dotRotate 3s linear infinite;
    animation-play-state: paused;
}

.nav-dot.active::before {
    opacity: 1;
    animation-play-state: running;
}

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

.nav-dot.active {
    background: #22c55e;
    border-color: #16a34a;
    transform: scale(1.3);
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.6),
        0 4px 12px rgba(34, 197, 94, 0.4);
}

.nav-dot:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Arrow Navigation */
.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow-prev {
    left: 40px;
}

.arrow-next {
    right: 40px;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider-arrow:hover::before {
    opacity: 1;
}

.slider-arrow:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.slider-arrow:hover i {
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: progressGlow 2s ease-in-out infinite;
}

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

/* Geometric Decorations */
.slide-decorations {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    animation: decorationFloat 15s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
    bottom: 15%;
    right: 8%;
    width: 100px;
    height: 100px;
    border-color: rgba(16, 185, 129, 0.25);
    animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
    top: 60%;
    left: 15%;
    width: 80px;
    height: 80px;
    border-color: rgba(34, 139, 230, 0.2);
    animation-delay: 4s;
}

@keyframes decorationFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg) scale(0.9); 
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-30px) rotate(270deg) scale(1.05); 
        opacity: 0.7;
    }
}

/* Slide Transition Effects */
.slide-transition-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    z-index: 6;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.transitioning .slide-transition-overlay {
    opacity: 1;
}

/* Auto-play indicator */
.autoplay-indicator {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.autoplay-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: autoplayPulse 2s ease-in-out infinite;
}

@keyframes autoplayPulse {
    0%, 100% { 
        opacity: 0.5; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-title {
        font-size: clamp(2rem, 10vw, 4rem);
        margin-bottom: 20px;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .slide-cta {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .slider-arrows {
        display: none;
    }
    
    .autoplay-indicator {
        top: 20px;
        right: 20px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .slider-nav {
        bottom: 20px;
        gap: 8px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* Enhanced mouse interactions and hover effects */
.slide-title {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.slide-content:hover .slide-title {
    text-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.slide-subtitle {
    transition: transform 0.3s ease;
}

.slide-subtitle::after {
    transition: width 0.4s ease, box-shadow 0.4s ease;
}

.slide-inner:hover .slide-subtitle::after {
    width: 80px;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.8);
}

/* Smooth transitions for all interactive elements */
.slide-particles {
    transition: transform 0.3s ease-out;
}

.decoration-circle {
    transition: transform 0.3s ease-out, border-color 0.3s ease;
}

.slide-inner {
    transition: transform 0.3s ease;
}

/* Mouse proximity effects */
.slide-content {
    transition: transform 0.2s ease;
}

/* Enhanced CTA hover with magnetic effect */
.slide-cta {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.slide-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.5),
        inset 0 3px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(34, 197, 94, 0.3);
}

/* Magnetic cursor effect for navigation elements */
.nav-dot:hover {
    transform: scale(1.4);
    background: rgba(34, 197, 94, 0.8);
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.slider-arrow:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

/* Interactive decorations on hover */
.slide:hover .decoration-circle {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

/* Smooth content reveal animation */
.slide-description {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide-content:hover .slide-description {
    transform: translateY(-1px);
    opacity: 0.95;
}

@media (max-width: 480px) {
    .slide-content {
        padding: 0 15px;
    }
    
    .slide-subtitle {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }
    
    .slide-title {
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
}

/* Advanced Scroll Disappear Animations - Mobile Optimized */
.modern-hero-slider {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s ease,
                filter 0.8s ease,
                box-shadow 0.6s ease;
    transform-origin: center top;
    position: relative;
    will-change: transform, opacity, filter;
}

.modern-hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 70%, 
        rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 15;
}

/* Scroll Progress States */
.modern-hero-slider.scroll-stage-1 {
    transform: scale(0.98) translateY(-5px);
    opacity: 0.95;
    filter: brightness(0.92);
}

.modern-hero-slider.scroll-stage-2 {
    transform: scale(0.95) translateY(-15px) perspective(1200px) rotateX(2deg);
    opacity: 0.85;
    filter: blur(1px) brightness(0.8) contrast(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modern-hero-slider.scroll-stage-3 {
    transform: scale(0.9) translateY(-30px) perspective(1000px) rotateX(4deg);
    opacity: 0.7;
    filter: blur(2px) brightness(0.7) contrast(1.2) saturate(0.8);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modern-hero-slider.scroll-stage-4 {
    transform: scale(0.85) translateY(-50px) perspective(800px) rotateX(6deg);
    opacity: 0.5;
    filter: blur(3px) brightness(0.6) contrast(1.3) saturate(0.6);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
}

.modern-hero-slider.scroll-stage-5 {
    transform: scale(0.8) translateY(-80px) perspective(600px) rotateX(8deg);
    opacity: 0.3;
    filter: blur(4px) brightness(0.5) contrast(1.4) saturate(0.4);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.6);
}

.modern-hero-slider.scroll-stage-6 {
    transform: scale(0.7) translateY(-120px) perspective(400px) rotateX(12deg);
    opacity: 0.1;
    filter: blur(6px) brightness(0.3) contrast(1.5) saturate(0.2);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7);
}

.modern-hero-slider.scroll-stage-final {
    transform: scale(0.6) translateY(-200px) perspective(200px) rotateX(20deg);
    opacity: 0;
    filter: blur(10px) brightness(0.1);
    pointer-events: none;
}

/* Staggered Element Disappearance */
.modern-hero-slider.scroll-stage-1 .slide-subtitle {
    transform: translateY(-10px) scale(0.95);
    opacity: 0.8;
}

.modern-hero-slider.scroll-stage-2 .slide-subtitle {
    transform: translateY(-25px) scale(0.9);
    opacity: 0.5;
}

.modern-hero-slider.scroll-stage-3 .slide-subtitle {
    transform: translateY(-40px) scale(0.8);
    opacity: 0.2;
}

.modern-hero-slider.scroll-stage-4 .slide-subtitle {
    transform: translateY(-60px) scale(0.7);
    opacity: 0;
}

.modern-hero-slider.scroll-stage-1 .slide-title {
    transform: translateY(-8px) scale(0.97);
    opacity: 0.9;
}

.modern-hero-slider.scroll-stage-2 .slide-title {
    transform: translateY(-20px) scale(0.93);
    opacity: 0.7;
}

.modern-hero-slider.scroll-stage-3 .slide-title {
    transform: translateY(-35px) scale(0.88);
    opacity: 0.4;
}

.modern-hero-slider.scroll-stage-4 .slide-title {
    transform: translateY(-55px) scale(0.8);
    opacity: 0.1;
}

.modern-hero-slider.scroll-stage-5 .slide-title {
    transform: translateY(-80px) scale(0.7);
    opacity: 0;
}

.modern-hero-slider.scroll-stage-1 .slide-description {
    transform: translateY(-5px) scale(0.98);
    opacity: 0.85;
}

.modern-hero-slider.scroll-stage-2 .slide-description {
    transform: translateY(-15px) scale(0.95);
    opacity: 0.6;
}

.modern-hero-slider.scroll-stage-3 .slide-description {
    transform: translateY(-30px) scale(0.9);
    opacity: 0.3;
}

.modern-hero-slider.scroll-stage-4 .slide-description {
    transform: translateY(-50px) scale(0.85);
    opacity: 0;
}

.modern-hero-slider.scroll-stage-1 .slide-cta {
    transform: translateY(-3px) scale(0.98);
    opacity: 0.9;
}

.modern-hero-slider.scroll-stage-2 .slide-cta {
    transform: translateY(-12px) scale(0.94);
    opacity: 0.7;
}

.modern-hero-slider.scroll-stage-3 .slide-cta {
    transform: translateY(-25px) scale(0.88);
    opacity: 0.4;
}

.modern-hero-slider.scroll-stage-4 .slide-cta {
    transform: translateY(-45px) scale(0.8);
    opacity: 0;
}

/* Navigation Elements Fade */
.modern-hero-slider.scroll-stage-2 .slider-nav {
    transform: translateY(10px) scale(0.9);
    opacity: 0.6;
}

.modern-hero-slider.scroll-stage-3 .slider-nav {
    transform: translateY(20px) scale(0.8);
    opacity: 0.3;
}

.modern-hero-slider.scroll-stage-4 .slider-nav {
    transform: translateY(30px) scale(0.7);
    opacity: 0;
}

.modern-hero-slider.scroll-stage-2 .slider-arrows {
    transform: scale(0.9);
    opacity: 0.6;
}

.modern-hero-slider.scroll-stage-3 .slider-arrows {
    transform: scale(0.8);
    opacity: 0.3;
}

.modern-hero-slider.scroll-stage-4 .slider-arrows {
    transform: scale(0.7);
    opacity: 0;
}

/* Particles and Decorations Fade */
.modern-hero-slider.scroll-stage-2 .slide-particles {
    opacity: 0.6;
    transform: translateY(-10px);
}

.modern-hero-slider.scroll-stage-3 .slide-particles {
    opacity: 0.3;
    transform: translateY(-20px);
}

.modern-hero-slider.scroll-stage-4 .slide-particles {
    opacity: 0;
    transform: translateY(-40px);
}

.modern-hero-slider.scroll-stage-2 .decoration-circle {
    opacity: 0.4;
    transform: scale(0.9) rotate(45deg);
}

.modern-hero-slider.scroll-stage-3 .decoration-circle {
    opacity: 0.2;
    transform: scale(0.8) rotate(90deg);
}

.modern-hero-slider.scroll-stage-4 .decoration-circle {
    opacity: 0;
    transform: scale(0.6) rotate(180deg);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .modern-hero-slider {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    opacity 0.4s ease,
                    filter 0.6s ease;
    }
    
    .modern-hero-slider.scroll-stage-1 {
        transform: scale(0.98) translateY(-3px);
    }
    
    .modern-hero-slider.scroll-stage-2 {
        transform: scale(0.96) translateY(-8px) rotateX(1deg);
        filter: blur(0.5px) brightness(0.85);
    }
    
    .modern-hero-slider.scroll-stage-3 {
        transform: scale(0.92) translateY(-15px) rotateX(2deg);
        filter: blur(1px) brightness(0.75);
    }
    
    .modern-hero-slider.scroll-stage-4 {
        transform: scale(0.88) translateY(-25px) rotateX(3deg);
        filter: blur(1.5px) brightness(0.65);
    }
    
    .modern-hero-slider.scroll-stage-5 {
        transform: scale(0.82) translateY(-40px) rotateX(5deg);
        filter: blur(2px) brightness(0.5);
    }
    
    .modern-hero-slider.scroll-stage-6 {
        transform: scale(0.75) translateY(-60px) rotateX(8deg);
        filter: blur(3px) brightness(0.3);
    }
    
    .modern-hero-slider.scroll-stage-final {
        transform: scale(0.6) translateY(-100px) rotateX(15deg);
        opacity: 0;
        filter: blur(5px) brightness(0.1);
    }
}

/* Ultra smooth transitions for all elements */
.slide-subtitle,
.slide-title,
.slide-description,
.slide-cta,
.slider-nav,
.slider-arrows,
.slide-particles,
.decoration-circle {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s ease,
                filter 0.4s ease;
    will-change: transform, opacity;
}

/* Performance optimizations for mobile */
@media (max-width: 480px) {
    .slide-subtitle,
    .slide-title,
    .slide-description,
    .slide-cta {
        transition: transform 0.6s ease-out,
                    opacity 0.4s ease;
    }
}

/* Elegant reveal effect for next section - Fixed white overlay */
.hero-intro {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s ease;
    position: relative;
    z-index: 5;
}

.modern-hero-slider.scrolled + .hero-intro {
    transform: translateY(-15px);
    opacity: 1;
}

/* Prevent AOS white flash conflicts */
.hero-intro[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.hero-intro .tt-block-title,
.hero-intro .ws-short-structure,
.hero-intro .ws-short-btn {
    opacity: 1 !important;
    transform: none !important;
}

/* Performance optimizations */
.slide-video {
    will-change: transform, filter;
}

.slide-inner {
    will-change: transform, opacity;
}

.nav-dot {
    will-change: transform, background-color;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .slide-video,
    .slide-inner,
    .nav-dot,
    .slider-arrow,
    .slide-cta {
        transition: none;
        animation: none;
    }
    
    .slide-particles,
    .slide-decorations,
    .autoplay-dot {
        display: none;
    }
}

/* Loading state */
.slider-loading {
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.8s ease;
}

.slider-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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