/* Core Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #E0E0E0;
    overflow-x: hidden;
    background-color: #030008;
}

h1, h2, h3, .glitch-text {
    font-family: 'Orbitron', 'Inter', sans-serif;
}

/* 3D Background Container */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Glass Card */
.glass-card {
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(217, 0, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 255, 255, 0.05);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
}

.glass-card:hover {
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 15px 45px rgba(217, 0, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.4);
}

/* 3D Depth Elements inside cards */
.pop-out {
    transform: translateZ(40px);
}
.pop-out-image {
    transform: translateZ(80px) scale(1.15);
    border-radius: 50%; /* for team members */
}
.pop-out-btn {
    transform: translateZ(50px);
}

/* Gradient Flow Button */
.gradient-blue-button {
    background: linear-gradient(135deg, #FF0055, #D900FF, #00FFFF);
    background-size: 200% auto;
    box-shadow: 0 0 20px rgba(217, 0, 255, 0.6);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}
.gradient-blue-button:hover {
    background-position: right center;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.9), 0 0 20px rgba(217, 0, 255, 0.8);
    transform: translateY(-3px) scale(1.05) translateZ(60px);
}

/* Floating Animation */
.floating {
    animation: float-3d 6s ease-in-out infinite;
}

@keyframes float-3d {
    0% { transform: translateY(0) translateZ(0px) rotateX(0deg); }
    50% { transform: translateY(-20px) translateZ(30px) rotateX(5deg) scale(1.02); }
    100% { transform: translateY(0) translateZ(0px) rotateX(0deg); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #030008; border-radius: 10px; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, #D900FF, #00FFFF);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #FF0055, #D900FF); }

/* Navigation Reveal effect */
nav a {
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #D900FF;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px #D900FF;
}
nav a:hover::after { width: 100%; }

/* Header Blur */
header {
    background: rgba(3, 0, 8, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(217, 0, 255, 0.3);
}

/* Dynamic hero image handling */
.hero-crazy-container {
    perspective: 1500px;
    transform-style: preserve-3d;
}
.hero-crazy-img {
    transition: transform 0.1s;
    transform-style: preserve-3d;
}
