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

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: #000;
}

/* ========================= NAV MENU ========================= */

.nav__one {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    height: 45px;

}

.flexbox {
    padding-bottom: 80px;
}

.nav__one a.active::after {
    width: 100% !important; /* полоса всегда видна */
}

.nav__one a.active {
    text-shadow:
            0 0 12px rgba(255,255,255,1),
            0 0 30px rgba(255,255,255,0.8) !important;
}

.img__logo {
    position: absolute;
    top: -45px;
}

.flag {
    cursor: pointer;
    top: 15px;
    position: absolute;
    display: flex;
    right: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
            0 0 15px rgba(255, 255, 255, 0.2), /* Внешнее мягкое свечение */
            0 0 10px rgba(255, 255, 255, 0.1) inset; /* Очень легкое внутреннее свечение (опционально) */

    /* Дополнительная тонкая светлая рамка */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 5px;
    border-radius: 15px;
    gap: 3px;
}

.nav__list {
    pointer-events: all !important;
    list-style: none;
    padding: 10px 5px 10px 25px;
    margin: 0;
    background: rgba(255,255,255,0.02);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
            0 0 50px rgba(255, 255, 255, 0.2), /* Внешнее мягкое свечение */
            0 0 10px rgba(255, 255, 255, 0.1) inset; /* Очень легкое внутреннее свечение (опционально) */

    /* Дополнительная тонкая светлая рамка */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav__one a {
    text-decoration: none;
    color: #fff;
    filter: brightness(140%);
}

.nav__one a:hover {
    text-shadow:
            0 0 12px rgba(255,255,255,1),
            0 0 30px rgba(255,255,255,0.8);
}

.nav__one a {
    position: relative; /* обязательно для ::after */
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav__one a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* расстояние от текста */
    width: 0;
    height: 2px; /* толщина линии */
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav__one a:hover::after {
    width: 100%;
}

.nav__one a.download-btn::after {
    width: 0; /* отменяем линию для кнопки */
}


.home__title {
    text-transform: uppercase;
    font-weight: 500;
}

.faq__title {
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

.download-btn {
    background: #ffffff; /* чистый белый фон */
    color: black !important;
    font-weight: 600;
    border-radius: 20px;
    padding: 10px 20px;
    box-shadow:
            0 0 8px rgba(255,255,255,0.8),
            0 0 20px rgba(255,255,255,0.6),
            0 0 10px rgba(255,255,255,0.4); /* свечение */
    filter: brightness(150%); /* делает ярче */
    transition: 0.25s ease;
}

.download-btn:hover {
    background: #dcdcdc;
}

/* ========================= TITLE ========================= */

h1 {
    font-size: 150px;
    font-weight: 900;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    letter-spacing: -3px;
}

/* ========================= PRICING CARDS ========================= */

.pricing-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    margin: 0 !important; /* ← УБРАТЬ margin при анимации */


    /*width: 90%;
    max-width: 1200px;
    margin: -80px auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;*/
}

.pricing-wrapper.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
    margin: -100px auto 0 auto !important; /* ← ВЕРНУТЬ margin только когда активно */
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px 35px 0 35px;
    width: 320px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 40px rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    margin: -175px auto;
}

.cardHome {
    display: flex; !important;
    flex-direction: column; !important;
    min-height: 530px; !important;
}

.footer__card {
    display: flex;
    margin-top: auto;
    padding-bottom: 40px;
}

.active a::after {
        width: 100%; /* вот эта строка делает полосу при наведении */
}

.contact {

}

.contact__title {
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

.cardFAQ {
    margin-top: 10px;
    min-height: 400px;
}

.cardFaqPos {
    position: relative;
    margin: -70px auto 50px auto; /* отступ снизу 60px */
    width: 320px;

    /*display: flex;
    flex-direction: column;
    position: absolute;
    left: 33.5%;
    top: -80px;*/
}

.faq__btn {
    margin-top: auto;
    padding-bottom: 40px; !important;
}



.card__contact {
    color: #ffffff;
    position: absolute;
    padding: 20px; !important;
    width: 300px;
    height: 25px;

    /* Отменяем конкретно transform анимацию */
    transform: none !important;
    transition: none !important;
}



.card__right {
    top: 350px;
    right: 225px;

}

.card__left {
    top: 350px;
    left: 225px;
}

.card__center {
    top: 500px;
    left: 35%;
}

.card__contact-text {
    position: absolute;
    left: 150px;
    top: -5px;
    font-weight: bold;
    font-size: 25px;
    text-shadow:
            0 0 1px rgba(255, 255, 255, 0.7),
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 1px rgba(255, 255, 255, 0.3);
}

.card__contact:hover .card__contact-text {
    text-shadow:
            0 0 5px rgba(255, 255, 255, 0.7),
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 1px rgba(255, 255, 255, 0.3);
}


.card h2 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}




.faq__list {
    list-style: decimal; !important;
}

.card title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}


