.Integration {
    margin: 50px ;
}

.Integration_title_wrapper {
    display: flex;
    flex-direction: row;

}
.Integration_title_wrapper1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.Integration_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70%;
}
.Integration_position {
    display: flex;
    flex-direction: column;

    width: 30%;

}
.Integration_title_h1{
    margin-top: 32px;
    width: 683px;
    height: 137px;
    background: linear-gradient(
            145deg,
            #80E5FF 0px,
            #545C9E 40%,
            #545C9E 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 56px;
    letter-spacing: 2px;
    font-weight: 550;
}
.Integration_title_h2{
    color: #545C9E;
    font-size: 20px;
    width: 529px;
    padding: 5px;
}
.Integration_Bentos {
    display: flex;
    justify-content: center;
}

.Integration_Bento_2_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.Integration_Content {
    width: 930px;
    height: 802px;
}

.Integration_Bento_1{

    width: 297px;
    height: 424px;
    border-radius: 20px;
    margin: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    background-image: url('/assets/image/home_desktop/How_It_Works/Dots.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}

.Integration_Bento_2{

    width: 297px;
    height: 212px;
    border-radius: 20px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    background-image: url('/assets/image/home_desktop/Integration/Dots.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}
.Content_Integration_Bento_1{
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 246px;
    height: 373px;
    justify-content: space-between;
}

.Content_Integration_Bento_1_head{
    display: flex;
    align-items: center;
}

.Content_Integration_Bento_1_head_text{
    color: #465478;
    font-size: 14px;
    width: 240px;
    padding: 8px;
}

.Content_Integration_Bento_1_footer{
    display: flex;
    flex-direction: column;
    width: 246px;
    height: 117px;
}
.Content_Integration_Bento_1_footer_h1{
    color: #545C9E;
    font-size: 20px;
    width: 240px;
    padding: 8px;
}

.Content_Integration_Bento_1_footer_text{
    color: #545C9E;
    font-size: 16px;
    width: 240px;
    padding: 8px;
}
.Content_Integration_Bento_1_plus{
    width: 102px;
    height: 120px;
}


.Content_Integration_Bento_1_ai3{
    width: 154px;
    height: 141px;
}

.Content_Integration_Bento_1_footer_h1_ai3{
    color: #545C9E;
    font-size: 24px;
    text-align: center;
}
.Integration_Bento_3_content {
    position: relative;
    width: 280px;   /* область видимости */
    height: 80px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* фиксированная рамка */
.Content_Integration_Bento_3_img_border {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 2px dashed #545C9E;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.slider-track {
    display: flex;
    align-items: center;
    animation: slide 8s infinite; /* 3 картинки × (3с стоп + 1с движение) × 2 цикла */
}

.Content_Integration_Bento_3_img {
    width: 60px;
    height: 60px;
    margin: 0 20px; /* регулирует расстояние */
    flex-shrink: 0;

}

/* ключевые кадры: стоп → движение */
@keyframes slide {
    0%, 12.5%   { transform: translateX(50px); }         /* 3с на первой */
    16.6%, 29.1% { transform: translateX(-50px); }   /* 3с на второй */
    33.3%, 45.8% { transform: translateX(-150px); }   /* 3с на третьей */
    100%         { transform: translateX(-150px); }        /* возврат к началу */
}


/*Integration_Bento_5*/

.Content_Integration_Bento_5_img{
    width: 30px;
    height: 32px;
}
.Integration_Bento_5_content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 220px;
    height: 180px;
}
.Content_Integration_Bento_5_percent_all{
margin-top: 10px;
}
.Content_Integration_Bento_5_h1{
    color: #545C9E;
    font-size: 24px;
    font-weight: 550;
}

.Content_Integration_Bento_percent_num{
    color: #5864A8;
    font-size: 48px;
}
.Performance_h0{
    color: #5864A8;
    font-size: 48px;
}
.Content_Integration_Bento_percent_text{
    text-align: center;
    color: #5864A8;
    font-size: 12px;
}
/*Integration_Bento_5*/
/*Integration_Bento_6*/

.Integration_Bento_6{

    width: 297px;
    height: 212px;
    border-radius: 20px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    background-image: url('/assets/image/home_desktop/Integration/Dots.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}
.feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 220px;
    height: 180px;
    align-items: flex-start;
    margin: 15px 0;
}

.feature-text {
    width: 100%;
    font-size: 18px;
    color: #5864A8;
    margin-right: 10px;
}

.feature-text1 {
    font-weight: bold;
}

/* Контейнер для шкалы */
.scale-container {
    flex-grow: 1;
    width: 100%;
}

/* Основная шкала */
.scale {
    position: relative;
    height: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

/* Фон шкалы */
.scale-background {
    width: 0; /* старт с 0 */
    height: 6px;
    border-radius: 5px;
    background-color: #80E5FF;
    position: relative; /* чтобы fill был поверх */
    transition: width 2s ease-in-out;
}

/* Заливка шкалы */
.scale-fill {
    margin-top: 20px;
    width: 0; /* старт с 0 */
    height: 6px;
    border-radius: 5px;
    background-color: #CDD1EE;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 2s ease-in-out;
}
/*Integration_Bento_6*/

.Integration_footer{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 60px;
}

.CTA_Lockup{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 500px;
    margin-top: 20px;

}

.Logo_Widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 829px;
    height: 158px;
    padding: 60px;
}

.Logo_Widget_icon {
    width: 24px;
    height: 24px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: contain;
    z-index: 1;
}
.Logo_Widget_icon_body_all{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 564px;
    height: 185px;
}

.Logo_Widget_icon_body{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 564px;
    height: 60px;
}
.Logo_Widget_line{
    position: absolute;
    z-index: 0;
    width: 564px;
    height: 1px;
    background-color: #4458f6;
}





.Logo_Widget_icon_body_all{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 564px;
    height: 185px;
}

.Logo_Widget_icon_body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.Logo_Widget_icon_body1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.Logo_Widget_icon {
    width: 50px;
    height: 50px;
    z-index: 1; /* иконки выше линий */
    position: relative;
}

.Logo_Widget_lines {
    position: absolute;
    left: 10px;
    right: 0;
    height: 30px;
    width: 540px;
    z-index: 0;
}

.Logo_Widget_line {
    position: absolute;
    left: 0;
    width: 90%;
    height: 2px;
    background-color: rgba(170, 182, 250, 0.7);
}

.Logo_Widget_ball {
    position: absolute;
    width: 10px;
    height: 4px;
    border-radius: 50%;
    background-color: #7584D6;
    top: -2px;
}






.Logo_Widget_text{
    width: 211px;
    margin-right: 60px;
}

/* 📱 Планшеты */
@media (max-width: 1024px) {
    .Integration {
        margin: 30px 15px;
    }
    .Logo_Widget_text{
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    .Integration_Bento_2_wrapper {
        margin-left: 20px;
    }
    .Integration_title_wrapper {
        flex-direction: column;

    }
    .Integration_wrapper {
        width: 100%;
    }

    .Integration_position {
        width: 100%;
        margin-top: 20px;
        align-items: center;
    }

    .Integration_title_h1 {
        width: 100%;
        font-size: 42px;
        text-align: center;
        height: auto;
    }

    .Integration_title_h2 {
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .Integration_Bentos {
        width: 100%;
    }


    .Integration_Bento_1 {
        margin: 10px 0px 0px 10px;;
        width: 100%;
    }
    .Integration_Bento_2 {
        width: 100%;
    }
    .Integration_Bento_6 {
        width: 100%;
    }

    .Integration_Content {
        width: 100%;
        height: auto;
        display: flex    ;
        justify-content: center;
        align-items: center;
        flex-direction: column;

    }

    .Logo_Widget {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 0;
    }

    .Logo_Widget_icon_body_all {
        width: 100%;
        align-items: center;
        margin-top: 30px;
    }

    .CTA_Lockup {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .Logo_Widget_icon_body1{
        display: none;
    }
}

/* 📱 Смартфоны */
@media (max-width: 768px) {
    .Integration_footer{
        width: 100%;
    }


    .Logo_Widget_lines {
        position: absolute;
        left: 46px;
        right: 0;
        height: 30px;
        width: 80%;
        z-index: 0;
    }

    .Logo_Widget_line {
        width: 90%;
    }

    .Integration {
        width: 95%;
        margin: 0;
    }
    .Logo_Widget_icon {
        width: 30px;
        height: 30px;
        z-index: 1; /* иконки выше линий */
        position: relative;
    }
    .Integration_title_wrapper,
    .Integration_title_wrapper1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .Integration_title_h1 {
        font-size: 32px;
        line-height: 1.2;
        width: 100%;
    }

    .Integration_title_h2 {
        font-size: 16px;
        width: 100%;
        padding: 0 10px;
    }
    .Integration_Content {
        width: 100%;
        height: auto;
        display: flex    ;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .Integration_Bentos {
        width: 80%;
        flex-direction: column;
    }

    .Integration_Bento_1 {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }
    .Integration_Bento_2,
    .Integration_Bento_6 {
        width: 100%;
        height: 300px;
        margin: 10px 0;
    }

    .Content_Integration_Bento_1,
    .Integration_Bento_5_content,
    .feature {
        width: 80%;
        height: auto;
    }

    .Logo_Widget {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .Logo_Widget_icon_body_all,
    .Logo_Widget_icon_body {
        flex-direction: row;
        width: 100%;
        height: auto;
        gap: 15px;
    }
 .Logo_Widget_icon_body1{
     display: none;
 }
    .Logo_Widget_text {
        margin: 10px 0 0 0;
        width: 100%;
        text-align: center;
    }
}
