/* =========================================================================
   ⚡ БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ ЛЭНДИНГА
   ========================================================================= */
:root {
    --bg-main: #0f1720;
    --bg-card: #1e2835;
    --text-main: #ffffff;
    --text-muted: #8e8e93;
    --accent: #3390ec;
    --accent-hover: #2878c7;
    --radius-lg: 20px;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

/* =========================================================================
   🧩 ШАПКА САЙТА (NAVBAR)
   ========================================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(15, 23, 32, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.nav-btn {
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-btn:hover {
    background-color: var(--accent-hover);
}

/* =========================================================================
   🔥 ГЛАВНЫЙ ЭКРАН (HERO SECTION)
   ========================================================================= */
.hero {
    padding: 150px 5% 100px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.hero-btn {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-main);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-main);
}

/* =========================================================================
   📊 ПРЕИМУЩЕСТВА (FEATURES GRID)
   ========================================================================= */
.features {
    padding: 60px 5%;
    background-color: #0b1118;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================================================
   👣 ПОДВАЛ (FOOTER)
   ========================================================================= */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================================
   📱 АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        padding: 150px 5% 60px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-btn {
        width: 100%;
        box-sizing: border-box;
    }
}