/* Базовые настройки */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #1a1a1a; 
    color: #ffffff;
    overflow-x: hidden;
}

/* --- ШАПКА (HEADER) - СТИЛЬ КАПСУЛЫ --- */
header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    z-index: 1000;
    padding: 12px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

/* ЛОГОТИП */
.logo-link {
    text-decoration: none;
    color: #ffffff;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

#logo-img {
    height: 35px;
    margin-right: 12px;
}

.logo-red {
    color: #ff3333;
}

/* НАВИГАЦИЯ (МЕНЮ) - ЦЕНТРИРОВАНИЕ */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Возвращаем меню в горизонтальную линию и убираем точки */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Сделали шрифт жирнее */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block; /* Нужно для правильной анимации вылета */
}

/* ИГРОВОЙ ЭФФЕКТ ПРИ НАВЕДЕНИИ НА СЛОВА */
.main-nav a:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.05); /* Вылет вверх и легкое увеличение */
    text-shadow: 2px 2px 0px #ff3333; /* Жесткая красная тень */
}

/* ПРАВЫЙ БЛОК (Кнопка и язык) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* КНОПКА В ХЕДЕРЕ */
.btn-header-bw {
    background-color: transparent;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Сделали шрифт жирнее */
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

/* ИГРОВОЙ ЭФФЕКТ ПРИ НАВЕДЕНИИ НА КНОПКУ */
.btn-header-bw:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ff3333;
    transform: translateY(-3px) scale(1.05); /* Вылет */
    text-shadow: 2px 2px 0px #ff3333; /* Жесткая тень текста */
    box-shadow: 3px 3px 0px #ff3333; /* Жесткая тень самой кнопки */
}

/* ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА */
.lang-switch-bw {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-switch-bw:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-lang img, .lang-dropdown-bw img {
    width: 20px;
    height: auto;
    border-radius: 3px;
    display: block;
}

.current-lang i {
    font-size: 12px;
    color: #ffffff;
    transition: 0.3s;
}

.lang-switch-bw:hover .current-lang i {
    transform: rotate(180deg);
}

.lang-dropdown-bw {
    position: absolute;
    top: 140%; 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lang-switch-bw:hover .lang-dropdown-bw {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown-bw a {
    display: block;
    transition: 0.3s;
}

.lang-dropdown-bw a:hover {
    transform: scale(1.15); 
}

/* --- ПЕРВЫЙ ЭКРАН (HERO) --- */
.hero {
    height: 100vh; /* Возвращаем высоту на весь экран */
    position: relative; /* Чтобы статистика и оверлей не улетали */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/hero-bg.jpg'); /* Возвращаем грузовики! */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Эффект параллакса для грузовиков */
    background-color: #080808; 
    z-index: 10; /* Держим первый экран строго поверх 3D-кубов */
    overflow: hidden; 
    font-family: 'Montserrat', sans-serif !important;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* МАГІЯ ТУТ: Останній колір #0d0d0d ідеально зшиває 1 і 2 блоки */
    background: linear-gradient(to bottom, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.7) 65%, #0d0d0d 100%);
    z-index: 1;
}

/* --- СТИЛИ КНОПОК ПЕРВОГО ЭКРАНА (ПО ЦЕНТРУ) --- */
.hero-action {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Чтобы на телефонах переносились красиво */
}

/* Настройки для круглых кнопок-иконок */
.btn-cyber-social {
    background-color: #000; 
    color: #fff; 
    border: 2px solid #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
    width: 60px; /* Сделали их чуть крупнее для центра экрана */
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */
.btn-cyber-social:hover {
    background-color: transparent; 
    color: #ff3333; 
    border-color: #ff3333; 
    transform: translate(-6px, -6px); /* Кибер-сдвиг */
    box-shadow: 6px 6px 0px #ff3333; /* Жесткая тень */
}

/* --- КОНТЕНТ ПО ЦЕНТРУ --- */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-welcome {
    font-size: 20px;
    font-weight: 500;
    color: #cccccc;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0; 
}

/* --- ГЛАВНЫЙ ЗАГОЛОВОК NEOCRIME --- */
.hero-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 110px; 
    font-weight: 900; 
    color: #ffffff; 
    margin: 0;
    line-height: 1;
    letter-spacing: 8px; 
    text-shadow: 4px 4px 0px #ff3333; /* Жесткая красная тень */
}

.hero-slogan {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 19px;
    font-weight: 400; 
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 45px;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0; 
}

/* --- АНИМАЦИЯ ВЫЛЕТАЮЩИХ СИМВОЛОВ --- */
.char-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: textRise 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.char-space {
    display: inline-block;
    width: 0.35em;
}

@keyframes textRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ --- */
@media (max-width: 992px) {
    .hero-title { font-size: 55px; letter-spacing: 3px; }
    .hero-slogan { font-size: 12px; letter-spacing: 2px; }
    
    .btn-cyber-social {
        width: 50px; /* На телефонах возвращаем компактный размер */
        height: 50px;
        font-size: 20px;
    }
}

/* --- СТАТИСТИКА ВНИЗУ (DYNAMIC ISLAND СТИЛЬ) --- */
.hero-stats-wrapper {
    position: absolute;
    bottom: 40px; /* Отступ от низа, чтобы плавало */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.hero-stats-island {
    background: rgba(10, 10, 10, 0.95); /* Строгий черный */
    backdrop-filter: blur(15px); /* Легкое размытие заднего фона */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Чуть заметная грань для объема */
    border-radius: 50px; /* Форма капсулы */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; 
    padding: 15px 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9); /* Мощная тень вниз */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number-wrapper {
    font-size: 32px; /* Чуть компактнее для элегантности */
    font-weight: 900;
    color: #ffffff; /* Полностью белый */
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-plus {
    color: #ffffff; /* Никакого красного */
    margin-left: 5px;
}

/* Элегантная серая линия между двумя блоками статистики */
.stat-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15); 
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #888888; /* Строгий серый цвет */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Адаптация плашки под мобильные устройства */
@media (max-width: 768px) {
    .hero-stats-island {
        flex-direction: column;
        gap: 15px;
        padding: 20px 40px;
        border-radius: 30px;
    }
    .stat-divider {
        width: 80%;
        height: 1px;
    }
}

/* --- БЛОК ПЕРЕВАГ (FEATURES) --- */
.features-section {
    padding: 100px 0 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Обгортка для того, щоб не ламалася анімація появи (AOS) */
.feature-wrapper {
    display: flex;
    height: 100%;
}

.feature-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    
    /* Дуже красива і плавна анімація "з пружинкою" */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; 
}

/* --- ЕФЕКТ ПРИ НАВЕДЕННІ НА ОБГОРТКУ --- */
.feature-wrapper:hover .feature-card {
    /* Картка цілком їде на 8px вліво і 8px вгору */
    transform: translate(-8px, -8px); 
    
    /* Розсіяна напівпрозора червона тінь */
    box-shadow: 12px 12px 18px rgba(255, 51, 51, 0.4); 
}

.feature-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Легкий зум фотографії при наведенні */
.feature-wrapper:hover .feature-img img {
    transform: scale(1.05);
}

.feature-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-number {
    color: #ff3333;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.feature-title {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.feature-text {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Адаптація під планшети та телефони */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ГЛАВНЫЙ ФОН САЙТА --- */
body {
    background-color: #080808; 
    color: #ffffff;
    overflow-x: hidden;
}

/* --- ОБЕРТКА --- */
.cyber-wrapper {
    position: relative;
    z-index: 2;
}

/* Удаляем старый #bg, он больше не нужен */

/* --- ЧЕРЕДОВАНИЕ ФОНОВ ДЛЯ БЛОКОВ --- */
/* Темно-серый (Блоки 2, 4, 6...) */
.team-section,
.partners-section,
.about-section,
.ats-section,
.gallery-section {
    background-color: #0d0d0d; 
}

/* Темно-серый, но чуть светлее (Блоки 3, 5, 7...) */
.news-section,
.features-section,
.crimeadmin-section,
.faq-section {
    background-color: #141414; 
}

/* Добавляем внутренние отступы секциям, чтобы текст не прилипал к краям фона */
.team-section, .news-section, .partners-section, 
.features-section, .about-section, .crimeadmin-section, 
.ats-section, .faq-section, .gallery-section {
    padding: 100px 0;
}

/* --- КОНТЕЙНЕРЫ КОНТЕНТА --- */
.container {
    max-width: 1300px; 
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* Выше лазеров */
}

/* --- СЕКЦИИ --- */
.team-section, .about-section {
    padding: 100px 0;
    position: relative;
}

/* --- ЗАГОЛОВКИ --- */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff3333;
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.6);
}

/* --- КАРТОЧКИ КОМАНДЫ --- */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Нова обгортка, як у feature-wrapper */
.team-wrapper {
    display: flex;
    height: 100%;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: #1e1e1e; 
    border: none;
    border-radius: 10px; 
    padding: 40px 20px;
    width: 280px;
    text-align: center;
    position: relative;
    z-index: 1; 
    
    /* Точно така ж анімація, як у feature-card */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* ЕФЕКТ ПРИ НАВЕДЕННІ НА ОБГОРТКУ (аналог feature-wrapper:hover .feature-card) */
.team-wrapper:hover .team-card {
    transform: translate(-8px, -8px);
    box-shadow: 12px 12px 18px rgba(255, 51, 51, 0.4);
    z-index: 10; 
}

/* Обгортка аватару */
.team-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
    position: relative;
}

/* Червоне неонове кільце (рамка) */
.team-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 3px solid #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4);
    z-index: 1;
}

.team-img-wrapper img {
    position: relative;
    z-index: 2; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-in-out;
}

/* Аватар вилітає з рамки і провертається при наведенні на обгортку */
.team-wrapper:hover .team-img-wrapper img {
    transform: scale(1.3) rotate(15deg); 
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.7); 
}

.team-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.team-wrapper:hover h3 {
    color: #ff3333; 
}

.team-card .role {
    font-size: 13px;
    color: #b3b3b3; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .team-grid {
        flex-wrap: wrap;
    }
}

/* --- БЛОК ПРО НАС (ОНОВЛЕНИЙ) --- */
.about-container-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-left {
    flex: 1;
    max-width: 600px;
}

.about-left h2.section-title {
    text-align: left;
}

.about-left h2.section-title::after {
    margin: 15px 0 0 0;
}

.about-text-content p {
    text-align: justify; 
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- ВАНТАЖІВКА (СТАТИЧНА ПІСЛЯ ВИЛЬОТУ) --- */
.truck-parallax {
    width: 100%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.5));
}

@media (max-width: 992px) {
    .about-container-new {
        flex-direction: column;
        text-align: center;
    }
    .about-left {
        max-width: 100%;
    }
    .about-left h2.section-title {
        text-align: center;
    }
    .about-left h2.section-title::after {
        margin: 15px auto 0;
    }
    .about-text-content p {
        text-align: center;
    }
    
    .truck-parallax:hover {
        transform: translate(0, 0);
    }

}

/* --- БЛОК БОТА CrimeADMIN --- */
.crimeadmin-section {
    padding: 50px 0 100px; /* Відступи секції */
    overflow: hidden; /* Щоб збільшене фото не робило горизонтальний скролл */
}

.crimeadmin-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Відстань між фото і текстом */
}

/* Ліва колонка (Фото) */
.crimeadmin-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- СТАТИЧНЕ ФОТО БОТА CrimeADMIN --- */
.bot-img-static {
    width: 100%;
    max-width: 475px; 
    height: auto;
    transform: translateX(-30px);
    filter: drop-shadow(-5px 10px 20px rgba(0, 0, 0, 0.6));
}

