/* seoPages.css - Styles for SEO content pages */

/* Article Container */
.seo-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Breadcrumb */
.seo-article .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
}

.seo-article .breadcrumb-item a {
    color: #6366f1;
    text-decoration: none;
}

.seo-article .breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Header */
.seo-article header h1 {
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.seo-article header .lead {
    font-size: 1.2rem;
    color: #64748b;
}

/* Content Sections */
.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.content-section h3 {
    color: #334155;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section h4 {
    color: #475569;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section strong {
    color: #1e293b;
}

/* Template Cards (for feedback template page) */
.template-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #6366f1;
}

.template-card h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.template-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Question List */
.question-list {
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    padding: 1.25rem 1.25rem 1.25rem 2rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.question-list li {
    color: #334155;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.question-list li:last-child {
    margin-bottom: 0;
}

/* Steps List */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.25rem;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Example Box */
.example-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.25rem 0;
}

.example-box p {
    margin-bottom: 0;
    color: #166534;
}

/* Feedback Examples */
.feedback-example {
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1rem 0;
    position: relative;
}

.feedback-example.good {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.feedback-example.poor {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.feedback-example .example-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.feedback-example.good .example-label {
    background: #dcfce7;
    color: #166534;
}

.feedback-example.poor .example-label {
    background: #fee2e2;
    color: #991b1b;
}

.feedback-example p {
    margin-bottom: 0;
    color: #334155;
}

/* Report Preview */
.report-preview {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.report-preview h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.report-preview h3:first-child {
    margin-top: 0;
}

.report-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.report-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.report-section p:last-child {
    margin-bottom: 0;
}

.report-section em {
    color: #6366f1;
}

.report-section ol {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

/* Transform Cards */
.transform-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.transform-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.transform-card h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.transform-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    border: 1px solid #bbf7d0;
}

.cta-section h2 {
    color: #166534;
    border: none;
    padding-bottom: 0;
    margin-top: 0;
}

.cta-section p {
    color: #15803d;
}

.cta-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
}

/* Resource Cards (for resources listing page) */
.resource-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #6366f1;
}

.resource-card h3 {
    color: #1e293b;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.resource-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-article {
        padding: 0 0.5rem;
    }
    
    .seo-article header h1 {
        font-size: 1.75rem;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .template-card,
    .transform-card,
    .resource-card {
        margin-bottom: 1rem;
    }
    
    .report-preview {
        padding: 1.25rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem !important;
    }
    
    .cta-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
