:root {
    /* Color Palette */
    --bg-dark: #0b0c0d;
    --bg-card: #141619;
    --primary: #F97316;
    --secondary: #EF4444;
    --accent: #fcd34d;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    /* Brightened from #94a3b8 for accessibility */

    /* Layout Constants */
    --nav-height: 80px;
    --container-max-width: 1000px;
    --border-radius: 0;

    /* Shadows & Effects */
    --glass-bg: rgba(11, 12, 13, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --neon-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

/* Main content below fixed nav – prevents title hiding under menu */
main {
    padding-top: calc(var(--nav-height) + 70px);
}
main.main-below-nav {
    padding-top: calc(var(--nav-height) + 90px) !important;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: none;
}

.logo span {
    color: var(--primary);
}

.subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    padding: 40px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--glass-border);
}

.mobile-drawer.active {
    right: 0;
}

.close-drawer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}