/* ===== 微营销页面 ===== */

/* Hero */
.mk-hero {
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 50%, #064e3b 100%);
    padding: 80px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mk-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .12) 0%, transparent 70%);
    animation: mkPulse 7s ease-in-out infinite;
}

.mk-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, .08) 0%, transparent 70%);
    animation: mkPulse 9s ease-in-out infinite reverse;
}

@keyframes mkPulse {

    0%,
    100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.mk-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.mk-hero-content {
    flex: 1;
}

.mk-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, .15);
    border: 1px solid rgba(16, 185, 129, .25);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13px;
    color: #6ee7b7;
    margin-bottom: 20px;
}

.mk-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.mk-hero h1 span {
    background: linear-gradient(90deg, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mk-hero-desc {
    font-size: 16px;
    opacity: .7;
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.mk-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.mk-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.mk-hero-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, .35);
}

.mk-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, .45);
    color: #fff;
    text-decoration: none;
}

.mk-hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.mk-hero-btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, .35);
}

.mk-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex-shrink: 0;
}

.mk-stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 22px 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s ease;
}

.mk-stat-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(16, 185, 129, .3);
}

.mk-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.mk-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-top: 4px;
}

/* 通用标题 */
.mk-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.mk-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--xw-gray-800);
    margin-bottom: 8px;
}

.mk-section-header p {
    font-size: 15px;
    color: var(--xw-gray-500);
}

/* 功能模块 */
.mk-features-section {
    padding: 56px 0;
    background: #f8fafc;
}

.mk-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mk-feature-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 20px 18px;
    transition: all .3s ease;
    cursor: pointer;
}

.mk-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
    border-color: rgba(16, 185, 129, .15);
}

.mk-feature-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mk-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #059669;
    flex-shrink: 0;
    transition: all .25s ease;
}

.mk-feature-card:hover .mk-feature-icon {
    background: #059669;
    color: #fff;
}

.mk-feature-top h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--xw-gray-800);
    margin: 0;
}

.mk-feature-card p {
    font-size: 12px;
    color: var(--xw-gray-500);
    line-height: 1.5;
    margin: 0;
}

/* 功能列表 */
.mk-func-section {
    padding: 56px 0;
    background: #fff;
}

.mk-func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mk-func-group {
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
}

.mk-func-group-header {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mk-func-group-header i {
    font-size: 16px;
}

.mk-func-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-func-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--xw-gray-600);
    border-bottom: 1px solid #f1f5f9;
    transition: all .2s ease;
}

.mk-func-list li:last-child {
    border-bottom: none;
}

.mk-func-list li:hover {
    background: #f8fafc;
    color: #059669;
}

.mk-func-list li i {
    color: #10b981;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

/* 套餐 */
.mk-plans-section {
    padding: 56px 0;
    background: #f8fafc;
}

.mk-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mk-plan-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s cubic-bezier(.25, 1, .5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.mk-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(5, 150, 105, .1), 0 4px 12px rgba(0, 0, 0, .05);
}

.mk-plan-card.recommended {
    border-color: #059669;
    box-shadow: 0 4px 24px rgba(5, 150, 105, .1);
}

.mk-plan-header {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 18px 20px 14px;
    text-align: center;
}

.mk-plan-card.recommended .mk-plan-header {
    background: linear-gradient(135deg, #047857, #059669);
}

.mk-plan-type {
    font-size: 11px;
    font-weight: 700;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.mk-plan-name {
    font-size: 18px;
    font-weight: 800;
}

.mk-plan-price-area {
    padding: 18px 16px 12px;
    text-align: center;
}

.mk-plan-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.mk-plan-price-symbol {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

.mk-plan-price-num {
    font-size: 30px;
    font-weight: 900;
    color: #059669;
    line-height: 1;
}

.mk-plan-price-unit {
    font-size: 13px;
    color: #94a3b8;
    margin-left: 2px;
}

.mk-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 16px 16px;
    border-top: 1px solid #f1f5f9;
}

.mk-plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    font-size: 13px;
    color: var(--xw-gray-600);
    border-bottom: 1px solid #f8fafc;
}

.mk-plan-features li:last-child {
    border-bottom: none;
}

.mk-plan-features li i {
    color: #10b981;
    font-size: 11px;
    width: 14px;
    text-align: center;
}

.mk-plan-features li.disabled {
    color: #cbd5e1;
}

.mk-plan-features li.disabled i {
    color: #e2e8f0;
}

.mk-plan-btn {
    display: block;
    width: calc(100% - 32px);
    margin: auto auto 16px;
    padding: 10px 0;
    text-align: center;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.mk-plan-btn:hover {
    background: #047857;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, .3);
}

/* 代建服务 */
.mk-service-section {
    padding: 80px 0;
    background: #fff;
}

.mk-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mk-service-card {
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1px solid #e8ecf1;
    border-radius: 20px;
    padding: 32px 28px;
    transition: all .3s ease;
    cursor: pointer;
}

.mk-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(5, 150, 105, .08);
    border-color: rgba(5, 150, 105, .15);
}

.mk-service-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.mk-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* 服务图标颜色变体 */
.mk-service-icon-build {
    background: #ecfdf5;
    color: #059669;
}

.mk-service-icon-ops {
    background: #f0fdfa;
    color: #0d9488;
}

.mk-service-top h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--xw-gray-800);
    margin: 0;
}

.mk-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-service-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
    color: var(--xw-gray-600);
    border-bottom: 1px solid #f1f5f9;
}

.mk-service-list li:last-child {
    border-bottom: none;
}

.mk-service-list li span:last-child {
    font-weight: 600;
    color: #059669;
}

/* CTA */
.mk-cta-section {
    padding: 80px 0;
    text-align: center;
}

.mk-cta-box {
    background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mk-cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .15) 0%, transparent 70%);
}

.mk-cta-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.mk-cta-box p {
    font-size: 16px;
    opacity: .7;
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.mk-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.mk-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.mk-cta-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, .4);
}

.mk-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.mk-cta-btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, .4);
}

/* 响应式 */
@media (max-width: 992px) {
    .mk-hero-inner {
        flex-direction: column;
        gap: 36px;
    }

    .mk-hero h1 {
        font-size: 30px;
    }

    .mk-hero-stats {
        width: 100%;
    }

    .mk-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-func-grid {
        grid-template-columns: 1fr;
    }

    .mk-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mk-hero {
        padding: 60px 0 80px;
    }

    .mk-hero h1 {
        font-size: 24px;
    }

    .mk-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .mk-features-grid {
        grid-template-columns: 1fr;
    }

    .mk-plans-grid {
        grid-template-columns: 1fr;
    }

    .mk-cta-btns {
        flex-direction: column;
        align-items: center;
    }
}
