/* ==================== استایل اختصاصی صفحه اشتراک ==================== */
.pricing-page {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 50px;
    background: rgba(10, 20, 35, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px;
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

.gold-text {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* تب切换 */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.pricing-tab {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 60px;
    padding: 8px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab.active {
    background: linear-gradient(125deg, #FFD700, #FF8C00);
    color: #1a1a2e;
    border-color: transparent;
    font-weight: bold;
}

/* گرید پلن‌ها */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* کارت پلن - عرض مناسب 300px */
.pricing-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
    border: 2px solid #FFD700;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(125deg, #FFD700, #FF8C00);
    color: #1a1a2e;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: bold;
}

/* هدر کارت */
.card-header {
    text-align: center;
    padding: 20px 15px 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.plan-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.plan-name {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 5px;
}

.plan-desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
}

/* قیمت */
.card-price {
    text-align: center;
    padding: 15px 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
}

.price-period {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.old-price {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
    margin-right: 8px;
}

/* ویژگی‌ها - دو ردیفه */
.card-features {
    padding: 18px 15px;
}

.features-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    text-align: center;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.feature-list li .check {
    color: #FFD700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-list li .close {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* دکمه */
.card-footer {
    padding: 15px 18px 20px;
    text-align: center;
}

.subscribe-btn {
    background: linear-gradient(125deg, #FFD700, #FF8C00);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(255, 215, 0, 0.4);
}

/* ==================== جدول مقایسه (سالم) ==================== */
.compare-section {
    margin-top: 50px;
}

.compare-title {
    text-align: center;
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 25px;
}

.compare-table {
    overflow-x: auto;
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.compare-table th {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    font-weight: 600;
}

.compare-table td:first-child {
    text-align: right;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.compare-table .yes {
    color: #FFD700;
    font-size: 1.1rem;
}

.compare-table .no {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
}

/* ==================== ریسپانسیو ==================== */
@media screen and (max-width: 1000px) {
    .pricing-grid {
        gap: 20px;
    }

    .pricing-card {
        width: 280px;
    }
}

@media screen and (max-width: 900px) {
    .pricing-grid {
        gap: 15px;
    }

    .pricing-card {
        width: 260px;
    }

    .plan-name {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 850px) {
    .pricing-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-card {
        width: 280px;
    }
}

@media screen and (max-width: 768px) {
    .pricing-page {
        padding: 25px 15px;
    }

    .pricing-container {
        padding: 25px 20px;
        border-radius: 30px;
    }

    .pricing-title {
        font-size: 1.6rem;
    }

    .pricing-subtitle {
        font-size: 0.8rem;
    }

    .pricing-tab {
        padding: 6px 18px;
        font-size: 0.75rem;
    }

    .compare-title {
        font-size: 1.2rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 650px) {
    .pricing-card {
        width: 100%;
        max-width: 320px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .feature-list {
        gap: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    .pricing-container {
        padding: 20px 15px;
        border-radius: 25px;
    }

    .pricing-title {
        font-size: 1.3rem;
    }

    .pricing-tabs {
        gap: 8px;
    }

    .pricing-tab {
        padding: 5px 14px;
        font-size: 0.7rem;
    }

    .plan-icon {
        font-size: 1.8rem;
    }

    .plan-name {
        font-size: 1rem;
    }

    .price {
        font-size: 1.3rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .feature-list li {
        font-size: 0.7rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 8px;
        font-size: 0.65rem;
    }

    .compare-table .yes,
    .compare-table .no {
        font-size: 0.85rem;
    }
}