.post-content p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-content p.fact {
    background-color: #e8f5fd; /* Лёгкий голубой фон */
    border-left: 4px solid #1DA1F2; /* Синяя полоса слева */
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #14171a; /* Более тёмный цвет для контраста */
}

@media (max-width: 768px) {
    .post-content p {
        font-size: 1em; /* Уменьшение текста для мобильных */
    }
}

.faq-container {
    margin: 20px 0;
    max-width: 800px; /* Соответствует ширине .blog-post */
}

.faq-item {
    background-color: #f5f8fa; /* Цвет фона, похожий на Twitter */
    border: 1px solid #e1e8ed; /* Светлая граница */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(90deg, #1DA1F2, #0A66C2); /* Градиент в цветах Twitter */
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: linear-gradient(90deg, #0A66C2, #1DA1F2); /* Изменение градиента при наведении */
}

.faq-toggle-icon {
    font-size: 1.5em;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(45deg); /* Поворот "+" в "x" при открытии */
}

.faq-answer {
    padding: 15px;
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    background-color: #fff; /* Белый фон для ответа */
    border-top: 1px solid #e1e8ed;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1em; /* Уменьшение текста на мобильных */
        padding: 10px;
    }
    .faq-answer {
        font-size: 1em;
        padding: 10px;
    }
}

.ad-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px; /* Ширина рекламы, подстройте под нужный размер */
    z-index: 1000; /* Чтобы реклама была поверх фона */
}

.ad-left {
    left: 10px; /* Отступ слева */
}

.ad-right {
    right: 10px; /* Отступ справа */
}

/* Скрытие рекламы на мобильных устройствах */
@media (max-width: 1280px) { /* Подстройте под ширину, где начинается "пустое" пространство */
    .ad-sidebar {
        display: none;
    }
}

.main-content {
    max-width: 1200px; /* Максимальная ширина основного контента */
    width: 100%;
    position: relative;
}

/* Стили для геройской секции */
.hero-section {
    background: linear-gradient(90deg, #1DA1F2, #0A66C2); /* Градиент в вашем стиле */
    padding: 60px 20px;
    text-align: center;
    color: white;
    border-bottom: 4px solid #e8f5fd; /* Акцентная линия */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3em;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.explore-button {
    background: #fff;
    color: #1DA1F2;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background 0.3s, color 0.3s;
}

.explore-button:hover {
    background: #0A66C2;
    color: white;
}

/* Стили для секции с функциями */
.features-section {
    padding: 40px 20px;
    background-color: #f5f8fa;
}

.features-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    color: #1DA1F2;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Адаптивная сетка */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.feature-card-title {
    font-size: 1.4em;
    color: #14171a;
    margin: 10px 0;
}

.feature-card-text {
    font-size: 1em;
    color: #657786;
    margin: 0 0 15px 0;
}

.feature-link {
    display: inline-block;
    background: linear-gradient(90deg, #1DA1F2, #0A66C2);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.feature-link:hover {
    background: linear-gradient(90deg, #0A66C2, #1DA1F2);
}

/* Стили для призыва к действию */
.cta-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #e8f5fd;
}

.cta-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    color: #1DA1F2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(90deg, #1DA1F2, #0A66C2);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background 0.3s;
}

.cta-button:hover {
    background: linear-gradient(90deg, #0A66C2, #1DA1F2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .explore-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .features-title {
        font-size: 1.6em;
    }

    .feature-card-title {
        font-size: 1.2em;
    }

    .feature-card-text {
        font-size: 0.9em;
    }

    .cta-title {
        font-size: 1.6em;
    }

    .cta-text {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.6em;
    }

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

    .features-section {
        padding: 20px 15px;
    }
}

.about-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    color: #1DA1F2;
    text-align: center;
    margin-bottom: 20px;
}

.about-subtitle {
    font-size: 1.3em;
    color: #657786;
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 1.8em;
    color: #1DA1F2;
    margin: 20px 0 10px;
}

.about-content p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
}

.about-list {
    list-style-type: disc;
    margin: 15px 0 15px 20px;
    color: #657786;
}

.about-list li {
    margin-bottom: 10px;
}

.about-list a {
    color: #1DA1F2;
    text-decoration: none;
}

.about-list a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2em;
    }

    .about-subtitle {
        font-size: 1.1em;
    }

    .about-content h2 {
        font-size: 1.5em;
    }

    .about-content p {
        font-size: 1em;
    }
}

