/* Methodology Page Specific Styles */

/* Hero Section */
.methodology-hero {
    background: linear-gradient(135deg, #f9fafb 0%, #f2f4f7 100%);
    border-bottom: 1px solid #e4e7ec;
    padding: 80px 0 64px;
    text-align: center;
}

.methodology-hero .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #101828;
    letter-spacing: -0.02em;
}

.methodology-hero .subtitle {
    font-size: 20px;
    color: #475467;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #101828;
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-stat .stat-label {
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #101828;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #475467;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.overview-card {
    background-color: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.overview-card:hover {
    border-color: #f79009;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
    transform: translateY(-2px);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.overview-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.overview-card p {
    color: #475467;
    line-height: 1.5;
}

/* Methodology Section */
.methodology-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.methodology-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.methodology-tab {
    padding: 12px 20px;
    border: 1px solid #d0d5dd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
    color: #344054;
    white-space: nowrap;
    flex-shrink: 0;
}

.methodology-tab.active,
.methodology-tab:hover {
    border-color: #f79009;
    background: #f79009;
    color: white;
}

.methodology-content {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
}

.methodology-panel {
    display: none;
    padding: 0;
}

.methodology-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f9fafb 0%, #f2f4f7 100%);
    border-bottom: 1px solid #e4e7ec;
}

.panel-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.weight-badge {
    background: linear-gradient(135deg, #f79009 0%, #dc6803 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-content {
    padding: 32px;
}

.panel-description {
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 32px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.criteria-item {
    background-color: #f9fafb;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s;
}

.criteria-item:hover {
    border-color: #f79009;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.1);
}

.criteria-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 8px;
}

.criteria-weight {
    font-size: 12px;
    color: #f79009;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.criteria-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-item li {
    padding: 6px 0;
    color: #475467;
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.criteria-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f79009;
    font-weight: 700;
}

/* Data Sources Section */
.data-sources-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.data-source-card {
    background-color: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
    cursor: pointer;
}

.data-source-card:hover {
    border-color: #f79009;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
    transform: translateY(-2px);
}

.data-source-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.data-source-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.data-source-card p {
    color: #475467;
    line-height: 1.5;
    margin-bottom: 20px;
}

.data-source-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-source-card li {
    padding: 6px 0;
    color: #475467;
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.data-source-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #027a48;
    font-weight: 700;
}

/* Update Schedule Section */
.update-schedule-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.update-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, #e4e7ec 0%, transparent 100%);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background-color: white;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #475467;
    line-height: 1.5;
    margin-bottom: 16px;
}

.update-frequency {
    display: inline-block;
    background: linear-gradient(135deg, #f79009 0%, #dc6803 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quality Assurance Section */
.quality-assurance-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.qa-card {
    background-color: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.qa-card:hover {
    border-color: #f79009;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
    transform: translateY(-2px);
}

.qa-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border: 1px solid #a5b4fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.qa-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.qa-card p {
    color: #475467;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f2f4f7 100%);
    border-top: 1px solid #e4e7ec;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #101828;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 18px;
    color: #475467;
    line-height: 1.5;
    margin-bottom: 32px;
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .methodology-hero .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .overview-grid,
    .data-sources-grid,
    .qa-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .methodology-tab {
        text-align: center;
    }
    
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item:not(:last-child):after {
        display: none;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .panel-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .methodology-hero {
        padding: 60px 0;
    }
    
    .methodology-hero .hero-content h1 {
        font-size: 28px;
    }
    
    .methodology-hero .subtitle {
        font-size: 16px;
    }
    
    .hero-stat .stat-value {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .overview-card,
    .data-source-card,
    .qa-card {
        padding: 20px;
    }
    
    .timeline-content {
        padding: 16px;
    }
    
    .contact-content h2 {
        font-size: 28px;
    }
    
    .contact-content p {
        font-size: 16px;
    }
}
