/* Final Ultra-Premium Institutional Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #3b82f6;
    --bg-main: #fcfdfe;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 1.05rem;
}

a.anchorjs-link { display: none !important; }

.hero-section {
    background: radial-gradient(circle at top right, #1e40af, #0f172a);
    color: white;
    padding: 120px 40px;
    border-radius: 30px;
    margin: 40px 0 80px;
    text-align: center;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #ffffff !important;
}

.hero-section h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff !important;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-section p {
    font-size: 1.3rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.metric-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.3s ease;
}

.metric-card:hover { 
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.metric-icon { font-size: 1.8rem; color: var(--secondary); margin-bottom: 15px; }

.metric-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Updated Section Titles - White on Dark */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 100px 0 40px;
    color: #ffffff !important;
    background: #0f172a;
    padding: 25px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-left: 12px solid var(--secondary);
}

.chart-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.data-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.scroll-table {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.scroll-table table {
    width: 100%;
    margin-bottom: 0;
    background: white !important;
    border-collapse: collapse;
}

.scroll-table thead th {
    background: #f8fafc !important;
    position: sticky;
    top: 0;
    z-index: 100;
    color: #334155;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 18px 15px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.scroll-table tbody td {
    padding: 15px;
    font-size: 0.95rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: white !important;
}

.scroll-table tr:hover td { background-color: #f1f5f9 !important; }

/* Analysis Boxes - Linked to Data Above */
.analysis-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border-left: 10px solid var(--secondary);
    line-height: 1.7;
}

.analysis-box h3 { 
    color: var(--primary); 
    font-weight: 800; 
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer {
    padding: 80px 0;
    text-align: center;
    color: var(--text-muted);
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    margin-top: 120px;
}
