/* 易招考会员 | 2026-10-24 */

.page-hero .hero-actions {
    margin-top: 18px;
}

.vip-wrap {
    padding-top: 26px;
}

.vip-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid #ffe1b8;
    border-radius: var(--r-m);
    background: #fff8ec;
    color: #8a5a12;
    font-size: 13.5px;
}

.vip-notice strong {
    color: #c47a05;
}

.vip-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.vip-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-l);
    background: #fff;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.vip-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(43, 110, 241, .16);
}

.vip-plan.is-month {
    border-color: #c9dbff;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(79, 139, 255, .2), transparent 55%),
        linear-gradient(180deg, #f4f8ff 0%, #fff 55%);
    box-shadow: 0 10px 24px rgba(43, 110, 241, .1);
}

.vip-plan.is-year,
.vip-plan.is-recommend {
    border-color: #efc56a;
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(255, 255, 255, .85), transparent 48%),
        linear-gradient(165deg, #fff8e4 0%, #ffd978 42%, #fff4d4 100%);
    box-shadow: 0 14px 32px rgba(196, 122, 5, .22);
}

.vip-plan.is-year {
    overflow: hidden;
}

.vip-plan.is-year::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .7) 48%, transparent 64%);
    transform: translateX(-130%);
    animation: plan-shine 3.8s ease-in-out infinite;
    pointer-events: none;
}

.vip-plan.is-three {
    color: #f7f4ea;
    border-color: #2a2218;
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(240, 180, 41, .32), transparent 55%),
        linear-gradient(165deg, #3a3124 0%, #16130f 72%);
    box-shadow: 0 14px 32px rgba(22, 16, 8, .32);
}

.vip-plan.is-three .vip-plan-desc,
.vip-plan.is-three .vip-plan-features li,
.vip-plan.is-three .vip-plan-price .unit,
.vip-plan.is-three .vip-plan-price .original {
    color: rgba(247, 244, 234, .78);
}

.vip-plan.is-three .vip-plan-price,
.vip-plan.is-three .vip-plan-price .amount {
    color: #ffd56a;
}

.vip-plan.is-three .vip-plan-features {
    border-top-color: rgba(255, 255, 255, .12);
}

.vip-plan.is-three .vip-plan-features li::before {
    color: #ffd56a;
}

.vip-plan.is-year .vip-plan-price,
.vip-plan.is-year .vip-plan-price .amount,
.vip-plan.is-recommend .vip-plan-price,
.vip-plan.is-recommend .vip-plan-price .amount {
    color: #9a5300;
}

.vip-plan.is-year .btn,
.vip-plan.is-recommend .btn {
    background: linear-gradient(135deg, #f0a202, #d97706);
    color: #fff;
    box-shadow: 0 8px 18px rgba(217, 119, 6, .32);
}

.vip-plan.is-three .btn {
    background: linear-gradient(135deg, #ffe08a, #f0b429);
    color: #3d2a00;
    box-shadow: none;
}

.vip-plan > * {
    position: relative;
    z-index: 1;
}

.vip-plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 0 16px 0 12px;
    background: linear-gradient(135deg, #f6b73c, #e07a00);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.vip-plan-name {
    font-size: 17px;
    font-weight: 700;
}

.vip-plan-desc {
    margin-top: 6px;
    min-height: 38px;
    color: var(--c-text-3);
    font-size: 13px;
}

.vip-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 14px;
    color: var(--c-primary);
}

.vip-plan-price .amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.vip-plan-price .amount::before {
    content: "¥";
    margin-right: 2px;
    font-size: 17px;
    font-weight: 600;
}

.vip-plan-price .amount.is-free::before {
    content: none;
}

.vip-plan-price .unit {
    color: var(--c-text-3);
    font-size: 13px;
}

.vip-plan-price .original {
    color: var(--c-text-3);
    font-size: 13px;
    text-decoration: line-through;
}

.vip-plan-features {
    flex: 1;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #eef1f6;
}

.vip-plan-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    color: var(--c-text-2);
    font-size: 13.5px;
    line-height: 1.6;
}

.vip-plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--c-success);
    font-weight: 700;
}

.vip-plan .btn {
    margin-top: 18px;
}

.vip-compare {
    margin-top: 32px;
    padding: 24px;
}

.vip-compare h2 {
    font-size: 18px;
    font-weight: 700;
}

.vip-compare table {
    width: 100%;
    margin-top: 14px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.vip-compare th,
.vip-compare td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef1f6;
    text-align: left;
}

.vip-compare th {
    color: var(--c-text-3);
    font-weight: 500;
    background: #fafbfd;
}

.vip-compare td.is-yes {
    color: var(--c-success);
    font-weight: 600;
}

.vip-compare td.is-no {
    color: var(--c-text-3);
}

.vip-faq {
    margin-top: 20px;
    padding: 24px;
}

.vip-faq h2 {
    font-size: 18px;
    font-weight: 700;
}

.vip-faq-item {
    padding: 14px 0;
    border-bottom: 1px dashed #eef1f6;
}

.vip-faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.vip-faq-item h3 {
    font-size: 14.5px;
    font-weight: 600;
}

.vip-faq-item p {
    margin-top: 6px;
    color: var(--c-text-2);
    font-size: 13.5px;
    line-height: 1.7;
}

.vip-subscribe {
    margin-top: 20px;
    padding: 24px;
}

.vip-subscribe h2 {
    font-size: 18px;
    font-weight: 700;
}

.vip-subscribe p {
    margin-top: 6px;
    color: var(--c-text-2);
    font-size: 13.5px;
}

.vip-subscribe .subscribe-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 14px;
}

.vip-subscribe .subscribe-form input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-s);
    background: #fff;
}

.vip-subscribe .subscribe-note {
    margin-top: 10px;
    color: var(--c-success);
    font-size: 13px;
}

.vip-subscribe .subscribe-note.is-error {
    color: var(--c-danger);
}

@media (max-width: 992px) {
    .vip-plan-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vip-plan-desc {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .vip-subscribe .subscribe-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .vip-compare {
        overflow-x: auto;
    }

    .vip-compare table {
        min-width: 460px;
    }
}
