* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #fdfdfd;
    color: #2d2d2d;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Для лучшего отображения на маленьких экранах */
}

.header {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    width: 150px;
    height: auto;
    border-radius: 15px; /* Закругление краев логотипа */
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.download-btn {
    background-color: #ff7e5f;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    background-color: #e67350;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.download-btn:focus {
    outline: 3px solid #feb47b;
    outline-offset: 4px;
}

.features-section {
    background-color: #f1f1f1;
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column; /* Для выравнивания заголовка наверху */
    align-items: center; /* Заголовок по центру блока */
}

.features-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; /* Добавлено расстояние между карточками */
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 30%;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ff7e5f;
}

.feature-card p {
    font-size: 1.2em;
    line-height: 1.6;
}

.download-section {
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.download-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.footer {
    background-color: #2d2d2d;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer a {
    color: #ff7e5f;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Секция с изображением и текстом при наведении */
.image-with-text {
    padding: 50px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 100%;
    max-width: 950px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.image-container:hover .overlay-text {
    opacity: 1;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 80%;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .header {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature-card {
        width: 100%;
    }
}


.red {
    color: #ff4d4d; /* Ярко-красный */
    font-weight: bold;
}

.yellow {
    color: #ffcc00; /* Ярко-жёлтый */
    font-weight: bold;
}

.white {
    color: #ffffff; /* Белый */
    background-color: #2d2d2d; /* Добавлен тёмный фон, чтобы белый текст был виден */
    padding: 2px 5px; /* Небольшие отступы для белого текста */
    border-radius: 3px; /* Небольшое закругление краев */
}