/* Права колонка (Текст) */
.crimeadmin-right {
    flex: 1;
    max-width: 600px;
}

/* Заголовок притискаємо вправо */
.crimeadmin-right h2.section-title {
    text-align: right;
}

/* Лінію під заголовком теж притискаємо вправо */
.crimeadmin-right h2.section-title::after {
    margin: 15px 0 0 auto;
}

/* Текст вирівнюємо в лінійку (по ширині) */
.crimeadmin-text-content p {
    text-align: justify; 
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Адаптація для телефонів та планшетів */
@media (max-width: 992px) {
    .crimeadmin-container {
        /* На мобільних міняємо порядок: спочатку текст, потім фото */
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    
    .bot-img-static {
        /* На мобільних прибираємо початковий зсув вліво */
        transform: translateX(0);
        max-width: 90%; /* Робимо компактнішим на телефоні */
    }
    
    .bot-img-static:hover {
        /* На мобільних прибираємо рух при наведенні, залишаємо тільки тінь */
        transform: translateX(0) translateY(0);
    }

    .crimeadmin-right {
        max-width: 100%;
    }
    
    .crimeadmin-right h2.section-title {
        text-align: center;
    }
    
    .crimeadmin-right h2.section-title::after {
        margin: 15px auto 0;
    }
    
    .crimeadmin-text-content p {
        text-align: center;
    }
}

/* --- БЛОК ATS (АНАЛОГ CrimeROUTE) --- */
.ats-section {
    padding: 50px 0 100px;
    overflow: hidden;
}

.ats-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Ліва колонка (Текст) */
.ats-left {
    flex: 1;
    max-width: 600px;
}

.ats-left h2.section-title {
    text-align: left;
}

.ats-left h2.section-title::after {
    margin: 15px 0 0 0;
}

.ats-text-content p {
    text-align: justify; 
    font-size: 16px;
    line-height: 1.8;
    color: #eeeeee;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Права колонка (Фото) */
.ats-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- СТАТИЧНЕ ФОТО ATS --- */
.ats-img-static {
    width: 850px; 
    max-width: none; 
    flex-shrink: 0; 
    height: auto;
    transform: translateX(80px); 
    filter: drop-shadow(5px 10px 20px rgba(0, 0, 0, 0.6));
}
/* Блок .ats-img-static:hover ПОВНІСТЮ ВИДАЛИ */

/* Адаптація для телефонів */
@media (max-width: 992px) {
    .ats-container {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }
    
    .ats-left {
        max-width: 100%;
    }
    .ats-left h2.section-title {
        text-align: center;
    }
    .ats-left h2.section-title::after {
        margin: 15px auto 0;
    }
    .ats-text-content p {
        text-align: center;
    }

    .ats-img-static {
        width: 100%; 
        max-width: 90%;
        transform: translateX(0);
    }
    
    .ats-img-static:hover {
        transform: translateX(0) translateY(0);
    }
}

/* --- БЛОК ПАРТНЕРИ --- */
.partners-section {
    padding: 100px 0;
    position: relative;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-card {
    display: block;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    width: 200px;
}

.partner-card:hover {
    transform: translateY(-10px);
}

.partner-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 25px; /* Скругленный квадрат, как на твоем скриншоте */
    overflow: hidden;
    background-color: #111111; /* Темный фон на случай прозрачного логотипа */
    border: 2px solid #222222;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы логотип красиво заполнял квадрат */
    transition: transform 0.5s ease;
}

/* Эффекты при наведении */
.partner-card:hover .partner-img-wrapper {
    border-color: #ff3333;
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.4);
}

.partner-card:hover .partner-img-wrapper img {
    transform: scale(1.1); /* Легкое увеличение логотипа */
}

.partner-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); /* Тень для читаемости поверх лазеров */
}

.partner-card:hover h3 {
    color: #ff3333;
}

/* --- КНОПКА "ПОДАТИ ЗАЯВКУ" (В СТИЛЕ ХЕДЕРА) --- */
.btn-primary {
    background-color: transparent;
    color: #ffffff;
    padding: 15px 35px; /* Слегка крупнее, чем в шапке */
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Светлая рамка */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    margin-top: 10px;
}

/* ИГРОВОЙ ЭФФЕКТ ПРИ НАВЕДЕНИИ */
.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ff3333;
    transform: translateY(-3px) scale(1.05); /* Вылет */
    text-shadow: 2px 2px 0px #ff3333; /* Жесткая тень текста */
    box-shadow: 4px 4px 0px #ff3333; /* Жесткая тень кнопки */
}

/* --- БЛОК FAQ --- */
.faq-section {
    padding: 100px 0;
    position: relative;
}

.faq-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

/* Ліва колонка */
.faq-left {
    flex: 1;
    max-width: 500px;
}

.faq-left h2 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.faq-left p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 35px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* Права колонка (Акордеон) */
.faq-right {
    flex: 1;
    width: 100%;
}

