/* ============================================
   muhan.ai - Neural Architecture Research
   Color Palette:
     Deep Indigo: #0A0820
     Neural Teal: #0A2830
     Synapse Violet: #1A0A30
     Pulse Cyan: #20D0E0
     Pulse Magenta: #D020A0
     Node White: #E0E8F0
     Edge Dim: rgba(32,208,224,0.3)
   Fonts:
     Headlines: Space Grotesk 700
     Body: Inter 400
     Data: JetBrains Mono 400
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0A0820;
    color: #E0E8F0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 12px;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(10,40,48,0.9), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(26,10,48,0.8), transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(32,208,224,0.05), transparent 50%),
        #0A0820;
    animation: meshShift 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes meshShift {
    0% {
        background:
            radial-gradient(ellipse at 30% 40%, rgba(10,40,48,0.9), transparent 60%),
            radial-gradient(ellipse at 70% 60%, rgba(26,10,48,0.8), transparent 60%),
            radial-gradient(ellipse at 50% 80%, rgba(32,208,224,0.05), transparent 50%),
            #0A0820;
    }
    25% {
        background:
            radial-gradient(ellipse at 40% 30%, rgba(10,40,48,0.9), transparent 60%),
            radial-gradient(ellipse at 60% 70%, rgba(26,10,48,0.8), transparent 60%),
            radial-gradient(ellipse at 35% 65%, rgba(208,32,160,0.04), transparent 50%),
            #0A0820;
    }
    50% {
        background:
            radial-gradient(ellipse at 25% 50%, rgba(10,40,48,0.9), transparent 60%),
            radial-gradient(ellipse at 75% 45%, rgba(26,10,48,0.8), transparent 60%),
            radial-gradient(ellipse at 60% 75%, rgba(32,208,224,0.05), transparent 50%),
            #0A0820;
    }
    75% {
        background:
            radial-gradient(ellipse at 35% 55%, rgba(10,40,48,0.85), transparent 60%),
            radial-gradient(ellipse at 65% 50%, rgba(26,10,48,0.75), transparent 60%),
            radial-gradient(ellipse at 45% 70%, rgba(208,32,160,0.04), transparent 50%),
            #0A0820;
    }
    100% {
        background:
            radial-gradient(ellipse at 45% 35%, rgba(10,40,48,0.9), transparent 60%),
            radial-gradient(ellipse at 55% 65%, rgba(26,10,48,0.8), transparent 60%),
            radial-gradient(ellipse at 55% 50%, rgba(32,208,224,0.06), transparent 50%),
            #0A0820;
    }
}

/* Neural Network SVG */

#neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 700px;
    height: auto;
    z-index: 1;
    opacity: 0;
    animation: fadeInNetwork 2s ease-out 0.3s forwards;
}

