#hero {
    height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
#hero::before {
    content: ''; position: absolute; top: -50px; left: -50px; right: -50px; bottom: -50px;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px; z-index: -1; animation: gridPan 10s linear infinite;
}
@keyframes gridPan { from { transform: translate(0,0); } to { transform: translate(40px, 40px); } }

#particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

.cursor-glow {
    position: fixed; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,255,0,0.07) 0%, transparent 70%);
    pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
}

#hero h1 { font-size: clamp(64px, 10vw, 120px); margin-bottom: 24px; }
.glitch-trigger { animation: glitch 0.3s ease-in-out 3; }

@keyframes glitch {
    0% { text-shadow: 2px 0 red, -2px 0 cyan; }
    50% { text-shadow: -2px 0 red, 2px 0 cyan; }
    100% { text-shadow: 0 0 transparent; }
}

#what-we-do { padding: 120px 0; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
.panel { border-left: 2px solid var(--color-accent); padding-left: 32px; }
.line-item { 
    padding: 16px 0; border-bottom: 1px solid var(--color-border); 
    color: var(--color-text-secondary); transition: 0.3s; cursor: default;
}
.line-item:hover { background: var(--color-accent-dim); color: var(--color-accent); padding-left: 8px; }

#marquee-strip { border: 1px solid var(--color-border); padding: 30px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span { font-family: var(--font-mono); color: var(--color-accent); letter-spacing: 4px; }
/* Push the hero section down to clear the navbar */
#hero {
    padding-top: calc(var(--nav-height) + 100px);
}

/* Structure the What We Do section */
#what-we-do {
    padding: 100px 0;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.panel {
    background: var(--color-surface-2);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.panel h3 {
    font-family: var(--font-mono);
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 24px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.line-item {
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }
}