/**
 * Science Page Styles
 * External CSS for CyBehave Science/Approach page
 */

/* ==================== Section Alt Background ==================== */
.section-alt-bg {
    background: #f8fafc;
}

/* ==================== Diagram Container ==================== */
.diagram-container {
    background: white;
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.diagram-title {
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 30px;
    color: #6490A3;
}

svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.framework-explanation {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #e8f2f5;
    border-left: 5px solid #6490A3;
    border-radius: 12px;
}

.framework-explanation h4 {
    color: #6490A3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.framework-explanation p {
    color: #4B506D;
    line-height: 1.7;
    margin: 0;
}

/* ==================== Challenge Box ==================== */
.challenge-box {
    background: linear-gradient(135deg, #3b4a5c 0%, #2d3748 100%);
    border-left: 5px solid #ef4444;
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.challenge-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: #fca5a5;
}

.challenge-box h3 {
    color: #fca5a5;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.challenge-box p {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.challenge-box p strong {
    color: #f8fafc;
}

/* ==================== Two Column Comparison ==================== */
.two-column-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.column-box {
    background: #3b4a5c;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.column-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.tactical-tools {
    background: linear-gradient(135deg, #3b4a5c 0%, #2d3748 100%);
    border-left: 5px solid #f59e0b;
}

.tactical-tools .column-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.strategic-approach {
    background: linear-gradient(135deg, #3b4a5c 0%, #2d3748 100%);
    border-left: 5px solid #60a5fa;
}

.strategic-approach .column-icon {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
}

.column-box h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.tactical-tools h3 {
    color: #fbbf24;
}

.strategic-approach h3 {
    color: #93c5fd;
}

.column-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.column-box li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: #e2e8f0;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.column-box li .check-icon {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.tactical-tools li .check-icon {
    color: #fbbf24;
}

.strategic-approach li .check-icon {
    color: #93c5fd;
}

.column-box .note {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    color: #f1f5f9;
    line-height: 1.7;
}

.column-box .note strong {
    color: #ffffff;
}

.column-box .note em {
    color: #cbd5e1;
}

/* ==================== Pillars Grid ==================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #6490A3;
}

.pillar-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #6490A3;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

.pillar-card h3 {
    color: #0f172a;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.pillar-card p {
    text-align: center;
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ==================== Capabilities Grid ==================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.capability-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #e2e8f0;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #6490A3;
}

.capability-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6490A3;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

.capability-card h4 {
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.capability-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== Scientific Foundation Section ==================== */
.scientific-basis {
    max-width: 1000px;
    margin: 0 auto;
}

.science-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #6490A3;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

.scientific-basis h3 {
    text-align: center;
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.disciplines-list {
    margin-top: 2rem;
}

.discipline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-items: flex-start;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.discipline-item:hover {
    border-color: #6490A3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.discipline-icon-wrapper {
    flex-shrink: 0;
}

.discipline-icon {
    font-size: 2.5rem;
    color: #6490A3;
    display: block;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

.discipline-content h4 {
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

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

.science-statement {
    margin-top: 2rem;
    padding: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #10b981;
    text-align: center;
}

.science-statement p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ==================== Future Section ==================== */
.future-section-box {
    background: linear-gradient(135deg, #3b4a5c 0%, #2d3748 100%);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-left: 5px solid #93c5fd;
}

.future-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #93c5fd;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

.future-section-box h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.future-section-box .body-text {
    color: #f1f5f9;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.future-section-box ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.future-section-box li {
    padding: 0.75rem 0;
    color: #f1f5f9;
    line-height: 1.7;
    font-size: 1.05rem;
}

.future-section-box li strong {
    color: #ffffff;
    font-weight: 700;
}

.future-section-box li span[style*="color"] {
    color: #93c5fd !important;
}

.future-section-box p[style*="border-top"] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(147, 197, 253, 0.3) !important;
    color: #f1f5f9;
}

.future-section-box p[style*="border-top"] strong {
    color: #ffffff;
    font-weight: 700;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
    .two-column-comparison {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .diagram-container,
    .challenge-box {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .diagram-container {
        padding: 1.5rem;
    }
    
    .challenge-icon,
    .column-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .pillar-icon,
    .capability-icon {
        font-size: 2rem;
    }
    
    .future-icon,
    .science-icon {
        font-size: 3rem;
    }
}

/* ==================== Dark Mode Support ==================== */
@media (prefers-color-scheme: dark) {
    .section-alt-bg {
        background: #1e293b;
    }
    
    .pillar-card {
        background: #334155;
        border-color: #475569;
    }
    
    .pillar-card h3 {
        color: #f1f5f9;
    }
    
    .pillar-card p {
        color: #cbd5e1;
    }
    
    .capability-card {
        background: #334155;
        border-color: #475569;
    }
    
    .capability-card h4 {
        color: #f1f5f9;
    }
    
    .capability-card p {
        color: #cbd5e1;
    }
    
    .discipline-item {
        background: #334155;
        border-color: #475569;
    }
    
    .discipline-content h4 {
        color: #f1f5f9;
    }
    
    .discipline-content p {
        color: #cbd5e1;
    }
    
    .scientific-basis h3 {
        color: #f1f5f9;
    }
    
    .science-statement p {
        color: #cbd5e1;
    }
    
    .diagram-container {
        background: #334155;
    }
    
    .framework-explanation {
        background: #475569;
    }
    
    .framework-explanation h4,
    .framework-explanation p {
        color: #e2e8f0;
    }
}