/* ============================================
   METHODOLOGY & ABOUT PAGES STYLES
   For methodology, motivation, privacy, etc.
   ============================================ */

/* Methodology sections */
.methodology-section {
    margin-bottom: 2.5rem;
}

.methodology-section h2 {
    color: #1e293b;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.methodology-section h2:first-of-type {
    margin-top: 0;
}

.methodology-section h3 {
    color: #334155;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.methodology-section h4 {
    color: #475569;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Highlight boxes for methodology */
.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9e7 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #92400e;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Info boxes for methodology */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Legal/privacy sections */
.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-section h5 {
    color: #334155;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Formula/equation displays */
.formula-box {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    overflow-x: auto;
}

/* Data source citations */
.data-source {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.data-source-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}

/* Step-by-step methodology */
.methodology-steps {
    counter-reset: step-counter;
    margin: 1.5rem 0;
}

.methodology-step {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.methodology-step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.methodology-step h4 {
    margin-top: 0;
    color: var(--primary);
}
