body {
    font-family: 'Inter', sans-serif;
    background-color: #FAFAFA;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

.text-gradient {
    background: linear-gradient(135deg, #1E3A8A, #6D28D9, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-mesh {
    background-color: #ffffff;
    background-image: radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.05) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.05) 0, transparent 50%);
}

.glow-border:hover {
    box-shadow: 0 0 20px rgba(109, 40, 217, 0.3);
    border-color: rgba(109, 40, 217, 0.5);
}

/* Custom Scrollbar for TOC */
#toc-menu::-webkit-scrollbar {
    width: 4px;
}

#toc-menu::-webkit-scrollbar-track {
    background: transparent;
}

#toc-menu::-webkit-scrollbar-thumb {
    background: #6D28D9;
    border-radius: 4px;
}

.toc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
}

.toc-item.active .toc-dot {
    background-color: #6D28D9;
    box-shadow: 0 0 8px #6D28D9;
}

.toc-item.active span {
    color: #6D28D9;
    font-weight: 600;
}