/* --- Premium Custom Styles --- */
:root {
    --primary-glow: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.15), transparent 70%);
}

body {
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Tech Grid Background */
.bg-grid {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #007BFF, #00F0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #00FF94, #00B8FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 123, 255, 0.3);
}

/* Navigation Styles & Logic */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Sticky Floating Menu Logic */
@media (max-width: 1024px) {
    header.scrolled {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        border-radius: 50px;
        background: rgba(20, 20, 20, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Desktop Scrolled State */
@media (min-width: 1025px) {
    header.scrolled {
        background: rgba(5, 5, 5, 0.9);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Tab Transitions */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Section Visibility */
.page-section {
    display: none;
    animation: fadeIn 0.6s ease-out forwards;
}
.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #007BFF; }

/* Custom Bullet Points */
ul.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
ul.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00FF94;
    font-weight: bold;
}

/* Stop scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}