/* ======== ОБЩИЕ СТИЛИ ======== */
:root {
    --bg-dark: #0a192f;
    --bg-light: #FFFFFF;
    --primary-blue: #33A1FF;
    --text-light: #E6F1FF;
    --text-dark: #333;
    --border-color: rgba(51, 161, 255, 0.3);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* ======== КНОПКИ ======== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #1a8cff;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--bg-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}


/* ======== ШАПКА ======== */
.header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 20px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-blue);
}


/* ======== ГЛАВНЫЙ ЭКРАН ======== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    /* === ССЫЛКА НА ФОНОВОЕ ИЗОБРАЖЕНИЕ (если не видео) === */
    background-image: url('assets/hero-background.jpg'); 
    background-size: cover;
    background-position: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
}
.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* ======== КАРТОЧКИ ======== */
.card-deck-2, .card-deck-4 {
    display: grid;
    gap: 30px;
}
.card-deck-2 { grid-template-columns: 1fr 1fr; }
.card-deck-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    height: 50px;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
}

.card-dark {
    background-color: #172a45;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}
.card-dark h4 { color: var(--text-light); }
.card-dark p { opacity: 0.8; }


/* ======== ПРЕИМУЩЕСТВА ======== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-icon {
    height: 45px;
    margin-bottom: 15px;
}

.feature h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ======== МИССИЯ ======== */
.mission-block {
    text-align: center;
}
.mission-block blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-blue);
    padding-left: 30px;
    text-align: left;
    line-height: 1.5;
}

/* ======== ФУТЕР ======== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
}
.footer-links a:hover {
    color: var(--primary-blue);
}

/* ======== АДАПТИВНОСТЬ ======== */
@media (max-width: 992px) {
    .card-deck-4, .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header-buttons { display: none; } /* Упрощение для примера, здесь нужна бургер-меню */
    .card-deck-2, .card-deck-4, .features-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}