/*
 * Stap 15B: echte screenshots op de homepage.
 * Het dashboard zweeft los, met een lichte kanteling. Het PvA-beeld houdt
 * precies de compositie uit stap 15A, maar is niet langer aanklikbaar.
 * Layoutonderdelen buiten deze twee afbeeldingen zijn niet aangepast.
 */

.home-page .home-product-shot {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.home-page .home-product-shot__screen {
    display: block;
    overflow: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid #d9e4f1;
}

.home-page .home-product-shot__screen img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/*
 * Stap 15C: homepage-hero terug naar het oorspronkelijke krachtige beeld.
 * De echte dashboard-screenshot staat LOS (zonder laptop), groter en licht
 * gekanteld. Alleen de hero wordt hier gewijzigd; de PvA-weergave blijft gelijk.
 */
.home-page .home-hero__visual {
    isolation: isolate;
}

.home-page .home-product-shot--dashboard {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: perspective(1400px) rotateY(-5deg) rotateZ(-3deg);
    transform-origin: 48% 52%;
}

.home-page .home-product-shot--dashboard .home-product-shot__screen {
    border: 8px solid #ffffff;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 44px 86px rgba(13, 46, 104, .20),
        0 10px 24px rgba(13, 46, 104, .09);
}

/* Ruim podium rondom het zwevende dashboard, niet rondom de tekst. */
@media (min-width: 901px) {
    .home-page .home-hero__visual {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 470px;
        padding: 30px 0 30px;
    }

    .home-page .home-product-shot--dashboard {
        flex: 0 0 auto;
        width: min(57vw, 740px);
        max-width: none;
        margin-left: -34px;
    }

    /* De accentvormen blijven bij de grotere weergave zichtbaar. */
    .home-page .home-hero__shape--blue {
        width: 380px;
        height: 330px;
        right: -125px;
        top: -68px;
    }

    .home-page .home-hero__shape--green {
        width: 360px;
        height: 270px;
        bottom: -65px;
        left: -45px;
    }
}

/* Plan van Aanpak: bestaande weergave uit stap 15A intact. */
.home-page .home-product-shot--pva {
    max-width: 730px;
    margin: 0 auto;
}

.home-page .home-product-shot--pva .home-product-shot__screen {
    border: 7px solid #fff;
    border-radius: 17px;
    box-shadow: 0 25px 55px rgba(25, 57, 112, 0.13),
                0 4px 12px rgba(25, 57, 112, 0.06);
    transform: rotate(-1deg);
}

.home-page .home-product-shot__caption {
    position: relative;
    margin: 19px 0 0;
    color: #6b7f99;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media (min-width: 901px) and (max-width: 1199px) {
    .home-page .home-product-shot--dashboard {
        width: min(54vw, 650px);
        margin-left: -20px;
    }
}

@media (max-width: 900px) {
    .home-page .home-product-shot--dashboard {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        transform: rotate(-2deg);
    }
    .home-page .home-product-shot--pva {
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    .home-page .home-product-shot--dashboard {
        max-width: 100%;
        transform: rotate(-1deg);
    }

    .home-page .home-product-shot--dashboard .home-product-shot__screen {
        border-width: 5px;
        border-radius: 12px;
    }

    .home-page .home-product-shot--pva .home-product-shot__screen {
        border-width: 5px;
        border-radius: 12px;
        transform: none;
    }

    .home-page .home-product-shot__caption {
        margin-top: 14px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-product-shot--dashboard {
        transform: none;
    }
}
