/* Custom Styles and Glassmorphism */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.bg-gradient-main {
    background: radial-gradient(circle at 50% -20%, #4f46e5 0%, #7c3aed 20%, #0a0a0c 60%);
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.nav-underline {
    position: relative;
}

.nav-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #4f46e5, #ec4899);
    transition: width 0.3s ease;
}

.nav-underline:hover::after,
.nav-link.active::after {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3D Tilt Effect Utilities */
.tilt-card {
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Transitions */
.nav-scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

main > section {
    animation: fadeIn 0.8s ease forwards;
}