:root {
    --primary: #ffffff;
    --primary-muted: #f0f0f0;
    --bg-dark: #0a0a0e;
    --card-bg: rgba(15, 15, 20, 0.7);
    --text: #f0f0f0;
    --text-secondary: #cccccc;
    --text-muted: #bbbbbb;
    --border: rgba(255, 255, 255, 0.1);
    --hover-glow: rgba(255, 255, 255, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 14, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 10, 14, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Логотип */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 2.1rem;
    color: var(--primary);
    letter-spacing: 1.5px;
    transition: transform 0.3s ease;
}

.navbar-brand i {
    font-size: 2.2rem;
    color: var(--primary);
}

.navbar-brand:hover {
    color: var(--primary); /* Явно фиксируем цвет */
    transform: translateY(-3px);
}

/* Мобильное меню */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(12px);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid var(--border);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
        transition: background 0.3s;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    margin: 0 0.8rem;
    position: relative;
    transition: color 0.3s;
}

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

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

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
    letter-spacing: 1.5px;
}

.hero .lead {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    color: #f5f5f5;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
}

.hero .info-text {
    font-size: 1.1rem;
    color: #dddddd;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.btn-download {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.3rem;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-download:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: var(--primary);
    color: #000;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary);
}

/* Features */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.4s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--hover-glow);
    border-color: var(--primary-muted);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    display: block;
}

/* System Requirements */
.req-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.2rem;
    border: 1px solid var(--border);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, rgba(10,10,20,0.95), rgba(20,20,30,0.95));
    text-align: center;
    border-top: 1px solid var(--border);
}

/* Footer */
footer {
    background: #050508;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--text-muted);
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary);
}

/* Mobile adaptations */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.8rem;
    }
    .hero .lead {
        font-size: 1.25rem;
    }
    section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: 1px;
    }
    .hero .lead {
        font-size: 1.15rem;
        padding: 0 1rem;
        letter-spacing: 0.3px;
    }
    .btn-download {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .feature-icon {
        font-size: 3rem;
    }
    .navbar-brand {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 0.8px;
    }
    .hero .lead {
        font-size: 1.1rem;
    }
    .btn-download {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}