/* ========== استایل‌های لوکس و ریسپانسیو ========== */

/* پس‌زمینه */
.premium-plans {
    position: relative;
    padding: 100px 24px 80px;
    background: #0a0a0f;
    overflow-x: hidden;
}
.premium-plans-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.bg-blur {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}
.b1 {
    top: -200px;
    right: -200px;
    background: #f5c518;
}
.b2 {
    bottom: -200px;
    left: -200px;
    background: #e50914;
}
.b3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: #8b5cf6;
    opacity: 0.15;
}
.premium-plans-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== کارت هدر ========== */
.plans-header-card {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}
.header-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245,197,24,0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}
.header-content {
    position: relative;
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}
.header-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 197, 24, 0.12);
    padding: 6px 18px;
    border-radius: 60px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 197, 24, 0.2);
}
.chip-icon {
    font-size: 14px;
}
.chip-text {
    font-size: 13px;
    font-weight: 600;
    color: #f5c518;
    letter-spacing: 1px;
}
.header-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}
.gold-text {
    background: linear-gradient(135deg, #f5c518, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header-desc {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== گرید پلن‌ها ========== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

/* کارت پلن */
.plan-card {
    position: relative;
    transition: all 0.4s ease;
}
.plan-card-inner {
    background: rgba(15, 15, 22, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 32px 24px 36px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.plan-card:hover .plan-card-inner {
    transform: translateY(-8px);
    border-color: rgba(245, 197, 24, 0.3);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}
.plan-popular .plan-card-inner {
    background: linear-gradient(135deg, rgba(25, 25, 40, 0.95), rgba(18, 18, 28, 0.95));
    border: 1.5px solid rgba(245, 197, 24, 0.5);
    box-shadow: 0 15px 35px rgba(245, 197, 24, 0.1);
}

/* پرچم محبوب */
.popular-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f5c518, #f97316);
    padding: 6px 18px;
    border-radius: 60px;
    z-index: 10;
    white-space: nowrap;
}
.flag-icon {
    font-size: 12px;
}
.flag-text {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2a;
}

/* آیکون */
.plan-icon {
    font-size: 52px;
    text-align: center;
    margin-bottom: 16px;
}
.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 12px;
}
.plan-badge {
    text-align: center;
    margin-bottom: 16px;
}
.plan-badge span {
    display: inline-block;
    background: rgba(245, 197, 24, 0.12);
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: #f5c518;
}
.plan-description {
    font-size: 13px;
    color: #8b8b98;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* قیمت */
.plan-price-box {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}
.plan-price-value {
    font-size: 44px;
    font-weight: 800;
    color: #f5c518;
    display: inline-block;
}
.plan-price-unit {
    font-size: 14px;
    color: #8b8b98;
    display: inline-block;
    margin-right: 6px;
}
.plan-price-free {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
}

/* ویژگی‌ها */
.plan-features {
    flex: 1;
    margin-bottom: 28px;
}
.features-head {
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #d1d1d6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.features-list li:last-child {
    border-bottom: none;
}
.features-list li i {
    color: #22c55e;
    font-size: 12px;
    width: 16px;
}
.features-list li span {
    flex: 1;
}

/* دکمه */
.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.plan-btn.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.plan-btn.btn-dark:hover {
    background: rgba(255, 255, 255, 0.12);
    gap: 14px;
}
.plan-btn.btn-gold {
    background: linear-gradient(135deg, #f5c518, #f97316);
    color: #1a1a2a;
    border: none;
}
.plan-btn.btn-gold:hover {
    transform: translateY(-2px);
    gap: 14px;
    filter: brightness(1.05);
}

/* ========== حالت خالی ========== */
.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.empty-card {
    background: rgba(15, 15, 22, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    padding: 60px 48px;
    text-align: center;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}
.empty-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 12px;
}
.empty-card p {
    color: #8b8b98;
    margin-bottom: 28px;
}
.empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5c518;
    color: #1a1a2a;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
}

/* ========== ریسپانسیو موبایل ========== */
@media (max-width: 768px) {
    .premium-plans {
        padding: 70px 16px 60px;
    }
    
    .plans-header-card {
        margin-bottom: 40px;
    }
    .header-content {
        padding: 28px 20px;
        border-radius: 32px;
    }
    .header-title {
        font-size: 28px;
    }
    .header-desc {
        font-size: 13px;
    }
    
    .plans-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .plan-card-inner {
        padding: 28px 20px 32px;
        border-radius: 32px;
    }
    .plan-icon {
        font-size: 44px;
    }
    .plan-name {
        font-size: 20px;
    }
    .plan-price-value {
        font-size: 36px;
    }
    .plan-price-free {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .premium-plans {
        padding: 60px 12px 50px;
    }
    
    .header-content {
        padding: 22px 16px;
    }
    .header-title {
        font-size: 24px;
    }
    .header-chip {
        padding: 4px 14px;
    }
    .chip-text {
        font-size: 11px;
    }
    
    .plan-card-inner {
        padding: 24px 16px 28px;
    }
    .plan-name {
        font-size: 18px;
    }
    .plan-price-value {
        font-size: 32px;
    }
    
    .features-list li {
        font-size: 12px;
        padding: 7px 0;
    }
    
    .plan-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .empty-card {
        padding: 40px 24px;
    }
    .empty-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .plan-icon {
        font-size: 38px;
    }
    .plan-name {
        font-size: 16px;
    }
    .plan-price-value {
        font-size: 28px;
    }
    .plan-badge span {
        font-size: 10px;
    }
}