.countryLogo {
    width: 20px;
    height: auto;
}

.arrow {
    width: 15px;
    height: 15px;
    align-self: center;
}

.nav__list li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    font-size: 15px;
    opacity: 0.85;
}

.nav__list li::before {
    content: "";
    margin-right: 10px;
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

.none {
    display: none;
}



.btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
    text-transform: uppercase;
}

.btn:hover {
    background: rgba(255,255,255,0.18);
}

.btn.white {
    background: white;
    color: black;
}

.btn.white:hover {
    background: #ddd;
}



/*  МОИ СТИЛИ   */

.updater__title {
    font-size: 24px;
}

.numList {
    list-style-type: disc;
}

.features  {
    color: white; /* цвет маркера и текста */
    padding-bottom: 30px;
}

.icon {
    left: 15px;
    position: absolute;
    bottom: 10px;
    display: flex;
    width: 100%;
}

.divider {
    position: absolute;
    top: -55px;
    left: 80px;
    border-left: 1px solid #e0e0e0;
    height: 65px;
}

.features  li {
    padding-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.card__list {
   /* display: flex;
    gap: 40px;
    padding-top: 450px;*/

    display: flex;
    gap: 40px;
    padding-top: 0; /* ← УБРАТЬ 450px */
    margin-top: 40px; /* добавить небольшой отступ */
}

.card__text {
    line-height: 1.5;
    margin-top: 35px;
}

.card__text-1 {
    padding-bottom: 30px;
}


/* Контейнер селектора */
.language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
}

/* Текущий выбранный язык */
.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow:
            0 0 15px rgba(255, 255, 255, 0.2),
            0 0 10px rgba(255, 255, 255, 0.1) inset;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Выпадающий список */
.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 150px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

/* Показываем выпадающий список */
.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Элементы списка */
.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #fff;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.language-option.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.title__modal {
    padding-bottom: 10px;
}

.default__text {
    margin-top: 25px;
}

/* Флажки */
.countryLogo {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Стрелка */
.arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.language-selector.active .arrow {
    transform: rotate(180deg);
}

/* Текст */
.nameFlag {
    font-size: 14px;
    font-weight: 500;
}

.language-selector {
    position: absolute;
    top: 25px;
    right: 25px;
}

.bold {
    font-weight: bold;
}

.modal {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.01);
    left: 26.7%;
    top: 20%;
    width: 818px;
    height: 650px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    max-height: 80vh;
    overflow-y: auto;
    line-height: 25px;
    padding: 40px;


    /* Для Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.4) transparent;
}





/* Для Chrome, Edge, Safari */
.modal::-webkit-scrollbar {
    width: 8px;              /* толщина скролла */
}

.modal::-webkit-scrollbar-track {
    background: transparent; /* убираем белый фон дорожки */
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3); /* цвет «ползунка» */
    border-radius: 10px;
}


.title__modal {
    text-align: center;
}


