@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

html{
    display: flex;
    justify-content: space-between;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1, h2, p, a{
    margin: 0;
    text-decoration: none;
    color: black;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    min-height: 100%;
}

nav {
    width: 100%;
    height: 78px;

    transition-duration: 0.5s;
    z-index: 3;
    position: fixed;

    background-color: #fff;
}

.logo-mini{
    display: none;
}

@media (max-width: 560px){
    .logo-maxi{
        display: none;
    }

    .logo-mini{
        display: block;
    }
}

main, footer{
    width: 100%;
}

.container{
    max-width: 1280px;
    padding: 0 16px ;
    margin: auto;
    height: 100%;
}

@media (max-width: 768px){
    body{
        font-size: 14px !important; /*Мобилка*/
    }

    .title{
        font-size: 32px !important; /*Мобилка*/
    }

    .title-mini{
        font-size: 18px !important; /*Мобилка*/
    }

    .text-mini{
        font-size: 16px !important; /*Мобилка*/
    }

    .button-text{
        font-size: 14px !important; /*Мобилка*/
    }
}


/*Стили сайта*/
body{
    font-family: "Montserrat", sans-serif;
    font-size: 16px; /*Деск*/
    font-weight: 500;
}

.title{
    font-size: 38px; /*Деск*/
    font-weight: 900;
    font-family: "Roboto", sans-serif;
    line-height: 45px;
}

.title-mini{
    font-size: 20px; /*Деск*/
    font-weight: 600;
    font-family: "Roboto", sans-serif;
}

.button-text{
    font-size: 14px;
}

/*Жирность текста*/
.weight-600{
    font-weight: 600;
}

/*Кнопки*/
.button{
    background: #3f74ff;
    color: #fff;
    height: 55px;
    line-height: 55px;
    display: inline-block;
    border-radius: 28px;
    padding: 0 40px;
    transition: box-shadow .28s ease-out;
    width: fit-content;
    cursor: pointer;
}

.button:hover {
    box-shadow: 0 0 0 3px rgba(63,116,255,.3)
}



/*Дополнительные стили*/

.container-minipadding{
    max-width: 90%;
    padding: 0 16px;
    margin: auto;
}

.nav-flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    height: inherit;
}

.href-button-main{
    color: #3f74ff;
    padding: 12px 20px;
    border-radius: 20px;
    transition: color .15s ease-out, background .1s ease-in;
}

.href-button-main:hover{
    background: #3f74ff !important;
    color: #fff !important;
}

.href-button:hover{
    color: #3f74ff;
}

.href-nav{
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 35px;
}

.fit-content{
    width: fit-content;
}

/*Стили блоков*/
.first-block{
    height: 554px;
    margin-top: 78px;
}

@media (max-width: 768px){
    .first-block{
        height: 430px;
    }
}

.first-block-background{
    background: url(../img/wave.png) 0 100% no-repeat;
    background-size: cover;
    overflow: hidden;
}

