body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}
.header {
    position: relative;
    background-color: #1572e8;
    color: white;
    padding: 100px 20px;
    text-align: center;
    background-image: url("../img/index/header_background.avif");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Черный цвет с 50% прозрачностью */
    z-index: 1; /* Чтобы затемнение было выше фона, но ниже текста */
}

.header > * {
    position: relative;
    z-index: 2; /* Чтобы текст был виден поверх затемнения */
}
.header h1 {
    margin: 0;
    font-size: 36px;
}
.header p {
    font-size: 18px;
    margin: 10px 0;
}
.cta-button {
    background: #1572e8 !important;
    border-color: #1572e8 !important;
    color: #FFF;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}
.cta-button:hover {
    background-color: #e1a500;
}

/* Новый блок: Почему ваша компания нуждается в системе лояльности */
.why-loyalty {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.why-loyalty h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.sub-blocks {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.sub-block {
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease;
}

.sub-block h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.sub-block p {
    font-size: 16px;
    color: #666;
}

.sub-block:hover {
    transform: translateY(-10px); /* Легкое поднятие при наведении */
}

/* Респонсив стили */
@media (max-width: 768px) {
    .sub-block {
        width: 100%;
    }
}



/* Условия сотрудничества */
.conditions-section {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    padding: 40px 20px;
}

.conditions-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.condition-box {
    padding: 20px;
    margin: 10px;
    text-align: center;
}

.condition-box h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.condition-box p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 767px) {
    .condition-box {
        margin-bottom: 15px;
    }
}

/* Тарифы */
.pricing-section {
    background-color: #fff;
    padding: 40px 20px;
}

.pricing-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.pricing-table table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.pricing-table th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.pricing-table td {
    background-color: #fafafa;
}

.pricing-section p {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .pricing-table th, .pricing-table td {
        padding: 10px;
    }
}


/* footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-link {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

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

.footer-contact {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-social {
    margin-top: 10px;
}

.footer-social-icon {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
}

.footer-social-icon:hover {
    color: #e1a500; /* Цвет при наведении */
}

@media (max-width: 767px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-link {
        font-size: 14px;
    }
}


/* Стили для кнопки WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Зеленый цвет WhatsApp */
    color: white;
    font-size: 36px;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-button i {
    font-size: 36px;
}


/* Блок "ИИ-генерация текстов" */
/* Блок "ИИ-генерация текстов" */
.ai-generation {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.ai-generation h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.ai-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.ai-benefit {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    width: calc(33.333% - 20px);
    max-width: 320px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ai-benefit:hover {
    transform: translateY(-5px);
}

.ai-benefit i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #1572e8;
}

.ai-benefit h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.ai-benefit p {
    color: #666;
    font-size: 16px;
}

@media (max-width: 992px) {
    .ai-benefit {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .ai-benefit {
        width: 100%;
        max-width: 100%;
    }
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}
h2 {
    text-align: center;
}
.img-center {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.features img {
    max-width: 100%;
    border-radius: 12px;
}
.text-block {
    max-width: 500px;
}
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}