/* SEO 2025 Accordion Styles */
.seo2025-accordion {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #f0f2f5 0%, #f8f9fa 100%);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.accordion-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.accordion-score {
    font-weight: 600;
    color: #27ae60;
    font-size: 14px;
}

.accordion-content {
    padding: 0 20px 20px 20px;
    background: #ffffff;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* SEO 2025 Content-First Analysis Styles */
.seo2025-analysis {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-first-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
}

.content-first-header h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.content-first-header .verdict {
    font-size: 16px;
    color: #7f8c8d;
    font-style: italic;
}

.core-metrics {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.core-metrics .metric {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px;
}

.metric .label {
    font-weight: 600;
    color: #34495e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric .progress-bar {
    grid-column: 1 / -1;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.metric .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71);
    transition: width 1s ease-out;
    border-radius: 4px;
}

.metric .score {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
    text-align: right;
}

.improvements-section {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.improvements-section h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 16px;
}

.improvements-section ol {
    margin-left: 20px;
    color: #856404;
}

.improvements-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.geo-tips {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    border-radius: 8px;
}

.geo-tips h4 {
    color: #155724;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.geo-tips ul {
    margin-left: 20px;
    color: #155724;
}

.geo-tips li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive Design for SEO 2025 */
@media (min-width: 768px) {
    .core-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .core-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation for score appearance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo2025-analysis > div {
    animation: slideIn 0.5s ease-out forwards;
}

.seo2025-analysis .improvements-section {
    animation-delay: 0.2s;
}

.seo2025-analysis .geo-tips {
    animation-delay: 0.4s;
}