.accordion-item {
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid #222222;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.accordion-item.active {
    border-color: #ff3333;
    box-shadow: 0 5px 25px rgba(255, 51, 51, 0.2);
    background: rgba(17, 17, 17, 0.9);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.accordion-header:hover {
    color: #ff3333;
}

.accordion-header i {
    transition: transform 0.4s ease;
    color: #ff3333;
}

/* Переворот стрілочки при відкритті */
.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* Схований текст відповіді */
.accordion-content {
    max-height: 0; /* Висота 0 за замовчуванням */
    overflow: hidden;
    transition: max-height 0.4s ease; /* Плавне розкриття */
}

.accordion-content p {
    padding: 0 25px 20px 25px;
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Адаптація для телефонів та планшетів */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
    }
    .faq-left {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    .faq-left h2 {
        font-size: 42px;
    }
}

/* --- БЛОК ГАЛЕРЕЯ --- */
.gallery-section {
    padding: 100px 0;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #ff3333;
    box-shadow: 0 10px 25px rgba(255, 51, 51, 0.4);
    z-index: 2;
    position: relative;
}

/* --- LIGHTBOX (Повноекранний перегляд) - ОНОВЛЕНО --- */
.lightbox {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* НОВЕ: Початковий стан - приховано, але готово до анімації */
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Щоб не перекривало кліки, коли невидиме */
    transition: all 0.4s ease-in-out; /* Плавна поява/зникнення фону */
}

/* Клас active робить його видимим */
.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    /* НОВЕ: Зменшений розмір (було 85%) */
    max-width: 75%;
    max-height: 75vh;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 51, 51, 0.4);
    border: 2px solid #ff3333;
    object-fit: contain;
    
    /* НОВЕ: Базовий стан для анімації відкриття/закриття */
    transform: scale(0.9); /* Трохи зменшене */
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

/* Коли lightbox активний, картинка стає нормальною */
.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

/* НОВЕ: Клас для плавного перемикання між фото */
.lightbox-content.switching {
    opacity: 0 !important;
    transform: scale(0.95) !important;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ff3333;
    text-shadow: 0 0 10px #ff3333;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.8);
    color: #fff;
    border: 1px solid #ff3333;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: #ff3333;
    box-shadow: 0 0 20px #ff3333;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

@media (max-width: 768px) {
    .lightbox-content { max-width: 90%; max-height: 60vh; }
    .lightbox-prev { left: 10px; width: 45px; height: 45px; font-size: 18px; }
    .lightbox-next { right: 10px; width: 45px; height: 45px; font-size: 18px; }
    .gallery-item { height: 150px; }
}

/* --- ФУТЕР (ПІДВАЛ САЙТУ) --- */
.site-footer {
    background-color: #080808; /* Глибокий темний фон, трохи темніший за основний сайт */
    padding: 70px 0 20px;
    border-top: 2px solid #222;
    position: relative;
    z-index: 10; /* Щоб футер точно був поверх усього */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* 1 колонка: Лого і текст */
.about-col .logo {
    margin-bottom: 15px;
}

.about-col p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 4 картинки соцмереж */
.social-img-links {
    display: flex;
    gap: 15px;
}

.social-img-links a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 8px; /* Легке заокруглення квадратів */
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    background-color: #111;
}

.social-img-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Щоб картинка не обрізалась */
    padding: 5px; /* Невеликий відступ всередині кнопки */
    transition: all 0.3s ease;
}

.social-img-links a:hover {
    border-color: #ff3333;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

/* Заголовки колонок */
.footer-col h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
}

/* Червона рисочка під заголовками (як у референсі, але червона) */
.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ff3333;
    margin-top: 10px;
}

/* Списки посилань */
.nav-col ul, .contact-col ul {
    list-style: none;
}

.nav-col li, .contact-col li {
    margin-bottom: 15px;
}

.nav-col a, .contact-col a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Стрілочки для навігації */
.nav-col a::before {
    content: '\f054'; /* Іконка стрілочки з FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ff3333;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-col a:hover, .contact-col a:hover {
    color: #ff3333;
}

.nav-col a:hover::before {
    transform: translateX(3px); /* Стрілочка їде вправо при наведенні */
}

/* Іконки для контактів */
.contact-col i {
    color: #ff3333;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Копірайт внизу */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    color: #555;
    font-size: 13px;
}

/* Адаптація під мобільні */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* Стилі для юридичних сторінок (Privacy/Terms) */
.legal-page {
    background-color: #1a1a1a;
}

.legal-section {
    padding: 150px 0 100px;
}

.last-updated {
    text-align: center;
    color: #ff3333;
    font-size: 16px;
    font-weight: 800; /* Жирний шрифт */
    margin-top: 10px;
    margin-bottom: 25px; /* Відступ вниз до самої плашки */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.4); /* Легке неонове світіння */
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.5);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
    line-height: 1.8;
}

.legal-content h3 {
    color: #ff3333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.legal-content p, .legal-content li {
    color: #ccc;
    font-size: 16px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.contact-list i {
    color: #ff3333;
    margin-right: 10px;
}

.contact-list a {
    color: #fff;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;

}

/* --- АДАПТАЦІЯ ХЕДЕРА --- */
.mobile-menu-btn {
    display: none; /* Ховаємо кнопку на комп'ютерах */
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001; /* Щоб кнопка завжди була поверх меню */
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 992px) {
    header {
        width: 90%;
        padding: 10px 20px;
        border-radius: 30px;
    }

    /* ДОБАВЬ ЭТОТ БЛОК, чтобы на телефоне меню вернулось в шторку */
    .main-nav {
        position: static; 
        transform: none;
    }

    .mobile-menu-btn {
        display: block; 
    }

    .header-content {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 260px;
        height: 100vh;
        background: rgba(12, 12, 12, 0.98); /* Черный фон */
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1); /* Серая полоска вместо красной */
        z-index: 1000;
        padding: 50px 20px;
        border-radius: 30px 0 0 30px; /* Скругление шторки слева */
    }

    .header-content.active {
        right: 0; 
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        margin-bottom: 40px;
    }

    .header-actions {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .btn-header-bw {
        text-align: center;
        width: 100%; 
    }
}

/* --- СЕКЦІЯ НОВИН --- */
.news-section {
    padding: 100px 0 50px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Нова обгортка, як у feature-wrapper */
.news-wrapper {
    display: flex;
    height: 100%;
}

.news-card {
    background-color: #1e1e1e; 
    border: none; 
    border-radius: 10px; 
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    
    /* Точно така ж анімація, як у feature-card */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* ЕФЕКТ ПРИ НАВЕДЕННІ НА ОБГОРТКУ (аналог feature-wrapper:hover .feature-card) */
.news-wrapper:hover .news-card {
    transform: translate(-8px, -8px); 
    box-shadow: 12px 12px 18px rgba(255, 51, 51, 0.4);
}

.news-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-wrapper:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}

.news-date {
    color: #ff3333;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-weight: 700;
}

.news-author {
    color: #b3b3b3; /* Зробили світлішим, щоб гармоніювало з фоном */
    font-size: 13px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #ff3333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card:hover .read-more {
    color: #ffffff;
}

.news-card:hover .read-more i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* --- МОДАЛЬНЕ ВІКНО НОВИН (ВІДКРИТА НОВИНА) --- */
.news-modal-content {
    background-color: #1e1e1e; /* Такий самий суворий фон */
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    border-radius: 10px; /* Суворі кути */
    border: none; /* Прибрали червону обводку */
    
    /* Додали глибоку 3D-тінь, щоб вікно красиво "висіло" над сайтом */
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 51, 51, 0.2);
    
    overflow-y: auto;
    position: relative;
}

.news-modal-content img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-bottom: 3px solid #ff3333; /* Залишили червону лінію для акценту */
}

