/* ================================================================
   PRIVÉ DMS - PRODUCT DEVICE SHOWCASE (product-showcase.css)
   Laptop in Center, Mobile moving Left, Tabs moving Right
   ================================================================ */

.prev-products-section {
    background-color: var(--lightest-blue-bg);
    position: relative;
    overflow: hidden !important;
}

.hero__visual {
    position: relative;
    width: 100%;
    max-width: 1540px;
    margin: 1.5rem auto 0;
    padding: 0 16px 0px;
    display: block;
    z-index: 1;
    overflow: hidden !important;
}

.devices {
    position: relative;
    width: 1380px;
    height: 580px;
    max-width: 100%;
    margin: 20px auto 0;
}

.devices::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 90px;
    background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(3, 33, 54, 0.28) 0%, rgba(3, 33, 54, 0.10) 52%, rgba(3, 33, 54, 0.02) 74%, transparent 90%);
    pointer-events: none;
    z-index: 0;
}

.device {
    position: absolute;
    left: 50%;
    will-change: transform, opacity;
    transition: transform 0.12s linear, opacity 0.15s ease;
    transform-origin: center center;
}

/* Layering: Large Laptop in front (center), Mobile (left), Tabs (right) */
.device--laptop {
    z-index: 3;
    top: 10px;
}

.device--mobile {
    z-index: 2;
    top: 55px;
}

.device--tabs {
    z-index: 1;
    top: 160px;
}

.device__img {
    display: block;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 33, 54, 0.16));
    user-select: none;
    pointer-events: none;
    border-radius: 12px;
}

.device__img--laptop {
    width: 900px;
    max-width: none;
}

.device__img--mobile {
    width: 190px;
    max-width: none;
}

.device__img--tabs {
    width: 440px;
    max-width: none;
}

/* ================================================================
   RESPONSIVE SCALING BREAKPOINTS
   ================================================================ */
@media (max-width: 1400px) {
    .devices {
        transform: scale(0.90);
        transform-origin: top center;
        margin-bottom: -50px;
    }
}

@media (max-width: 1200px) {
    .devices {
        transform: scale(0.76);
        transform-origin: top center;
        margin-bottom: -130px;
    }
}

@media (max-width: 991px) {
    .devices {
        transform: scale(0.60);
        transform-origin: top center;
        margin-bottom: -220px;
    }
}

@media (max-width: 768px) {
    .hero__visual {
        padding: 0 8px 40px;
        margin-top: 1rem;
    }
    .devices {
        transform: scale(0.44);
        transform-origin: top center;
        margin-bottom: -310px;
    }
}

@media (max-width: 576px) {
    .hero__visual {
        padding: 0 4px 30px;
    }
    .devices {
        transform: scale(0.34);
        transform-origin: top center;
        margin-bottom: -365px;
    }
}

@media (max-width: 420px) {
    .devices {
        transform: scale(0.28);
        transform-origin: top center;
        margin-bottom: -400px;
    }
}

@supports (zoom: 1) {
    @media (max-width: 1400px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.90;
        }
    }
    @media (max-width: 1200px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.76;
        }
    }
    @media (max-width: 991px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.60;
        }
    }
    @media (max-width: 768px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.44;
        }
    }
    @media (max-width: 576px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.34;
        }
    }
    @media (max-width: 420px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.28;
        }
    }
    @media (max-width: 360px) {
        .devices {
            transform: none;
            margin-bottom: 0;
            zoom: 0.22;
        }
    }
}
@media (max-width: 360px) {
    .devices {
        transform: scale(0.22);
        transform-origin: top center;
        margin-bottom: -430px;
    }
}

