/* ============================================================
   贵金属交易页面专用样式（手机端）
   ============================================================ */

/* ============================================================
   1. 交易流程概述
============================================================ */
.m-pm-process {
    background: linear-gradient(135deg, #071c47 0%, #0b2a6b 100%);
    color: #fff;
}

.m-pm-process .m-section-head.light h2,
.m-pm-process .m-section-head.light p {
    color: #fff;
}

.m-pm-process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px 24px;
}

.m-pm-process-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
}

.m-pm-process-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.m-pm-process-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.m-pm-process-action {
    text-align: center;
    padding-bottom: 30px;
}

.m-pm-btn-light {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 24px;
}

/* ============================================================
   2. 市场动态解析
============================================================ */
.m-pm-market {
    background: #f4f6fb;
    text-align: center;
}

.m-pm-empty {
    display: inline-block;
    background: #fff;
    color: var(--text-sub);
    font-size: 14px;
    padding: 18px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(11, 42, 107, 0.05);
    border: 1px dashed rgba(11, 42, 107, 0.12);
    margin-bottom: 6px;
}

/* ============================================================
   3. 智能交易平台
============================================================ */
.m-pm-platform {
    background: linear-gradient(135deg, #0f1b35 0%, #1a2746 100%);
    color: #fff;
}

.m-pm-platform .m-section-head.light h2,
.m-pm-platform .m-section-head.light p {
    color: #fff;
}

.m-pm-platform-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0 16px;
}

.m-pm-platform-tabs span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.m-pm-platform-tabs span.active {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.m-pm-platform-list {
    padding: 0 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.m-pm-platform-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.m-pm-platform-img {
    height: 170px;
    overflow: hidden;
}

.m-pm-platform-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-pm-platform-text {
    padding: 16px;
}

.m-pm-platform-text h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.m-pm-platform-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

/* ============================================================
   4. 常见问题解答
============================================================ */
.m-pm-faq {
    background: #141821;
    color: #fff;
}

.m-pm-faq-list {
    padding: 0 16px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.m-pm-faq-item {
    background: #fff;
    color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.m-pm-faq-question {
    width: 100%;
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.m-pm-faq-icon {
    font-size: 13px;
    color: #999;
    transition: transform 0.3s ease;
}

.m-pm-faq-item.open .m-pm-faq-icon {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.m-pm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.m-pm-faq-item.open .m-pm-faq-answer {
    max-height: 300px;
}

.m-pm-faq-answer p {
    padding: 0 18px 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* ============================================================
   5. 滚动渐入动画
============================================================ */
.m-pm-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.m-pm-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .m-pm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
