/* --- 1. DESIGN TOKENS (Variables) --- */
:root {
    /* Brand Colors */
    --bg-dark: #050505;
    --bg-card: #111111;
    --bg-highlight: #1a1a1a;
    --text-main: #f8f8f8;
    --text-muted: #a1a1a1;
    --accent: #FFD700; /* Moonshine Gold */
    --accent-hover: #e5c100;
    --accent-glow: rgba(255, 215, 0, 0.3);
    
    /* UI Scale */
    --border: #2a2a2a;
    --radius: 8px;
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace; 
    --section-pad: clamp(4rem, 10vh, 8rem);
    --container-max: 1200px;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.7);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. MODERN RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Aligns with sticky navbar */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; transition: var(--transition); }

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* --- 3. UTILITIES --- */
.container { width: 92%; max-width: var(--container-max); margin: 0 auto; }
.narrow-container { max-width: 750px; }
.text-accent { color: var(--accent); }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }

.grid-2, .grid-3 { display: grid; gap: 1.5rem; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- 4. ANIMATION STATES (Core Reveal Engine) --- */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- 5. BUTTONS --- */
.btn-primary, .btn-secondary, .btn-outline, .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}
.btn-secondary:hover { background-color: var(--text-main); color: #000; }

.btn-outline {
    background: transparent;
    border-color: var(--border);
    width: 100%;
}
.btn-outline:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
    background: rgba(255,215,0,0.05); 
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; background: var(--accent); color: #000; }

/* --- 6. COMPONENTS --- */

/* Navbar with Glassmorphism */
.navbar {
    padding: 1.2rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: -1px; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link.active { border-color: var(--accent); }

/* Hero Branding */
.hero {
    padding: var(--section-pad) 0;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

/* GHL-Inspired Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.card:hover { 
    transform: translateY(-8px); 
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: #fff; }

/* Featured Partner Card */
.featured-partner {
    background: linear-gradient(165deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--accent);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
}

.badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: #000;
    padding: 0.6rem 1.5rem;
    font-weight: 900;
    font-size: 0.75rem;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
}

/* --- 7. MOBILE LOGIC & MENU OVERLAY --- */
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    
    .mobile-toggle.mobile-only {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.8rem;
        z-index: 1001; /* Stays above menu */
    }

    .nav-links.hidden-mobile {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        padding: 8rem 2rem;
        gap: 2.5rem;
        z-index: 999;
        text-align: center;
        animation: fadeIn 0.3s ease;
    }
    
    .nav-links.mobile-active .nav-link {
        font-size: 1.5rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
