.product-animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 1354px;
    padding-top: 57px;
    margin: 0 auto;
    aspect-ratio: 1354 / 1059;        
    background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 50%);
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.lottie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-animation-header {
    text-align: center;
}

.product-animation-container {
    margin-top: 70px;
    margin-bottom: 127px;
}

.product-animation-subheading {
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 1px;
    color: #674CED;
}

.product-animation-heading {
    margin-top: 20px;
    font-weight: 500;
    font-size: 45px;
    font-family: 'euclidcircularb-medium', Helvetica, Arial, sans-serif;
}

.animation-text--bottom br.mobile {
    display: none;
}

.lottie-player.mobile {
    display: none;
}

.animation-icons-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.animation-icons-layer.mobile {
    display: none;
}

.product-animation-buttons {
    position: absolute;
    bottom: 40px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-animation-buttons a {
    box-shadow: 0px 1px 4px 0px #0761343D;
    padding: 12px 24px;
    background-color: #674CED;
    color: #ffffff;
    border-radius: 5px;
    z-index: 2222;
    font-size: 0.875rem;
    line-height: 1.7;
    font-family: 'euclidcircularb-semibold', Helvetica, Arial, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    box-shadow: 0 2px 4px -1px rgba(7, 97, 52, 0.24);
    transition: all 0.3s;
}

.product-animation-buttons a:hover {
    transform: translate(0, -2px);
}

.product-animation-buttons a.pricing-button {
    background-color: #ffffff;
    color: #131314;
}

.animation-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 74px;
    background: white;
    border-radius: 50%;
    box-shadow: 0px 10px 20px 0px #0000001A;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.animation-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-animation-wrapper .animation-icon:nth-child(7) {
    width: 203px;
    height: 74px;
    border-radius: 300px;
}