@keyframes fadeInNetwork {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.neural-edge {
    stroke: rgba(32,208,224,0.3);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: neuralPulse 2s linear infinite;
    opacity: 0;
}

.neural-edge.draw {
    animation: drawEdge 2s ease-out forwards, neuralPulse 2s linear 2s infinite;
}

@keyframes drawEdge {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes neuralPulse {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -24; }
}

.neural-node {
    fill: #E0E8F0;
    opacity: 0;
    filter: url(#nodeGlow);
    transition: r 0.3s ease;
}

.neural-node.visible {
    animation: nodeAppear 0.6s ease-out forwards;
}

@keyframes nodeAppear {
    0% { opacity: 0; r: 0; }
    60% { opacity: 1; }
    100% { opacity: 1; }
}

.neural-node.accent {
    fill: #20D0E0;
}

.neural-node.accent2 {
    fill: #D020A0;
}

/* Logotype */

#logotype {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    animation: logoFadeIn 0.8s ease-out 1.5s forwards;
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

#logotype h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 72px);
    background: linear-gradient(90deg, #20D0E0, #D020A0, #20D0E0);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
    letter-spacing: -0.02em;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

#logotype .dot {
    -webkit-text-fill-color: #D020A0;
}

#logotype .tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: rgba(32,208,224,0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* Hero Bento Previews */

#hero-bento {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bento-preview {
    position: absolute;
    background: rgba(10,8,32,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(32,208,224,0.15);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: auto;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-preview:hover {
    border-color: rgba(32,208,224,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(32,208,224,0.08);
}

.bento-preview.visible {
    animation: bentoCellAppear 0.5s ease-out forwards;
}

@keyframes bentoCellAppear {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.bento-preview[data-index="0"] { top: 8%; left: 5%; }
.bento-preview[data-index="1"] { top: 8%; right: 5%; }
.bento-preview[data-index="2"] { top: 35%; left: 3%; }
.bento-preview[data-index="3"] { top: 35%; right: 3%; }
.bento-preview[data-index="4"] { bottom: 18%; left: 6%; }
.bento-preview[data-index="5"] { bottom: 18%; right: 6%; }

.bento-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(224,232,240,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bento-metric {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #20D0E0;
}

.bento-metric.mono {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
}

/* Scroll Indicator */

#scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: scrollIndicatorFadeIn 0.6s ease-out 3s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(32,208,224,0.5), rgba(32,208,224,0));
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #20D0E0);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(0); }
    100% { transform: translateY(80px); }
}

@keyframes scrollIndicatorFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ============================================
   RESEARCH SECTION
   ============================================ */

#research {
    position: relative;
    padding: 80px 5% 60px;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(10,40,48,0.4), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(26,10,48,0.3), transparent 60%),
        #0A0820;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 48px);
    color: #E0E8F0;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bento Grid */

#bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    grid-auto-rows: minmax(160px, auto);
}

.bento-cell {
    background: rgba(10,8,32,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(32,208,224,0.15);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bento-cell.visible {
    opacity: 1;
    transform: translateY(0);
}

.bento-cell:hover {
    border-color: rgba(32,208,224,0.35);
    box-shadow: 0 4px 30px rgba(32,208,224,0.05);
}

.bento-cell[data-morph]:hover {
    border-color: rgba(208,32,160,0.4);
    cursor: pointer;
    box-shadow: 0 4px 30px rgba(208,32,160,0.06);
}

.cell-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 340px;
}

.cell-medium {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 280px;
}

.cell-small {
    grid-column: span 1;
    grid-row: span 1;
}

.cell-tall {
    grid-row: span 2;
}

.cell-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cell-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #E0E8F0;
    flex: 1;
}

.cell-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.cell-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(208,32,160,0.6);
    padding: 2px 8px;
    background: rgba(208,32,160,0.08);
    border-radius: 6px;
    white-space: nowrap;
}

/* Morph Toggle */

.morph-toggle {
    display: flex;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(32,208,224,0.08);
    border-radius: 8px;
    cursor: pointer;
}

.toggle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(32,208,224,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.toggle-dot.active {
    background: #20D0E0;
    transform: scale(1.2);
}

.toggle-dot:hover {
    background: rgba(32,208,224,0.6);
}

/* Morph Views */

.cell-content {
    position: relative;
    width: 100%;
    height: calc(100% - 50px);
}

.morph-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.morph-view.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
}

/* Data Visualizations */

.data-viz {
    width: 100%;
    height: 100%;
}

.network-edges line {
    stroke: rgba(32,208,224,0.3);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: neuralPulse 2s linear infinite;
}

/* Parameter List */

.param-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(32,208,224,0.04);
    border-radius: 6px;
    border-left: 2px solid rgba(32,208,224,0.3);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.param-row:hover {
    border-left-color: #20D0E0;
    background: rgba(32,208,224,0.07);
}

.param-key {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(224,232,240,0.6);
}

.param-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #20D0E0;
    font-weight: 400;
}

/* Radar Chart */

.radar-data {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.radar-chart.animated .radar-data {
    opacity: 1;
}

/* Line Chart */

.chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1.5s ease-out;
}

.line-chart.animated .chart-line {
    stroke-dashoffset: 0;
}

/* Bar Chart */

.bar-rect {
    transition: height 0.8s ease-out, y 0.8s ease-out;
}

.bar-chart.animated .bar-rect {
    /* Heights set by JS */
}

/* Benchmark Bars */

.benchmark-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benchmark-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(224,232,240,0.7);
    width: 80px;
    flex-shrink: 0;
}

.bench-bar {
    flex: 1;
    height: 6px;
    background: rgba(32,208,224,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.bench-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #20D0E0, #D020A0);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.bench-score {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #20D0E0;
    width: 36px;
    text-align: right;
}

/* Stats Grid */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: rgba(32,208,224,0.04);
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: rgba(32,208,224,0.08);
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: #20D0E0;
    font-weight: 400;
}

