body {
    background-color: #03030a;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: #e2e8f0;
}

/* AI Connected Particle Matrix Canvas */
#ai-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* Glassmorphism Framework (Premium AI Festa Depth) */
.glass {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.02);
}
.glass-nav {
    backdrop-filter: blur(28px);
    background: rgba(3, 3, 10, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* AI Shimmer Gradient Text */
.ai-gradient-text {
    background: linear-gradient(to right, #ffffff, #60a5fa, #38bdf8, #ffffff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}
@keyframes textShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Premium Buttons - AI Holographic Feel */
.btn-futuristic {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(56, 189, 248, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.btn-futuristic:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(96, 165, 250, 0.5) !important;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.15), inset 0 0 15px rgba(56, 189, 248, 0.1);
}
.btn-futuristic:hover::before {
    transform: translateX(100%);
}

/* Solid Matrix Primary Button */
.btn-primary.btn-futuristic {
    background: linear-gradient(135deg, #2563eb, #0284c7);
    border: 1px solid rgba(139, 201, 255, 0.3) !important;
}
.btn-primary.btn-futuristic:hover {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Advanced Glowing Border Cards (AI Neural Depth) */
.glow-card {
    position: relative;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.05) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.glow-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0) 40%, rgba(56, 189, 248, 0.6) 50%, rgba(59, 130, 246, 0) 60%);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.glow-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    border-color: rgba(56,189,248,0.2) !important;
}
.glow-card:hover::after {
    opacity: 1;
    animation: flowLight 3s infinite linear;
}

@keyframes flowLight {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Magnetic Area for GSAP Tracking */
.magnetic-wrap {
    display: inline-block;
    padding: 20px;
    margin: -20px;
}

html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #03030a; }
html::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 10px; }

/* Image Circular Glow border */
.hero-img-container {
    position: relative;
    border-radius: 50% !important;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}
.hero-img-container img {
    border-radius: 50% !important;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.hero-img-container::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #38bdf8, #2dd4bf, #3b82f6);
    background-size: 200%;
    z-index: -1;
    animation: rotate-gradient 3s linear infinite;
}
