/* ============================================
   BASE STYLES — Reset & Global
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-dark);
}

/* --- Utilities --- */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-dark-500); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

.hidden { display: none !important; }

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-dark-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-500);
}

/* --- Premium Overrides --- */

.sidebar {
    background: linear-gradient(180deg, rgba(31, 25, 21, 0.97) 0%, rgba(44, 36, 30, 0.98) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-secondary) 100%) !important;
    box-shadow: var(--shadow-xl) !important;
    position: relative;
}

.welcome-section::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(163, 117, 84, 0.25), transparent 70%) !important;
    border-radius: 50%;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(54, 107, 133, 0.25) 0%, transparent 100%) !important;
    border-left-color: var(--color-primary) !important;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}
