@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* Luminous Enterprise Palette - Brighter & More Professional */
    --bg-deep: #f0f4f8;
    /* Soft luminous grey-blue */
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);

    --primary: #2563eb;
    /* Pro Blue */
    --primary-alt: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.1);

    --secondary: #7c3aed;
    /* Vibrant Violet */
    --secondary-glow: rgba(124, 58, 237, 0.1);

    --accent: #f43f5e;
    /* Premium Rose */
    --accent-glow: rgba(244, 63, 94, 0.1);

    --text-main: #0f172a;
    /* Slate 900 */
    --text-dim: #475569;
    /* Slate 600 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shine: rgba(255, 255, 255, 1);

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --sidebar-width: 280px;
    --header-height: 72px;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Layout Components */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

/* Premium Buttons */
.neon-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}

.neon-btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.neon-btn-primary:hover {
    background: var(--primary-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.neon-btn-outline {
    background: #fff;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    box-shadow: var(--shadow-premium);
}

.neon-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8fafc;
}

/* Navigation System */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo i {
    color: #fff;
    background: var(--primary);
    padding: 0.5rem;
    border-radius: 10px;
}

.logo span {
    color: var(--primary);
}

/* Badge System */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fff;
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

/* Infrastructure */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    font-weight: 700;
}

/* Dashboard Specific Improvements */
.sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--glass-border);
    height: calc(100vh - var(--header-height));
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: sticky;
    top: var(--header-height);
    background: #fff;
    flex-shrink: 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    border: 1px solid transparent;
}

.nav-item:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: var(--glass-border);
}

.nav-item.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nav-item i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Animations Hub */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Table Enhancements */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}

.premium-table th {
    padding: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.premium-table td {
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.premium-table tr td:first-child {
    border-radius: 1rem 0 0 1rem;
}

.premium-table tr td:last-child {
    border-radius: 0 1rem 1rem 0;
}