/* Современная цветовая палитра */
:root {
    --primary-bg: #0a0e1a;
    --secondary-bg: #1a1f2e;
    --tertiary-bg: #252b3d;
    --surface-bg: #2d3548;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #8892a6;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --success-color: #00c851;
    --warning-color: #ffbb33;
    --error-color: #ff4444;
    --border-color: #34405a;
    --border-light: #404b63;
    --shadow-light: rgba(0, 212, 255, 0.1);
    --shadow-medium: rgba(0, 212, 255, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Импорт современных шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Глобальные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Анимированный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    z-index: -2;
}

/* Контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: var(--accent-secondary);
    transform: translateY(-1px);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: var(--accent-gradient);
    color: var(--primary-bg);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.btn:active {
    transform: translateY(-1px);
}

/* Хедер */
/* ===== ХЕДЕР ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 31, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
    transition: transform 0.35s ease, box-shadow 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

header.header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

header nav .container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Верхний ряд: лого + язык + бургер */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 0;
}

/* Языковой переключатель — выпадающий список */
.language-switcher {
    position: relative;
}

.lang-form {
    margin: 0;
    padding: 0;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.35rem 1.8rem 0.35rem 0.8rem;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%238892a6'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 10px 6px;
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    outline: none;
}

.lang-select option {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 0.4rem;
}

/* Бургер-кнопка */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
    position: relative;
    z-index: 1001;
    transition: background 0.2s;
}

.burger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Обёртка навигации */
.nav-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-links a.active {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    background: var(--card-bg, #1a1a2e);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 100;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 0;
}

.nav-dropdown-menu li a:hover {
    background: rgba(0, 212, 255, 0.08);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

@media (max-width: 860px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
        padding: 0;
    }

    .nav-dropdown-toggle svg {
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
}

/* ===== АДАПТИВ: МОБИЛКИ ===== */
@media (max-width: 860px) {
    header {
        padding: 0.45rem 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .burger-btn {
        display: flex;
    }

    .nav-wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 999;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-wrapper.open {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.7rem 1.5rem;
        white-space: normal;
    }
}

/* На маленьких экранах */
@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .language-switcher .lang-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.72rem;
    }
}

/* Герой секция */
.hero-section {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Секции */
section {
    padding: 5rem 0;
    position: relative;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Сетка статей */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--secondary-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.article-card p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-card .read-more-btn {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--accent-gradient);
    color: var(--primary-bg);
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.article-card .read-more-btn:hover {
    background: linear-gradient(135deg, #0099cc 0%, #00d4ff 100%);
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--tertiary-bg);
}

/* Сетка категорий */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-item {
    display: block;
    text-decoration: none;
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.category-item:hover::before {
    opacity: 0.1;
}

.category-item .icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.category-item:hover .icon {
    transform: scale(1.1);
}

.category-item h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Секция подписки */
.subscribe-section {
    background: var(--secondary-bg);
    border-radius: 24px;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.subscribe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.subscribe-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--tertiary-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px var(--shadow-heavy);
}

.subscribe-form .form-group {
    margin-bottom: 1.5rem;
}

.subscribe-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.subscribe-form input[type="email"],
.subscribe-form input[type="text"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.subscribe-form input[type="email"]:focus,
.subscribe-form input[type="text"]:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-light);
    transform: translateY(-1px);
}

.subscribe-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.subscribe-form .btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Блоки кода */
.code-block {
    position: relative;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--tertiary-bg);
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.copy-btn:hover {
    background: var(--accent-primary);
    color: var(--primary-bg);
    border-color: var(--accent-primary);
}

/* Футер */
footer {
    background: var(--secondary-bg);
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-info {
    text-align: left;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--primary-bg);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .subscribe-form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Анимации загрузки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card,
.category-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Дополнительные утилиты */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--shadow-light);
}
/* About Page Styles */
.about-hero {
    padding: 6rem 0 4rem;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--secondary-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px var(--shadow-heavy);
}

.about-card:hover::before {
    opacity: 1;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.about-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team/Expertise Section */
.team-section {
    padding: 4rem 0;
    background: var(--secondary-bg);
    border-radius: 24px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    background: var(--tertiary-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.expertise-item h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
}

.values-content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--secondary-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.value-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    background: var(--glass-bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-primary);
    flex-shrink: 0;
}

.value-text h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--secondary-bg);
    border-radius: 24px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--primary-bg);
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px var(--shadow-heavy);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: var(--accent-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--accent-gradient);
    color: var(--primary-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-decline:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: var(--glass-bg);
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn-accept,
    .cookie-btn-decline {
        flex: 1;
        max-width: 150px;
    }
}
/* Privacy Policy Page Styles */
.privacy-hero {
    padding: 6rem 0 4rem;
}

.privacy-content {
    padding: 2rem 0 4rem;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.privacy-section h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.privacy-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.privacy-section ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-section li::marker {
    color: var(--accent-primary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    background: var(--tertiary-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.service-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-item a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.service-item a:hover {
    text-decoration: underline;
}

.contact-section {
    background: var(--tertiary-bg);
    border: 2px solid var(--accent-primary);
}

.contact-info {
    background: var(--surface-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info strong {
    color: var(--text-primary);
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness for Privacy Policy */
@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .privacy-container {
        padding: 0 1rem;
    }
}

/* Language Badge Styles */
.language-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--primary-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s ease;
}

.language-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Language-specific colors for badges */
.language-badge[data-lang="en"] {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
}

.language-badge[data-lang="ru"] {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.language-badge[data-lang="uk"] {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.language-badge[data-lang="pl"] {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    color: var(--primary-bg);
}

.language-badge[data-lang="fr"] {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.language-badge[data-lang="de"] {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}