/* Docs Styles */
.docs-layout {
    display: flex;
    max-width: 1400px;
    margin: 80px auto 0;
    min-height: calc(100vh - 80px);
}

.docs-sidebar {
    width: 280px;
    padding: 40px 20px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.docs-sidebar h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 15px;
    padding-left: 15px;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar li {
    margin-bottom: 5px;
}

.docs-sidebar a {
    display: block;
    padding: 10px 15px;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.docs-sidebar a:hover {
    background: #e2e8f0;
    color: #667eea;
}

.docs-sidebar a.active {
    background: #667eea;
    color: white;
}

.docs-content {
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

.docs-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.docs-content h2 {
    font-size: 1.8rem;
    margin: 50px 0 20px;
    color: #1e293b;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.docs-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: #334155;
}

.docs-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #475569;
}

.docs-content .lead {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 40px;
}

.docs-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
}

.docs-content code {
    font-family: 'Fira Code', Consolas, monospace;
    font-size: 0.9rem;
}

.docs-content ul, .docs-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.docs-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Steps */
.steps {
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

/* Tabs */
.tabs {
    margin: 20px 0;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #1e293b;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content pre {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

/* Install Cards */
.install-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.install-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.install-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.install-card h2 {
    margin-top: 0;
    border-bottom: none;
}

.install-card h3 {
    font-size: 1.1rem;
    color: #667eea;
    margin-top: 30px;
}

/* FAQ Section */
.faq-section {
    margin: 30px 0;
}

.faq-section details {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.faq-section summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    list-style: none;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::before {
    content: "▶";
    margin-right: 10px;
    color: #667eea;
    display: inline-block;
    transition: transform 0.3s;
}

.faq-section details[open] summary::before {
    transform: rotate(90deg);
}

.faq-section details p {
    padding: 0 20px 20px;
    margin: 0;
}

/* Next Steps */
.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.next-card {
    display: block;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.next-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.next-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.next-card h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.next-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .docs-sidebar {
        display: none;
    }
    
    .docs-content {
        padding: 40px 20px;
        max-width: 100%;
    }
    
    .step {
        flex-direction: column;
        gap: 15px;
    }
}
