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

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

:root {
    --color-bg: #0A0E27;
    --color-bg-light: #1A1F3A;
    --color-primary: #FFB800;
    --color-secondary: #00D9FF;
    --color-accent: #FF006E;
    --color-text: #ffffff;
    --color-text-muted: #A0A0B0;
    --spacing: 1rem;
}

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

/* Top Navbar */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 184, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text);
}

.logo-icon {
    font-size: 2rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: var(--color-primary);
}

/* Documentation Layout */
.docs-layout {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Sidebar */
.docs-sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--color-bg-light);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 2rem 0;
}

.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 184, 0, 0.3);
    border-radius: 3px;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.sidebar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.sidebar-link:hover {
    background: rgba(255, 184, 0, 0.1);
    color: var(--color-primary);
}

.sidebar-link.active {
    background: rgba(255, 184, 0, 0.15);
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.docs-content {
    margin-left: 280px;
    flex: 1;
    padding: 3rem;
    max-width: 900px;
}

.docs-header {
    margin-bottom: 2rem;
}

.docs-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.content-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

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

.content-section ul,
.content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.content-section strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.success-box {
    background: rgba(0, 255, 148, 0.1);
    border-left: 4px solid #00FF94;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Code Blocks */
.code-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    color: #0A0E27;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #0A0E27;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(255, 184, 0, 0.2);
    color: var(--color-primary);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Navigation Buttons */
.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 184, 0, 0.1);
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .docs-sidebar {
        width: 250px;
    }
    
    .docs-content {
        margin-left: 250px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .docs-sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .docs-sidebar.active {
        left: 0;
    }
    
    .docs-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    .navbar-nav {
        display: none;
    }
}
