body { 
    font-family: 'Inter', sans-serif; 
    --mouse-x: 50vw;
    --mouse-y: 50vh;
}
html { scroll-behavior: smooth; }

.dot-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: 24px 24px;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1.5px, transparent 1.5px);
    transition: background-image 0.3s ease;
}

.dark .dot-bg {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
}

.dot-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.15), transparent 40%);
    transition: background 0.1s ease;
}

.dark .dot-glow {
    background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.18), transparent 40%);
}

/* Upgraded Glass Panel for extreme light/dark mode contrast */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark .glass-panel {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.impact-card-hover:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
}

.dark .impact-card-hover:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Node Web Specific Styles */
.tech-node {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}
.tech-node:hover {
    z-index: 50;
}
.tech-node-content {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-node:hover .tech-node-content {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.tech-node:hover .node-orb {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.95);
}
.dark .tech-node:hover .node-orb {
    background: rgba(30, 30, 30, 0.95);
}

.ticker-mask {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-chip {
    transition: all 0.3s ease;
}
.tech-chip:hover {
    transform: translateY(-3px);
}

.reveal-layer {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-layer.is-visible {
    opacity: 1;
    transform: translateY(0);
}