:root {
    --color-bg: #0f172a;
    --color-surface: rgba(30, 41, 59, 0.7);
    --color-surface-2: rgba(51, 65, 85, 0.5);
    --color-border: rgba(255, 255, 255, 0.1);
    
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    
    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    
    --color-accent: #8b5cf6;
    --color-accent-2: #ec4899;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15), transparent 25%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
a { color: var(--color-primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--color-primary-hover); }

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.pt-3 { padding-top: 1rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.font-mono { font-family: var(--font-mono); }

/* Glassmorphism Cards */
.card {
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
}

.btn i { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.btn-icon {
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-muted);
}
.btn-icon:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-danger);
}

/* Layout */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}
.main-content.with-sidebar {
    margin-left: 260px;
}

/* Navigation */
.sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--color-border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 50px;
}
.sidebar-logo i { color: var(--color-accent); width: 28px; height: 28px; }

.sidebar-nav { list-style: none; flex: 1; }
.sidebar-nav li { margin-bottom: 8px; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}
.sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), transparent);
    border-left: 3px solid var(--color-accent);
}
.sidebar-nav a i { width: 20px; height: 20px; }

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-danger);
}

.bottom-nav { display: none; }

@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content.with-sidebar { margin-left: 0; padding-bottom: 80px; }
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: var(--color-surface);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--color-border);
        padding: 12px 20px;
        justify-content: space-around;
        z-index: 100;
    }
    .bottom-nav a {
        color: var(--color-text-muted);
        padding: 10px;
        border-radius: var(--radius-full);
        transition: all 0.2s;
    }
    .bottom-nav a.active {
        color: var(--color-accent);
        background: rgba(139, 92, 246, 0.15);
    }
}