.stat-label {
    font-size: 10px;
    color: rgba(224,232,240,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Attention Heatmap */

#attention-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 2px;
    width: 100%;
    aspect-ratio: 1;
    max-height: 280px;
}

.attention-cell {
    background: rgba(32,208,224,0.1);
    border-radius: 3px;
    transition: background 0.4s ease, transform 0.2s ease;
    opacity: 0;
}

.attention-cell.visible {
    animation: cellFadeIn 0.3s ease-out forwards;
}

@keyframes cellFadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.attention-cell:hover {
    transform: scale(1.15);
    z-index: 1;
    filter: brightness(1.3);
}

.attention-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 4px;
}

.attention-labels span {
    font-size: 10px;
    color: rgba(224,232,240,0.4);
}

/* Pipeline Flow */

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
    flex-wrap: nowrap;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.stage-node {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(32,208,224,0.1);
    border: 1px solid rgba(32,208,224,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.stage-node:hover {
    transform: scale(1.08);
}

.stage-node.active {
    background: rgba(208,32,160,0.15);
    border-color: rgba(208,32,160,0.5);
    animation: stageGlow 2s ease-in-out infinite;
}

@keyframes stageGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(208,32,160,0); }
    50% { box-shadow: 0 0 12px rgba(208,32,160,0.2); }
}

.stage-node.active .stage-icon {
    color: #D020A0;
}

.stage-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #20D0E0;
}

.stage-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #E0E8F0;
}

.stage-detail {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: rgba(224,232,240,0.4);
}

.pipeline-connector {
    width: 30px;
    height: 2px;
    position: relative;
    margin: 0 4px;
    margin-bottom: 30px;
}

.pipeline-connector span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(32,208,224,0.3), rgba(208,32,160,0.3));
    position: relative;
}

.pipeline-connector span::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid rgba(32,208,224,0.4);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Data flow animation on pipeline connectors */
.pipeline-connector span::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 8px;
    height: 4px;
    background: #20D0E0;
    border-radius: 2px;
    opacity: 0.5;
    animation: dataFlow 1.5s linear infinite;
}

@keyframes dataFlow {
    0% { left: -8px; opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { left: 100%; opacity: 0; }
}

/* Publication List */

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
}

.pub-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    background: rgba(32,208,224,0.03);
    border-radius: 6px;
    border-left: 2px solid rgba(208,32,160,0.3);
    transition: border-left-color 0.3s ease, background 0.3s ease;
}

.pub-item:hover {
    border-left-color: #D020A0;
    background: rgba(208,32,160,0.04);
}

.pub-title {
    font-size: 12px;
    color: #E0E8F0;
    line-height: 1.4;
}

.pub-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(208,32,160,0.7);
}

/* Scatter Points */

.scatter-point {
    opacity: 0;
    transition: opacity 0.5s ease, r 0.3s ease;
}

.scatter-chart.animated .scatter-point {
    opacity: 1;
}

.scatter-point:hover {
    filter: brightness(1.3);
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    padding: 40px 5%;
    border-top: 1px solid rgba(32,208,224,0.1);
    background: #0A0820;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(90deg, #20D0E0, #D020A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .dot {
    -webkit-text-fill-color: #D020A0;
}

.footer-text {
    font-size: 12px;
    color: rgba(224,232,240,0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    #bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cell-large {
        grid-column: span 2;
    }

    .cell-medium {
        grid-column: span 1;
    }

    .bento-preview[data-index="2"],
    .bento-preview[data-index="3"] {
        display: none;
    }
}

@media (max-width: 600px) {
    #bento-grid {
        grid-template-columns: 1fr;
    }

    .cell-large,
    .cell-medium {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 200px;
    }

    .cell-tall {
        grid-row: span 1;
    }

    .bento-preview {
        display: none;
    }

    .bento-preview[data-index="0"],
    .bento-preview[data-index="1"] {
        display: flex;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }

    #hero-bento {
        position: relative;
        display: flex;
        gap: 8px;
        padding: 0 5%;
        margin-top: 20px;
    }

    #neural-network {
        width: 90%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    #hero {
        padding-top: 60px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .pipeline-flow {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pipeline-connector {
        display: none;
    }

    #scroll-indicator {
        display: none;
    }
}

/* ============================================
   SCROLL ANIMATION UTILITY
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Morph interactive pulse */
.bento-cell[data-morph]::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D020A0;
    animation: morphPulse 2s ease-in-out infinite;
}

@keyframes morphPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Subtle scanline overlay for research feel */
#research::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(32,208,224,0.008) 2px,
        rgba(32,208,224,0.008) 4px
    );
    pointer-events: none;
    z-index: 0;
}

#research > * {
    position: relative;
    z-index: 1;
}