.note {
    margin-top: 25px;
    margin-bottom: 10px;
}


.screen {
    margin-top: 25px;
}

.modal-overlay-faq {
    display: none;
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* затемнение */
    backdrop-filter: blur(8px);     /* 🔥 блюр заднего фона */
    z-index: 1000;
}

.modal-overlay-faq.open {
    display: block;
}

.modal-overlay.open {
    display: block;
}


.modal-overlay-faqEn {
    display: none;
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* затемнение */
    backdrop-filter: blur(8px);     /* 🔥 блюр заднего фона */
    z-index: 1000;
}

.modal-overlay-faqEn.open {
    display: block;
}

.green {
    color: green;
}

.red {
    color:red;
}

.modal__download {
    position: absolute;
    display: flex;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    left: 36.3%;
    top: 360px;
    width: 520px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 40px rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.modal-overlay {
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    display: none;
    /* по умолчанию скрыто */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* затемнение */
    backdrop-filter: blur(8px);     /* 🔥 блюр заднего фона */
    z-index: 1000;
}

.download__button {
    cursor: pointer;
    border: none;
    padding: 20px;
    border-radius: 20px;
    font-size: 25px;
    transition: all 0.2s;
    width: 180px;
    background-color: #fff;
    color: #000000;
    font-weight: bold;
    text-align: center;
}



.download__button:hover {
    transform: scale(1.05);
}

.modal__download__container {
    margin-top: 50px;
    margin-left: 15px;
}

.reset__left {
    margin-left: auto;
    margin-right: 25px;
}




.download__button-text {

}







/* ========================= TEST ========================= */

/* ========================= АНИМАЦИИ ДЛЯ СЕКЦИЙ ========================= */

/* Контейнер для анимированных секций */
.tab-container {
    position: relative;
    min-height: 600px; /* минимальная высота для плавности */
}

/* Базовые стили для всех секций */
.pricing-wrapper,
.faq,
.contact {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition:
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;

    !* Firefox оптимизации *!
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;*/



   /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    display: none; !* ← вместо visibility: hidden *!
    transform: translateY(30px);
    transition:
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;*/




    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Активная секция */
.pricing-wrapper.active,
.faq.active,
.contact.active {
    /*position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 2;*/

    /*position: relative;
    opacity: 1;
    display: block; !* ← вместо visibility: visible *!
    transform: translateY(0);
    pointer-events: all;*/


    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}


/* Для Firefox - дополнительный слой защиты */

/*@-moz-document url-prefix() {
    .pricing-wrapper,
    .faq,
    .contact {
        display: none;
    }

    .pricing-wrapper.active,
    .faq.active,
    .contact.active {
        display: block;
    }
}*/



/* Анимация входа (появление) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация выхода (исчезновение) */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Классы для анимации */
.section-enter {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-exit {
    animation: fadeOutDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Для заголовков секций */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fff, transparent);
    transition: width 0.8s ease;
}

.active .section-title::after {
    width: 100%;
}

/* Анимация для карточек внутри секций */
.card {
    opacity: 0;
    transform: translateY(20px) scale(1);
    transition: all 0.5s ease;
}


.card:hover {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 0 60px rgba(255,255,255,0.1);
    z-index: 10;
}

.active .card {
    opacity: 1;
}

/* Задержка для карточек в списке */
.card__list .card:nth-child(1) { transition-delay: 0.1s; }
.card__list .card:nth-child(2) { transition-delay: 0.2s; }
.card__list .card:nth-child(3) { transition-delay: 0.3s; }

/* Обновленные стили для none (добавить к существующим) */
.none {
    display: none !important;
    /* Убрать старый display: none */
}

/* Убрать старый .none и заменить на: */
/* .none { display: none; } ← ЗАКОММЕНТИРОВАТЬ ИЛИ УДАЛИТЬ */







/* ========================= RESPONSIVE ========================= */

@media (max-width: 900px) {
    h1 {
        font-size: 80px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 50px;
    }
}
