/* Mobile App 3D Slider Styles */
.mobile-app-showcase {
    background-color: #000000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.scene-container {
    perspective: 1200px;
    perspective-origin: 50% 20%;
    height: 480px;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-ring {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    animation: rotate-ring 40s infinite linear;
    z-index: 10;
}

@keyframes rotate-ring {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(-360deg);
    }
}

.phone-card {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -140px;
    margin-left: -70px;
    width: 140px;
    height: 280px;
    transform-style: preserve-3d;
}

.phone-bezel {
    width: 100%;
    height: 100%;
    background: #0f172a;
    border-radius: 20px;
    border: 3px solid rgb(2 2 2 / 30%);
    box-shadow: rgb(223 223 223 / 71%) 0px 0px 12px 1px;
    overflow: hidden;
    position: relative;
    backface-visibility: hidden;
}

.phone-notch {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 26%;
    height: 10px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

.phone-back {
    position: absolute;
    inset: 0;
    background: #1e293b;
    border-radius: 20px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.platform-base {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 135px) rotateX(95deg);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.9) 20%, rgba(59, 130, 246, 0.1) 60%, rgba(79, 70, 229, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), inset 0 0 40px rgba(59, 130, 246, 0.3);
    z-index: 1;
}

.platform-glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.platform-grid {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.app-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
}

.app-slide.exit {
    opacity: 0;
    transform: scale(1.05);
    filter: blur(10px);
}

.slider-nav-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.slider-prev {
    left: 20px;
}
.slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .scene-container {
        height: 380px;
        perspective: 800px;
        transform: scale(0.85);
        transform-origin: center center;
    }
    .platform-base {
        width: 260px;
        height: 260px;
        top: 30%;
        transform: translate(-50%, 80px) rotateX(95deg);
    }
    .phone-card {
        width: 90px;
        height: 180px;
        margin-top: -90px;
        margin-left: -45px;
    }
    .phone-notch {
        height: 8px;
    }
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    .slider-prev {
        left: 5px;
    }
    .slider-next {
        right: 5px;
    }
    .mobile-app-showcase {
        min-height: auto;
        padding-bottom: 4rem;
        height: 80rem; 
    }
}

@media (min-width: 992px) {
    .app-slider-details-col {
        padding-right: 8rem !important;
        padding-left: 3rem !important;
    }
}