.products-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    color: #1DA1F2;
    text-align: center;
    margin-bottom: 20px;
}

.products-subtitle {
    font-size: 1.3em;
    color: #657786;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Адаптивная сетка */
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-card-title {
    font-size: 1.6em;
    margin: 0 0 10px 0;
}

.product-card-title a {
    color: #1DA1F2;
    text-decoration: none;
    transition: color 0.3s;
}

.product-card-title a:hover {
    color: #0A66C2;
    text-decoration: underline;
}

.product-card-text {
    font-size: 1em;
    color: #657786;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .products-title {
        font-size: 2em;
    }

    .products-subtitle {
        font-size: 1.1em;
    }

    .product-card-title {
        font-size: 1.4em;
    }

    .product-card-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 20px 15px;
    }

    .products-title {
        font-size: 1.6em;
    }

    .products-subtitle {
        font-size: 1em;
    }
}

        .privacy-container {
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            padding: 20px;
            box-sizing: border-box;
            background-color: #fff;
            border: 1px solid #e1e8ed;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .privacy-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .privacy-header h1 {
            font-family: 'Roboto', sans-serif;
            font-size: 2.5em;
            color: #1DA1F2;
            margin: 0;
        }

        .privacy-header p {
            font-size: 1.1em;
            color: #657786;
        }

        .privacy-section {
            margin-bottom: 20px;
        }

        .privacy-section h2 {
            font-family: 'Roboto', sans-serif;
            font-size: 1.8em;
            color: #14171a;
            margin-bottom: 10px;
        }

        .privacy-section p {
            font-size: 1em;
            color: #657786;
            line-height: 1.6;
        }

        .privacy-section ul {
            list-style-type: disc;
            padding-left: 20px;
            color: #657786;
        }

        .privacy-section li {
            margin-bottom: 10px;
            font-size: 1em;
            line-height: 1.6;
        }

        .privacy-footer {
            text-align: center;
            margin-top: 40px;
            font-size: 0.9em;
            color: #657786;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .privacy-container {
                padding: 15px;
                max-width: 100%;
            }

            .privacy-header h1 {
                font-size: 2em;
            }

            .privacy-header p {
                font-size: 1em;
            }

            .privacy-section h2 {
                font-size: 1.5em;
            }

            .privacy-section p, .privacy-section li {
                font-size: 0.9em;
            }
        }

        @media (max-width: 480px) {
            .privacy-container {
                padding: 10px;
            }

            .privacy-header h1 {
                font-size: 1.5em;
            }

            .privacy-header p {
                font-size: 0.9em;
            }

            .privacy-section h2 {
                font-size: 1.3em;
            }

            .privacy-section p, .privacy-section li {
                font-size: 0.85em;
            }
        }

.header-center {
        flex: 1; /* Центральный блок занимает доступное пространство */
        text-align: center; /* Центрируем иконку */
    }

    .privacy-icon {
        width: 32px; /* Размер иконки (можно настроить) */
        height: 32px;
        transition: opacity 0.3s; /* Плавное изменение при наведении */
    }

    .privacy-icon:hover {
        opacity: 0.7; /* Эффект при наведении */
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        header {
            padding: 10px;
        }

        .logo img {
            width: 100px; /* Уменьшаем логотип на планшетах */
            height: 100px;
        }

        .privacy-icon {
            width: 28px; /* Уменьшаем иконку */
            height: 28px;
        }

        .social-icons a {
            font-size: 20px; /* Уменьшаем иконки соцсетей */
        }
    }

    @media (max-width: 480px) {
        header {
            flex-wrap: wrap; /* Перенос элементов на маленьких экранах */
            justify-content: center;
            gap: 10px; /* Расстояние между блоками */
        }

        .logo img {
            width: 80px; /* Ещё меньше логотип */
            height: 80px;
        }

        .privacy-icon {
            width: 24px; /* Минимальный размер иконки */
            height: 24px;
        }

        .social-icons a {
            font-size: 18px; /* Минимальный размер иконок соцсетей */
        }
    }


/* ====================== ВЕРХНЕЕ МЕНЮ ====================== */
.top-nav {
    background-color: #1da1f2;
    padding: 12px 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: #0a66c2;
    transform: translateY(-2px);
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1da1f2;
        padding: 20px 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        gap: 8px;
    }
    
    .nav-menu.active {
     display: flex !important;
    }
    
    .nav-menu li a {
        text-align: center;
        padding: 14px 20px;
        font-size: 1.1em;
        border-radius: 12px;
    }
}