/* --- 容器布局 --- */
.faq-container {
    /* border: 1px solid rgba(255,255,255,0.14);
    border-radius: 26px;
    background: rgba(2, 6, 23, 0.34);
    padding: 1rem 0; */
    color: var(--text-muted);
    max-width: 760px;
}
.faq-header {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-4);
    /* border-left: 4px solid var(--accent-4); */
    border-radius: 2px;
    padding-left: 0.6rem;
    margin: 0.5rem 0 1rem;
}

/* --- 卡片样式 (Details/Summary) --- */
.faq-card {
    background: rgba(56, 189, 248, 0.14);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border-left: 6px solid var(--accent-4);
    overflow: hidden;
}

/* 隐藏默认的 summary 箭头 */
.faq-card summary {
    list-style:none;
    cursor: pointer;
    padding: 20px 30px 20px 10px;
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.6;
    position: relative;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-card summary:hover {
    color: var(--text-muted);
}

/* 移除 Safari 默认的 marker */
.faq-card summary::-webkit-details-marker {
    display: none;
}

/* 自定义箭头图标 */
.faq-card summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-4);
    transition: transform 0.3s ease;
}

/* 展开状态下的箭头旋转 */
.faq-card[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

/* 答案内容区域 */
.faq-answer-content {
    padding: 30px;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid #eee;
    animation: fadeIn 0.3s ease;
}

/* 简单的淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- 内容排版细节 --- */
.faq-answer-content h3 {
    color: var(--secondary-muted);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 5px;
    display: inline-block;
}

.faq-answer-content ul {
    margin: 10px 0 10px 20px;
    padding-left: 10px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

.highlight {
    background-color: #fff8e1;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
    color: #d32f2f;
}

/* --- 响应式适配 --- */
@media (max-width: 600px) {
    .faq-container {
        padding: 10px;
    }
    .faq-card summary, .faq-answer-content {
        padding: 20px;
    }
}