/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tektur', sans-serif;
    line-height: 1.8;
    background: #000000; /* Чёрный фон */
    color: #ffffff; /* Белый текст */
    font-size: 16px; /* Уменьшенный размер текста */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Анимация фона */
.bg {
    animation: slide 18s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #1a1a1a 50%, #2d2d2d 50%);
    bottom: 0;
    left: -50%;
    opacity: 0.5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
}

.bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 24s;
}

.bg3 {
    animation-duration: 15s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(25%);
    }
}

/* Шапка */
header {
    background: transparent; /* Прозрачный фон */
    padding: 20px 0;
    width: 100%;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
  font-size: 26px;
  font-weight: 700;
}
.brand-logo span {
    color: #ff6900;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}

.main-nav a.cta-button {
    color: #fff;
    background: #ff6900;
    padding: 10px 20px;
    border-radius: 5px;
}


/* Стили для гамбургера и крестика */
.menu-toggle {
    display: none; /* Скрываем по умолчанию */
    align-items: center;
    position: relative; /* Для позиционирования крестика */
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Крестик поверх других элементов */
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff; /* Белый цвет для гамбургера */
    transition: all 0.3s ease;
}

.close-btn {
    display: none; /* Скрываем крестик по умолчанию */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #ffffff; /* Белый цвет для крестика */
    width: 25px; /* Размер как у гамбургера */
    height: 25px; /* Размер как у гамбургера */
    position: absolute; /* Позиционируем крестик */
    top: 0;
    right: 0;
    z-index: 1001; /* Крестик поверх других элементов */
}



/* Адаптивность для мобильной версии */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Показываем гамбургер и крестик в мобильной версии */
    }

    .main-nav {
        display: none; /* Скрываем меню по умолчанию */
        position: fixed;
        top: 0; /* Начинается от верхнего края */
        left: 0;
        right: 0;
        bottom: auto; /* Нижняя граница как есть */
        background: #121212; /* Чёрный фон без прозрачности */
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 45px;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* Тень для выделения */
        border-bottom-left-radius: 12px; /* Закругление нижнего левого угла */
        border-bottom-right-radius: 12px; /* Закругление нижнего правого угла */
    }

    .main-nav.active {
        display: flex; /* Показываем меню при активации */
    }

    .main-nav ul {
        flex-direction: column; /* Элементы меню сверху вниз */
        gap: 20px;
    }

    /* Когда меню открыто */
    .main-nav.active ~ .menu-toggle .hamburger-btn {
        display: none; /* Скрываем гамбургер */
    }

    .main-nav.active ~ .menu-toggle .close-btn {
        display: flex; /* Показываем крестик */
        align-items: center;
        justify-content: center;
    }
}
/* Кнопки */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1em;
    color: #fff;
    border: 2px solid #ff6900;
}

.cta-button:hover {
    background: #ff6900; /* Светло-серый при наведении */
    border-color: #cccccc;
}

/* Блоки */
.dark-box {
    background: rgba(17, 17, 17, 0.8); /* Полупрозрачный тёмный фон */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* Белая тень */
    padding: 40px;
    margin: 40px auto;
    width: 100%;
    max-width: 1200px;
}

/* Адаптивность для блоков */
@media (max-width: 768px) {
    .dark-box {
      width: calc(100% - 20px); /* 100% ширины минус отступы */
     max-width: 100%; /* Чтобы не выходило за границы */
     margin: 20px 10px;
     padding: 20px;
     box-sizing: border-box; /* Учитываем padding в ширине */
    }
}

.intro-section span {
color: #ff6900;
}

.intro-section h1 {
    font-size: 2em; /* Уменьшенный размер заголовка */
    margin-bottom: 20px; /* Отступ снизу */
    text-align: center; /* Центрирование */
}

.intro-section p {
    font-size: 1em; /* Размер текста */
    margin-bottom: 30px; /* Отступ снизу */
    text-align: center; /* Центрирование */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Блок с иконками */
.features-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.feature-item {
    flex: 1;
    text-align: center;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ff6900;
}

.feature-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9em;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        gap: 40px;
    }
}


.image-text-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.image-text-section img {
    width: 50%;
    border-radius: 12px;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-content h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 0.9em;
    margin-bottom: 30px;
}

.text-content .cta-button {
    align-self: center;
}


@media (max-width: 768px) {
    .image-text-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .image-text-section img {
        width: 100%;
        order: 2;
    }

    .text-content {
        order: 1;
    }
}


.faq-item {
    background: linear-gradient(-60deg, #1a1a1a, #2d2d2d);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2em;
    margin: 0;
}

.faq-question .icon {
    font-size: 1.2em;
    color: #ff6900; /* Белая стрелка */
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(180deg); /* Поворот стрелки */
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 0.9em; /* Уменьшенный размер текста */
    margin: 0;
    padding: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Раскрытие ответа */
    padding: 0 20px 15px;
}

/* Футер */
footer {
    background: transparent; /* Прозрачный фон */
    padding: 20px 0;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
