/* Global Background Strategy */
body {
    /* Deep Cosmic Gradient Background */
    background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 40%, #000000 100%);
    background-attachment: fixed;
    color: #f8fafc; /* light text */
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-header {
    background: rgba(15, 23, 42, 0.85); /* Darker glass for header */
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.5); /* Primary color border on hover */
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Logic for "Multi-page" tab switching */
.page-section {
    display: none; 
    animation: fadeIn 0.4s ease-in-out;
}
.page-section.active {
    display: block; 
}

/* Navigation Active State */
.nav-link {
    position: relative;
}
.nav-link.active {
    color: #60a5fa; /* primary-400 */
    font-weight: 600;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #60a5fa;
    transition: width 0.3s;
}
.nav-link.active::after {
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Video Overlay Gradient */
.video-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 1) 100%);
}

/* Hero Slider Styles */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    z-index: 0;
}
.hero-slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.slider-indicator {
    transition: all 0.3s ease;
}
.slider-indicator.active {
    width: 2rem;
    background-color: #60a5fa;
}