:root {
    --bg-color: #FAF9F6;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --accent: #2DD4BF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-image:
        radial-gradient(at 0% 0%, rgba(45, 212, 191, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Glassmorphism Utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    /* Solid translucent white */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
}

/* Glass Text Protection (Optional) */
.glass-panel h1,
.glass-panel h2,
.glass-panel h3,
.glass-panel p,
.glass-panel div {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Outlined Text Effect */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px black;
}

.text-outline-accent {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
}

/* Custom Cursor Spotlight */
#cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%) scale(0);
    /* Hidden by default */
    z-index: 2147483647;
    transition: transform 0.15s ease-out;
    /* Slower for smooth grow */
    will-change: transform;
}

#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }

}

.animate-blob {
    animation: blob 7s infinite;
}

/* Network Background Blur (Soft Glass Effect) */
#network-bg {
    filter: blur(3px);
    /* Softens the sharp lines/nodes */
    opacity: 0.8;
    /* Slightly clearer to compensate for blur */
}