.animation-text {
    position: absolute;
    color: #674CEC;
    font-size: clamp(12px, 1.1vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    white-space: pre-line;
    text-align: center;
}

.animation-text-upper {
    left: 41%;
    top: 64%;
    transform: translate(-50%, -50%);
}

.animation-text-bottom {
    left: 37%;
    top: 80%;
    transform: translate(-50%, -50%);
    max-width: 205px;
}

.animation-cards {
    position: absolute;
    top: 41%;
    left: 32%;
    right: 5%;
    display: flex;
    gap: 20px;
}

.animation-card {
    flex: 240px;
    max-width: 250px;
    display: flex;
    height: 160px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #EAEAEA;
}

.animation-card-icon {
    top: -57px;
    width: 86px;
    height: 86px;
    margin: 0 auto;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 3px solid #F9F8FF;

}

.animation-card-icon img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.animation-card-heading {
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.animation-card-description {
    font-size: clamp(12px, 1vw, 14px);
    color: #131314;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    html[lang="de-DE"] .animation-text-bottom,
    html[lang="it-IT"] .animation-text-bottom {
        max-width: 160px;
    }
}

@media (max-width: 1170px) {
    html[lang="it-IT"] .animation-text-bottom {
        max-width: 150px;
    }
}

@media (max-width: 1100px) {
    .animation-icon {
        width: 66px;
        height: 66px;
    }

    .animation-text-bottom {
        max-width: 145px;
    }

    html[lang="de-DE"] .animation-text-bottom,
    html[lang="it-IT"] .animation-text-bottom {
        max-width: 145px;
    }

    .product-animation-heading {
        font-size: 34px;
        margin-top: 14px;
    }

    .product-animation-wrapper {
        padding-top: 47px;
    }

    .animation-icon img {
        width: 36px;
        height: 36px;
    }

    .product-animation-wrapper .animation-icon:nth-child(7) img {
        width: 144px;
        height: 60px;
    }

    html[lang="de-DE"] .product-animation-wrapper .animation-icon:nth-child(7) img,
    html[lang="it-IT"] .product-animation-wrapper .animation-icon:nth-child(7) img {
        padding: 0px 8px;
    }

    .product-animation-wrapper .animation-icon:nth-child(7) {
        width: 144px;
        height: 65px;
        border-radius: 36px;
    }

    .animation-card {
        height: 123px;
        flex: 238px;
        max-width: 180px;
        padding: 36px 20px 14px 20px;
    }

    .animation-card-icon {
        width: 70px;
        height: 70px;
        top: -40px;
    }

    .animation-card-icon img {
        max-width: 40px;
        max-height: 40px;
    }
}

@media (max-width: 991px) {
    .animation-icon {
        width: 46px;
        height: 46px;
    }

    .animation-text-bottom {
        top: 80.5%;
    }
    
    html[lang="it-IT"] .animation-text-bottom {
        max-width: 134px;
    }

    .product-animation-buttons {
        bottom: -10px;
    }

    .product-animation-heading {
        font-size: 30px;
        margin-top: 11px;
    }

    .product-animation-wrapper {
        padding-top: 40px;
    }

    .animation-card-icon img {
        max-width: 33px;
        max-height: 33px;
    }

    .animation-icon img {
        width: 28px;
        height: 28px;
    }

    .product-animation-wrapper .animation-icon:nth-child(7) {
        width: 118px;
        height: 51px;
    }

    .animation-card-icon {
        width: 62px;
        height: 62px;
        top: -37px;
    }

    .animation-card {
        height: auto;
        max-width: 180px;
        padding: 26px 4px 10px 4px;
        max-width: 160px;
    }

    .animation-text {
        font-size: clamp(11px, 1vw, 12px);
    }
}

@media (max-width: 768px) {
    .lottie-player.desktop {
        display: none;
    }

    html[lang="de-DE"] .product-animation-wrapper .animation-icon:nth-child(7) img, 
    html[lang="it-IT"] .product-animation-wrapper .animation-icon:nth-child(7) img {
        padding: 0px 0px;
    }

    .product-animation-container {
        margin-bottom: 60px;
    }

    .product-animation-wrapper {
        background: unset;
    }

    .product-animation-container {
        background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 50%);
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    }

     .animation-text-bottom br {
        display: none;
    }

    .animation-text-bottom {
        height: 99px;
        white-space: normal;
        
    }

    .animation-text-bottom {
        left: 0%;
        top: 43.5%;
        background-color: white;
        padding-bottom: 9px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(0deg);
    }
/*
    html[lang="it-IT"] .animation-text-bottom {
        left: 0%;
        top: 43.5%;
        background-color: white;
        padding-bottom: 9px;
    }
*/
    .lottie-player.mobile {
        display: block;
    }

    .lottie-player.desktop,
    .animation-icons-layer.desktop {
        display: none;
    }

    .lottie-player.mobile,
    .animation-icons-layer.mobile {
        display: block;
    }

    .product-animation-wrapper {
        aspect-ratio: 390 / 948;
        max-width: 390px;
    }

    .animation-icon {
        width: 52px;
        height: 52px;
    }

    .animation-icon img {
        width: 28px;
        height: 28px;
    }

    .product-animation-wrapper .animation-icon:nth-child(7) {
        width: 90px;
        height: 42px;
        border-radius: 24px;
        z-index: 222;
    }

    .product-animation-wrapper .animation-icon:nth-child(7) img {
        width: 76px;
        height: 48px;
    }
    .page-id-14685 .product-animation-wrapper .animation-icon:nth-child(7) img{
        width: auto;
    }

    /* Mobile text positions */
    .animation-text-upper {
        left: 20%;
        top: 50.5%;
        background: white;
        padding: 5px 0px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(270deg);
        z-index: 222;
    }

    /*.animation-text-bottom {
        left: 0%;
        top: 42%;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(0deg);
    }
*/
    /* Mobile cards - stacked vertically */
    .animation-cards {
        position: absolute;
        top: 51%;
        left: unset;
        right: 4%;
        flex-direction: column;
        gap: 41px;
        width: 210px;
        align-items: flex-end;
    }

    .animation-card {
        flex: none;
        width: 210px;
        max-width: none;
        height: auto;
        padding: 32px 16px 16px;
        position: relative;
    }

    .animation-card-icon {
        width: 46px;
        height: 46px;
        top: -25px;
    }

    .animation-card-icon img {
        max-width: 24px;
        max-height: 24px;
    }
}

@media (max-width: 425px) {
    .animation-card {
        width: 186px;
        right: 7%;
    }

    .animation-icon {
        width: 47px;
        height: 47px;
    }

    .product-animation-container {
        padding-left: 7px;
    }

    .product-animation-heading {
                font-size: 26px;
    }
}