/* VIP / Pro subscription page */

.vip-page {
    --brand: #8ed557;
    --brand-2: #7fc945;
    --ink: #2b2f33;
    --mute: #8a9198;
    --line: #eceff2;
    background: #f6f7f9;
    color: var(--ink);
    padding-bottom: 2.8rem;
}

.vip-page .container {
    width: min(1180px, 94%);
    margin-inline: auto;
}

.vip-hero {
    position: relative;
    overflow: clip;
    padding: clamp(2.4rem, 5vw, 3.6rem) 0 2rem;
    background:
        radial-gradient(700px 260px at 85% 0%, rgba(142, 213, 87, .25), transparent 60%),
        radial-gradient(520px 220px at 10% 40%, rgba(245, 180, 39, .14), transparent 55%),
        linear-gradient(180deg, #eef8ea 0%, #f6f7f9 80%);
    text-align: center;
}

.vip-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dcefd0;
    color: #4f9a22;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: .9rem;
}

.vip-hero h1 {
    margin: 0 0 .7rem;
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    font-weight: 900;
    line-height: 1.55;
}

.vip-hero h1 em {
    font-style: normal;
    color: var(--brand-2);
}

.vip-hero p {
    margin: 0 auto 1.2rem;
    max-width: 560px;
    color: var(--mute);
    line-height: 1.9;
    font-size: 1rem;
}

.vip-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .7rem;
}

.vip-hero-stats div {
    min-width: 110px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .7rem .9rem;
}

.vip-hero-stats b {
    display: block;
    font-size: 1.05rem;
}

.vip-hero-stats span {
    font-size: .75rem;
    color: var(--mute);
    font-weight: 700;
}

.vip-current {
    margin: 1.2rem auto 0;
    max-width: 640px;
    background: #122019;
    color: #fff;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
}

.vip-current strong { display: block; margin-bottom: .2rem; }
.vip-current span { color: rgba(255,255,255,.75); font-size: .88rem; }
.vip-current .tag {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 800;
    font-size: .8rem;
    white-space: nowrap;
}

.vip-plans {
    padding: 1.4rem 0 0;
}

.vip-plans-head {
    text-align: center;
    margin-bottom: 1.3rem;
}

.vip-plans-head h2 {
    margin: 0 0 .4rem;
    font-size: 1.35rem;
    font-weight: 900;
}

.vip-plans-head p {
    margin: 0;
    color: var(--mute);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.vip-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.35rem 1.2rem 1.25rem;
    box-shadow: 0 8px 24px rgba(60, 67, 84, .05);
    display: flex;
    flex-direction: column;
    transition: .2s ease;
}

.vip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(60, 67, 84, .1);
}

.vip-card.is-popular {
    border-color: #cfe9b0;
    box-shadow: 0 14px 36px rgba(127, 201, 69, .16);
}

.vip-card.is-popular::before {
    content: "پیشنهاد ویژه";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: .28rem .7rem;
    border-radius: 999px;
    white-space: nowrap;
}

.vip-card .name {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    font-weight: 900;
}

.vip-card .desc {
    margin: 0 0 1rem;
    color: var(--mute);
    font-size: .9rem;
    line-height: 1.8;
    min-height: 3.4em;
}

.vip-card .price {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin-bottom: .25rem;
}

.vip-card .price strong {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--brand-2);
}

.vip-card .price span {
    font-size: .85rem;
    font-weight: 700;
    color: #6a6a6a;
}

.vip-card .duration {
    color: var(--mute);
    font-size: .84rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vip-card .per-day {
    display: inline-flex;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: #f3faf0;
    color: #4f9a22;
    font-size: .75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    width: fit-content;
}

.vip-benefits {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: .55rem;
    flex: 1;
}

.vip-benefits li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .9rem;
    line-height: 1.6;
    color: #3c4354;
    font-weight: 600;
}

.vip-benefits li svg {
    flex: 0 0 auto;
    margin-top: .15rem;
    color: var(--brand-2);
}

.vip-card .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff !important;
    font-weight: 800;
    font-size: .95rem;
    border: 0;
    text-decoration: none;
}

.vip-card .cta:hover { background: var(--brand-2); }

.vip-card .cta.ghost {
    background: #fff;
    color: #3f7a18 !important;
    border: 1px solid #d7ebc4;
}

.vip-card.is-popular .cta {
    box-shadow: 0 10px 22px rgba(142, 213, 87, .28);
}

.vip-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.vip-feat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem 1rem;
    text-align: center;
}

.vip-feat .ico {
    width: 48px;
    height: 48px;
    margin: 0 auto .7rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eef8ea;
    color: #4f9a22;
}

.vip-feat:nth-child(2) .ico { background: #fff4e5; color: #d97706; }
.vip-feat:nth-child(3) .ico { background: #e8f1ff; color: #2563eb; }
.vip-feat:nth-child(4) .ico { background: #ffe8ef; color: #db2777; }

.vip-feat strong {
    display: block;
    margin-bottom: .25rem;
    font-size: .95rem;
}

.vip-feat span {
    display: block;
    color: var(--mute);
    font-size: .82rem;
    line-height: 1.7;
}

.vip-faq {
    margin-top: 1.6rem;
    display: grid;
    gap: .55rem;
}

.vip-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.vip-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.vip-faq summary::-webkit-details-marker { display: none; }
.vip-faq summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef8ea;
    color: #4f9a22;
    display: grid;
    place-items: center;
}
.vip-faq details[open] summary::after { content: "−"; }

.vip-faq p {
    margin: 0;
    padding: 0 1.15rem 1.1rem;
    color: #6a6a6a;
    line-height: 1.95;
    font-size: .92rem;
}

@media (max-width: 980px) {
    .vip-grid { grid-template-columns: 1fr 1fr; }
    .vip-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .vip-grid,
    .vip-features { grid-template-columns: 1fr; }
    .vip-current { flex-direction: column; align-items: flex-start; }
}
