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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #ff0080);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #ff0080);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

html {
    scrollbar-width: thin;
    scrollbar-color: #00ffff #0a0a0a;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

body.cursor-active {
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #00ffff 20%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ff0080 10%, transparent 90%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* Neural Network Background */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.neuron {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #00ffff 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.synapse {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #00ffff 50%, transparent 100%);
    opacity: 0.15;
    animation: synapseFlow 8s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

@keyframes synapseFlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 0.3; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* Matrix Rain */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.04;
}

.matrix-column {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--matrix-green);
    animation: matrixFall 12s linear infinite;
}

@keyframes matrixFall {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Navigation */
.holo-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
    border-radius: var(--radius-xxl);
}

.holo-nav::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary), var(--primary), var(--secondary));
    background-size: 200% 200%;
    border-radius: var(--radius-xxl);
    z-index: -1;
    animation: navGlow 6s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes navGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.holo-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.holo-nav a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0080, #00ffff);
    transition: width 0.3s ease;
}

.holo-nav a:hover::before {
    width: 100%;
}

.holo-nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.holo-nav a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.holo-nav a.active::before {
    width: 100%;
}

/* Sections */
section {
    height: max-content;
    min-height: 100vh;
    width: 100%;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

/* Section dividers */
section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 30%, var(--primary) 70%, transparent 100%);
    opacity: 0.3;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff0080, #00ffff, #ff0080);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-container {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
