/* ---------------------------------- */
/* ОБЩАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ */
/* ---------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.9s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up1 {
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInUp1 1.1s forwards;
}

@keyframes fadeInUp1 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------- */
/* ПОСЛЕДОВАТЕЛЬНАЯ ЗАДЕРЖКА */
/* ---------------------------------- */
.wrapper_rocket {
    animation-delay: 0.8s;
}
.Line_1 {
    margin-top: 60px;
}
.Line_2 { animation-delay: 0.6s; }
.Line_3 { animation-delay: 1s; }

.CTAs a:nth-child(1) { animation-delay: 1.4s; }
.CTAs a:nth-child(2) { animation-delay: 1.8s; }

.wrapper_Logo_Ticker { animation-delay: 2.2s; }

/* ---------------------------------- */
/* СТИЛИ HERO И ЭЛЕМЕНТОВ */
/* ---------------------------------- */
.hero {
    width: 100%;
}

.Headline { margin-top: 120px; width: 100%; }

/* Rocket + Outer block */
.wrapper_rocket {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.outer-block {
    position: relative;
    display: flex;
    align-items: center;
    width: 267px; height: 22px; gap: 10px;
    font-family: Arial, sans-serif;
}

.highlight-line {
    position: absolute;
    width: 267px;
    height: 35px;
    border-radius: 18px;
    border: 1px solid #7584D6;
    overflow: hidden;
    z-index: 1;
}

/* Блик сверху и снизу */
.highlight-line_blik {
    position: absolute;
    top: 0;
    left: 75px;
    width: 130px;
    height: 35px;
    pointer-events: none;
}

/* Верхний блик по бордеру */
.highlight-line_blik::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shine-right 4s linear infinite;
    z-index: 10;
}

/* Нижний блик */
.highlight-line_blik::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shine-left 4s linear infinite;
    z-index: 10;
}

