/* App Preview Section Fix */
.app-preview-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.preview-text {
    text-align: center;
}

.preview-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-stats {
    text-align: center;
    padding: 24px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.user-stats:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.stats-number {
    font-size: 42px;
    font-weight: 800;
    color: #8b5cf6;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    animation: statsGlow 2s ease-in-out infinite alternate;
}

.stats-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Slider Styles */
.preview-slider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 550px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.slider-wrapper {
    width: 300%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img,
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes statsGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }

    50% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .preview-text h2 {
        font-size: 36px;
    }

    .slider-container {
        max-width: 280px;
        height: 450px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .stats-number {
        font-size: 36px;
    }

    .stats-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        max-width: 250px;
        height: 400px;
    }

    .preview-text h2 {
        font-size: 28px;
    }

    .stats-number {
        font-size: 32px;
    }
}