:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --dark-bg: #020617;
    --card-bg: rgba(15, 23, 42, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    
    --gradient-text: linear-gradient(135deg, #a5b4fc 0%, #67e8f9 100%);
    --gradient-btn: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 56px;
    padding-left: 280px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.navbar {
    position: fixed;
    top: 0;
    left: 280px;
    width: calc(100% - 280px);
    z-index: 1001;
    padding: 0.5rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: none;
    width: 100%;
    padding: 0 1.5rem 0 0;
    margin: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.nav-logo i {
    font-size: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.sidebar-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: left 0.3s var(--ease-out);
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--border);
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) rgba(15, 23, 42, 0.5);
}

.sidebar.open {
    left: 0;
}

.sidebar-content {
    padding: 1.25rem 1rem 1.5rem 1rem;
}

.sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-top: 0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

.sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.sidebar-logo a i {
    font-size: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-logo a:hover {
    opacity: 0.8;
}

.close-sidebar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    display: none;
    z-index: 1001;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
    padding: 0 0.75rem;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.8125rem;
    position: relative;
}

.nav-list a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
}

.nav-list a i {
    width: 14px;
    text-align: center;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.nav-list li {
    position: relative;
}

.nav-list li:not(:first-child) a {
    padding-left: 1.75rem;
    font-size: 0.8125rem;
}

.nav-list li:not(:first-child) a::before {
    content: '•';
    position: absolute;
    left: 1rem;
    top: 50%;
    color: rgba(148, 163, 184, 0.4);
    transform: translateY(-50%);
    font-size: 0.625rem;
    line-height: 1;
}

.docs-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.docs-main {
    padding: 4rem 0;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.docs-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(10px);
}

.docs-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.docs-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.docs-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.docs-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.docs-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.docs-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.docs-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.docs-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.docs-content code {
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: #a5b4fc;
}

.docs-content pre {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.docs-content pre code {
    background: none;
    padding: 0;
    color: var(--text-main);
}

.footer {
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checklist-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.checklist-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.checklist-content h4 {
    margin: 0 0 0.5rem 0;
}

.checklist-content p {
    margin: 0;
    color: var(--text-muted);
}

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

.step-number-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.info-box, .warning-box, .success-box {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.success-box {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.process-steps {
    margin: 2rem 0;
}

.step {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.cta-box, .cta-section {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    body {
        padding-left: 0;
    }
    
    .navbar {
        left: 0;
        width: 100%;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        width: 100%;
        left: -100%;
        top: 0;
        height: 100vh;
        padding-top: 0;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .close-sidebar {
        display: block;
    }
    
    .step-content {
        padding-left: 0 !important;
    }
    
    .checklist-item {
        flex-direction: column;
        gap: 1rem;
    }
}
