/* --- 1. Импорт шрифтов и глобальные настройки --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap');

:root {
    --bg-dark: #0a0f14; /* Очень темный фон */
    --bg-light: #1a202c; /* Более светлый фон для элементов */
    --text-primary: #e6f1ff; /* Основной текст */
    --text-secondary: #a0aec0; /* Второстепенный текст */
    --accent-primary: #00e5ff; /* Основной акцентный (неоновый голубой) */
    --accent-secondary: #0077ff; /* Вторичный акцентный (синий) */
    --border-color: rgba(0, 229, 255, 0.2); /* Цвет границ с прозрачностью */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- 2. Анимации --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-primary), 0 0 10px var(--accent-primary);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-secondary), 0 0 30px var(--accent-secondary);
    }
    100% {
        box-shadow: 0 0 5px var(--accent-primary), 0 0 10px var(--accent-primary);
    }
}


/* --- 3. Шапка сайта (Header) --- */
header {
    width: 100%;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 20, 0.7); /* Полупрозрачный фон */
    backdrop-filter: blur(12px); /* Эффект "матового стекла" */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--accent-primary);
    user-select: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 5px var(--accent-primary);
}

nav a:hover::after {
    width: 100%;
}


/* --- 4. Основной контент (Main) --- */
section {
    padding: 80px 0;
    animation: fadeIn 1s ease-out forwards;
}

section:not(#hero) {
    border-top: 1px solid rgba(48, 54, 61, 0.5);
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

p, li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
}

/* --- 5. Секции --- */

/* Hero секция */
#hero {
    text-align: center;
    padding: 100px 0;
}

#hero p {
    margin: 0 auto 2.5rem auto;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    color: var(--bg-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.8);
}

/* Секция About */
.content-image {
    max-width: 100%;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

#about ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 2rem;
}

#about li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

#about li::before {
    content: '❯'; /* Символ шеврона */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-primary);
    font-size: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 5px var(--accent-primary);
}


/* Секция FAQ */
#faq > div > div {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#faq > div > div:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Секция Отзывы */
#reviews .review {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

#reviews .review::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 8rem;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 229, 255, 0.05);
    z-index: -1;
}

#reviews blockquote p {
    font-style: italic;
    color: var(--text-primary);
}

#reviews blockquote footer {
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: var(--accent-primary);
}


/* --- 6. Подвал (Footer) --- */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

footer p {
    font-size: 0.9rem;
    max-width: 100%;
    color: var(--text-secondary);
}


/* --- 7. Адаптивность --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }

    #hero {
        padding: 60px 0;
    }

    section {
        padding: 50px 0;
    }
}