/*Обнулення*/
@import url(reset.css);
/* Шрифти */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:wght@500&display=swap');


* {
    user-select: none;
}


:root {
    --bg_light: #fff;
    --bg_dark: #000000;
    --bg_button: #ffffff;
    --bg_button-hov: #2c5bc9;
    --br_button: #CDCDCD;
    --text_light: #fff;
    --text_dark: #000;
    --text-green: #29c257;
    --for_form: #CDCDCD;
}

body {
    background-color: var(--bg_dark);
    font-family: "Lato", sans-serif;
    font-weight: 400;
    line-height: 24px;
    color: var(--text_light);
}


.wrapper {
    overflow: clip;
    min-height: 100%;

    display: flex;
    flex-direction: column;
}

.wrapper>main {
    flex-grow: 1;
}

[class*="--margin"] {
    margin-bottom: 30px;
}

[class*="__container"] {
    max-width: 1530px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}




h1 {
    font-family: "Raleway", sans-serif;
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 4rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 4rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 2.5rem;
}

@media (max-width: 767.99px) {

    h1,
    h2,
    h3 {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }
    #robo-video {
        width: 150px!important;
    }

}

/*-------------- button --------------*/
.btn {
    width: 324px;
    height: 56px;
    border-radius: 32px;
    border: 0;
    background-color: var(--bg_button);
    /*box-shadow: 0px 0px 12.5px 0px #00e5ffbd;*/
    box-shadow: 0px 0px 12.5px 0px #2c5bc9;
    text-align: center;
    color: var(--text_dark);
    font-weight: 400;
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    margin: 20px auto 0;
    overflow: hidden;
    z-index: 1;

    position: relative;
    transition: all 0.5s ease-out;
}

.btn:hover,
.btn:active {
    background-color: var(--bg_button-hov);
    color: var(--text_light);
    transform: scale(0.9);
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: var(--bg_button-hov);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}






/*=====================================*/
/* --------- header --------- */
#header {
    padding: 50px 0;
    background-color: var(--bg_light);
    text-align: center;
    margin-bottom: -2px;
}

/* --------- intro --------- */
#intro {
    padding: 0;
    background-image: url(../images/intro-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: 35%;
    color: var(--text_dark);
    padding-top: 50px;
    padding-bottom: 260px;
}

.intro__container h1 {
    max-width: 900px;
}

.intro__container p {
    max-width: 620px;
    font-size: 22px;
    line-height: 36px;
    margin: 50px 0 75px;
}

#btn-start {
    background-color: var(--bg_dark);
    color: var(--text_light);
    box-shadow: none;
}

#btn-start::after {
    background-color: var(--bg_light);
}

@media (max-width: 1530px) {
    #intro {
        background-position-y: bottom;
    }
}

@media (max-width: 767.99px) {
    #intro {
        padding: 0;
        background-color: var(--bg_light);
        background-size: 300%;
        background-position-y: 120px;
        padding-top: 20px;
        padding-bottom: 260px;
    }

    .intro__container p {
        max-width: 620px;
        font-size: 18px;
        line-height: 28px;
        margin: 30px 0 45px;
    }

    #btn-start {
        margin-left: calc((100% - 324px)/2);
    }
}




/* --------- under-intro --------- */

#under-intro {
    padding: 40px 0 30px;
    background-color: #191c1f;
}

.under-intro__img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.under-intro__list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0 25px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
}

.under-intro__list li:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.under-intro__list li:first-child::before {
    content: '';
    background-image: url(../images/flag-Europe.png);
    width: 24px;
    height: 24px;
}

.under-intro__copyright {
    font-weight: 300;
    margin-bottom: 15px;
}

@media (max-width: 767.99px) {
    .under-intro__list {
        justify-content: stretch;
        align-items: start;
        gap: 25px;
        border-top: 0;
        padding: 25px 0 50px;
    }

    .under-intro__list li:nth-child(3) {
        order: 4;
    }

    .under-intro__list li:nth-child(4) {
        order: 3;
    }

    .under-intro__list li:nth-child(6) {
        order: 7;
    }

    .under-intro__list li:nth-child(7) {
        order: 6;
    }

    .under-intro__copyright {
        margin-bottom: 20px;
    }
}








/* --------- robo --------- */
#robo {
    padding: 65px 0;
}

