/* Стили для body и основных элементов */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* Сброс отступов у списков */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Ссылки */
a {
    color: #007BFF;
    text-decoration: none;
}

/* Контейнер */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Навигация */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
}

/* Шапка сайта */
.header {
    background: url('images/header-bg.jpg') no-repeat center center/cover;
    color: #fff;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.header .container {
    position: relative;
    z-index: 2;
}

.header-content {
    text-align: center;
    padding: 100px 0 80px;
}

.header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.header p {
    font-size: 24px;
    margin-bottom: 30px;
}

.header .button {
    background-color: #FF6F61;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.header .button:hover {
    background-color: #e65b50;
}

/* Основной контент */
main {
    background-color: #f9f9f9;
}

/* Разделы */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

/* О нас и Как пользоваться ботом */
.about .content,
.about-content,
.how-to-use-bot .content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about .text,
.about-content .text,
.how-to-use-bot .text {
    flex: 1;
    padding-right: 20px;
}

.about .image,
.about-content .image,
.how-to-use-bot .image {
    flex: 1;
    text-align: center;
}

.about .image img,
.about-content .image img,
.how-to-use-bot .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about p, .about ol,
.how-to-use-bot p, .how-to-use-bot ol {
    font-size: 18px;
    line-height: 1.6;
}

.about ol, .how-to-use-bot ol {
    padding-left: 20px;
}

.about ol li, .how-to-use-bot ol li {
    margin-bottom: 10px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .about .content,
    .about-content,
    .how-to-use-bot .content {
        flex-direction: column;
    }

    .about .text,
    .about-content .text,
    .how-to-use-bot .text {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

/* Преимущества */
.benefit-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.benefit-item {
    width: 48%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.benefit-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

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

.benefit-item ul {
    list-style: disc;
    padding-left: 20px;
    flex-grow: 1;
}

.benefit-item ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Как подключиться */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step {
    width: 23%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #FF6F61;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    align-self: center;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.step p {
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
}

/* Отзывы */
.testimonials {
    padding: 60px 0;
}

.testimonials h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    width: 48%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial strong {
    font-size: 14px;
}

/* Адаптивность для отзывов */
@media (max-width: 1200px) {
    .testimonial {
        width: 48%;
    }
}

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

/* Часто задаваемые вопросы */
.faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.faq-item h3::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    line-height: 1;
    color: #FF6F61;
}

.faq-item.active h3::before {
    content: "-";
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    display: none;
    padding-left: 30px;
}

.faq-item.active p {
    display: block;
}

/* Форма обратной связи */
.contact-form {
    background-color: #fff;
    padding: 60px 0;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .button {
    background-color: #FF6F61;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.contact-form .button:hover {
    background-color: #e65b50;
}

/* Адаптивность для малых экранов */
@media (max-width: 576px) {
    .contact-form form {
        padding: 0 10px;
    }

    .contact-form .button {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
}

/* Подвал сайта */
.footer {
    background-color: #2c2c2c;
    padding: 20px 0;
}

.footer p {
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.footer a {
    color: #FF6F61;
    text-decoration: underline;
}

.footer .social-links {
    margin-top: 10px;
    text-align: center;
}

.footer .social-links a {
    margin-right: 10px;
}

.footer .social-links img {
    width: 32px;
    height: 32px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .step {
        width: 48%;
    }
}

@media (max-width: 992px) {
    .benefit-item,
    .testimonial {
        width: 100%;
    }

    .about .content,
    .about-content,
    .how-to-use-bot .content {
        flex-direction: column;
    }

    .about .text,
    .about-content .text,
    .how-to-use-bot .text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }

    .header p {
        font-size: 18px;
    }

    .header .button {
        display: block;
        width: auto;
        margin: 10px auto;
        font-size: 16px;
        padding: 10px 20px;
    }

    .header .button:not(:last-child) {
        margin-bottom: 10px;
    }

    section {
        padding: 20px 0;
    }

    .benefit-item h3,
    .step h3,
    .faq-item h3 {
        font-size: 20px;
    }

    .nav-menu {
        display: none;
    }
}

/* Кнопка "Запустить бота" */
.bot-button {
    background-color: #0088cc; /* Цвет Telegram */
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.bot-button:hover {
    background-color: #006699;
}

/* Эффект затемнения на все кнопки */
.button {
    background-color: #FF6F61;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #e65b50;
}

/* Секция "Как пользоваться ботом" */
.how-to-use-bot {
    padding: 60px 0;
}

.how-to-use-bot .container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-use-bot .content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.how-to-use-bot .text {
    flex: 1;
    padding-right: 20px;
}

.how-to-use-bot .text ol {
    list-style-type: decimal;
    padding-left: 20px;
}

.how-to-use-bot .text ol li {
    margin-bottom: 15px;
    font-size: 18px;
}

.how-to-use-bot .image {
    flex: 1;
    text-align: center;
}

.how-to-use-bot .image img {
    max-width: 100%;
    height: auto;
}

.how-to-use-bot .image p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .how-to-use-bot .content {
        flex-direction: column;
    }

    .how-to-use-bot .text {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

/* Целевая аудитория */
.target-audience {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.target-audience h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.target-audience p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}

.audience-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.audience-item {
    width: 30%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.audience-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #FF6F61;
}

.audience-item p {
    font-size: 16px;
    line-height: 1.6;
}

.audience-collage {
    text-align: center;
    margin-bottom: 40px;
}

.audience-collage img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .audience-item {
        width: 48%;
    }
}

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