/* ============================================================================
   帮助中心页面样式 - 暗金轻奢风格
   前缀: hp-
   ============================================================================ */

/* 横幅 */
.hp-banner {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #1a1f2e 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hp-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hp-banner-content {
    position: relative;
    z-index: 1;
}
.hp-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E6EDF3;
    margin-bottom: 12px;
}
.hp-banner-desc {
    font-size: 1.1rem;
    color: #8B949E;
    max-width: 500px;
    margin: 0 auto 28px;
}

/* 搜索框 */
.hp-search-box {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.hp-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B949E;
    font-size: 1rem;
}
.hp-search-input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    color: #E6EDF3;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.hp-search-input:focus {
    border-color: #C9A96E;
}
.hp-search-input::placeholder {
    color: #6E7681;
}

/* 快捷入口 */
.hp-quick-section {
    padding: 50px 0 30px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.hp-quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.hp-quick-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hp-quick-card:hover {
    border-color: #C9A96E;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.1);
}
.hp-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    color: #C9A96E;
}
.hp-quick-card h3 {
    font-size: 0.9rem;
    color: #E6EDF3;
    font-weight: 600;
    margin-bottom: 4px;
}
.hp-quick-card p {
    font-size: 0.75rem;
    color: #8B949E;
    line-height: 1.4;
}

/* 通用区块 */
.hp-section {
    padding: 40px 0;
}
.hp-section-header {
    margin-bottom: 24px;
}
.hp-section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E6EDF3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid #21262D;
}
.hp-section-header h2 i {
    color: #C9A96E;
}

/* 新手步骤 */
.hp-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hp-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 24px;
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    transition: border-color 0.2s;
}
.hp-step:hover {
    border-color: #C9A96E;
}
.hp-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    color: #C9A96E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.hp-step-content h3 {
    font-size: 1rem;
    color: #E6EDF3;
    font-weight: 600;
    margin-bottom: 6px;
}
.hp-step-content p {
    font-size: 0.9rem;
    color: #8B949E;
    line-height: 1.6;
}

/* FAQ */
.hp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hp-faq-item {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.hp-faq-item:hover {
    border-color: #C9A96E;
}
.hp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #E6EDF3;
    font-weight: 500;
    user-select: none;
    transition: color 0.2s;
}
.hp-faq-question:hover {
    color: #C9A96E;
}
.hp-faq-question i {
    color: #8B949E;
    transition: transform 0.3s;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-left: 12px;
}
.hp-faq-item.active .hp-faq-question i {
    transform: rotate(180deg);
    color: #C9A96E;
}
.hp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.hp-faq-item.active .hp-faq-answer {
    max-height: 300px;
}
.hp-faq-answer p {
    padding: 0 18px 14px;
    font-size: 0.9rem;
    color: #8B949E;
    line-height: 1.7;
}

/* 联系客服 */
.hp-contact-section {
    padding: 20px 0 80px;
}
.hp-contact-card {
    background: linear-gradient(135deg, #161B22, #1a1f2e);
    border: 1px solid #30363D;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}
.hp-contact-card h2 {
    font-size: 1.4rem;
    color: #E6EDF3;
    font-weight: 600;
    margin-bottom: 8px;
}
.hp-contact-card p {
    font-size: 0.95rem;
    color: #8B949E;
    margin-bottom: 24px;
}
.hp-contact-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* 响应式 */
@media (max-width: 768px) {
    .hp-banner-title { font-size: 1.8rem; }
    .hp-quick-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hp-contact-card { padding: 32px 20px; }
    .hp-contact-actions { flex-direction: column; }
}
@media (max-width: 480px) {
    .hp-quick-grid { grid-template-columns: repeat(2, 1fr); }
}