.logo {
    text-align: center;
    margin-bottom: 50px;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    background: linear-gradient(111.89deg, #00162C 0%, #000000 50.86%, #010E18 100%);
    padding: 50px 50px 60px;
    border-radius: 12px;
}

.robo__text {
    text-align: center;
}

.robo__text p {
    max-width: 760px;
    margin-top: 15px;
    font-size: 18px;
    line-height: 28px;
}

@media (max-width: 767.99px) {
    #robo {
        padding: 25px 0;
    }

    .card-wrapper {
        justify-content: start;
        align-items: center;
        gap: 10px;
        padding: 25px 16px;
    }

    .robo__text {
        text-align: start;
    }

    .robo__text p {
        margin-top: 25px;
        font-size: 16px;
    }
}




/* --------- modal-window --------- */
.modal-window__container {
    width: 328px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(71, 85, 101, 1);
    border-radius: 12px;
    padding: 18px 26px;
    line-height: 22px;

    position: fixed;
    left: 50%;
    top: -200px;
    /* стартова позиція зверху за екраном */
    transform: translateX(-50%);
    opacity: 0;
    transition: top 0.8s ease-in-out, opacity 0.8s ease-in-out;
    z-index: 1000;
}

/* Активна (виїжджає вниз) */
.modal-window__container.active {
    top: 100px;
    /* фіксована висота на екрані */
    opacity: 1;
}

/* Ховання (повертається за верх) */
.modal-window__container.hide {
    top: -200px;
    opacity: 0;
}



.modal-window__text p:first-child {
    border-bottom: 1px solid var(--bg_light);
    padding-bottom: 10px;
}

.modal-window__text p:last-child {
    padding-top: 10px;
}

.green-number {
    color: var(--text-green);
    font-weight: 600;
    margin-left: 6px;
}




/* ===== Сховані секції ====== */
.hidden {
    display: none;
}

/* ===== Лоадер для чекмарків ===== */
.check-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
}

/* Сам лоадер */
.check-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/check-loader.webp') no-repeat center center;
    background-size: cover;
    animation: spin 1s linear infinite;
    /* анімація обертання */
}

/* Ключові кадри для обертання */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}





/* --------- analyzed --------- */
#analyzed {
    padding: 65px 0;
}

#analyzed .card-wrapper {
    flex-direction: row;
    align-items: end;
}

.analyzed__text {
    max-width: 630px;
}

.analyzed__list {
    margin: 75px 0 200px;
}

.analyzed__list li {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 12px;
}

.analyzed__btn {
    text-align: center;
}

.analyzed__img {
    border-radius: 20px;
    overflow: hidden;
}

.analyzed__img img {
    width: 100%;
}

@media (max-width: 1439.99px) {
    #analyzed {
        padding: 50px 0;
    }

    #analyzed .card-wrapper {
        align-items: center;
    }
}

@media (max-width: 767.99px) {
    #analyzed {
        padding: 50px 0;
    }

    .analyzed__img {
        display: none;
    }

    .analyzed__list {
        margin: 35px 0 130px;
    }

    .analyzed__list li {
        position: relative;
        padding-left: 30px;
    }

    .analyzed__list li::before {
        content: "";
        position: absolute;
        background-color: var(--bg_light);
        border-radius: 50%;
        width: 8px;
        height: 8px;
        top: 9px;
        left: 5px;
    }
}





/* --------- registration --------- */
#registration {
    padding: 65px 0;
}

#registration .card-wrapper h3 {
    max-width: 630px;
    text-align: center;
}

/*--- form-block ---*/
.form-block {
    max-width: 324px;
    width: 100%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.form-block form {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-block form input {
    width: 100%;
    height: 56px;
    border-radius: 4px;
    border: 1px solid var(--for_form);
    color: var(--text_dark);
    font-weight: 500;
    margin: 0 0 8px 0;
    padding: 0 24px 0 24px;
}

.form-block p {
    margin: 12px 0 36px;
    font-style: italic;
    text-align: center;
}
.iti__flag-container,
.iti__country-list {
    color: #000 !important;
}
@media (max-width: 767.99px) {
    #registration {
        padding: 50px 0;
    }

    #registration .card-wrapper h3 {
        text-align: start;
    }
}

/*========================================*/