html {
    scroll-behavior: smooth;
}

body {
    background-color: #010104;
    color: #f5f8f8;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.font-display {
    font-family: "Space Grotesk", sans-serif;
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
    border-color: #00ffff;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-gradient {
    background: linear-gradient(to right, #00ffff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-border {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(to bottom right, rgba(0, 255, 255, 0.3), rgba(139, 92, 246, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #00ffff, #8b5cf6);
    z-index: 9999;
}