/* 帮助文档页面专用样式 */
.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.docs-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.docs-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.docs-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.description-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.description-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 12px;
    font-size: 1.8rem;
}

.description-section p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.description-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.description-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.description-section strong {
    color: #667eea;
    font-weight: 600;
}

/* 加载状态指示器 */
.loading-indicator {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #667eea;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1rem;
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.stat-card h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d7cf7;
    margin: 15px 0;
}

.stat-desc {
    color: #666;
    line-height: 1.5;
}

.tabs-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.tabs {
    display: flex;
    background: #f8f9fa;
}

.tab {
    flex: 1;
    padding: 20px 25px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    color: #666;
    font-size: 1rem;
}

.tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tab:hover:not(.active) {
    background: #e9ecef;
    color: #667eea;
}

.tab-content {
    display: none;
    padding: 40px;
}

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

.charts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.chart-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.chart-header h2 {
    color: #667eea;
    font-size: 1.7rem;
    margin: 0;
    font-weight: 600;
}

.chart-wrapper {
    position: relative;
    height: 500px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
}

.comparison-card h3 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.conclusion {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.conclusion h2 {
    color: #667eea;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.conclusion-content {
    max-width: 1000px;
    margin: 0 auto;
}

.conclusion-content p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.conclusion-points {
    margin-top: 30px;
}

.point {
    display: flex;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s ease;
}

.point:hover {
    transform: translateX(8px);
}

.point-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.point div {
    line-height: 1.6;
    color: #444;
}

.point strong {
    color: #667eea;
    font-weight: 600;
}

.docs-footer {
    text-align: center;
    padding: 30px;
    color: #777;
    margin-top: 50px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 15px;
}

.docs-footer p {
    margin: 5px 0;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .docs-header h1 {
        font-size: 2.2rem;
    }
    
    .docs-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        height: 400px;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        padding: 15px 20px;
    }
    
    .description-section,
    .chart-card,
    .tab-content {
        padding: 25px;
    }
    
    .point {
        flex-direction: column;
        text-align: center;
    }
    
    .point-icon {
        margin: 0 auto 15px auto;
    }
}

@media (max-width: 480px) {
    .docs-container {
        padding: 0 15px;
    }
    
    .docs-header {
        margin: 20px 0;
        padding: 30px 20px;
    }
    
    .docs-header h1 {
        font-size: 1.8rem;
    }
    
    .description-section,
    .chart-card,
    .tab-content,
    .conclusion {
        padding: 20px;
    }
} 