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

:root {
    --bg-color: #0a0c10;
    --card-bg: rgba(23, 28, 36, 0.7);
    --sidebar-bg: rgba(18, 22, 30, 0.8);
    --accent-primary: #00d2ff;
    --accent-secondary: #9d50bb;
    --text-primary: #f0f2f5;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(157, 80, 187, 0.05) 0%, transparent 40%);
    z-index: -1;
}

/* Layout */
.app-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 3rem;
}

/* Header */
header {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); */
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

/* Sidebar Navigation */
.sidebar {
    width: 300px;
    position: sticky;
    top: 2rem;
    height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

.nav-card {
    background: var(--sidebar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    overflow-y: auto;
}

.nav-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: block;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-links a.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(157, 80, 187, 0.1));
    color: var(--accent-primary);
    border-color: rgba(0, 210, 255, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 900px;
}

.content-section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.content-section:hover {
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-section h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 1rem 0;
    color: #fff;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* Specific styling for data list */
.data-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.data-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.data-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: var(--text-secondary);
}

.footer-logo {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
        padding: 1rem;
    }

    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        margin-bottom: 2rem;
    }

    .nav-card {
        max-height: 300px;
    }
}

@media (max-width: 640px) {
    .content-section {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}
