/* 移动端 - 数字营销 */

.m-marketing-page {
    min-height: 100vh;
    background: #fff;
    color: #333;
}

/* ========== Hero ========== */
.m-marketing-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 12px 12px 8px;
    border-radius: 12px;
}

.m-marketing-hero-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/f0656b38cc2c4e9a9387f898e48c9dad.png) no-repeat center center;
    background-size: cover;
    border-radius: 12px;
}

.m-marketing-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.m-marketing-hero-title {
    margin: 0 0 12px;
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.m-marketing-hero-sub {
    margin: 0;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
}

.m-marketing-hero-btn {
    background: url(https://mstatic.ofpay.com/marketing/upload/fb00b74c3c0a4da9b4c25fbaef026130.png) no-repeat center center;
    background-size: 100% 100%;
    width: 160px;
    height: 36px;
    margin: 20px auto 0;
    border: none;
    cursor: pointer;
}

/* ========== 通用区块 ========== */
.m-marketing-section {
    padding: 24px 14px;
}

.m-marketing-heading {
    margin: 0 auto 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    text-align: center;
}

.m-marketing-intro {
    margin: 6px auto 0;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* ========== 场景营销 ========== */
.m-marketing-scenario {
    background: #fff;
}

.m-marketing-card-grid {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.m-marketing-feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(42, 26, 94, 0.06);
    border: 1px solid rgba(42, 26, 94, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-marketing-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.m-marketing-card-icon img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.m-marketing-card-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.m-marketing-card-body {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.6;
    color: #666;
}

/* ========== 支付营销 ========== */
.m-marketing-pay {
    position: relative;
    color: #fff;
    padding: 0;
    overflow: hidden;
}

.m-marketing-pay-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/a7e75ce5b7514f7982b867ae574fa42b.png) center top / cover no-repeat;
}

.m-marketing-pay-inner {
    position: relative;
    z-index: 1;
    padding: 32px 14px;
}

.m-marketing-pay-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.m-marketing-pay-sub {
    margin: 0 auto;
    max-width: 320px;
    font-size: 12px;
    color: #fff;
    line-height: 1.7;
    text-align: center;
}

.m-marketing-pay-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.m-marketing-pay-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(4px);
}

.m-marketing-pay-item h3 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.m-marketing-pay-item p {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.m-marketing-pay-item-full {
    grid-column: 1 / -1;
}

/* ========== 精准营销 ========== */
.m-marketing-precision {
    background: #eaf3ff url(https://mstatic.ofpay.com/marketing/upload/92e641f04f6f4234a4ceeed8962bb04f.png) center / cover no-repeat;
    padding: 24px 14px;
}

.m-marketing-lead {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

.m-marketing-features {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.m-marketing-features li {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 12px;
    backdrop-filter: blur(4px);
}

.m-marketing-features li:first-child {
    margin-top: 0;
}

.m-marketing-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.m-marketing-check img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.m-marketing-feature-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.m-marketing-feature-desc {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
}

/* ========== 响应式 ========== */
@media (min-width: 480px) {
    .m-marketing-hero {
        min-height: 260px;
    }

    .m-marketing-hero-inner {
        padding: 50px 24px;
    }

    .m-marketing-hero-btn {
        width: 180px;
        height: 40px;
    }

    .m-marketing-card-grid {
        gap: 14px;
    }

    .m-marketing-feature-card {
        padding: 20px 16px;
    }

    .m-marketing-card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }

    .m-marketing-card-icon img {
        width: 56px;
        height: 56px;
    }

    .m-marketing-card-title {
        font-size: 14px;
    }

    .m-marketing-card-body {
        font-size: 11px;
    }

    .m-marketing-pay-grid {
        gap: 14px;
    }

    .m-marketing-pay-item {
        padding: 14px;
    }

    .m-marketing-pay-item h3 {
        font-size: 14px;
    }

    .m-marketing-pay-item p {
        font-size: 11px;
    }
}

@media (min-width: 640px) {
    .m-marketing-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .m-marketing-pay-grid {
        max-width: 500px;
        margin: 24px auto 0;
    }
}
