/* ============================================================
   МИНИМАЛИСТИЧНЫЙ СТИЛЬ
   ============================================================ */

:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #212529;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}

/* ============================================================
   НАВИГАЦИЯ (белая, с тенью и границей)
   ============================================================ */

.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #212529 !important;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: #6c757d !important;
    padding: 6px 14px !important;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #212529 !important;
}

.nav-link.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 6px;
}

.nav-link.active:hover {
    color: #ffffff !important;
}

.nav-link.logout {
    color: #dc3545 !important;
}

.nav-link.logout:hover {
    color: #b02a37 !important;
}

/* ============================================================
   ГЕРОЙ-БЛОК (темный, на всю ширину контейнера)
   ============================================================ */

.hero-section {
    background: rgb(33, 37, 41);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 0 40px 0;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-section .lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.hero-section .lead strong {
    color: #ffffff;
    font-weight: 500;
}

/* ============================================================
   ОСНОВНОЙ КОНТЕНТ (без карточек, без фонов, без иконок)
   ============================================================ */

.content-block {
    padding: 15px 0 25px 0;
}

.content-block h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #212529;
}

.content-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 12px;
}

.content-block .row {
    margin-bottom: 20px;
}

.content-block .col-md-4 {
    padding: 0 15px;
}

.content-block .col-md-4 h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #212529;
}

.content-block .col-md-4 p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Специальный блок Beneficial — светло-серый фон */
.beneficial-block {
    background: #f8f9fa;
    padding: 25px 0;
    margin: 15px 0;
}

.beneficial-block h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.beneficial-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 12px;
}

/* ============================================================
   СТРАНИЦЫ "HOW IT WORKS" И "CONTACTS"
   ============================================================ */

.page-header {
    padding: 30px 0 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.page-header .lead {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 300;
}

.content-section {
    padding: 10px 0;
}

.content-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 16px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h5 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}

.contact-info:last-child {
    border-bottom: none;
}

.contact-info i {
    color: #6c757d;
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.contact-info strong {
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================================
   КНОПКИ
   ============================================================ */

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 8px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #0b5ed7;
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 8px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* ============================================================
   ФУТЕР
   ============================================================ */

.footer {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef;
    padding: 18px 0;
    margin-top: auto;
    color: #6c757d !important;
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer a {
    color: #6c757d !important;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer a:hover {
    color: #212529 !important;
    text-decoration: underline;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 35px 0 25px 0;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .page-header h1 {
        font-size: 1.4rem;
    }
    
    .content-block .col-md-4 {
        margin-bottom: 16px;
    }
    
    .footer .text-md-end {
        text-align: left !important;
        margin-top: 8px;
    }
    
    .navbar-brand img {
        height: 26px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 25px 0 20px 0;
    }
    
    .hero-section h1 {
        font-size: 1.3rem;
    }
    
    .beneficial-block {
        padding: 18px 0;
    }
    
    .content-block {
        padding: 10px 0 15px 0;
    }
}