.digital__box {
    position: relative;
}

.digital__bg-stars {
    position: absolute;
    top: -77px;
    right: -44px;
    z-index: -1;
}

.digital__subtitle {
    margin-bottom: 40px;
}

.digital__title {
    margin-bottom: 24px;
}

.digital__description {
    margin: 0 auto 121px;
    font-weight: 500;
    font-size: 24px;
    line-height: 133%;
    letter-spacing: -0.04em;
    text-align: center;
    max-width: 720px;
}

.digital__items {
    display: flex;
    margin: 0 auto;
    max-width: 1160px;
    justify-content: space-between;
}

.digital__item-img {
    position: relative;
}

.digital__item-phone {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    margin-bottom: 65px;
}

.digital__item-phone img {
    width: 398px;
    height: auto;
    margin-bottom: -430px;
}

.digital__item-line {
    position: absolute;
    bottom: -32px;
    right: 13px;
}

.digital__item-icon svg {
    width: 50px;
    height: 50px;
}

.digital__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 51px;
    right: 9px;
    width: 108px;
    height: 108px;
    border-radius: 150px;
    padding: 24px;
    box-shadow: 0 36px 120px 0 rgba(0, 0, 0, 0.7);
    background: #404040;
    z-index: 3;
}

.digital__item {
    position: relative;
}

.digital__item::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 126px;
    border-radius: 100%;
    background-color: #8290ff;
    filter: blur(140px);
    width: 334px;
    height: 136px;
}

.digital__left-bg {
    position: absolute;
    top: -78px;
    left: -49px;
    z-index: -1;
}

.digital__right-bg {
    position: absolute;
    top: -127px;
    right: -49px;
    z-index: -1;
}

.digital__item-subtitle {
    text-align: left;
    margin-bottom: 24px;
}

.digital__item-title {
    font-weight: 500;
    font-size: 48px;
    max-width: 350px;
    line-height: 117%;
    color: #fff;
    margin-bottom: 24px;
}

.digital__item-description {
    text-align: left;
    font-weight: 400;
    font-size: 24px;
    line-height: 133%;
    color: #797e86;
    max-width: 500px;
}

@media (max-width: 1200px) {
    .digital__items {
        gap: 30px;
        max-width: 1000px;
    }

    .digital__item-phone img {
        width: 350px;
        margin-bottom: -393px;
    }

    .digital__item-line {
        right: 10px;
    }

    .digital__item-line svg {
        width: 390px;
        height: auto;
    }

    .digital__item-subtitle {
        text-align: center;
        margin-bottom: 24px;
    }

    .digital__item-title {
        text-align: center;
        margin: 0 auto 24px auto;
    }

    .digital__item-description {
        text-align: center;
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 1050px) {
    .digital__items {
        flex-direction: column;
        gap: 60px;
    }

    .digital__item-img {
        margin: 0 auto;
        width: fit-content;
    }

    .digital__item::before {
        right: 320px;
    }

    .digital__item-title {
        max-width: 525px;
    }

    .digital__item-phone img {
        width: 351px;
        margin-bottom: -370px;
    }

    .digital__item-line svg {
        width: 430px;
        height: auto;
    }

    .digital__item-line {
        right: -40px;
        bottom: -20px;
    }

    .digital__item-description {
        max-width: 600px;
    }

    .digital__item-icon {
        right: -60px;
    }

    .digital__left-bg {
        position: absolute;
        top: -78px;
        left: 170px;
        z-index: -1;
    }

    .digital__right-bg {
        top: -58px;
        right: 120px;
        transform: rotate(-90deg);
    }
}

@media (max-width: 1000px) {
    .digital__item-phone img {
        width: 310px;
        margin-bottom: -330px;
    }

    .digital__item-line svg {
        width: 401px;
        height: auto;
    }

    .digital__item::before {
        left: 50%;
        transform: translateX(-50%);
        width: 230px;
        height: 140px;
    }

    .digital__items {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 850px) {
    .digital__item-title {
        font-size: 40px;
    }

    .digital__item-phone img {
        width: 270px;
        margin-bottom: -220px;
    }

    .digital__item-line svg {
        width: 350px;
        height: auto;
    }
}

@media (max-width: 550px) {
    .digital__item-phone img {
        width: 250px;
        margin-bottom: -220px;
    }

    .digital__item-icon svg {
        width: 30px;
        height: 30px;
    }

    .digital__item-icon {
        width: 77px;
        height: 77px;
    }

    .digital__item-icon {
        right: -40px;
    }

    .digital__item-title {
        font-size: 30px;
    }
}

@media (max-width: 420px) {
    .digital__item-line svg {
        width: 320px;
        height: auto;
    }

    .digital__item-line {
        bottom: 10px;
        right: -40px;
    }
}

@media (max-width: 390px) {
    .digital__item-phone img {
        width: 210px;
        margin-bottom: -221px;
    }

    .digital__item-line svg {
        width: 260px;
        height: auto;
    }

    .digital__item-line {
        right: -25px;
    }

    .digital__item::before {
        width: 180px;
        height: 80px;
        filter: blur(75px);
    }

    .digital__item-title {
        font-size: 24px;
    }

    .digital__item-icon {
        width: 72px;
        height: 72px;
    }
}