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

:root {
    --bg-deep: #020617;
    --bg-surface: #0a1426;
    --primary: #38bdf8;
    --primary-alt: #818cf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(15, 23, 42, 0.6);
    --glass: rgba(15, 23, 42, 0.8);
    --success: #10b981;
    --error: #f43f5e;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

/* 🧬 Advanced CSS Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #020617;
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(129, 140, 248, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(129, 140, 248, 0.15) 0px, transparent 50%);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* ✨ Typography */
h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🚀 Navigation */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1100px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.brand {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), transparent);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-left: 24px;
    transition: all 0.3s;
}

.nav-link:hover { color: var(--primary); }
.nav-link.active { color: white; border-bottom: 2px solid var(--primary); }

/* ✨ Zenith Cards */
.zenith-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.zenith-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.zenith-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 🏔️ Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    margin-bottom: 20px;
    line-height: 0.95;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

/* ⚡ Buttons */
.btn-zenith {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    color: #020617;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* 📊 Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border);
    padding: 40px 24px;
    height: 100vh;
    position: sticky;
    top: 0;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.side-link:hover, .side-link.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
}

.side-link.active {
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.main-content {
    flex: 1;
    padding: 48px;
}

/* 📊 Stat Widgets */
.stat-widget {
    padding: 24px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 38px;
    font-weight: 800;
    font-family: 'Outfit';
    margin-bottom: 4px;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .glass-nav { width: 92%; padding: 12px 20px; }
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .dashboard-container { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; }
    .main-content { padding: 24px; }
}
