
    /* Reset and Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    :root {
        --gradient-bg: linear-gradient(135deg, #0a0f24, #0c1b3c, #112255);
        --primary: #FF6B6B;
        --secondary: #4ECDC4;
        --tertiary: #45B7D1;
        --dark: #1A1A2E;
        --darker: #16213E;
        --light: #EAEAEA;
        --success: #26DE81;
        --warning: #FFA502;
        --danger: #FF4757;
    }
    
    body {
        margin: 0;
        padding: 0;
        color: white;
        font-family: 'Space Grotesk', sans-serif;
        background: linear-gradient(to bottom right, #111827, #1e3a8a, #111827);
        background-attachment: fixed;
        min-height: 100vh;
    }
    
    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .section {
        min-height: 100vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        scroll-margin-top: 100px;
    }
    
    /* Hero Section */
    .hero {
        background: linear-gradient(-45deg, #050814, #0a0f24, #0c1b3c, #112255, #0a0f24);
        background-size: 600% 600%;
        animation: gradientShift 30s ease infinite;
        position: relative;
        overflow: hidden;
        text-align: center;
        color: #fff;
        background: linear-gradient(to bottom right, #111827, #1e3a8a, #111827);
    color: white;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 33%;
        left: -20%;
        width: 140%;
        height: 35%;
        background: radial-gradient(circle at center, rgba(116, 192, 252, 0.25), rgba(10, 15, 36, 0) 70%);
        animation: glowPulse 6s ease-in-out infinite;
        z-index: 1;
    }
    
    @keyframes glowPulse {
        0%, 100% { opacity: 0.4; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.1); }
    }
    
    #network-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .hero .container {
        position: relative;
        z-index: 2;
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 4rem);
        font-weight: 700;
        position: relative;
        z-index: 1;
        line-height: 1.1;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        opacity: 0.9;
        font-weight: 300;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    
    /* Navigation */
    .sticky-nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(15px);
        z-index: 100;
        padding: 0.8rem 1rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sticky-nav.show {
        transform: translateY(0);
    }
    
    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-title {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        font-weight: 600;
        white-space: nowrap;
    }
    
    .nav-menu-wrapper {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-menu {
        display: flex;
        gap: 0.8rem;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .nav-item {
        color: var(--light);
        text-decoration: none;
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
        font-weight: 500;
        padding: 0.6rem 1rem;
        border-radius: 20px;
        transition: all 0.3s ease;
        opacity: 0.7;
        white-space: nowrap;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-item:hover, .nav-item:focus {
        opacity: 1;
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }
    
    .nav-item.active {
        opacity: 1;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        font-weight: 600;
    }
    
    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        z-index: 200;
        gap: 4px;
        padding: 8px;
        min-height: 24px;
        min-width: 24px;
        justify-content: center;
        align-items: center;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
        background: var(--light);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .attribution {
        font-size: 0.8rem;
        opacity: 0.7;
        margin-top: 1rem;
    }
    
    .attribution a {
        color: inherit;
        text-decoration: underline;
    }
    
    /* Content Cards */
    .content-card {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        padding: clamp(1.5rem, 4vw, 3rem);
        margin: 2rem 0;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .section-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto;
    }
    
    /* Chart Containers */
    .chart-container {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        padding: clamp(1rem, 3vw, 2rem);
        margin: 1.5rem 0;
        min-height: 300px;
        overflow: hidden;
    }
    
    .chart-title {
        font-size: clamp(1rem, 3vw, 1.3rem);
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .chart-subtitle {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
        opacity: 0.8;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Tooltips */
    .tooltip {
        position: absolute;
        background: rgba(26, 26, 46, 0.95);
        padding: 1rem;
        border-radius: 10px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        font-size: 0.85rem;
        max-width: 220px;
        word-wrap: break-word;
    }
    
    .tooltip.show {
        opacity: 1;
    }
    
    /* Legend */
    .legend {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 1rem 0;
        flex-wrap: wrap;
    }
    
    .legend-item {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.8rem;
        min-height: 32px;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
        border-radius: 3px;
        flex-shrink: 0;
    }
    
    /* Key Insights */
    .key-insights {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .insight-card {
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 12px;
        border-left: 4px solid var(--warning);
        transition: transform 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .insight-card:hover {
        transform: translateY(-3px);
    }
    
    .insight-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
        color: var(--warning);
    }
    
    .insight-stat {
        font-size: 1.5rem;
        font-weight: 700;
        font-family: 'JetBrains Mono', monospace;
        margin: 0.4rem 0;
    }
    
    .data-source {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.8rem;
        border-radius: 8px;
        margin-top: 1rem;
        font-size: 0.8rem;
        opacity: 0.8;
        border-left: 3px solid var(--secondary);
    }
    
    .nav-progress {
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .nav-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        width: 0%;
        transition: width 0.3s ease;
    }
    
    /* Mobile Optimizations */
    @media (max-width: 768px) {
        .section {
            min-height: auto;
            padding: 3rem 0;
        }
        
        .hero {
            min-height: 100vh;
        }
        
        .container {
            padding: 0 1rem;
        }
        
        .sticky-nav {
            padding: 0.8rem 1rem;
        }
        
        .hamburger {
            display: flex;
        }
        
        .nav-content {
            flex-direction: column;
            gap: 0.8rem;
            align-items: stretch;
        }
        
        .nav-title {
            text-align: center;
            font-size: 1rem;
        }
        
        .nav-menu-wrapper {
            display: none;
            width: 100%;
            flex-direction: column;
            background: rgba(26, 26, 46, 0.98);
            border-radius: 8px;
            padding: 1rem;
            margin-top: 0.5rem;
        }
        
        .nav-menu-wrapper.show {
            display: flex;
        }
        
        .nav-menu {
            flex-direction: column;
            gap: 0.5rem;
            width: 100%;
        }
        
        .nav-item {
            font-size: 1rem;
            padding: 1rem;
            text-align: center;
            border-radius: 8px;
            min-height: 48px;
            justify-content: center;
        }
        
        .content-card {
            margin: 1rem 0;
            border-radius: 15px;
        }
        
        .chart-container {
            margin: 1rem 0;
            padding: 1rem;
        }
        
        .chart-title {
            margin-bottom: 0.5rem;
        }
        
        .chart-subtitle {
            margin-bottom: 1rem;
        }
        
        .key-insights {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .insight-card {
            padding: 1.2rem;
        }
        
        .legend {
            gap: 0.5rem;
            justify-content: flex-start;
            flex-wrap: wrap;
        }
        
        .legend-item {
            font-size: 0.75rem;
            min-width: auto;
        }
        
        .tooltip {
            max-width: 200px;
            font-size: 0.8rem;
            padding: 0.8rem;
        }
        
        .attribution {
            font-size: 0.7rem;
            text-align: center;
        }
        
        .nav-progress {
            display: none;
        }
        
        /* Chart specific mobile optimizations */
        .chart-container svg text {
            font-size: 10px !important;
        }
        
        .chart-container .legend {
            font-size: 0.7rem;
        }
        
        /* Prevent horizontal scrolling */
        svg {
            max-width: 100%;
            height: auto;
        }
        .attribution {display: none;}
        .nav-title {display: none;}
    }
    
    @media (max-width: 480px) {
        .content-card {
            padding: 1rem;
            border-radius: 12px;
        }
        
        .chart-container {
            padding: 0.8rem;
            min-height: 250px;
        }
        
        .section-title {
            font-size: 1.3rem;
        }
        
        .chart-title {
            font-size: 0.9rem;
        }
        
        .chart-subtitle {
            font-size: 0.75rem;
        }
        
        .insight-card {
            padding: 1rem;
        }
        
        .insight-stat {
            font-size: 1.3rem;
        }
        
        .nav-item {
            padding: 0.8rem;
            font-size: 0.9rem;
        }
        
        .tooltip {
            max-width: 180px;
            font-size: 0.75rem;
            padding: 0.6rem;
        }
        
        .legend-item {
            font-size: 0.7rem;
        }
        
        .legend-color {
            width: 12px;
            height: 12px;
        }
        
        /* Ultra-compact chart text for very small screens */
        .chart-container svg text {
            font-size: 8px !important;
        }
        .attribution {display: none;}
        .nav-title {display: none;}
    }
    
    /* Landscape orientation adjustments */
    @media (max-height: 500px) and (orientation: landscape) {
        .section {
            min-height: auto;
            padding: 2rem 0;
        }
        
        .hero {
            min-height: 100vh;
        }
        
        .chart-container {
            min-height: 200px;
        }
    
        .attribution {display: none;}
        .nav-title {display: none;}
    }
    
    /* High DPI displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .chart-container svg text {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
    }
    
    /* Touch-friendly improvements */
    @media (hover: none) and (pointer: coarse) {
        .nav-item:hover {
            transform: none;
        }
        
        .nav-item:active {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(0.98);
        }
        
        .insight-card:hover {
            transform: none;
        }
        
        .insight-card:active {
            transform: translateY(1px);
        }
    }
    
    .network-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }
    .section.hero {
        position: relative;
        overflow: hidden;
    }
    .section.hero .container {
        position: relative;
        z-index: 1;
    }
    
    /* Glowing insight cards */
.insight-card {
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.insight-card:hover::before {
    transform: translateX(100%);
}
.scroll-down-cta {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 10;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.scroll-down-cta:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}
