/* Общие стили */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

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

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #007bff;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

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

/* Навигация */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e1e5e9;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin: 0;
}

/* Главный экран (Hero) */
.hero {
    background-color: #f5f7fa;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Главный экран (Hero) */
.hero {
    position: relative; /* ✅ Нужно для позиционирования видео */
    padding: 100px 0;
    text-align: center;
    overflow: hidden; /* ✅ Скрываем все, что выходит за рамки */
    color: #ffffff; /* ✅ Делаем текст белым по умолчанию */
}

/* ✅ НОВЫЙ СТИЛЬ ДЛЯ ВИДЕО */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* Видео на заднем плане */
}

/* ✅ НОВЫЙ СТИЛЬ ДЛЯ ЗАТЕМНЕНИЯ (чтобы текст читался) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Темный оверлей */
    z-index: 2;
}

/* ✅ НОВЫЙ СТИЛЬ ДЛЯ КОНТЕНТА (поверх видео и оверлея) */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff; /* ✅ Убедимся, что текст белый */
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 20px;
    color: #f0f0f0; /* ✅ Чуть более тусклый белый */
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Общий заголовок секции */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Секция Особенностей */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 64px;
    height: 64px;
    color: #007bff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    color: #555;
}

/* Секция Цены */
.pricing {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

/* ✅ НОВЫЙ СТИЛЬ ДЛЯ ЯРЛЫКА */
.promo-badge {
    display: inline-block;
    background-color: #ffc107; /* Желтый */
    color: #333;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ✅ ИЗМЕНЕННЫЕ СТИЛИ ЦЕНЫ */
.pricing-card .price-original {
    font-size: 26px; /* Уменьшили */
    font-weight: 400; /* Сделали тоньше */
    color: #999; /* Сделали серым */
    text-decoration: line-through;
    margin-bottom: 0; /* Убрали отступ */
    line-height: 1;
}

.pricing-card .price-promo {
    font-size: 60px; /* Сделали крупнее */
    font-weight: 700;
    color: #007bff; /* Основной синий цвет */
    margin-bottom: 25px;
    line-height: 1.1;
}

.pricing-card .price-original span,
.pricing-card .price-promo span {
    font-size: 18px;
    font-weight: 500;
    color: #666;
}
/* ✅ КОНЕЦ ИЗМЕНЕНИЙ ЦЕНЫ */


.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    font-size: 17px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features .check {
    color: #28a745;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-card .btn {
     /* width: 100%; */ /* Мы удалили это в прошлом шаге */
}

/* ✅ ИЗМЕНЕННЫЙ СТИЛЬ ДЛЯ ПРИМЕЧАНИЯ */
.pricing-note {
    font-size: 14px;
    color: #555;
    margin-top: 25px;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed #ddd;
}

.pricing-note strong {
    color: #dc3545; /* Срочный красный цвет */
    font-weight: 600;
}

/* Футер */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e1e5e9;
    background: #f8f9fa;
}

/* Адаптация */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}