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

/* --- 3D Scene Styling --- */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
}

/* --- Animated Logo Styling --- */
.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hologram {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 8px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
    box-shadow: 0 0 20px #00f2fe;
}

.logo-hologram::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
    opacity: 0.3;
    animation: logoGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes logoGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

/* --- Custom Card Design --- */
.cyber-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.7), rgba(28, 38, 55, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.cyber-card:hover {
    transform: translateY(-8px) scale(1.02) perspective(1000px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2), 0 0 50px rgba(255, 0, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
}

/* --- Animated Logo Text --- */
@keyframes logo-pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.logo-text {
    animation: logo-pulse 3s infinite alternate;
}

/* Styling for the meeting platform logos */
.platform-logo {
    filter: drop-shadow(0 4px 6px rgba(0, 255, 255, 0.1));
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.platform-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 12px rgba(0, 255, 255, 0.2));
}

/* Loading indicator styling */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    font-size: 2rem;
    opacity: 1;
    transition: opacity 1s ease-out;
}

/* New class to fade out and hide the overlay */
.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* Enhanced button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Enhanced glow effects for interactive elements */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Smooth scrolling enhancements */
html {
    scroll-behavior: smooth;
}

/* Enhanced form styling */
form input:focus,
form textarea:focus {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Responsive text scaling */
@media (max-width: 640px) {
    .text-4xl {
        font-size: 2rem;
    }
    .text-5xl {
        font-size: 2.5rem;
    }
    .text-7xl {
        font-size: 3rem;
    }
}

/* Enhanced gradient animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-gradient-animated {
    background: linear-gradient(-45deg, #00ffff, #ff00ff, #ffff00, #00ff00);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Enhanced card interactions */
.cyber-card {
    position: relative;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.cyber-card:hover::before {
    opacity: 1;
    animation: shine 0.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}