/* Исправления вёрстки */

/* КРИТИЧЕСКИ ВАЖНО: Фон должен быть тёмным */
html,
body {
    background: #0f0f1a !important;
    background-color: #0f0f1a !important;
}

/* Общие исправления контейнера */
.container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* Общие исправления для всех секций */
.pricing,
.services,
.advantages,
.contact {
    width: 100% !important;
    overflow: visible !important;
}

.section-header {
    text-align: center !important;
    margin-bottom: 60px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: block !important;
}

.section-title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #8b5cf6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    line-height: 1.2 !important;
    flex: none !important;
}

.section-description {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    word-wrap: break-word !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Исправление секции Pricing */
.pricing .section-description {
    max-width: 600px !important;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .pricing .section-title,
    .services .section-title {
        font-size: 2rem;
    }
    
    .pricing .section-description,
    .services .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing .section-title,
    .services .section-title {
        font-size: 1.5rem;
    }
    
    .pricing .section-header,
    .services .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
}


/* Дополнительные исправления для заголовков */
.services .section-header,
.pricing .section-header,
.advantages .section-header,
.contact .section-header {
    display: block !important;
    flex: none !important;
}

.services .section-title,
.pricing .section-title,
.advantages .section-title,
.contact .section-title {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
}

.services .section-header h2,
.pricing .section-header h2,
.advantages .section-header h2,
.contact .section-header h2 {
    width: 100% !important;
    display: block !important;
}


/* Исправление фона для главной страницы */
body.home,
body.page-template-page-home {
    background: #0f0f1a !important;
    background-color: #0f0f1a !important;
}

.site-main.homepage {
    background: #0f0f1a !important;
}

/* Исправление цвета текста на тёмном фоне */
.section-title {
    color: #8b5cf6 !important;
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.section-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Секции */
.services,
.pricing,
.advantages,
.contact {
    background: transparent !important;
}
