:root {
    --bg-dark: #0a1120;
    --bg-darker: #050810;
    --electric-blue: #00b3ff;
    --neon-green: #00ffcc;
    --text-main: #e2e8f0;
    --text-muted: #a0aec0;
    --glass-bg: rgba(16, 22, 35, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

header#mainHeader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
}

header#mainHeader.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 14px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 32px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #0f172a;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00b3ff, #00ffcc);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-nav {
    padding: 9px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #0f172a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--electric-blue);
}

.btn-nav-mobile {
    margin-top: auto;
    padding: 15px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    cursor: pointer;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .nav-links, .btn-nav { display: none !important; }
    .hamburger { display: block !important; }
}
