:root {
    --primary: #c5a059;
    --secondary: #1a1a1a;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- LANDING PAGE HEADER --- */
header.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- MOBILE OVERLAY (Landing Page Only) --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-overlay a {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: var(--header-height) 1.5rem 2rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary { background: var(--primary); color: var(--bg-dark); }
.btn-primary:hover { background: #d4b475; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--bg-dark); }

/* --- SECTIONS --- */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 1rem; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
}

.card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- DASHBOARD STRUCTURE --- */
.dashboard-container { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid rgba(197, 160, 89, 0.1);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    z-index: 1500;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 2.5rem;
    width: calc(100% - var(--sidebar-width));
}

.sidebar .logo { margin-bottom: 3rem; display: block; }
.sidebar-nav li { margin-bottom: 0.5rem; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    color: var(--text-muted);
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(197, 160, 89, 0.1); color: var(--primary); }

.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    z-index: 1600;
    background: var(--bg-card);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* --- MEDIA QUERIES --- */

@media (max-width: 768px) {
    /* Header Landing */
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    /* Hero */
    .hero-content h1 { font-size: 2rem; }
    
    /* Dashboard */
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .main-content { margin-left: 0; width: 100%; padding: 5.5rem 1.5rem 2rem; }
    .mobile-toggle { display: flex; }

    .grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.8rem; }
    
    .dash-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-nav-overlay { display: none !important; }
    .mobile-menu-btn { display: none !important; }
    .mobile-toggle { display: none !important; }
    .sidebar { transform: translateX(0) !important; }
}

/* Animations */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
[data-reveal].active { opacity: 1; transform: translateY(0); }
