/* Стили для SEO блока */
.seo-main-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы */
.seo-decor-top {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 225, 0, 0.1) 0%, rgba(245, 225, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.seo-decor-bottom {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, rgba(33, 150, 243, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Основной контент */
.seo-content-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* Декоративная полоска */
.seo-gradient-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f5e100 0%, #ff9800 100%);
}

/* Контент из инфоблока */
.seo-text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Стилизация текста внутри SEO блока */
.seo-text-content h2,
.seo-text-content h3,
.seo-text-content h4 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-text-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #f5e100;
    padding-bottom: 10px;
}

.seo-text-content h3 {
    font-size: 20px;
}

.seo-text-content h4 {
    font-size: 18px;
}

.seo-text-content p {
    margin-bottom: 20px;
}

.seo-text-content ul,
.seo-text-content ol {
    margin: 15px 0 15px 25px;
    padding: 0;
}

.seo-text-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.seo-text-content strong {
    color: #2c3e50;
}

.seo-text-content a {
    color: #2196f3;
    text-decoration: none;
    border-bottom: 1px solid rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.seo-text-content a:hover {
    color: #0d8aee;
    border-bottom-color: #0d8aee;
}

/* Адаптивность */
@media (max-width: 768px) {
    .seo-main-section {
        padding: 50px 0;
    }
    
    .seo-content-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .seo-text-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .seo-text-content h2 {
        font-size: 22px;
    }
    
    .seo-text-content h3 {
        font-size: 19px;
    }
    
    .seo-text-content h4 {
        font-size: 17px;
    }
    
    .seo-text-content ul,
    .seo-text-content ol {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .seo-main-section {
        padding: 30px 0;
    }
    
    .seo-content-wrapper {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .seo-text-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .seo-text-content h2 {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .seo-text-content h3 {
        font-size: 18px;
    }
    
    .seo-text-content h4 {
        font-size: 16px;
    }
    
    .seo-decor-top {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -50px;
    }
    
    .seo-decor-bottom {
        width: 250px;
        height: 250px;
        bottom: -50px;
        left: -50px;
    }
}

/* Анимация появления */
@keyframes fadeInSeo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-main-section {
    animation: fadeInSeo 0.6s ease-out;
}