@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;400;600;800&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.5);
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: #030303;
    color: #e5e7eb;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: default;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Animated Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.05) 0px, transparent 50%);
    filter: blur(80px);
    opacity: 0.6;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-overlay {
    position: relative;
    z-index: 10;
}

.profile-border {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, #6366f1, #ec4899, transparent);
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #6366f1;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 5;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    bottom: 100%;
    animation: scan 8s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        bottom: 100%;
    }

    100% {
        bottom: -10%;
    }
}

.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}