@keyframes shine-right {
    0% { left: -50%; opacity: 0; }
    20% { left: 0%; opacity: 1; }
    80% { left: 100%; opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

@keyframes shine-left {
    0% { left: -50%; opacity: 0; }
    20% { left: 0%; opacity: 1; }
    80% { left: 100%; opacity: 1; }
    100% { left: 120%; opacity: 0; }
}


/*.highlight-line {*/
/*    position: absolute; width: 267px; height: 35px;*/
/*    border-radius: 18px; border: 1px solid #7584D6;*/
/*    overflow: hidden; z-index: 1;*/
/*}*/
/*.highlight-line::before {*/
/*    content: ''; position: absolute; top: 0; left: 162px;*/
/*    width: 30%; height: 100%;*/
/*    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);*/
/*    animation: slide 2s infinite alternate;*/
/*}*/
/*@keyframes slide { from { left: 162px; } to { left: 100%; } }*/

.left-block {
    display: flex;
    align-items: center;
    background-color: #7584D6;
    border-radius: 18px;
    height: 35px;
    width: 70px;
    padding-left: 10px;
    color: #fff;
    z-index: 2;
}
.logo_rocket { width: 10px; height: 10px; margin-right: 5px; }
.left-text { font-size: 12px; font-weight: bold; }
.right-text {
    width: 180px; font-size: 14px; font-weight: 600;
    color: #7584D6; padding: 6px; border-radius: 13px; z-index: 2;
    position: relative;
}

/* Subtitle */
.Subtitle { width: 611px; margin: 32px; text-align: center; font-size: 20px; }
.Subtitle_text{ color: #465478; }

/* Buttons */
.CTAs { display: flex; justify-content: center; gap: 20px; }

.button_purple_more,.button_white_more { margin: 20px; width: auto;  padding: 15px 14px; text-decoration: none;}

.button_white_register { margin: 20px; width: 100%; height: 55px; padding: 1px 2px; text-decoration: none;}

.Book_a_Call_button_white_more { margin-right: 20px;     width: auto;         height: auto;    padding: 14px 20px; text-decoration: none; }

.button_white_small_more {   padding: 10px 14px;  height: 30px; margin-top: 20px; text-decoration: none;}

.button_purple_contact { margin: 20px; width: 100%; padding: 30px 12px; text-decoration: none;}
.button_purple_login { margin: 20px; width: 100%; padding: 20px 12px; text-decoration: none;}
/* Lines & Texts */
 .Line_2, .Line_3 {
    display: flex;
    justify-content: center;
    margin-top: 40px; }
.wrapper_A {
    display: flex; justify-content: center; margin-top: 40px;
}
.logo_A_text {
    font-size: 80px;
}

.text1 {
    color: #465478;
}
.t1 {
    animation-delay: 0.3s;
}
.t2 {
    animation-delay: 0.5s;
}
.t3 {
    animation-delay: 0.7s;
}
.te1 {
    animation-delay: 0.9s;
}
.Sm {
    animation-delay: 1.1s;
}
.Sm {
    animation-delay: 1s;
}
.text2 {
    color: #7584D6;
    animation-delay: 0.8s;
}

.text24 {
       color: #7584D6;
    margin-right: 15px;
   }
/* ---------------------------------- */
/* Smart_AI: Появление + 3D покачивание */
/* ---------------------------------- */
.Smart_AI {
    border-radius: 58px;
    border: 2px solid #7584D6;
    padding: 6px 16px;
    background: linear-gradient(145deg, #80E5FF 0%, #7584D6 50%, #7584D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #7584D6;
    display: inline-block;

    transform-style: preserve-3d;
    transform-origin: center;
    backface-visibility: hidden;

    opacity: 0;
    animation: fadeInSmart 0.9s forwards;
    animation-delay: 1.1s; /* начальная задержка */
}

/* 3D покачивание */
.Smart_AI.swing {
    animation: swing3D 3s ease-in-out infinite alternate;
}

@keyframes fadeInSmart {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes swing3D {
    0%   { transform: perspective(600px) rotateY(0deg); }
    100% { transform: perspective(600px) rotateY(10deg); }
}


/* Logo Ticker */
.wrapper_Logo_Ticker { display: flex; justify-content: center; margin-top: 40px; }
.span_Title { color: #465478; letter-spacing: 8px; }
.Logo_Ticker {
    text-align: center; width: 740px; height: 77px; overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-repeat: no-repeat; mask-size: 100% 100%;
}
.Ticker { display: flex; align-items: center; gap: 50px; margin-top: 44px; animation: ticker-move 10s linear infinite; will-change: transform; }
.Ticker_img { width: 80px; height: 18px; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }


.language-select{
    border: none;
    background: rgba(117, 132, 214, 0);
}


/* ----------------------------- */
/* Планшеты (до 1024px) */
/* ----------------------------- */
@media (max-width: 1024px) {
    .Headline {
        margin-top: 80px;
        text-align: center;
    }

    .Subtitle {
        width: 90%;
        font-size: 18px;
    }

    .CTAs {
        flex-direction: column;
        gap: 15px;
    }

    .logo_A_text {
        font-size: 60px;
    }

    .Ticker_img {
        width: 60px;
        height: auto;
    }

    .Line_1 {
        margin-top: 90px;
    }
    .Line_2, .Line_3 {
        display: flex;
        justify-content: center;
        margin-top: 2px; }

    .highlight-line_blik {
        position: absolute;
        top: 4px;
        left: 75px;
        width: 130px;
        height: 35px;
        pointer-events: none;
    }
}

/* ----------------------------- */
/* Телефоны (до 768px) */
/* ----------------------------- */
@media (max-width: 768px) {
    .Headline {
        margin-top: 60px;
        font-size: 24px;
    }
    .button_purple_contact { margin: 20px; width: 100%; padding: 20px 12px; text-decoration: none; font-size: 16px; border-radius: 50px}
    .button_purple_login { margin: 20px; width: 100%; padding: 20px 12px; text-decoration: none; font-size: 16px; border-radius: 50px}
    .button_purple_more,.button_white_more { margin: 20px; width: auto;  padding: 15px 14px; text-decoration: none;font-size: 16px; border-radius: 50px}
    .Subtitle {
        width: 100%;
        font-size: 16px;
        margin: 20px auto;
    }

    .wrapper_rocket {
        margin-top: 40px;
    }


    .outer-block {
        width: auto;
        height: 28px;
    }


    .right-text {
        font-size: 12px;
        width: 140px;
    }

    .logo_A_text {
        font-size: 40px;
    }

    .CTAs {
        flex-direction: column;
        gap: 12px;
        width: 95%;
    }

    .button_purple_more,
    .button_white_more,
    .Book_a_Call_button_white_more {
        width: auto;
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .Ticker {
        gap: 30px;
        margin-top: 20px;
    }
    .Logo_Ticker {
         height: auto;

    }
}

/* ----------------------------- */
/* Маленькие телефоны (до 480px) */
/* ----------------------------- */
@media (max-width: 480px) {
    .Headline {
        margin-top: 40px;
        font-size: 20px;
    }

    .Subtitle {
        font-size: 14px;
    }


    .right-text {
        font-size: 11px;
        width: 120px;
    }

    .logo_A_text {
        font-size: 25px;
    }

    .CTAs {
        gap: 10px;
    }

    .Ticker_img {
        width: 50px;
    }
}
