/* ========== 会员服务 ========== */
.page-hero.membership {
    background: linear-gradient(135deg, #0b3d91 0%, #1a6fd4 48%, #2a9bb5 100%);
}

.membership-page {
    background: #f3f4f6;
}

.membership-intro {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 56px;
}

.membership-intro h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.membership-lead {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
    text-align: left;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(15, 40, 80, 0.04);
}

.membership-intro-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.membership-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 46px;
    padding: 0 28px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.membership-btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 82, 217, 0.22);
}

.membership-btn-primary:hover {
    background: var(--hover-blue);
    transform: translateY(-1px);
}

.membership-btn-outline {
    background: #fff;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 82, 217, 0.35);
}

.membership-btn-outline:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 82, 217, 0.04);
}

.membership-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}

.membership-highlight {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #e8eef6;
    box-shadow: 0 10px 28px rgba(20, 50, 100, 0.04);
}

.membership-highlight i {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.membership-highlight h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.membership-highlight p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

.membership-plans-section {
    scroll-margin-top: 100px;
}

#inquiry-form {
    scroll-margin-top: 100px;
}

.membership-plans-header {
    text-align: center;
    margin-bottom: 36px;
}

.membership-plans-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.membership-plans-header .subtitle {
    color: var(--text-gray);
    font-size: 15px;
}

/* 套餐卡片：参考截图 — 色头 + 价格 + 立即咨询 + 虚线 + 权益列表 */
.membership-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.membership-card {
    --plan-color: #0052d9;
    --plan-color-soft: #4d7fe3;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.12);
}

/* 月 / 季 / 半年 / 年：灰色 → 主题蓝递进 */
.membership-card-month {
    --plan-color: #6b7280;
    --plan-color-soft: #9ca3af;
}

.membership-card-quarter {
    --plan-color: #4b6fa8;
    --plan-color-soft: #7a94c4;
}

.membership-card-half {
    --plan-color: #2663d4;
    --plan-color-soft: #5b8ae0;
}

.membership-card-year {
    --plan-color: #0052d9;
    --plan-color-soft: #3370e0;
}

.membership-card-head {
    background: var(--plan-color-soft);
    padding: 22px 16px;
    text-align: center;
}

.membership-card-head h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}

.membership-card-body {
    padding: 28px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.membership-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    color: #1a1a1a;
    margin-bottom: 22px;
    line-height: 1.2;
}

.membership-card-price .amount {
    font-size: 36px;
    font-weight: 700;
}

.membership-card-price .unit {
    font-size: 18px;
    font-weight: 600;
    margin-left: 2px;
}

.membership-card-price .period {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.membership-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 42px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--plan-color);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 22px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.membership-card-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff !important;
}

.membership-card-divider {
    width: 100%;
    height: 0;
    border: 0;
    border-top: 1.5px dashed var(--plan-color);
    margin: 0 0 22px;
    opacity: 0.85;
}

.membership-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.membership-feature-list li {
    font-size: 15px;
    color: #222;
    line-height: 1.5;
    text-align: center;
}

.membership-validity-note {
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: #888;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.membership-tips {
    margin-top: 64px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eef6;
    padding: 36px 40px;
    box-shadow: 0 10px 28px rgba(20, 50, 100, 0.04);
}

.membership-tips h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.membership-tips ol {
    list-style: decimal;
    padding-left: 22px;
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 15px;
}

.membership-tips ol li {
    margin-bottom: 8px;
}

.membership-tips-action {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 1100px) {
    .membership-plans {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .membership-intro h2,
    .membership-plans-header h2 {
        font-size: 26px;
    }

    .membership-lead {
        padding: 20px;
        font-size: 15px;
    }

    .membership-highlights {
        grid-template-columns: 1fr;
    }

    .membership-plans {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .membership-tips {
        padding: 28px 20px;
    }

    .membership-card-head h3 {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .membership-card-price .amount {
        font-size: 32px;
    }
}