.news-modal-text {
    padding: 40px;
    color: #cccccc;
    font-size: 16px;
    line-height: 1.8;
}

.news-modal-text h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: uppercase; /* Робить заголовок більш суворим */
}

.news-modal-text .news-date {
    color: #ff3333;
    display: flex;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 700;
}

.news-modal-text p {
    margin-bottom: 15px;
}

.news-modal-text blockquote {
    background: #111111; /* Ще темніший фон для цитат */
    border-left: 4px solid #ff3333;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #fff;
    font-size: 18px;
    border-radius: 0 10px 10px 0;
}

/* Кастомний скроллбар для попапа новин */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: #111111;
    border-radius: 0 10px 10px 0;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: #ff3333;
    border-radius: 4px;
}

/* --- КНОПКА "ВСІ НОВИНИ" --- */
.btn-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ff3333; /* Фірмовий червоний контур */
    border-radius: 30px; /* Капсульна форма під стиль сайту */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-news i {
    transition: transform 0.3s ease;
}

/* Ефект при наведенні: заливка, виліт вгору та рух стрілочки */
.btn-news:hover {
    background-color: #ff3333;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 51, 51, 0.4);
    transform: translateY(-4px);
}

.btn-news:hover i {
    transform: translateX(6px);
}

/* Адаптація для телефонів (щоб кнопка красиво ставала під заголовком) */
@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- ОНОВЛЕНІ СТИЛІ СПЕЦІАЛЬНО ДЛЯ СТОРІНКИ БОТА --- */
    
    .bot-hero {
        height: 100vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрування контенту по горизонталі */
        justify-content: center; /* Центрування контенту по вертикалі */
        text-align: center; /* Центрування тексту */
        
        /* ВСТАВ СИЛКУ НА ФОНОВУ КАРТИНКУ В URL() НИЖЧЕ */
        background-image: url('https://i.ibb.co/PvqqwwJ8/5ets2-20260329-204713-00.png'); 
        
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* Ефект параллакса */
        background-color: #080808; 
        z-index: 10;
        overflow: hidden;
        font-family: 'Montserrat', sans-serif !important;
    }

    .bot-hero-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        /* Градієнт для плавного переходу в чорний фон сайту */
        background: linear-gradient(to bottom, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.7) 65%, #080808 100%);
        z-index: 1;
    }

    .bot-hero-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column; /* Вертикальне розташування */
        align-items: center; /* Центрування */
        gap: 30px; /* Відстань між елементами */
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
        margin-top: -50px; /* Легкий підйом контенту вгору */
    }

    /* Величезний логотип по центру */
    .bot-logo-centered {
        width: 280px; /* Збільшений розмір */
        height: auto;
        filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.7)); /* Тільки легка чорна тінь */
        margin-bottom: 20px;
    }

    /* Текстова група по центру */
    .bot-text-group-centered {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрування */
        text-align: center;
    }

    /* Заголовок CrimeADMIN */
    .bot-name {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 85px;
        font-weight: 700; /* Напівжирний/Жирний */
        color: #ffffff;
        margin: 0;
        line-height: 1;
        letter-spacing: 2px;
        text-shadow: 4px 4px 0px #ff3333; /* Жесткая красная тень */
    }

    /* Підзаголовок */
    .bot-subtitle {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 26px;
        font-weight: 300; /* Тонкий */
        color: #cccccc;
        margin-top: 15px;
        margin-bottom: 50px; /* Відступ до кнопки */
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    /* --- ОНОВЛЕНИЙ ВЕЛИКИЙ ДИНАМІЧНИЙ ОСТРІВ --- */
    /* Скасовуємо AOS та змушуємо з'являтися відразу */
    .bot-legal-wrapper-immediate {
        position: absolute;
        bottom: 50px; /* Відступ від низу, щоб плавало */
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 10;
        opacity: 1 !important; /* Гарантована видимість */
        visibility: visible !important; /* Гарантована видимість */
        transform: none !important; /* Скасування будь-яких зрушень */
    }

    .bot-legal-island-large {
        background: rgba(10, 10, 10, 0.95); /* Строгий черный */
        backdrop-filter: blur(15px); /* Легкое размытие заднего фона */
        border: 1px solid rgba(255, 255, 255, 0.08); /* Чуть заметная грань */
        border-radius: 50px; /* Форма капсулы */
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 35px; /* Більша відстань */
        padding: 20px 60px; /* Збільшений розмір острова */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9); /* Мощная тень вниз */
    }

    .bot-legal-island-large a {
        color: #888888 !important; /* Сірий колір лейблів */
        text-decoration: none;
        font-size: 15px !important; /* Збільшений розмір */
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: 1px !important;
        transition: all 0.3s ease;
    }

    .bot-legal-island-large a:hover {
        color: #ff3333 !important; /* Червоний колір при наведенні */
        text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    }

    /* Спеціальний червоний розділювач-крапка */
    .legal-divider-dot {
        width: 6px;
        height: 6px;
        background-color: #ff3333;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 51, 51, 0.7);
    }

    /* --- АДАПТАЦІЯ ДЛЯ ТЕЛЕФОНІВ --- */
    @media (max-width: 992px) {
        .bot-name { font-size: 50px; text-shadow: 2px 2px 0px #ff3333; }
        .bot-subtitle { font-size: 16px; margin-bottom: 35px; }
        .bot-logo-centered { width: 180px; }
        
        /* Мобільний Dynamic Island */
        .bot-legal-island-large {
            flex-direction: column !important;
            gap: 15px !important;
            padding: 20px 40px !important;
            border-radius: 30px !important;
            width: auto !important;
        }
        .legal-divider-dot { display: none; }
    }

    /* --- АНИМАЦИИ ДЛЯ СТРАНИЦЫ БОТА --- */

/* Контейнер для букв (чтобы они не схлопывались) */
.char-span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px); /* Начальная позиция чуть левее для эффекта волны */
    animation: waveRight 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Анимация волны слева направо */
