@charset "UTF-8";
/* 主要内容区域 */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 常见问题页面样式 */
.faq-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    font-size: 28px;
}

.faq-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.faq-header p {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-category-btn {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    color: #495057;
}

.faq-category-btn:hover {
    background: #e9ecef;
    border-color: #0066cc;
}

.faq-category-btn.active {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border-color: #0052a3;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e1e5e9;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background: #f0f2f5;
}

.faq-question i {
    color: #0066cc;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background-color: white;
    color: #495057;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: #333;
}

.faq-note {
    background-color: #f0f8ff;
    border-left: 4px solid #0066cc;
    padding: 15px;
    margin-top: 30px;
    border-radius: 4px;
    font-size: 14px;
}

.faq-note h4 {
    color: #1a1a2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }
    
    .faq-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .faq-header h1 {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .page-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}