/* ===== GLOSSY CINEMATIC SLIDER DESIGN ===== */
.modern-slider {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 80px 0 60px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: 80px; /* Space for fixed header */
}

.modern-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    min-height: 600px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.slider-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(80px) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

/* Glossy slide background */
.slide-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 25%,
            transparent 70%);
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
}

.slider-slide.active .slide-bg {
    opacity: 1;
}

.slide-content {
    flex: 1;
    padding-right: 3rem;
    position: relative;
    z-index: 3;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.slide-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.slide-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.slide-buttons .btn::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.7s ease;
}

.slide-buttons .btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Enhanced image styling with glossy effects */
.slide-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
    border-radius: 24px;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.slide-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.slider-slide.active .slide-image img {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Video slide styling */
.slide-video {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.slide-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Client proof badges */
.client-proof {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.proof-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.proof-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.proof-badge .badge-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.proof-badge .badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.proof-badge .badge-value {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Navigation arrows - enhanced */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
    padding: 0 1rem;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

/* Enhanced dots navigation */
.slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-dot.active {
    background: #3b82f6;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.slider-dot.active::before {
    opacity: 1;
}

/* Progress bar - cinematic */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 10;
}

.slide-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 6s linear;
    position: relative;
}

.slide-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    filter: blur(2px);
}

/* Parallax elements */
.parallax-layer {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.layer-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.layer-2 {
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.layer-3 {
    top: 40%;
    right: 20%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .modern-slider {
        padding: 60px 0 40px 0;
        min-height: 70vh;
        margin-top: 70px;
    }

    .slider-wrapper {
        min-height: 400px;
    }

    .slider-slide {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .slide-content {
        padding-right: 0;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .slide-buttons {
        justify-content: center;
    }

    .client-proof {
        justify-content: center;
    }

    .slide-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .slide-image::before {
        display: none;
    }

    .slider-controls {
        margin-top: 2.5rem;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slide-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .proof-badge {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
    }
}

/* Mouse follower effect */
.mouse-follower {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}