/* SEO Enhancements for Conterra Solutions Article */

/* Comparison Table Styles */
.comparison-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin: 30px 0;
}

.comparison-title {
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.comparison-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    margin: 10px auto;
    border-radius: 2px;
}

.table-responsive {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-section .table {
    margin-bottom: 0;
    font-size: 14px;
}

.comparison-section .table th {
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 15px 10px;
}

.comparison-section .table td {
    text-align: center;
    vertical-align: middle;
    padding: 12px 10px;
}

.comparison-section .table th[scope="row"] {
    background-color: #f1f3f4;
    font-weight: 600;
    text-align: left;
    color: #495057;
}

.comparison-section .badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* FAQ Section Styles */
.faq-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    color: white;
}

.faq-title {
    color: white;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.faq-section .accordion {
    --bs-accordion-bg: rgba(255, 255, 255, 0.95);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.2);
    --bs-accordion-border-radius: 10px;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-button {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 25px;
    border: none;
    border-radius: 10px !important;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #007bff;
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    background: white;
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
    padding: 25px;
    border-top: 2px solid #f8f9fa;
}

/* CTA Buttons */
.conterra-cta {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin: 20px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.conterra-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comparison-section {
        padding: 20px 15px;
    }
    
    .faq-section {
        padding: 25px 20px;
    }
    
    .comparison-section .table th,
    .comparison-section .table td {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .comparison-section .badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .faq-section .accordion-button {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    .faq-section .accordion-body {
        font-size: 14px;
        padding: 20px;
    }
}

/* Dark mode support */
.dark-mode .comparison-section {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-mode .comparison-title {
    color: #e2e8f0;
}

.dark-mode .comparison-section .table th[scope="row"] {
    background-color: #4a5568;
    color: #e2e8f0;
}

.dark-mode .faq-section .accordion-button {
    background: rgba(45, 55, 72, 0.95);
    color: #e2e8f0;
}

.dark-mode .faq-section .accordion-body {
    background: #2d3748;
    color: #cbd5e0;
}
