.errors_modal {
    position: fixed;
    width: 320px;
    max-height: 85vh;
    overflow-y: auto;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    border: solid 1px #e8e8e8;
    background: #ffffff;
    color: black;
    z-index: 50000000;
}

.errors_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 49999999;
}

.errors_overlay_hidden {
    display: none;
}

.errors_modal h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: black;
}

.errors_modal h3 {
    padding-top: 0.6rem;
    font-size: 14px;
    color: black;
}

.errors_modal p {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 16px;
    color: black;
}

.errors_modal button {
    margin-top: 20px;
    position: relative;
    outline: none;
    border-radius: 8px;
    width: 100%;
    border: none;
    background: var(--color-accent);
    color: var(--btn-text);
    padding: 15px;
    overflow: hidden;
    display: inline-block;
    min-height: 30px;

    font-size: 1.1em;
    font-weight: 700;


}

.errors_modal_hidden {
    display: none !important;
    visibility: hidden !important;
}

/* Figma node 1:597 visual system */
html {
    background: #0d1424;
}

body {
    margin: 0;
    background: #0d1424;
    color: #f2f5fc;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
}

.container, .header-container {
    max-width: 1320px;
    padding-inline: 40px;
}

.header {
    padding: 12px 0;
    background: rgba(13, 20, 36, .96);
    border-bottom: 1px solid rgba(48, 68, 100, .35);
    backdrop-filter: blur(16px);
}

.logo-icon {
    width: 28px;
    max-width: 28px;
}

.logo-text {
    background: none;
    -webkit-text-fill-color: #f2f5fc;
    color: #f2f5fc;
    font-weight: 700;
}

.nav-link {
    color: #c6d2e8;
    font-size: 14px;
}

.btn-register {
    background: #91b5ff;
    color: #0d1424;
    border-radius: 7px;
    padding: 10px 22px;
}

.lang-pill {
    border: 1px solid #304464;
}

.lang-menu, .burger-menu {
    background: #151f33;
    border-color: #304464;
}

.intro {
    padding: 56px 0 54px;
    overflow: hidden;
    border-radius: 0;
    isolation: isolate;
}

.intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 19%;
    background: linear-gradient(90deg, #0d1424 0%, rgba(13, 20, 36, .18) 38%, rgba(13, 20, 36, .45) 100%),
    url('../img/hero-metal.webp') center / cover no-repeat;
    opacity: .68;
}

