/* 主容器 最大宽度1560px 居中 */
.faq-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* 页面标题区块 */
.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-title {
    font-size: clamp(2rem, 5vw, 44px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.faq-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
}

/* FAQ 列表容器 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

/* 单个FAQ卡片 玻璃质感 */
.faq-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.25);
}

/* 折叠按钮 无障碍触发 */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #0f172a;
    gap: 20px;
}

.faq-trigger:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.4);
    outline-offset: 2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #06b6d4;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background-color: #06b6d4;
    color: white;
    transform: rotate(180deg);
}

/* 答案面板 折叠区域 */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-panel {
    max-height: 800px;
}

.faq-content {
    padding: 0 28px 28px;
    color: #64748b;
    line-height: 1.75;
}

.faq-content a {
    color: #0891b2;
    text-decoration: none;
    font-weight: 500;
}

.faq-content a:hover {
    text-decoration: underline;
}

.faq-content ul {
    padding-left: 20px;
    margin-top: 12px;
}

.faq-content li {
    margin: 8px 0;
}

/* ====================== 分页组件样式 ====================== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e293b;
}

.page-btn:hover:not(:disabled) {
    border-color: #06b6d4;
    color: #06b6d4;
}

.page-btn.active {
    background-color: #06b6d4;
    border-color: #06b6d4;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-dot {
    padding: 0 6px;
    color: #64748b;
    user-select: none;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .faq-container {
        padding: 40px 16px;
    }

    .faq-trigger {
        padding: 20px 20px;
    }

    .faq-content {
        padding: 0 20px 20px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .pagination-wrap {
        flex-wrap: wrap;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
    }
}


/* 底部全幅联系区块 */
.faq-contact-full-section {
    width: 100%;
    margin-top: 80px;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    padding: 72px 24px;
}

.faq-contact-inner-wrap {
    max-width: 1560px;
    margin: 0 auto;
    text-align: center;
}

.faq-contact-title {
    font-size: clamp(26px, 3vw, 36px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-contact-desc {
    font-size: clamp(16px, 1.1vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.faq-contact-btn {
    display: inline-block;
    padding: 16px 42px;
    background: #ffffff;
    color: #0891b2;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}