.title-first-block{
    max-width: 550px;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.textbutton-first-block{
    position: absolute;
    z-index: 2;

    margin-top: 35px;

    display: flex;
    flex-direction: column;

    gap: 30px;
}

.typical-block{
    padding-top: 70px;
    padding-bottom: 50px;

    display: flex;
    flex-direction: column;

    height: auto;
}

@media (max-width: 768px){
    .typical-block{
        padding-bottom: 50px;
        padding-top: 30px;
    }
}

/*ВТОРОЙ БЛОК с шагами*/
.steps-block{
    display: flex;
    flex-direction: column;

    margin-top: 40px;
    gap: 70px;
}

.color-grey{
    color: #999999;
}

.mini-title-center{
    max-width: 490px;
}

@media (max-width: 768px){
    .mini-title-center{
        max-width: 410px;
    }
}

.steps{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 50px;
}

.step{
    flex-basis: 350px;
    max-width: 350px;
    gap: 20px;
}

.step-text, .step, .steps-text{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-text, .step-text{
    gap: 10px;
}

.text-align-center{
    text-align: center;
}

.long-button-div{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;

    margin-top: 30px;

    cursor: pointer;
}

@media (max-width: 1545px){
    .steps{
        justify-content: center;
    }
}

/*ТРЕТИЙ БЛОК с прайсом*/
.third-block{
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px){
    .third-block{
        gap: 40px;
    }
}

.one-of-price{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;

    padding: 45px 30px;
    max-width: 360px;

    border-radius: 15px 30px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.8s ease-out;
}

.one-of-price:hover{
    transition: all 0.8s ease-out;
    transform: translateY(-8px);
    border: 1px solid #0066FF;
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.1);
}

.name-N-cost{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    width: -webkit-fill-available;
    width: -moz-available;

    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.featured-features{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.one-featured-features{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px){
    .one-of-price{
        gap: 25px;
    }
}

.price{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.price_title{
    font-size: 46px;
}

@media (max-width: 768px){
    .price_title{
        font-size: 40px;
    }
}

.one-of-price:hover{
    box-shadow: rgba(0, 0, 0, 0.12) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
    transition: box-shadow .28s ease-out;
}

.pricing{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;

    width: -webkit-fill-available;
    width: -moz-available;
}

.self-bottom{
    margin-top: auto;
}

.long-button{
    padding: 18px 20px;
    border: 1px solid #999999;
    border-radius: 30px;
    color: #999999;
}

.long-button:hover{
    box-shadow: 0 0 0 3px rgba(63, 116, 255, .3);
    border: 1px solid #3f74ff;
    transition: box-shadow .28s ease-out;
}


/*Чекбокс*/
.switch-button {
    background: #a6bfffd3;
    border-radius: 30px;
    overflow: hidden;
    width: 250px;
    text-align: center;
    color: white;
    position: relative;
    padding-right: 120px;
    position: relative;
    transition: all 200ms ease-out;
}

.switch-button:hover{
    background: #86abfcd3;
    transition: all 200ms ease-out;
}

.switch-button:before {
    content: attr(data-year-text);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}
.switch-button-checkbox {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    margin: 0;
}
.switch-button-checkbox:checked + .switch-button-label:before {
    transform: translateX(120px);
    transition: transform 300ms linear;
}
.switch-button-checkbox + .switch-button-label {
    position: relative;
    padding: 15px 0;
    display: block;
    user-select: none;
    pointer-events: none;
}
.switch-button-checkbox + .switch-button-label:before {
    content: "";
    background: #3f74ff;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 30px;
    transform: translateX(0);
    transition: transform 500ms ease-out;
}
.switch-button-checkbox + .switch-button-label .switch-button-label-span {
    position: relative;
}

/*Четвертый блок с готовыми решениями*/
.fourth-block{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.solution-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.solution-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    width: 200px; /* фиксированная ширина */
    transition: transform 0.2s;
}

.solution-type img {
    width: 70px; /* фиксированная ширина для изображений */
    height: auto; /* автоматическая высота для сохранения пропорций */
}

.solution-type p {
    text-align: center;
    margin-top: 10px;
}

.solution-type:hover {
    transform: scale(1.05); /* эффект при наведении */
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .solution-type {
        width: 130px; /* уменьшенная ширина для маленьких экранов */
    }
}

/*Пятый блок с обратной связью*/
.fifth-block-background{
    background: url(../img/wave2.png) -3% no-repeat, url(../img/wave3.png) 101% no-repeat;
    overflow: hidden;
}

@media (max-width: 1726px) {
    .blur{
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(1px); /* Размытие фона на 5 пикселей */
        box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0.7);
    }
}

@media (max-width: 1370px) {
    .fifth-block-background{
        background: white;
    }
}

.fifth-block{
    display: flex;
    flex-direction: row;

    gap: 30px;
}

.input-N-text{
    width: -webkit-fill-available;
    width: -moz-available;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .fifth-block{
        flex-direction: column;
    }

    .padding-left{
        padding-left: 20px;
        padding-right: 20px;
    }
}

.align-items-right{
    align-items: flex-start;
}

.input-wrapper {
    height: 45px;
    border-radius: 25px;
    padding: 5px 8px;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    background-color: #e2e5ec;
    justify-content: space-between;
}
.input {
    font-family: "Montserrat", sans-serif;

    height: 100%;
    border: none;
    outline: none;
    padding-left: 15px;
    background-color: #e2e5ec;
    color: black;

    width: 70%;
    padding-right: 25px;
}
.input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #e2e5ec inset;
    -webkit-text-fill-color: black;
}
.Subscribe-btn {
    font-family: "Montserrat", sans-serif;
    height: 100%;
    border: none;
    padding: 0 20px;
    border-radius: 30px;
    color: black;
    cursor: pointer;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}
.Subscribe-btn:hover {
    box-shadow: 0 0 0 3px rgba(63, 116, 255, .3);
    transition: box-shadow .28s ease-out;
    background-color: #3f74ff;
    color: white;
}

.Subscribe-btn:active {
    transform: scale(0.9);
}

/*Шестой блок FAQ*/

.faq-container {
    width: 60%;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 40px;

    align-items: center;
}

@media (max-width: 970px) {
    .faq-container {
        width: auto;
    }
}

@media (max-width: 768px) {
    .faq-container {
        gap: 20px;
    }
}

.faq-hidden {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    padding: 15px 10px;
    cursor: pointer;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e2e5ec;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    transition: background-color 0.2s ease;
}

.faq-question img{
    width: 20px;
}

.faq-question:hover {
    background-color: #f7f9fc;
}

.faq-answer {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    opacity: 0;
    max-height: 0;
    overflow: hidden; 
    background-color: #f7f9fc;
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px 10px;
    opacity: 1;
    max-height: max-content !important;
}

.arrow {
    transition: transform 0.3s;
}

.arrow.rotate {
    transform: rotate(180deg); 
}

/*Футер*/
footer, .footer-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}

footer{
    justify-content: space-between;
    border-top: 1px solid #e2e5ec;
    padding: 30px 16px !important;
    margin: 40px auto 0 !important;
}

.footer-logo{
    gap: 10px;
}

.a-color-text{
    color: #3f74ff;
}

.a-color-text:hover{
    color: #1b57c5;
}


/* Стиль для блокировки прокрутки */
.body-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


/* Дополнительные стили для страницы авторизации */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f6f6f7;
    padding: 20px;
}

