/* Новые CSS-переменные для тёмной темы */
:root {
    --primary-color: #5700a8;  
    --secondary-color: #6b00ec;
    /*! --text-color: #e0e0e0; */       
    --bg-light: #1a1a1a;         
    --bg-dark: #252525;          
    --border-radius: 8px;
}


/* Общие стили */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header */
.header {
    background: var(--bg-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 1rem 0;
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

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

/* Мобильное меню */
.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.cta-buttons a {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-light);
}

/* Features Section */
.features {
    padding: 3rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-col h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-color);
}
.feature-card {
    transition: all 0.5s;
}

.feature-card:hover {
    border-color: #00ccff;
    transform: scale(1.05);
}


/* Auth Section */
.auth-section {
    padding: 3rem 0;
}

.auth-card {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

.auth-card .brand {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.vk-btn {
    background: #0077ff; /* можно изменить, если нужен другой акцент для кнопки */
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
    margin: 1rem 0;
}

.auth-footer p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.auth-footer a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-color);
    margin-top: 4rem;
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li,
.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    font-size: 0.8rem;
}

.legal-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 1rem;
}

/* JavaScript для мобильного меню остаётся без изменений */

/* Media Queries для мобильной адаптации */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    .mobile-menu-icon {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }
    .hero {
        text-align: center;
        flex-direction: column;
    }
    .hero-content, .hero-image {
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}
