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

:root {
    --bg-body: #07070a;
    --bg-nav: #0d0f14;
    --bg-card: #0d0f14;
    --bg-elevated: #141720;
    --accent: #ff3b30;
    --accent-hover: #ff4f45;
    --primary: #7C4DFF;
    --primary-hover: #8b61ff;
    --text-main: #eef0f5;
    --text-muted: #7a8190;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 24px rgba(124, 77, 255, 0.2);
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Background orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.bg-orb-1 {
    width: 480px;
    height: 480px;
    background: rgba(124, 77, 255, 0.11);
    top: -120px;
    right: -60px;
    animation: floatOrb 12s ease-in-out infinite;
}

.bg-orb-2 {
    width: 360px;
    height: 360px;
    background: rgba(255, 59, 48, 0.07);
    bottom: -60px;
    left: 280px;
    animation: floatOrb 16s ease-in-out infinite reverse;
}

/* Navigation */
.lyx-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-nav);
    border-right: 1px solid var(--border);
    z-index: 100;
}

.lyx-brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lyx-brand-container:hover {
    opacity: 0.75;
}

.lyx-logo {
    height: 30px;
    width: auto;
    border-radius: 8px;
}

.lyx-brand {
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    letter-spacing: -0.4px;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding: 0 12px;
    margin-bottom: 6px;
    opacity: 0.5;
}

.nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-item svg {
    flex-shrink: 0;
    transition: opacity 0.15s ease;
    opacity: 0.6;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.nav-item:hover svg {
    opacity: 0.9;
}

.nav-item.active {
    background: rgba(124, 77, 255, 0.13);
    color: var(--primary);
}

.nav-item.active svg {
    opacity: 1;
}

.nav-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.22);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.32);
    background: var(--accent-hover);
}

/* Content wrapper */
.content-wrapper {
    margin-left: 240px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-24px, -18px) scale(1.04); }
    66% { transform: translate(18px, -8px) scale(0.97); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Mobile nav */
@media (max-width: 760px) {
    .lyx-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .lyx-brand-container {
        margin-bottom: 0;
    }

    .nav-links, .nav-cta, .nav-section-label, .nav-divider {
        display: none;
    }

    .content-wrapper {
        margin-left: 0;
        margin-top: 60px;
    }

    .bg-orb {
        display: none;
    }
}
