.product-hero {
    padding: 100px 0 90px;
    background: #fff
}

.back {
    display: inline-block;
    margin-bottom: 55px;
    color: var(--muted);
    font-weight: 700
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 80px
}

.product-copy h1 {
    margin: 12px 0 22px;
    font: 800 clamp(45px, 6vw, 76px)/1 Manrope;
    letter-spacing: -.055em
}

.product-copy p {
    max-width: 590px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7
}

.pills {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.pill {
    padding: 9px 13px;
    color: var(--purple);
    background: #efedff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.hero-mock {
    padding: 17px;
    background: var(--ink);
    border-radius: 26px;
    box-shadow: 0 28px 70px #17142f30;
    transform: rotate(2deg)
}

.window {
    overflow: hidden;
    background: #f8f7fc;
    border-radius: 14px
}

.window-bar {
    display: flex;
    gap: 5px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.window-bar i {
    width: 7px;
    height: 7px;
    background: #d5d2de;
    border-radius: 50%
}

.mock-body {
    display: grid;
    grid-template-columns: 70px 1fr;
    min-height: 310px
}

.mock-side {
    background: var(--purple)
}

.mock-content {
    padding: 25px
}

.mock-title {
    width: 55%;
    height: 15px;
    margin-bottom: 24px;
    background: var(--ink);
    border-radius: 5px
}

.mock-chart {
    height: 125px;
    background: linear-gradient(135deg, #eeebff, #fff);
    border: 1px solid #ded9ff;
    border-radius: 12px
}

.mock-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px
}

.mock-rows i {
    height: 55px;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 3px 12px #17142f0d
}

.showcase {
    padding: 110px 0;
    overflow: hidden
}

.section-title {
    text-align: center
}

.section-title h2 {
    margin: 8px auto 14px;
    font: 800 clamp(34px, 4vw, 52px)/1.08 Manrope
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7
}

.screen-track {
    display: flex;
    gap: 25px;
    margin-top: 55px;
    padding: 10px max(24px, calc((100vw - 1180px)/2));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin
}

.screen {
    flex: 0 0 min(760px, 82vw);
    padding: 18px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 15px 45px #17142f16;
    scroll-snap-align: center
}

.screen .window {
    border: 1px solid var(--line)
}

.screen-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 7px 4px
}

.screen-caption strong {
    font: 800 18px Manrope
}

.screen-caption span {
    color: var(--muted);
    font-size: 13px
}

.download {
    padding: 0 0 110px
}

.download-box {
    padding: 60px;
    color: #fff;
    background: var(--ink);
    border-radius: 28px
}

.download-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px
}

.download h2 {
    margin: 8px 0 0;
    font: 800 clamp(32px, 4vw, 48px) Manrope
}

.download-head p {
    max-width: 410px;
    margin: 0;
    color: #ffffffa8
}

.platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.platform {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px;
    background: #ffffff0d;
    border: 1px solid #ffffff20;
    border-radius: 14px;
    transition: .2s
}

.platform:hover {
    background: #ffffff17;
    transform: translateY(-2px)
}

.platform-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--ink);
    background: var(--coral);
    border-radius: 11px;
    font-weight: 800
}

.platform strong,
.platform small {
    display: block
}

.platform small {
    margin-top: 3px;
    color: #ffffff8f
}

.product-cta {
    padding: 0 0 100px;
    text-align: center
}

.product-cta h2 {
    font: 800 36px Manrope
}

.product-cta p {
    color: var(--muted)
}

@media(max-width:800px) {
    .product-hero {
        padding-top: 65px
    }

    .back {
        margin-bottom: 40px
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .hero-mock {
        width: min(100%, 540px)
    }

    .download-head {
        align-items: flex-start;
        flex-direction: column
    }

    .platforms {
        grid-template-columns: 1fr
    }

    .download-box {
        padding: 40px 26px
    }
}

@media(max-width:500px) {
    .mock-body {
        grid-template-columns: 45px 1fr;
        min-height: 240px
    }

    .mock-content {
        padding: 18px
    }

    .product-hero {
        padding-bottom: 70px
    }

    .showcase {
        padding: 80px 0
    }

    .screen {
        flex-basis: 88vw
    }
}

.product-page-logo {
    display: block;
    width: 92px;
    height: 92px;
    margin-bottom: 22px;
    object-fit: cover;
    background: #000000;
    border-radius: 21px;
    box-shadow: 0 12px 30px #17142f22
}

.platform-icon img {
    display: block;
    width: 24px;
    height: 24px
}

/* Schermate reali dei prodotti */
.hero-mock {
    overflow: hidden;
    padding: 12px;
    transform: rotate(1deg)
}

.hero-mock>img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    background: #fff;
    border-radius: 15px
}

.screen>img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px
}

.product-page-logo {
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none
}

@media(max-width:800px) {
    .screen>img {
        height: 360px
    }
}

@media(max-width:500px) {
    .screen>img {
        height: 260px
    }
}

/* Le pagine prodotto riprendono il fondale e i contrasti della home. */
.site-header.on-light {
    color: #fff;
    background: var(--ink);
    border-bottom: 1px solid #ffffff12
}

.site-header.on-light .logo img {
    mix-blend-mode: screen
}

.product-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--ink)
}

.product-hero:before {
    content: "";
    position: absolute;
    top: -360px;
    right: -240px;
    width: 720px;
    height: 720px;
    border: 1px solid #ff8b7030;
    border-radius: 50%;
    box-shadow: 0 0 0 90px #ff8b7008, 0 0 0 180px #ff8b7006;
    pointer-events: none
}

.product-hero .wrap {
    position: relative;
    z-index: 1
}

.product-hero .back,
.product-hero .product-copy p {
    color: #ffffffb8
}

.product-hero .pill {
    color: #fff;
    background: #ffffff12;
    border: 1px solid #ffffff18
}

.showcase {
    background: linear-gradient(180deg, var(--cream), #efedff)
}

.product-cta {
    padding-top: 90px
}

/* Le schermate verticali della web app usano la loro proporzione reale. */
.product-mobile .hero-mock {
    width: min(100%, 390px);
    justify-self: center;
    padding: 10px
}

.product-mobile .hero-mock>img {
    height: auto;
    max-height: none;
    object-fit: contain
}

.product-mobile .screen {
    flex-basis: min(420px, 82vw);
    padding: 12px
}

.product-mobile .screen>img {
    height: auto;
    aspect-ratio: 627/1030;
    object-fit: cover;
    background: transparent
}

.product-mobile .screen-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
}

@media(max-width:500px) {
    .product-mobile .screen {
        flex-basis: 86vw
    }

    .product-mobile .screen>img {
        height: auto
    }
}