:root {
    --bg-color: #0d1117;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --accent-color: #58a6ff;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: rgba(48, 54, 61, 0.8);
    --sidebar-width: 280px;
    --glass-blur: blur(20px);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
}

/* Background Effects */
.glass-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1a2738 0%, #0d1117 70%);
    z-index: -1;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--border-color);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    position: sticky;
    top: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

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

.logo h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
    letter-spacing: -1px;
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 8px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

nav a.active, nav a:hover {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
}

.btn-github {
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: block;
    transition: transform 0.2s;
}

.btn-github:hover {
    transform: translateY(-2px);
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 40px 60px;
    max-width: 1000px;
    overflow-y: auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: sticky;
    top: 0;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 10;
}

.os-selector {
    display: flex;
    background: #161b22;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.os-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s;
}

.os-btn.active {
    background: var(--accent-color);
    color: white;
}

.search-bar input {
    background: #161b22;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    width: 300px;
}

/* Section Styling */
.doc-section {
    margin-bottom: 100px;
}

.premium-title {
    font-size: 4rem;
    background: linear-gradient(135deg, #fff 0%, #8b949e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-color);
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 166, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}
.code-container {
    background: #010409;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 30px 0;
    overflow: hidden;
}

.code-header {
    background: #161b22;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

pre {
    padding: 20px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

code {
    color: var(--accent-color);
}

.code-tab {
    display: none;
}

.code-tab.visible {
    display: block;
}

.note {
    background: rgba(88, 166, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.note span {
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 10px;
}