@keyframes waveRight {
    0% {
        opacity: 0;
        transform: translateX(-30px) skewX(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
    }
}

/* Общий класс для появления элементов снизу вверх */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Задержки для последовательности (чтобы всё не вылетало одновременно) */
.bot-subtitle.fade-in-up {
    animation-delay: 0.8s; /* Появится после того, как "пробежит" волна заголовка */
}

.bot-text-group-centered .btn-primary.fade-in-up {
    animation-delay: 1s; /* Кнопка появляется последней */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для логотипа (мягкое масштабирование) */
.bot-logo-centered {
    opacity: 0;
    transform: scale(0.8);
    animation: logoScale 1s ease-out forwards;
}

@keyframes logoScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- СЕКЦІЯ ІНФОРМАЦІЇ ПРО БОТА --- */
.bot-info-section {
    background-color: #080808; /* Точне злиття з Hero-блоком */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bot-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Візуальна частина (Зображення/Карточка) */
.bot-info-visual {
    position: relative;
}

.bot-card-mockup {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.bot-card-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.mockup-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Текстова частина */
.section-title-left {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.section-title-left::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff3333;
    margin-top: 10px;
}

.bot-description {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Міні-фічі */
.features-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mini-feature {
    display: flex;
    gap: 20px;
}

.mini-feature i {
    font-size: 24px;
    color: #ff3333;
    margin-top: 5px;
}

.mini-feature h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.mini-feature p {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

.bot-cta-box {
    margin-top: 50px;
    padding: 20px;
    border-left: 3px solid #ff3333;
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
    color: #aaa;
}

.text-red { color: #ff3333; }

/* Адаптація */
@media (max-width: 992px) {
    .bot-info-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .section-title-left::after {
        margin: 10px auto;
    }
    .features-mini-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .bot-card-mockup {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- СЕКЦІЯ КОМАНД БОТА --- */
.bot-commands-section {
    background-color: #141414; /* Світліший сірий колір для чергування блоків */
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Легкий розділювач */
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.command-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Додаємо стиль для нової обгортки */
.command-wrapper {
    display: flex;
    height: 100%;
}

/* Ширина картки має заповнювати обгортку */
.command-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%; /* Додали це */
}

/* ТЕПЕР ПРАЦЮВАТИМЕ ІДЕАЛЬНО: при наведенні на обгортку, картка вилітає */
.command-wrapper:hover .command-card {
    transform: translate(-10px, -10px); 
    border-color: rgba(255, 51, 51, 0.6); 
    box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 51, 51, 0.2); 
    background: rgba(15, 15, 15, 0.95);
    z-index: 5; 
}

.cmd-icon {
    font-size: 35px;
    color: #ff3333;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.command-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cmd-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cmd-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #b3b3b3;
    line-height: 1.6;
}

.cmd-list li:last-child {
    margin-bottom: 0;
}

/* Стиль для самої команди (/work, /balance) */
.cmd-badge {
    background: #ff3333;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
    flex-shrink: 0; /* Щоб плашка не стискалася, якщо текст довгий */
    box-shadow: 0 2px 5px rgba(255, 51, 51, 0.3);
}

.cmd-desc {
    font-style: italic;
    color: #888888;
}

/* Адаптація під екрани */
@media (max-width: 1100px) {
    .commands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .commands-grid {
        grid-template-columns: 1fr;
    }
}

/* --- СЕКЦІЯ АВТОМАТИЗАЦІЇ --- */
.bot-automation-section {
    background-color: #080808; /* Повертаємося до нашого першого кольору */
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Ліста фіч */
.auto-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.auto-item {
    display: flex;
    gap: 20px;
    background: rgba(20, 20, 20, 0.4);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #ff3333;
    transition: all 0.3s ease;
}

.auto-item:hover {
    background: rgba(255, 51, 51, 0.05);
    transform: translateX(10px);
}

.auto-icon {
    font-size: 24px;
    color: #ff3333;
    padding-top: 2px;
}

.auto-info h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auto-info p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

/* --- КІБЕР ТЕРМІНАЛ --- */
.cyber-terminal {
    background: #0a0a0a;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 51, 51, 0.1);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    position: relative;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    font-size: 12px;
    color: #888;
    pointer-events: none;
}

.terminal-body {
    padding: 20px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    height: 350px;
    overflow-y: hidden;
}

.term-prompt {
    color: #ff3333;
    font-weight: bold;
}

.term-line { margin-bottom: 5px; }
.term-line.system { color: #888; font-style: italic; }
.term-line.success { color: #27c93f; }
.term-line.warning { color: #ffbd2e; }
.term-line.info { color: #00bfff; }
.term-line.action { color: #cccccc; }

/* Анімації для терміналу */
.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #fff;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.dots {
    display: inline-block;
    width: 20px;
    text-align: left;
    animation: loadingDots 2s infinite steps(4);
    overflow: hidden;
    vertical-align: bottom;
}

@keyframes loadingDots {
    0% { width: 0px; }
    100% { width: 20px; }
}

/* Адаптація */
@media (max-width: 992px) {
    .automation-grid {
        grid-template-columns: 1fr;
    }
    
    .cyber-terminal {
        margin-top: 30px;
    }
}

/* --- ИСПРАВЛЕНИЕ ЦВЕТОВ СЕКЦИЙ --- */

/* Темный блок (Автоматизация) */
.bot-automation-section {
    background-color: #080808; /* Глубокий черный */
}

/* Светло-серый блок (CrimeADMIN Jr. - блок с конвоями) */
.jr-bot-intro-section {
    background-color: #141414; /* Светло-серый, как в .news-section */
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Снова темный блок (TruckersHub API) */
.jr-thub-section {
    background-color: #080808; /* Возврат к черному */
}

.jr-thub-section {
    background-color: #080808; /* Основний темний фон сайту */
    padding: 100px 0;
    position: relative;
}

/* Контейнер для розподілу тексту і візуалу 50/50 */
.split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Для другого блоку міняємо місцями (візуал зліва, текст справа) */
.split-container.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
    max-width: 600px;
}

.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- ВИРІВНЮВАННЯ ДЛЯ ПРАВОГО БЛОКУ --- */
.right-align .section-title-left {
    text-align: right;
}

.right-align .section-title-left::after {
    margin: 15px 0 0 auto; /* Лінія підпису зсувається вправо */
}

.right-align .bot-description {
    text-align: right;
}

/* --- СТИЛЬ СПИСКІВ (Без фону і рамок) --- */
.cyber-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.cyber-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Якщо текст вирівняно по правому краю, міняємо порядок іконки і тексту */
.right-list .cyber-list-item {
    flex-direction: row-reverse;
    text-align: right;
}

.cyber-list-item i {
    font-size: 28px;
    margin-top: 5px;
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.4); /* Легке світіння іконок */
}

.cyber-list-item h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cyber-list-item p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- ВІЗУАЛІЗАЦІЯ ГОЛОГРАМИ --- */
.jr-hologram {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-icon {
    font-size: 140px;
    color: #ff3333; /* Сделали цвет полностью непрозрачным, чтобы силуэт был четким */
    
    /* Оставили только одно легкое свечение с прозрачностью 40% */
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.4); 
    
    animation: holoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Адаптация для мобильных остается такой же (если она у тебя прописана ниже) */
@media (max-width: 992px) {
    .holo-icon {
        font-size: 100px;
    }
}

/* Лінія сканування, що їздить вгору-вниз */
.holo-scanline {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px #ffffff, 0 0 30px #ff3333;
    z-index: 3;
    opacity: 0.7;
    animation: scanlineMove 2.5s linear infinite;
    border-radius: 50%;
}

/* Підставка-проєктор знизу */
.holo-base {
    position: absolute;
    bottom: 20px;
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(255, 51, 51, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

/* Анімація левітації іконки */
@keyframes holoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Анімація сканлайну */
@keyframes scanlineMove {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

/* --- АДАПТАЦІЯ ПІД МОБІЛЬНІ ПРИСТРОЇ --- */
@media (max-width: 992px) {
    .split-container, .split-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .right-align .section-title-left,
    .right-align .bot-description,
    .right-list .cyber-list-item {
        text-align: center;
    }

    .right-align .section-title-left::after {
        margin: 15px auto 0;
    }

    .cyber-list-item, .right-list .cyber-list-item {
        flex-direction: column;
        align-items: center;
    }

    .cyber-list-item i {
        margin-top: 0;
        margin-bottom: 15px;
    }
    
    .jr-hologram {
        width: 250px;
        height: 250px;
    }

    .holo-icon {
        font-size: 100px;
    }
}

/* --- СЕКЦІЯ TRUCKERSHUB (Фон) --- */
.jr-thub-section {
    background-color: #080808; /* Світліший чорний фон */
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- ВІЗУАЛІЗАЦІЯ ГОЛОГРАМИ (Повернено з минулого коду) --- */
.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.jr-hologram {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-icon {
    font-size: 140px;
    color: #ff3333; /* Щільний червоний колір без прозорості */
    text-shadow: none; /* ПОВНІСТЮ прибираємо світіння для ідеально чіткого силуету */
    animation: holoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Лінія сканування, що їздить вгору-вниз */
.holo-scanline {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px #ffffff, 0 0 30px #ff3333;
    z-index: 3;
    opacity: 0.7;
    animation: scanlineMove 2.5s linear infinite;
    border-radius: 50%;
}

/* Підставка-проєктор знизу */
.holo-base {
    position: absolute;
    bottom: 20px;
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(255, 51, 51, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

/* Анімація левітації іконки */
@keyframes holoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Анімація сканлайну */
@keyframes scanlineMove {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

/* Мобільна адаптація для голограми */
@media (max-width: 992px) {
    .jr-hologram {
        width: 250px;
        height: 250px;
    }

    .holo-icon {
        font-size: 100px;
    }
}

/* --- ЕКОСИСТЕМА БОТІВ (НОВИЙ HERO) - Оновлена версія --- */

.bot-hero-content {
    /* Робимо загальний контейнер flexbox для вирівнювання іконок над текстом */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Відступ між іконками та текстом */
}

/* 1. Блок іконок/карток екосистеми (Тепер вище) */
.ecosystem-bots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 0; /* Прибираємо старий відступ */
}

/* Картки вибору бота */
.eco-bot-card {
    background: rgba(10, 10, 10, 0.4); /* Зробили трохи прозорішим для легшого вигляду */
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px 40px; /* Трохи компактніше */
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 280px;
    backdrop-filter: blur(8px);
}

.eco-bot-card:hover {
    background: rgba(15, 15, 15, 0.8);
    border-color: rgba(255, 51, 51, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 51, 51, 0.2);
}

.eco-bot-img {
    width: 100px; /* Трохи зменшили */
    height: 100px;
    margin-bottom: 20px;
    position: relative;
}

.eco-bot-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
    transition: transform 0.4s ease;
}

.eco-bot-card:hover .eco-bot-img img {
    transform: scale(1.1); /* Менш агресивне збільшення */
}

.eco-bot-card h3 {
    color: #ffffff;
    font-size: 20px; /* Відкоригували розмір */
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eco-bot-label {
    color: #aaaaaa; /* Трохи світліше */
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 2. Блок тексту NeoCrime Ecosystem (Тепер нижче) */
.bot-text-group-centered {
    margin-bottom: 0;
    text-align: center;
    position: relative;
    z-index: 2; /* Щоб був поверх карток, якщо вони перекриваються на мобільному */
}

/* Повернули розмір заголовка назад */
.bot-name {
    font-size: 85px !important; 
    margin-bottom: 10px;
}

.bot-subtitle {
    margin-top: 0;
}

/* --- Адаптація для мобільних пристроїв --- */
@media (max-width: 992px) {
    .bot-name {
        font-size: 60px !important; 
    }
}

@media (max-width: 768px) {
    /* На телефоні залишаємо все в стовпчик: Іконка 1 -> Іконка 2 -> Текст */
    .bot-hero-content {
        gap: 30px;
    }
    
    .ecosystem-bots {
        flex-direction: column;
        gap: 20px;
    }
    
    .eco-bot-card {
        width: 100%;
        max-width: 300px;
        flex-direction: column; /* Жорстко фіксуємо стовпчик всередині картки */
        padding: 20px 30px;
        text-align: center;
    }
    
    .eco-bot-img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .bot-name {
        font-size: 40px !important;
        letter-spacing: 0;
    }
}

/* --- СТИЛІ ДЛЯ ВКЛАДОК (TABS) НА СТОРІНКАХ TERMS / PRIVACY --- */
.legal-tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    margin-top: -20px;
}

.legal-tab-btn {
    background: transparent;
    color: #888888;
    border: 2px solid #333333;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.legal-tab-btn:hover {
    color: #ffffff;
    border-color: #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.2);
}

.legal-tab-btn.active {
    background: #ff3333;
    color: #ffffff;
    border-color: #ff3333;
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4);
}

.legal-tab-content {
    display: none; /* Приховуємо всі вкладки за замовчуванням */
    animation: fadeInTab 0.5s ease-in-out;
}

.legal-tab-content.active {
    display: block; /* Показуємо тільки активну */
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .legal-tabs-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .legal-tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* --- СТИЛІ ДЛЯ КАРТОК ПРАВИЛ (TERMS CARDS) --- */
.terms-intro {
    text-align: center;
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 30px;
}

.legal-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Відстань між карточками */
    max-width: 850px;
    margin: 0 auto;
}

.legal-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ff3333; /* Фірмовий червоний акцент зліва */
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Ефект виділення карточки при наведенні */
.legal-card:hover {
    background: rgba(20, 20, 20, 0.9);
    transform: translateX(8px); /* Легкий зсув вправо */
    border-color: rgba(255, 51, 51, 0.3);
    border-left: 4px solid #ff3333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 51, 51, 0.1);
}

.legal-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-card h3 i {
    color: #ff3333; /* Червоні іконки біля заголовків */
    font-size: 22px;
}

.legal-card p {
    color: #b3b3b3;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Красиві списки всередині карточок */
.legal-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.legal-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
}

/* Заміна нудних крапок на стильні стрілочки */
.legal-card li::before {
    content: '\f0da'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #ff3333;
}

/* --- БЛОК NEOCRIME DRIVERHUB --- */
.driverhub-section {
    padding: 100px 0;
    overflow: hidden;
    background-color: #141414; /* Оставляем серым для чередования */
}

/* Корректируем цвета последующих секций для сохранения зебры */
.crimeadmin-section { background-color: #0d0d0d !important; }
.ats-section { background-color: #141414 !important; }

/* Перекрашиваем секцию FAQ (Приєднуйся до нашої спільноти) в черный тип фона, как галерея */
.faq-section { 
    background-color: #0d0d0d !important; 
}

.driverhub-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.driverhub-left {
    flex: 1;
    max-width: 600px;
}

.driverhub-left h2.section-title {
    text-align: left;
}

.driverhub-left h2.section-title::after {
    margin: 15px 0 0 0;
}

.driverhub-text-content p {
    text-align: justify;
}

.driverhub-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ОБНОВЛЕННЫЙ СТИЛЬ КАРТИНКИ: точно такой же, как .truck-parallax в About Section */
.driverhub-img {
    width: 100%;
    max-width: 700px; /* Увеличено до размеров картинки из About */
    height: auto;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.5)); /* Чистая тень без красного свечения */
    /* Убраны рамки, границы и скругления, чтобы картинка сидела нативно */
}

/* Мобильная адаптация */
@media (max-width: 992px) {
    .driverhub-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .driverhub-left {
        max-width: 100%;
    }
    
    .driverhub-left h2.section-title {
        text-align: center;
    }
    
    .driverhub-left h2.section-title::after {
        margin: 15px auto 0;
    }
    
    .driverhub-text-content p,
    .driverhub-section .cyber-list-item div {
        text-align: center !important;
    }

    .driverhub-section .cyber-list-item {
        flex-direction: column;
        align-items: center !important;
    }
}