:root {
    --primary: #D9FE02;
    --primary-hover: #c4e502;
    --secondary: #4700B8;
    --secondary-hover: #3a0096;
    --bg: #1E1E36;
    --bg-dark: #15152b;
    --card-bg: #252545;
    --text: #FAFAFA;
    --text-muted: #b0b0cf;
    --accent: #E4374F;
    --gradient: linear-gradient(135deg, #4700B8 0%, #6e24e0 100%);
    --header-height: 90px;
    --header-scrolled-height: 70px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0,0,0,0.6);
    --container-width: 1240px;
    --border-radius: 12px;
}

/* Base Styles & Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.text-primary { color: var(--primary); }

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-hover);
    box-shadow: 0 10px 20px rgba(217, 254, 2, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--secondary-hover);
    box-shadow: 0 10px 20px rgba(71, 0, 184, 0.3);
}

.btn-text {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.btn-text:hover {
    color: var(--primary);
}

/* Header & Navigation */
.header {
    height: var(--header-height);
    background: rgba(30, 30, 54, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(217, 254, 2, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: var(--header-scrolled-height);
    background: rgba(21, 21, 43, 0.95);
    box-shadow: var(--shadow);
    border-bottom-color: rgba(217, 254, 2, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo img {
    height: 38px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .header-logo img {
    height: 32px;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link:hover, 
.nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Menu Open State */
body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-btns {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 40px;
}

/* Footer Styles */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 360px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-badges img {
    height: 30px;
    opacity: 0.6;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .primary-navigation { gap: 20px; }
    .nav-list { gap: 15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .header-actions { display: none; }
    .mobile-nav-toggle { display: block; }

    .primary-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 100px 30px;
        transition: var(--transition);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        align-items: flex-start;
        gap: 0;
    }

    body.nav-open .primary-navigation {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    .mobile-btns {
        display: flex;
    }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
    .header-logo img { height: 32px; }
}