.auth-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

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

.auth-logo img {
    height: 50px;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.auth-form{
    display: flex;
    flex-direction: column;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.auth-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e5ec;
    border-radius: 25px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: #3f74ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(63, 116, 255, 0.2);
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.auth-button {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    background-color: #3f74ff;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: "Montserrat", sans-serif;
}

.auth-button:hover {
    background-color: #3365e4;
}

.auth-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

.auth-link {
    color: #3f74ff;
    text-decoration: none;
    font-size: 14px;
}

.auth-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #da5a55;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.line{
    border-right: 1px solid #e2e5ec;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 18px;
    }
}
        
.password-hint {
    font-size: 12px;
    color: #A2B7CC;
    margin-top: 5px;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-link {
    color: #3f74ff;
    text-decoration: none;
    font-size: 14px;
}

.auth-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #da5a55;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* Стили для поля с телефоном */
.phone-input {
    display: flex;
    align-items: center;
}

.phone-prefix {
    padding: 15px 10px 15px 20px;
    background: #f6f6f7;
    border: 1px solid #e2e5ec;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
}

.phone-number {
    flex: 1;
    border-radius: 0 25px 25px 0;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .phone-prefix {
        padding: 15px 5px 15px 15px;
        font-size: 13px;
    }
}

/* Стиль для неактивной кнопки */
.auth-button:disabled {
    background-color: #a6bfffd3 !important;
    cursor: not-allowed !important;
}

.auth-button:disabled:hover {
    box-shadow: none !important;
    background-color: #a6bfffd3 !important;
}

/* Дополнительные стили для выбора страны */
.phone-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.country-select {
    padding: 15px 15px;
    border: 1px solid #e2e5ec;
    border-radius: 25px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    width: -webkit-fill-available;
    width: -moz-available;
}

.phone-input {
    flex: 1;
    position: relative;
}

.phone-prefix {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

.phone-number {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #e2e5ec;
    border-radius: 25px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

/* Дополнительные стили для чекбокса */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-input {
    width: 18px !important;
    height: 18px;
    accent-color: #3f74ff;
}

.checkbox-label {
    font-size: 12px !important;
    color: #666;
    margin: 0 !important;
}

.checkbox-link {
    color: #3f74ff;
    text-decoration: none;
}

.checkbox-link:hover {
    text-decoration: underline;
}

/* Стиль для неактивной кнопки */
.auth-button:disabled {
    background-color: #a6bfffd3 !important;
    cursor: not-allowed !important;
}

.auth-button:disabled:hover {
    box-shadow: none !important;
    background-color: #a6bfffd3 !important;
}


.button-padding{
    padding: 0 18px !important;
}


.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    padding-right: 2.5em;
    width: 100%;
    box-sizing: border-box;
}

.show-password-btn {
    position: absolute;
    right: 0.5em;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0.5em;
    color: #555;
    font-size: 1.1em;
    z-index: 2;
}

.show-password-btn:hover {
    color: #000;
}

.currency-selector {
    margin: 10px 0;
}

.currency-dropdown {
    padding: 10px 15px;
    border: 1px solid #e2e5ec;
    border-radius: 25px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}

.currency-dropdown:focus {
    outline: none;
    border-color: #3f74ff;
    box-shadow: 0 0 0 2px rgba(63, 116, 255, 0.2);
}

.currency-dropdown:hover {
    border-color: #3f74ff;
}

@media (max-width: 768px) {
    .currency-selector {
        margin: 15px 0;
    }
    
    .currency-dropdown {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e2e5ec;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-button {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Montserrat", sans-serif;
}

.cookie-button-details {
    background: transparent;
    color: #3f74ff;
    border: 1px solid #3f74ff;
}

.cookie-button-details:hover {
    background: #3f74ff;
    color: white;
}

.cookie-button-accept {
    background: #3f74ff;
    color: white;
    border: 1px solid #3f74ff;
}

.cookie-button-accept:hover {
    background: #3365e4;
    border-color: #3365e4;
    box-shadow: 0 0 0 3px rgba(63, 116, 255, 0.3);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-button {
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-button {
        width: 100%;
    }
}
