/* 营销知识 - 常见问题区块样式 */
#mk-faq {
    background-color: #f9fafc;
    padding: 100px 0;
    position: relative;
}

/* 背景装饰元素 */
#mk-faq:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(147, 197, 253, 0.1) 0%, rgba(147, 197, 253, 0) 50%),
        radial-gradient(circle at 90% 90%, rgba(253, 164, 175, 0.1) 0%, rgba(253, 164, 175, 0) 50%);
    z-index: 0;
}

/* 区块标题样式 */
#mk-faq .mk-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

#mk-faq .mk-section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#mk-faq .mk-section-header h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

#mk-faq .mk-section-header p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ 搜索框样式 */
.mk-faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mk-faq-search {
    margin-bottom: 40px;
}

.mk-search-box {
    position: relative;
    margin-bottom: 20px;
}

.mk-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 18px;
}

#mk-faq-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#mk-faq-search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 3px 15px rgba(99, 102, 241, 0.1);
}

.mk-search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mk-search-clear.active {
    opacity: 1;
    pointer-events: auto;
}

.mk-search-clear:hover {
    color: #6366f1;
}

/* 标签样式 */
.mk-faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.mk-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background-color: #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mk-tag:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.mk-tag.active {
    background-color: #6366f1;
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* FAQ 列表样式 */
.mk-faq-list {
    margin-top: 30px;
}

.mk-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mk-faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.mk-faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mk-faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.mk-faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.mk-faq-item.active .mk-faq-toggle {
    background-color: #6366f1;
    color: white;
    transform: rotate(45deg);
}

.mk-faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.mk-faq-item.active .mk-faq-answer {
    padding: 0 25px 25px;
    max-height: 2000px;
    opacity: 1;
}

.mk-faq-answer p {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

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

.mk-faq-answer li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.mk-faq-answer strong {
    color: #1f2937;
    font-weight: 600;
}

/* 无结果提示样式 */
.mk-no-results {
    text-align: center;
    padding: 60px 0;
    display: none;
}

.mk-no-results img {
    max-width: 150px;
    margin-bottom: 20px;
}

.mk-no-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.mk-no-results p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
}

.mk-reset-search {
    background-color: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mk-reset-search:hover {
    background-color: #4f46e5;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.2);
}

/* 更多问题部分 */
.mk-faq-more {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.mk-faq-more h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.mk-faq-more p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
}

.mk-faq-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mk-btn-primary {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.mk-btn-primary:hover {
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.mk-btn-outline {
    border: 2px solid #6366f1;
    color: #6366f1;
    background: transparent;
}

.mk-btn-outline:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    #mk-faq {
        padding: 70px 0;
    }
    
    #mk-faq .mk-section-header h2 {
        font-size: 32px;
    }
    
    .mk-faq-question h3 {
        font-size: 16px;
    }
    
    .mk-faq-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .mk-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .mk-faq-tags {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    
    .mk-tag {
        white-space: nowrap;
    }
} 