/* 使用指南页面特定样式 */

/* 使用指南头部 */
.guide-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.guide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* 快速开始 */
.quick-start {
    padding: 80px 0;
    background: white;
}

.quick-steps {
    max-width: 800px;
    margin: 0 auto;
}

.quick-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.quick-step:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.step-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #e0f2fe;
    border-radius: 8px;
    color: #0369a1;
    font-size: 0.875rem;
}

.step-tip i {
    color: #0ea5e9;
}

/* 详细教程 */
.detailed-tutorial {
    padding: 80px 0;
    background: #f8fafc;
}

.tutorial-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tutorial-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tutorial-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.tutorial-item.active .tutorial-header {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-bottom-color: #bae6fd;
}

.tutorial-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.tutorial-header i {
    color: #64748b;
    transition: transform 0.3s ease;
}

.tutorial-item.active .tutorial-header i {
    transform: rotate(180deg);
    color: #3b82f6;
}

.tutorial-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tutorial-item.active .tutorial-content {
    padding: 32px;
    max-height: 2000px;
}

.tutorial-steps {
    margin-bottom: 32px;
}

.tutorial-step {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

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

.step-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-details p {
    color: #475569;
    line-height: 1.6;
}

.tutorial-tips {
    background: #fef3c7;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.tutorial-tips h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
}

.tutorial-tips h4 i {
    color: #f59e0b;
}

.tutorial-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tutorial-tips li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #92400e;
}

.tutorial-tips li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

/* 常见问题 */
.guide-faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.faq-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 1.5rem;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.faq-answer {
    color: #475569;
    line-height: 1.6;
}

/* 最佳实践 */
.best-practices {
    padding: 80px 0;
    background: #f8fafc;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.practice-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.practice-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 4rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    z-index: 0;
}

.practice-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.practice-description {
    color: #64748b;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 技术支持 */
.tech-support {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.support-content {
    max-width: 600px;
    margin: 0 auto;
}

.support-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.support-description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.support-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .quick-step {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .guide-title {
        font-size: 2.5rem;
    }

    .guide-subtitle {
        font-size: 1.25rem;
    }

    .tutorial-step {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }

    .support-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .guide-header {
        padding: 120px 0 60px;
    }

    .guide-title {
        font-size: 2rem;
    }

    .guide-subtitle {
        font-size: 1.125rem;
    }

    .quick-step {
        padding: 24px;
    }

    .tutorial-header {
        padding: 20px 24px;
    }

    .tutorial-item.active .tutorial-content {
        padding: 24px;
    }

    .support-title {
        font-size: 2rem;
    }
}