/* =========================================
   📞 联系我们板块样式
========================================= */
.contact-section {
    background-color: #1a1921;
    padding: 80px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header .sub-title {
    color: #e5df82;
    font-size: 0.9rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.contact-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-header p {
    color: #a0a0b0;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
}

/* --- 左侧：信息卡片 --- */
.contact-info-card {
    flex: 1;
    background-color: #24232c;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(229, 223, 130, 0.15);
}

.contact-info-card h3 {
    color: #e5df82;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info-card .info-desc {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
}

.info-text h4 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 1.05rem;
}

.info-text p {
    margin: 0;
    color: #88869b;
    font-size: 0.95rem;
}

/* --- 右侧：表单 --- */
.contact-form-wrapper {
    flex: 1.2;
    background-color: #24232c;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(229, 223, 130, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* 输入框统一外观 */
.input-group input,
.input-group select,
.input-group textarea {
    background-color: #1a1921;
    border: 1px solid #353340;
    color: white;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* 输入框获得焦点时的高级金色发光效果 */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #e5df82;
    box-shadow: 0 0 8px rgba(229, 223, 130, 0.3);
}

/* 隐藏 select 的默认丑陋下拉箭头，在某些浏览器下更有质感 */
.input-group select {
    cursor: pointer;
}

/* 提交按钮 */
.submit-btn {
    background-color: #e5df82;
    color: #1a1921;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #fffac7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 223, 130, 0.2);
}

/* =========================================
   📱 移动端自适应 (手机端垂直排列)
========================================= */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* =========================================
   ❓ 常见问题解答 (FAQ) 样式
========================================= */
.faq-section {
    background-color: #1a1921;
    padding: 20px 20px 80px 20px; /* 上方间距小一点，因为紧挨着联系表单 */
    display: flex;
    flex-direction: column;
    align-items: center;
}


.contact-header h2 {

color: #e5df82;
}





.faq-container {
    width: 100%;
    max-width: 800px; /* FAQ 不需要太宽，窄一点阅读体验更好 */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 每一个问题项的外壳 */
.faq-item {
    background-color: #24232c;
    border: 1px solid rgba(229, 223, 130, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 鼠标悬浮在问题上的微光效果 */
.faq-item:hover {
    border-color: rgba(229, 223, 130, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 默认隐藏系统自带的丑陋黑三角箭头 */
.faq-question::-webkit-details-marker {
    display: none;
}

/* 问题标题行的设计 */
.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* 再次确保隐藏默认箭头 */
    user-select: none;
    transition: background-color 0.3s;
}

/* 右侧的 + 号图标 */
.faq-icon {
    color: #e5df82;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 丝滑的旋转动画 */
}

/* 展开后的答案区域 */
.faq-answer {
    padding: 0 25px 25px 25px;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
    border-top: 1px solid rgba(229, 223, 130, 0.1);
    padding-top: 15px; /* 用一道微弱的金线隔开问题和答案 */
}

/* 🌟 核心交互：当详细内容被打开时 */
details[open] .faq-question {
    color: #e5df82; /* 展开时，问题文字变成金色 */
}

details[open] .faq-icon {
    transform: rotate(45deg); /* 加号旋转 45 度，变成一个完美的叉号 (x) */
}

/* 📱 手机端适配 */
@media screen and (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 0.9rem;
    }
}