body.about-page > .intro:first-of-type::before {
    background: linear-gradient(90deg, #0d1424 0%, rgba(13, 20, 36, .18) 38%, rgba(13, 20, 36, .45) 100%),
    url('../img/contact-hero.webp') center / cover no-repeat;
}

body.about-page .about-footer-bg::before {
    background: linear-gradient(90deg, #0d1424 0%, rgba(13, 20, 36, .94) 28%, rgba(13, 20, 36, .52) 50%, rgba(13, 20, 36, .18) 72%, rgba(13, 20, 36, .48) 100%),
    linear-gradient(180deg, #0d1424 0%, rgba(13, 20, 36, 0) 18%, rgba(13, 20, 36, 0) 80%, #0d1424 100%),
    url('../img/contact-bottom.webp') center / cover no-repeat;
}

.footer-bg::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg,
            #0d1424 0%,
            #0d1424 16%,
            rgba(13, 20, 36, .94) 28%,
            rgba(13, 20, 36, .52) 50%,
            rgba(13, 20, 36, .18) 72%,
            rgba(13, 20, 36, .48) 100%),
        linear-gradient(180deg,
            #0d1424 0%,
            rgba(13, 20, 36, 0) 18%,
            rgba(13, 20, 36, 0) 80%,
            #0d1424 100%),
        url('../img/hero-metal-footer.webp') center / cover no-repeat;
    opacity: 1;
}

.intro_block {
    gap: 86px;
    align-items: center;
}

.intro_content {
    max-width: 670px;
    flex: 1.25;
}

.intro_title {
    color: #f2f5fc;
    font-size: clamp(42px, 4.2vw, 66px);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-bottom: 24px;
}

.intro_description {
    color: #c6d2e8;
    opacity: .86;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.intro_features {
    gap: 18px 34px;
}

.intro_features li {
    color: #f2f5fc;
    font-size: 14px;
    line-height: 1.35;
}

.intro_features svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.intro_form {
    max-width: 430px;
}

.form_card {
    padding: 32px;
    background: #151f33;
    border: 1px solid #304464;
    border-radius: 16px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .34);
}

.form_title {
    color: #f2f5fc;
    font-size: 22px;
    margin-bottom: 24px;
}

.form_body {
    gap: 13px;
}

.form_group::before {
    color: #c6d2e8;
    font-size: 12px;
    margin-bottom: 5px;
}

.form_group:nth-child(1)::before {
    content: "";
}

.form_group:nth-child(2)::before {
    content: "";
}

.form_group:nth-child(3)::before {
    content: "";
}

.form_group:nth-child(4)::before {
    content: "";
}

.form_group input {
    min-height: 44px;
    padding: 11px 14px;
    background: #0d1424;
    border: 1px solid #304464;
    border-radius: 8px;
    color: #f2f5fc;
}

.btn_submit {
    min-height: 48px;
    padding: 12px;
    border-radius: 8px;
    background: #91b5ff;
    color: #0d1424;
    font-size: 15px;
    opacity: 1;
}

.form_privacy {
    color: #a8b7d0;
    opacity: .75;
}

.calc-section {
    margin-top: 0;
    padding: 42px 0 70px;
    background: #0d1424;
}

.calc-section::before {
    display: none;
}

.calc-section__container > h2 {
    color: #f2f5fc;
    font-size: 24px;
}

.calc-section__container > p {
    color: #a8b7d0;
    max-width: 950px;
}

.calc-section__grid {
    max-width: 1100px;
    gap: 72px;
    margin-top: 34px;
}

.calc-form, .calc-results__profit {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 18px 0;
}

.calc-results__final {
    background: transparent;
    color: #f2f5fc;
    box-shadow: none;
    padding: 0;
    /*opacity: .1;*/
}

.calc-form__label, .calc-form__value, .calc-results__profit-title, .calc-results__profit-amount {
    color: #f2f5fc;
}

.calc-slider__background, .calc-results__profit-bar-track {
    background: #304464;
}

.calc-slider__progress, .calc-results__profit-bar-fill {
    background: #91b5ff;
    box-shadow: none;
}

.calc-results__profit {
    border: 1px solid rgba(48, 68, 100, .3);
    border-radius: 12px;
    padding: 24px;
}

.calc-results__profit-icon-wrap {
    background: #1b2942;
    border-color: #304464;
}

.calc-disclaimer {
    border-color: transparent;
    padding: 8px 0;
}

.textimg, .cards, .list-block, .numbre, .faq {
    background: #0d1424;
}

.textimg {
    padding-top: 80px;
}

.textimg_wrapper {
    gap: 90px;
}

.textimg_content {
    max-width: 610px;
}

.textimg_title, .cards_title, .cols_title, .list-block_title, .numbre_title, .faq_title {
    color: #f2f5fc;
    font-size: clamp(34px, 3vw, 48px);
    letter-spacing: -.025em;
    line-height: 1.12;
}

.textimg_text {
    color: #c6d2e8;
    opacity: .82;
    font-size: 15px;
    line-height: 1.7;
}

.textimg_image {
    aspect-ratio: 1.52;
    overflow: hidden;
    border-radius: 0;
    background: url('../img/ai-sphere.webp') center / cover no-repeat;
}

.textimg_image-about {
    flex: 1;
    max-width: 600px;
    aspect-ratio: 1.52;
    overflow: hidden;
    border-radius: 0;
    background: url('../img/who-we-are.webp') center / cover no-repeat;
}

.cards_wrapper {
    padding-top: 84px;
}

.cards_title {
    margin-bottom: 16px;
}

.cards_subtitle {
    color: #c6d2e8;
    font-size: 16px;
}

.cards_block {
    gap: 18px;
    justify-content: center;
}

.card {
    width: calc(33.333% - 12px);
    padding: 22px;
    gap: 16px;
    background: #151f33;
    border: 1px solid #304464;
    border-radius: 14px;
}

.card_img {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    background-color: #1b2942;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    border: 1px solid #304464;
    border-radius: 8px;
    position: relative;
}

.card:nth-child(1) .card_img {
    background-image: url('../img/audience-beginners.png');
}

.card:nth-child(2) .card_img {
    background-image: url('../img/audience-busy.png');
}

.card:nth-child(3) .card_img {
    background-image: url('../img/audience-believers.png');
}

.card:nth-child(4) .card_img {
    background-image: url('../img/audience-traders.png');
}

.card:nth-child(5) .card_img {
    background-image: url('../img/audience-diversifiers.png');
}

.card:nth-child(6) .card_img {
    background-image: url('../img/audience-time.png');
}

/* Contact page image placement: detected by its cols -> intro sequence. */
body.contact-page > .intro:first-of-type::before {
    background: linear-gradient(90deg, #0d1424 0%, rgba(13, 20, 36, .3) 44%, rgba(13, 20, 36, .08) 100%),
    url('../img/contact-us-form.webp') center / cover no-repeat;
    opacity: .78;
    inset: 0 0 0 0;
}

body.contact-page > .cols + .intro.contact-footer-bg::before {
    background: linear-gradient(90deg, #0d1424 0%, rgba(13, 20, 36, .24) 44%, rgba(13, 20, 36, .06) 100%),
    url('../img/contact-bottom-footer.webp') center / cover no-repeat;
    opacity: .82;
}

body.contact-page .cards .card:nth-child(1) .card_img {
    background-image: url('../img/audience-beginners.png');
}

body.contact-page .cards .card:nth-child(2) .card_img {
    background-image: url('../img/audience-busy.png');
}

body.contact-page .cards .card:nth-child(3) .card_img {
    background-image: url('../img/audience-believers.png');
}

body.contact-page .cards .card:nth-child(4) .card_img {
    background-image: url('../img/audience-traders.png');
}

body.contact-page .cards .card:nth-child(5) .card_img {
    background-image: url('../img/audience-diversifiers.png');
}

body.contact-page .cards .card:nth-child(6) .card_img {
    background-image: url('../img/audience-time.png');
}

.card_text_head {
    color: #f2f5fc;
    font-size: 17px;
}

.card_text_text {
    color: #c6d2e8;
    font-size: 14px;
    line-height: 1.55;
    opacity: .78;
}

.cols {
    margin: 64px 0 0;
    padding: 40px 0 46px;
    background: #1b2942;
    border-radius: 0;
}

.cols.comparison-section {
    border-radius: 20px;
    overflow: hidden;
}

.cols_title {
    color: #f2f5fc;
    margin-bottom: 16px;
}

.cols_block {
    gap: 22px;
}

.cols_block_element {
    width: 50%;
    padding: 22px;
    background: #151f33;
    border: 1px solid #304464;
    border-radius: 14px;
}

.cols_block_element_head {
    color: #f2f5fc;
}

.cols_block_element_text {
    color: #c6d2e8;
    font-size: 14px;
}

.list-block {
    padding-top: 82px;
}

.list-block_title {
    margin-bottom: 16px;
}

.list-block_items {
    align-items: stretch;
    gap: 28px;
}

.list-block_list {
    flex: 1;
    gap: 14px;
}

.list-block_item {
    padding: 22px;
    gap: 18px;
    background: #151f33;
    border: 1px solid #304464;
    border-left: 1px solid #304464;
    border-radius: 12px;
}

.list-block_number {
    width: 42px;
    height: 42px;
    background: #91b5ff;
    color: #0d1424;
    font-size: 17px;
}

.list-block_item-title {
    color: #f2f5fc;
}

.list-block_item-desc {
    color: #c6d2e8;
    font-size: 14px;
    line-height: 1.55;
}

.list-block_img {
    flex: 1.08;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 0;
    background: url('../img/steps-laptop.webp') center / cover no-repeat;
}

.list-block_img-about {
    background-image: url('../img/about-process.webp');
}

.numbre {
    padding-top: 84px;
}

.numbre_title {
    margin-bottom: 34px;
}

.numbre_grid {
    background: transparent;
    border-radius: 0;
    gap: 24px;
}

.numbre_item {
    flex: 1 1 20%;
    padding: 14px;
    color: #f2f5fc;
}

.numbre_number {
    color: #91b5ff;
    font-size: 42px;
    letter-spacing: -.02em;
}

.numbre_label {
    color: #c6d2e8;
    font-size: 14px;
}

.slider-container {
    padding-top: 74px;
}

.styles_carouselReviewCard__YIr6O {
    background: #fff;
    color: #1a1a33;
    border: 0;
    border-radius: 10px;
    min-height: 250px;
}

.swiper-button-prev, .swiper-button-next {
    display: none !important;
}

.swiper-pagination-bullet {
    background: #304464 !important;
}

.swiper-pagination-bullet-active {
    background: #91b5ff !important;
}

.faq {
    padding: 84px 0 0;
}

.faq_title {
    margin-bottom: 34px;
}

.faq_wrapper {
    max-width: 900px;
}

.faq_list {
    gap: 10px;
}

.faq_item {
    background: #0d1424;
    border: 1px solid #304464;
    border-radius: 10px;
}

.faq_item.is-open {
    border-color: #91b5ff;
}

.faq_question {
    color: #f2f5fc;
    padding: 17px 20px;
    font-size: 15px;
}

.faq_answer-content {
    color: #c6d2e8;
    font-size: 14px;
    line-height: 1.6;
}

.faq_icon {
    width: 26px;
    height: 26px;
    background: #1b2942;
    opacity: 1;
}

.faq + .intro {
    margin-top: 78px;
    background: #0f192b;
}

.faq + .intro::before {
    inset-left: 48%;
    opacity: .55;
}

.footer {
    margin-top: 0;
    padding: 44px 0 22px;
    background: #0d1424;
    border-top: 1px solid #304464;
    color: #f2f5fc;
}

.footer-grid {
    gap: 70px;
    margin-bottom: 30px;
}

.footer-logo .logo-text, .footer-nav h4, .footer-legal h4 {
    color: #f2f5fc;
}

.footer-tagline, .footer-disclaimer, .footer-nav ul li a, .footer-legal ul li a, .footer-bottom {
    color: #a8b7d0;
}

@media (max-width: 1024px) {
    .textimg_image-about {
        width: 100%;
        max-width: 100%;
    }

    .container, .header-container {
        padding-inline: 24px;
    }

    .intro::before {
        inset-left: 35%;
        opacity: .35;
    }

    .intro_block {
        gap: 38px;
    }

    .card {
        width: calc(50% - 9px);
    }

    .textimg_wrapper {
        gap: 42px;
    }
}

@media (max-width: 768px) {
    .container, .header-container {
        padding-inline: 16px;
    }

    .intro {
        padding: 42px 0;
    }

    .intro::before {
        inset: 0;
        opacity: .2;
    }

    .intro_title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .intro_features {
        grid-template-columns: 1fr;
    }

    .form_card {
        padding: 24px 18px;
    }

    .calc-section__grid {
        gap: 24px;
    }

    .textimg, .cards_wrapper, .list-block, .numbre, .faq {
        padding-top: 56px;
    }

    .textimg_title, .cards_title, .cols_title, .list-block_title, .numbre_title, .faq_title {
        font-size: 32px;
    }

    .card {
        width: 100%;
    }

    .cols {
        padding-inline: 16px;
    }

    .cols_block {
        flex-direction: column;
    }

    .cols_block_element {
        width: 100%;
    }

    .list-block_items {
        flex-direction: column-reverse;
    }

    .list-block_img {
        aspect-ratio: 1.5;
    }

    .numbre_item {
        flex-basis: 42%;
    }

    .faq + .intro {
        margin-top: 48px;
    }
}
