* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #006d8f 100%);
    color: #2d3748;
    font-size: 17px;
    line-height: 1.7;
    min-height: 100vh;
    padding-top: 80px; /* Space for fixed navigation */
}

/* Navigation Menu Styles */
.navigation-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.nav-subtitle {
    font-size: 0.85em;
    color: #7f8c8d;
    font-weight: 500;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.nav-link.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.nav-link.active:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

.nav-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.nav-text {
    font-size: 0.95em;
}

.dropdown-arrow {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 280px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 8px 0 0 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    transform: translateX(5px);
}

.dropdown-link:active {
    transform: translateX(5px) scale(0.98);
}

/* Mobile Navigation */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .nav-mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-link {
        justify-content: center;
        padding: 15px 20px;
        margin: 5px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
        background: rgba(240, 240, 240, 0.95);
        margin: 8px 20px;
        display: none;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        padding: 10px 15px;
        font-size: 0.85em;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.header h2 {
    font-size: 2.0em;
    font-weight: 600;
    margin: 0 0 25px 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.header-quote {
    font-size: 1.1em;
    font-style: italic;
    margin: 0 0 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.author-credit {
    font-size: 1.1em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0 20px 0;
    text-align: center;
    font-weight: 400;
}

/* Old modes section styles removed - replaced with modern-analyses-section */

.map-section {
    position: relative;
    padding: 30px;
    background: #f8f9fa;
}

.map-section.hidden {
    display: none;
}

.legend.hidden {
    display: none;
}

.stats-section.hidden {
    display: none;
}

#map {
    height: 650px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 3px solid #fff;
    position: relative;
    z-index: 100;
}

.loading-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.controls {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 1001;
    background: rgba(255,255,255,0.98);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 320px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.controls h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 600;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95em;
    color: #555;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 30px;
}

.control-label:hover {
    color: #2c3e50;
}

.control-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 2px solid #ddd;
}

.control-label:hover .checkmark {
    background-color: #ccc;
}

.control-label input:checked ~ .checkmark {
    background-color: #a8c6fe;
    border-color: #a8c6fe;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.control-label input:checked ~ .checkmark:after {
    display: block;
}

.legend {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    display: none; /* Hidden by default */
}

/* Show legend only in ISP analysis mode */
body.mode-isp .legend {
    display: block;
}

.legend h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
    position: relative;
}

.legend h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.legend-item {
    display: flex;
    align-items: center;
    padding: 18px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.legend-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.legend-item.highlighted {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 5px 15px rgba(33,150,243,0.2);
}

.legend-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.legend-text {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.legend-operators {
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.4;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8em;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1em;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Analysis sections */
.analysis-section {
    display: none;
    background: white;
    margin: 0;
    padding: 40px;
}

.analysis-section.active {
    display: block;
}

.analysis-header {
    text-align: center;
    margin-bottom: 40px;
}

.analysis-title {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.analysis-subtitle {
    font-size: 1.3em;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 20px;
}

.analysis-intro {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Governance analysis styles */
.governance-header {
    margin-bottom: 30px;
}

.governance-main-title {
    color: #8B7355;
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.governance-source-banner {
    background: #E3F2FD;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    font-size: 0.95em;
}

.source-label {
    font-weight: 600;
    color: #1976D2;
}

.source-text {
    color: #424242;
    margin-left: 5px;
}

.governance-dashboard {
    background: #FFF8E1;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.governance-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.governance-stat-card {
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.governance-stat-card:hover {
    transform: translateY(-3px);
}

.stat-beige {
    background: #D7CCC8;
}

.stat-peach {
    background: #FFCCBC;
}

.stat-gray {
    background: #E0E0E0;
}

.stat-pink {
    background: #F8BBD9;
}

.governance-stat-number {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #8B7355;
}

.governance-stat-label {
    font-size: 0.85em;
    color: #5D4037;
    font-weight: 500;
    line-height: 1.3;
}

.governance-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.governance-chart-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.governance-chart-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

.chart-icon {
    font-size: 1.2em;
    margin-right: 10px;
}

.chart-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #424242;
}

.governance-chart-content {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.governance-chart-hint {
    text-align: center;
    font-size: 0.85em;
    color: #757575;
    font-style: italic;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .governance-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .governance-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .governance-stat-number {
        font-size: 1.8em;
    }
}

/* Improved text readability for analysis sections */
.analysis-section h3,
.analysis-section h4 {
    color: #1a202c !important;
    font-weight: 600;
}

.analysis-section p,
.analysis-section div:not(.nav-brand):not(.nav-container),
.analysis-section span:not(.nav-text):not(.nav-icon) {
    color: #2d3748 !important;
    font-weight: 500;
}

.analysis-section .analysis-intro,
.analysis-section .analysis-text,
.analysis-section .analysis-subtitle {
    color: #2d3748 !important;
    font-weight: 500;
    line-height: 1.6;
}

.analysis-section strong {
    color: #1a202c !important;
    font-weight: 600;
}

/* Modern Analyses Section */
.modern-analyses-section {
    margin: 60px 0;
    padding: 0 20px;
}

.analyses-header {
    text-align: center;
    margin-bottom: 50px;
}

.analyses-title {
    font-size: 3.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-shadow: none;
}

.analyses-subtitle {
    font-size: 1.3em;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.analyses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.analysis-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 240px;
}

.analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.analysis-card:hover::before {
    opacity: 1;
}

.analysis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.analysis-card.active {
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.analysis-card.active::before {
    opacity: 1;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 20px 20px 0 0;
}

.card-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.card-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-description {
    color: #64748b;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .analyses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .analysis-card {
        padding: 25px;
        min-height: 200px;
    }
    
    .analyses-title {
        font-size: 2.5em;
    }
    
    .analyses-subtitle {
        font-size: 1.1em;
    }
}

/* Professional Analysis Layout Components */
.analysis-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #e2e8f0;
}

.analysis-title {
    font-size: 3.5em;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    letter-spacing: -0.02em;
}

.analysis-subtitle {
    font-size: 1.6em;
    color: #64748b;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Infrastructure Analysis Styles */
.infrastructure-dashboard {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.infrastructure-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.infrastructure-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.infrastructure-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.infrastructure-stat-card.infra-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.infrastructure-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.infrastructure-stat-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.infrastructure-stat-description {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 500;
}

/* Cybersecurity Analysis Styles */
.cybersecurity-dashboard {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cybersecurity-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cybersecurity-stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cybersecurity-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #4ecdc4;
}

.cybersecurity-stat-card.cyber-highlight {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.cybersecurity-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cybersecurity-stat-card.cyber-highlight .cybersecurity-stat-number {
    color: white;
    -webkit-text-fill-color: white;
}

.cybersecurity-stat-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.cybersecurity-stat-card.cyber-highlight .cybersecurity-stat-label {
    color: white;
}

.cybersecurity-stat-description {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 500;
    color: #6c757d;
}

.cybersecurity-stat-card.cyber-highlight .cybersecurity-stat-description {
    color: rgba(255,255,255,0.9);
}

.cybersecurity-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cybersecurity-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cybersecurity-stat-card.cyber-highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.cybersecurity-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.cybersecurity-stat-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.cybersecurity-stat-description {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 500;
}

/* Sovereignty Analysis Styles */
.sovereignty-dashboard {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sovereignty-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sovereignty-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sovereignty-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sovereignty-stat-card.sovereignty-highlight {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
}

.sovereignty-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.sovereignty-stat-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.sovereignty-stat-description {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 500;
}

/* Brand link styling */
.brand-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* About Page Styles */
.about-dashboard {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-card h3 {
    color: #1a202c;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-card p {
    color: #2d3748;
    line-height: 1.7;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.africativistes-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
}

.stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #64748b;
    font-weight: 500;
}

.author-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.data-sources {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.source-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.source-item strong {
    color: #1a202c;
    font-size: 1.1em;
    display: block;
    margin-bottom: 8px;
}

.source-item p {
    color: #64748b;
    font-size: 1em;
    margin: 0;
}

.contact-note {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-note p {
    color: white;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .africativistes-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-expertise {
        flex-direction: column;
    }
    
    .expertise-tag {
        text-align: center;
    }
}

/* Enhanced Typography and Data Highlighting */
p, .map-description p, .infrastructure-analysis-text, .cybersecurity-analysis-text, .sovereignty-analysis-text {
    font-size: 1.25em !important;
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
    color: #2d3748 !important;
    font-weight: 400;
}

/* Important Data Highlights */
strong, .highlight, .cyber-highlight, .sovereignty-highlight {
    font-weight: 700 !important;
    color: #1a202c !important;
    background: linear-gradient(120deg, #fef9e7, #fff3cd);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 1.1em;
}

/* Enhanced headings */
h3, h4 {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 25px 0 15px 0 !important;
    line-height: 1.3;
}

h4 {
    font-size: 1.5em !important;
    margin: 20px 0 12px 0 !important;
}

/* Improved stat displays */
.stat-number, .governance-stat-number, .cybersecurity-stat-number, .sovereignty-stat-number, .abidjan-stat-number {
    font-size: 2.5em !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.stat-label, .governance-stat-label, .cybersecurity-stat-label, .sovereignty-stat-label, .abidjan-stat-label {
    font-size: 1.1em !important;
    font-weight: 600 !important;
}

/* Enhanced table text */
.sovereignty-table td, .governance-table td {
    font-size: 1.15em !important;
    line-height: 1.6 !important;
    padding: 15px 12px !important;
}

.sovereignty-table th, .governance-table th {
    font-size: 1.2em !important;
    font-weight: 700 !important;
    padding: 18px 12px !important;
}

/* Card content improvements */
.map-card h4, .governance-card h4, .cybersecurity-analysis-card .cybersecurity-analysis-title {
    font-size: 1.6em !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #1a202c !important;
}

/* Legend improvements */
.legend-item, .cybersecurity-legend-item, .sovereignty-legend-item {
    font-size: 1.1em !important;
    font-weight: 500 !important;
    padding: 8px 0 !important;
}

/* Enhanced analysis sections */
.infrastructure-analysis-title, .cybersecurity-analysis-title, .sovereignty-analysis-title {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 20px !important;
}

/* Important metrics highlighting */
.coverage-percentage, .impact-badge, .domain-badge {
    font-size: 1em !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
}

/* Mobile typography improvements */
@media (max-width: 768px) {
    p, .map-description p, .infrastructure-analysis-text, .cybersecurity-analysis-text, .sovereignty-analysis-text {
        font-size: 1.2em !important;
    }
    
    h3, h4 {
        font-size: 1.5em !important;
    }
    
    h4 {
        font-size: 1.3em !important;
    }
    
    .sovereignty-table td, .governance-table td {
        font-size: 1.1em !important;
    }
}

/* Enhanced Infrastructure Vulnerability Grid */
.infrastructure-vulnerability-grid, .analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.vulnerability-item, .analysis-point {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.vulnerability-item:hover, .analysis-point:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.vulnerability-icon, .analysis-icon {
    font-size: 2.5em;
    min-width: 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.vulnerability-content, .analysis-text {
    flex: 1;
}

.vulnerability-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.vulnerability-text {
    font-size: 1.2em;
    line-height: 1.7;
    color: #2d3748;
    font-weight: 400;
}

.analysis-text {
    font-size: 1.2em !important;
    line-height: 1.7 !important;
    color: #2d3748 !important;
    font-weight: 400;
}

.analysis-text strong {
    color: #1a202c !important;
    font-weight: 700 !important;
}

/* Mobile responsiveness for vulnerability grid */
@media (max-width: 768px) {
    .infrastructure-vulnerability-grid, .analysis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vulnerability-item, .analysis-point {
        padding: 20px;
        gap: 15px;
    }
    
    .vulnerability-icon, .analysis-icon {
        font-size: 2em;
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .vulnerability-title {
        font-size: 1.2em;
    }
    
    .vulnerability-text, .analysis-text {
        font-size: 1.1em !important;
    }
}

/* Enhanced governance table styles */
.countries-table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
    margin: 30px 0;
}

.governance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.governance-table th,
.governance-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.governance-table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85em;
    position: sticky;
    top: 0;
}

.governance-table tr:hover {
    background: #f8f9fa;
}

.governance-table .country-name {
    font-weight: 600;
    color: #2c3e50;
}

.governance-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator-yes {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.indicator-no {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.indicator-partial {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.score-badge {
    font-weight: 700;
    font-size: 1.1em;
    color: #2c3e50;
}

/* Insight cards for analysis summary */
.governance-analysis-summary {
    margin-top: 40px;
}

.section-title {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.analysis-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.insight-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
}

.insight-positive {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 5px solid #28a745;
}

.insight-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 5px solid #ffc107;
}

.insight-info {
    background: linear-gradient(135deg, #cce7ff, #b8daff);
    border-left: 5px solid #007bff;
}

.insight-recommendation {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 5px solid #0ea5e9;
}

.insight-icon {
    font-size: 2em;
    margin-right: 15px;
    flex-shrink: 0;
}

.insight-content h4 {
    color: #2c3e50;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
}

.insight-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.chart-subtitle {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.governance-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.chart-title {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.chart-canvas {
    max-height: 400px;
}

.governance-countries {
    margin-top: 30px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.country-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.country-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.country-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-excellent {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-good {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.status-partial {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-limited {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Infrastructure analysis styles */
.infrastructure-content {
    margin-top: 30px;
}

.infrastructure-overview {
    background: #f0f9ff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #0ea5e9;
}

.infrastructure-overview h4 {
    color: #0284c7;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.infrastructure-maps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.map-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-card h4 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.map-image-container {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
    max-width: 1000px;
}

.infrastructure-map {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.infrastructure-map:hover {
    transform: scale(1.02);
}

.map-description {
    text-align: center;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.map-description p:first-child {
    color: #6c757d;
    font-style: italic;
    font-size: 1.0em;
    margin-bottom: 15px;
    font-weight: 500;
}

.map-description p:last-child {
    color: #495057;
    font-size: 1.2em;
    line-height: 1.8;
    text-align: justify;
}

.infrastructure-analysis {
    margin-top: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #28a745;
}

.infrastructure-analysis h4 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

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

.analysis-point {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.analysis-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.analysis-icon {
    font-size: 1.5em;
    min-width: 40px;
    text-align: center;
}

.analysis-text {
    line-height: 1.6;
    font-size: 1.1em;
}

/* Sovereignty Table Colored Badges */
.domain-badge, .impact-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.tech-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.policy-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.governance-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.economic-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.impact-critique {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.impact-eleve {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    box-shadow: 0 4px 15px rgba(254,202,87,0.3);
}

.impact-moyen {
    background: linear-gradient(135deg, #48cae4 0%, #023e8a 100%);
    box-shadow: 0 4px 15px rgba(72,202,228,0.3);
}

.point-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
    margin: 0 auto;
}

.challenge-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.3;
}

.details-text {
    font-size: 1.05em;
    color: #495057;
    margin-bottom: 10px;
    line-height: 1.5;
}

.consequences {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    border-left: 4px solid #ffc107;
}

.consequences-title {
    font-weight: 600;
    font-size: 0.95em;
    color: #856404;
    margin-bottom: 5px;
}

.consequences-text {
    font-size: 0.9em;
    color: #6c5700;
    line-height: 1.4;
}

.governance-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.governance-table tbody tr {
    transition: all 0.3s ease;
}

/* PDF Download Button */
.pdf-download-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pdf-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102,126,234,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pdf-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102,126,234,0.4);
    text-decoration: none;
    color: white;
}

.pdf-download-btn:active {
    transform: translateY(-1px);
}

/* Cybersecurity Chart Enhancements */
.cybersecurity-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.cybersecurity-chart-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cybersecurity-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.cybersecurity-chart-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.cybersecurity-chart-hint {
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.cybersecurity-full-width {
    grid-column: 1 / -1;
}

.cybersecurity-map {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    margin: 20px auto;
    display: block;
    transition: transform 0.3s ease;
}

.cybersecurity-map:hover {
    transform: scale(1.02);
}

.cybersecurity-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cybersecurity-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    font-size: 0.95em;
}

.cybersecurity-legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cybersecurity-analysis-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border-left: 5px solid #4ecdc4;
}

.cybersecurity-analysis-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.cybersecurity-analysis-text {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1em;
    color: #495057;
}

.cyber-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #2c3e50;
}

.cybersecurity-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.analysis-intro {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.6;
}

.cybersecurity-map-description {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #4ecdc4;
}

.cybersecurity-map-description p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #495057;
}

.cybersecurity-map-description p:first-child {
    font-weight: 600;
    color: #2c3e50;
}

.cybersecurity-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Abidjan Declaration Recommendations Styling */
.recommendations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.recommendation-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 5px solid #e9ecef;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.recommendation-card.priority-high {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.recommendation-card.priority-medium {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.recommendation-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.recommendation-text {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
}

.recommendation-impact {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2c3e50;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
    display: inline-block;
}

/* Constitutional Rights Styling */
.constitutional-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.constitutional-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.constitutional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.constitutional-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.constitutional-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.constitutional-text {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
}

/* Enhanced Header Styling */
.author-credit-enhanced {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.author-icon {
    font-size: 1.3em;
}

.header-quote-enhanced {
    margin: 30px 0;
    text-align: center;
}

.quote-icon-large {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.8;
}

.main-quote {
    font-size: 1.4em;
    font-style: italic;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.header-title-enhanced {
    margin: 40px 0;
    text-align: center;
}

.main-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #ebebeb;
    line-height: 1.3;
    margin: 0;
    background: linear-gradient(135deg, #606060 0%, #008cb4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Key Statistics Cards */
.key-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-card.stat-primary {
    border-left-color: #007bff;
}

.stat-card.stat-warning {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
}

.stat-card.stat-info {
    border-left-color: #17a2b8;
}

.stat-card.stat-danger {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #ffffff 100%);
}

.stat-card .stat-number {
    font-size: 3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.95em;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* Enhanced Footer Styling */
.footer-enhanced {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-icon {
    font-size: 2.5em;
}

.footer-title {
    font-size: 1.8em;
    font-weight: 700;
}

.footer-description {
    font-size: 1.1em;
    color: #bdc3c7;
    font-style: italic;
}

.footer-credits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-author,
.footer-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9em;
    color: #95a5a6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.map-title {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.map-source {
    font-size: 0.85em;
    color: #6c757d;
    font-style: italic;
}

/* Cybersecurity analysis styles */
.cybersecurity-content {
    margin-top: 30px;
}

.cybersecurity-overview {
    background: #fef7f0;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #f97316;
}

.cybersecurity-overview h4 {
    color: #ea580c;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.cybersecurity-image {
    text-align: center;
    margin: 30px 0;
}

/* Sovereignty challenges styles */
.sovereignty-content {
    margin-top: 30px;
}

.sovereignty-overview {
    background: #fdf4ff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #a855f7;
}

.sovereignty-overview h4 {
    color: #9333ea;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.challenges-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.challenges-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.challenges-table th,
.challenges-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.challenges-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85em;
}

.challenges-table tr:hover {
    background: #f8f9fa;
}

.challenge-number {
    font-weight: 700;
    color: #9333ea;
    font-size: 1.1em;
}

.challenge-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.challenge-impact {
    font-size: 0.9em;
    color: #6c757d;
}

/* Abidjan Declaration styles */
.abidjan-content {
    margin-top: 30px;
}

.abidjan-overview {
    background: #f0fdf4;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #22c55e;
}

.abidjan-overview h4 {
    color: #16a34a;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.abidjan-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pillar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #22c55e;
}

.pillar-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 15px;
}

.pillar-content {
    color: #374151;
    line-height: 1.6;
}

.abidjan-conclusion {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.conclusion-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.conclusion-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover,
.close:focus {
    color: #333;
}

/* Hover statistics panel */
.hover-stats {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 300px;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.hover-stats.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hover-stats-content {
    color: #2c3e50;
}

.hover-country-name {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.hover-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.hover-stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hover-stat-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
}

.hover-stat-value {
    font-weight: 700;
    color: #2c3e50;
    text-align: right;
}

.dominance-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dominance-france {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.dominance-south-africa {
    background: #e8f5e8;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.dominance-morocco {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.dominance-mixed {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.coverage-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.coverage-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.coverage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.coverage-label {
    font-weight: 500;
    color: #666;
    font-size: 0.9em;
}

.coverage-value {
    font-weight: 700;
    font-size: 0.9em;
}

.coverage-4g { color: #2196f3; }
.coverage-3g { color: #ff9800; }
.coverage-5g { color: #4caf50; }

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .nav-brand h1 {
        font-size: 1.3em;
    }
    
    .nav-subtitle {
        font-size: 0.8em;
    }
    
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .header h2 {
        font-size: 1.3em;
    }
    
    .modes-section {
        padding: 20px 15px;
    }
    
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .map-section {
        padding: 20px 15px;
    }
    
    #map {
        height: 400px;
    }
    
    .controls {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px 0;
        max-width: none;
    }
    
    .legend {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .legend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 15px;
    }
    
    .analysis-section {
        padding: 20px 15px;
    }
    
    .governance-charts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .infrastructure-maps {
        gap: 30px;
    }
    
    .map-card {
        padding: 20px;
    }
    
    .map-description {
        text-align: left;
    }
    
    .map-description p:last-child {
        text-align: left;
    }
    
    .cybersecurity-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cybersecurity-legend {
        gap: 15px;
    }
    
    .cybersecurity-legend-item {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    .recommendations-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .constitutional-rights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recommendation-card {
        padding: 20px;
        gap: 15px;
    }
    
    .constitutional-card {
        padding: 20px;
    }
    
    .key-statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-card .stat-number {
        font-size: 2.2em;
    }
    
    .main-quote {
        font-size: 1.2em;
        padding: 20px;
    }
    
    .main-title {
        font-size: 1.8em;
    }
    
    .author-credit-enhanced {
        font-size: 1em;
        padding: 12px 20px;
    }
    
    .footer-credits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-title {
        font-size: 1.5em;
    }
    
    .countries-grid,
    .abidjan-pillars {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
        max-height: 85vh;
    }
    
    .hover-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 20px 0;
        min-width: auto;
    }
    
    .challenges-table {
        padding: 15px;
    }
    
    .challenges-table th,
    .challenges-table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5em;
    }
    
    .header h2 {
        font-size: 1.1em;
    }
    
    .mode-icon {
        font-size: 2em;
    }
    
    .mode-title {
        font-size: 1.1em;
    }
    
    .mode-description {
        font-size: 0.9em;
    }
    
    .stat-number {
        font-size: 2.2em;
    }
    
    .analysis-title {
        font-size: 1.8em;
    }
    
    .analysis-subtitle {
        font-size: 1.1em;
    }
}