@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap'); 

:root {
    /* =========================================
       🎨 ГОЛОВНІ НАЛАШТУВАННЯ ТЕМИ САЙТУ
       Змінюйте ці кольори для нових проєктів!
       ========================================= */
       
    /* Кольори фону та шапки */
    --theme-bg-color: #1B1155;           /* Головний фон сайту */
    --theme-header-color: #1B1155;       /* Колір шапки (хедеру) */
    --theme-header-gradient: #2a1a7c;    /* Додатковий колір для легкого градієнту шапки (за бажанням) */

    /* Текст */
    --text-main: #ffffff;                /* Основний колір тексту (білий для темного фону) */
    --text-muted: #a5b4fc;               /* Додатковий/тьмяний текст */

    /* Кнопки та Акценти */
    --accent-color: #CE1CF0;             /* Основний колір кнопок (червоний) */
    --accent-hover: #E41CFC;             /* Колір кнопок при наведенні */
    
    /* Допоміжні кольори */
    --white: #ffffff;
    --border-color: #312e81;             /* Колір рамок (наприклад, для футера) */
}

/* --- БАЗОВІ СТИЛІ --- */
body {
    padding-top: 200px;

    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--theme-bg-color);
    color: var(--text-main);
    line-height: 1.7;
}

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

/* --- СТИЛІ ДЛЯ ЛОГОТИПУ --- */
.logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

/* --- ШАПКА САЙТУ (HEADER) --- */
header {
    /* Робимо хедер фіксованим */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Щоб хедер був поверх усіх інших елементів */

    background: linear-gradient(135deg, var(--theme-header-color), var(--theme-header-gradient));
    color: var(--text-main);
    padding: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}

/* --- ОНОВЛЕНІ СТИЛІ ДЛЯ НАВІГАЦІЇ ТА КНОПОК У ХЕДЕРІ --- */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    flex: 1;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex: 2;
}

.nav-menu a {
    color: var(--white); 
    text-decoration: none;
    margin: 0 18px;
    font-weight: 700; 
    font-size: 1.15rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-hover); /* Виправлено на існуючу змінну */
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3); /* Зроблено нейтральне світіння */
    transform: translateY(-2px);
}

.mobile-auth {
    display: none; 
}

.header-right {
    display: flex;
    align-items: center;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 25px; 
}

.btn-login {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-login:hover {
    color: var(--accent-hover); /* Виправлено зайву дужку */
}

header .btn {
    margin-top: 0; 
    padding: 10px 28px; 
    font-size: 1.05rem;
}

.btn-reg {
    background: var(--accent-color); /* Виправлено на єдиний колір без неіснуючого dark */
    color: var(--white);
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Нейтральна тінь */
    transition: 0.3s;
}

.btn-reg:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.burger {
    display: none;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- ОСНОВНИЙ КОНТЕНТ --- */
main {
    padding: 2rem 0;
    min-height: 60vh;
}

h1, h2, h3 {
    color: var(--white); /* Виправлено: primary-blue більше не існує, використовуємо білий */
    margin-top: 1.5rem;
}

/* --- ГОЛОВНІ КНОПКИ В ТЕКСТІ --- */
.btn {
    display: inline-block;
    background: var(--accent-color); /* Виправлено: використовуємо нову змінну */
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); /* Нейтральна тінь */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--accent-hover); /* Додано зміну кольору при наведенні */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

/* --- HERO СЕКЦІЯ --- */
.hero {
/* Фонова картинка */
    background-image: linear-gradient(rgba(27, 17, 85, 0.75), rgba(27, 17, 85, 0.95)), url('/images/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5.5rem 1rem 3rem;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(206, 28, 240, 0.15);
    border: 1px solid rgba(206, 28, 240, 0.4);
    color: #e57dfa;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--white);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(206, 28, 240, 0.35);
    color: var(--white);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    padding: 13px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-hero-secondary:hover {
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-3px);
    color: var(--white);
}

/* --- HERO FEATURES STRIP --- */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    width: 100%;
    max-width: 700px;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.feat-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* --- АДАПТИВ HERO --- */
@media (max-width: 600px) {
    .hero {
        padding: 5.5rem 1rem 2rem;
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        text-align: center;
        padding: 14px 20px;
    }

    .hero-features {
        gap: 0.75rem 1.25rem;
    }
}

footer {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color); /* Виправлено на змінну */
}

.no-scroll {
    overflow: hidden;
}

/* --- АДАПТИВНІСТЬ (МОБІЛЬНА ВЕРСІЯ) --- */
@media (max-width: 992px) {
    .nav-menu {
        display: none; 
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--theme-header-color); /* Виправлено з primary-blue */
        padding: 40px 20px;
        z-index: 999;
        box-sizing: border-box;
    }

    .burger { display: block; }
    .logo-wrapper { flex: 1; }
    .header-right { flex: 0; }
    .auth-buttons { display: none; } 
    
    .mobile-auth {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
}