/* Documentation-focused CSS inspired by VitePress */

:root {
    /* Colors */
    --primary-color: #3451b2;
    --primary-dark: #2a4190;
    --secondary-color: #42b883;
    --accent-color: #ff6b6b;
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-light: #8492a6;
    --background: #ffffff;
    --background-soft: #f9f9f9;
    --background-mute: #f6f8fa;
    --border-color: #e1e8ed;
    --sidebar-bg: #fafbfc;
    --code-bg: #f6f8fa;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, 'Liberation Mono', monospace;
    
    /* Spacing */
    --header-height: 60px;
    --sidebar-width: 280px;
    --content-max-width: 800px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--background-soft);
}

/* Documentation Container */
.docs-container {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-content {
    padding: 24px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section h3 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    color: var(--primary-color);
    background-color: var(--background);
}

.sidebar-link.active {
    color: var(--primary-color);
    background-color: var(--background);
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 40px;
    max-width: calc(var(--content-max-width) + 80px);
}

.content-wrapper {
    max-width: var(--content-max-width);
}

/* Coming Soon Hero */
.coming-soon-hero {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 60px;
}

.coming-soon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    margin-bottom: 24px;
}

.coming-soon-icon i {
    font-size: 36px;
    color: white;
}

.coming-soon-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Sections */
.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Features Preview Grid */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-preview {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-preview:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-preview .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--background-soft);
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-preview .feature-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.feature-preview h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-preview p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Resource Links */
.resource-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.resource-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.resource-link .resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--background-soft);
    border-radius: 12px;
    flex-shrink: 0;
}

.resource-link .resource-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.resource-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.resource-link > i:last-child {
    color: var(--text-light);
    transition: all 0.2s ease;
}

.resource-link:hover > i:last-child {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Update Banner */
.update-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    color: white;
    margin-top: 40px;
}

.update-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    flex-shrink: 0;
}

.update-icon i {
    font-size: 24px;
}

.update-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.update-content p {
    margin-bottom: 16px;
    opacity: 0.9;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-watch:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Footer */
.docs-footer {
    background: var(--background-soft);
    border-top: 1px solid var(--border-color);
    padding: 24px 40px;
    margin-left: var(--sidebar-width);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max-width);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-content,
    .docs-footer {
        margin-left: 0;
    }
    
    .main-content {
        padding: 24px;
    }
    
    .docs-footer {
        padding: 24px;
    }
    
    .coming-soon-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .update-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-link {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .coming-soon-hero {
        padding: 40px 0;
    }
    
    .coming-soon-hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section h2 {
        font-size: 24px;
    }
    
    .feature-preview {
        padding: 20px;
    }
    
    .update-banner {
        padding: 20px;
    }
}
