/**
 * Methodology Page Styles
 */

/* Hero Section */
.page-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}
.page-wrapper.two-column {
    gap: 30px;
}
.methodology-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.methodology-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.methodology-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.6;
}

.methodology-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 400;
    margin: 0;
}

/* Overview Section */
.methodology-overview {
    padding: 60px 20px;
    background: white;
}

.overview-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.overview-icon {
    display: inline-block;
    margin-bottom: 20px;
}

.overview-icon svg {
    color: #1e40af;
}

.overview-card h2 {
    color: #1e40af;
    font-size: 32px;
    margin: 0 0 20px 0;
}

.overview-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #bfdbfe;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #475569;
    font-weight: 500;
}

/* Methodology Sections */
.methodology-section {
    padding: 60px 20px;
}

.methodology-section.gray-bg {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    color: #1e40af;
    font-size: 36px;
    margin: 0 0 15px 0;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
}

/* Module Cards */
.modules-grid {
    /* display: grid; */
    display: block;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    
}

.module-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.module-card:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
    transform: translateY(-3px);
}

.module-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.module-icon {
    margin-bottom: 20px;
}

.module-icon svg {
    color: #1e40af;
}

.module-card h3 {
    color: #1e40af;
    font-size: 22px;
    margin: 0 0 15px 0;
}

.module-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.module-card ul {
    margin: 0;
    padding-left: 20px;
    color: #475569;
}

.module-card ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.module-card ul li strong {
    color: #1e3a8a;
}

.module-criteria {
    margin-top: 20px;
    padding: 15px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
}

.module-criteria strong {
    color: #92400e;
    display: block;
    margin-bottom: 5px;
}

.module-criteria span {
    color: #78350f;
    font-size: 14px;
}

.module-note {
    margin-top: 15px;
    padding: 12px 15px;
    background: #dbeafe;
    border-left: 4px solid #1e40af;
    border-radius: 6px;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
}

/* Parameters Section */
.parameters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.parameter-category {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.parameter-category:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.category-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title svg {
    flex-shrink: 0;
}

.category-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.category-weight {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.parameter-items {
    padding: 30px;
}

.parameter-item {
    margin-bottom: 25px;
}

.parameter-item:last-child {
    margin-bottom: 0;
}

.param-name {
    display: block;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.param-bar {
    position: relative;
    height: 32px;
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
}

.param-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 16px;
    transition: width 0.6s ease;
}

.param-value {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e40af;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

/* Scoring Formula */
.scoring-formula {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: white;
    border: 3px solid #1e40af;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
}

.scoring-formula h3 {
    color: #1e40af;
    font-size: 28px;
    text-align: center;
    margin: 0 0 30px 0;
}

.formula-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 30px;
    border-radius: 12px;
}

.formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.formula-label {
    font-size: 20px;
    color: #1e40af;
    font-weight: 600;
}

.formula-part {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.formula-part strong {
    color: #1e40af;
    font-size: 20px;
}

.formula-operator {
    font-size: 28px;
    color: #1e40af;
    font-weight: 700;
}

.formula-note {
    text-align: center;
    color: #64748b;
    font-style: italic;
    margin: 0;
    font-size: 15px;
}

/* Verification Grid */
.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.verification-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.verification-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    transform: translateY(-5px);
}

.verification-icon {
    margin-bottom: 20px;
}

.verification-icon svg {
    color: #10b981;
}

.verification-card h3 {
    color: #1e40af;
    font-size: 20px;
    margin: 0 0 15px 0;
}

.verification-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.content-column h2 {
    color: #1e40af;
    font-size: 36px;
    margin: 0 0 15px 0;
}

.lead {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.7;
}

.principles-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.principle-item {
    display: flex;
    gap: 15px;
}

.principle-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.principle-content h4 {
    color: #1e40af;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.principle-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.ethics-illustration {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Limitations Card */
.limitations-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 12px;
    padding: 40px;
}

.limitations-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.limitations-header svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.limitations-header h2 {
    color: #92400e;
    font-size: 28px;
    margin: 0;
}

.limitations-card > p {
    color: #78350f;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.limitations-card ul {
    margin: 0;
    padding-left: 25px;
    color: #78350f;
}

.limitations-card ul li {
    margin-bottom: 15px;
    line-height: 1.7;
}

.limitations-card ul li strong {
    color: #92400e;
}

/* CTA Section */
.methodology-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 18px;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e40af;
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ethics-illustration {
        order: -1;
    }
}

@media (max-width: 768px) {
    .methodology-hero {
        padding: 60px 20px 40px;
    }

    .methodology-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .module-card {
        padding: 25px;
    }

    .module-number {
        font-size: 36px;
        top: 15px;
        right: 15px;
    }

    .category-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .category-weight {
        align-self: flex-end;
    }

    .parameter-items {
        padding: 20px;
    }

    .scoring-formula {
        padding: 30px 20px;
    }

    .scoring-formula h3 {
        font-size: 24px;
    }

    .formula {
        flex-direction: column;
        gap: 10px;
    }

    .verification-grid {
        grid-template-columns: 1fr;
    }

    .limitations-card {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .methodology-hero h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .overview-card h2 {
        font-size: 26px;
    }
}
