/* 快速开始页面特定样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 主要内容区域 */
.quick-start-content {
    padding: 4rem 0;
}

/* 侧边栏导航 */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

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

.nav-sidebar li {
    margin-bottom: 0.5rem;
}

.nav-sidebar .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.nav-sidebar .nav-link.active {
    background-color: #007bff;
    color: #fff;
}

/* 内容容器 */
.content-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* 章节样式 */
.section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 1rem;
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #666;
}

/* 要求列表 */
.requirements-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.requirements-list li {
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #28a745;
    font-size: 1.2rem;
}

.requirements-list li strong {
    color: #333;
    margin-right: 0.5rem;
}

/* 提示框 */
.tip-box,
.warning-box {
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
}

.tip-box {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.tip-box i,
.warning-box i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: inherit;
}

.tip-box p,
.warning-box p {
    margin: 0;
    color: inherit;
}

/* 代码块 */
.code-block {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid #e9ecef;
}

.code-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #d63384;
    background-color: transparent;
    padding: 0;
}

/* 配置块 */
.config-block {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid #e9ecef;
}

.config-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.config-block code {
    color: #0d6efd;
    background-color: transparent;
    padding: 0;
}

/* URL块 */
.url-block {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.url-block a {
    color: #007bff;
    text-decoration: none;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    word-break: break-all;
}

.url-block a:hover {
    text-decoration: underline;
}

/* 凭证块 */
.credentials-block {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #e9ecef;
}

.credentials-block p {
    margin: 0.5rem 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* 步骤列表 */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin: 1.5rem 0;
    padding-left: 0;
}

.steps-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: bold;
}

/* 下一步网格 */
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.next-step-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.next-step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.next-step-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.next-step-item p {
    margin-bottom: 1.5rem;
    color: #666;
}

.next-step-item .btn {
    margin-top: auto;
}

/* 常见问题 */
.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question i {
    color: #007bff;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-answer {
    padding: 1.5rem;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .nav-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-sidebar li {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .quick-start-content {
        padding: 2rem 0;
    }
    
    .content-container {
        padding: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
    }
    
    .section h3 {
        font-size: 1.25rem;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .content-container {
        padding: 1rem;
    }
    
    .tip-box,
    .warning-box {
        flex-direction: column;
    }
    
    .tip-box i,
    .warning-box i {
        margin-bottom: 0.5rem;
    }
}