        :root {
            --primary: #1a56db;
            --primary-light: #3b82f6;
            --primary-dark: #1e40af;
            --secondary: #f59e0b;
            --light: #f8fafc;
            --dark: #1e293b;
            --gray: #64748b;
            --gray-light: #e2e8f0;
            --success: #10b981;
            --info: #0ea5e9;
            --warning: #f59e0b;
            --border-radius: 10px;
            --border-radius-sm: 6px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.2s ease;
        }

 
 
        /* استایل بخش معرفی محصول */
        .irvps {
            padding-top: 40px;
            padding-bottom: 0px;
            background: linear-gradient(135deg, #3998f64f 0%);
            /* border-radius: var(--border-radius); */
            /* margin-bottom: 30px; */
        }

        .irvps-content {
            display: flex;
            align-items: center;
            gap: 40px;
            padding: 0 20px;
        }

        .irvps-text {
            flex: 1;
        }

        .irvps-text h1 {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            gap: 15px;
            font-weight: 800;
        }

        .irvps-text h1 img {
            height: 50px;
            border-radius: 8px;
        }

        .irvps-text h2 {
            font-size: 1.2rem;
            color: var(--gray);
            margin-bottom: 20px;
            font-weight: 500;
        }

        .irvps-text p {
            margin-bottom: 25px;
            font-size: 1rem;
            color: var(--dark);
            line-height: 1.8;
            background: rgba(255, 255, 255, 0.8);
            padding: 15px;
            border-radius: var(--border-radius-sm);
            border-right: 3px solid var(--secondary);
        }

        .btn {
            padding: 12px 24px;
            border-radius: var(--border-radius-sm);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            border: none;
            font-size: 0.95rem;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .features {
            display: flex;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        .feature {
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 10px 18px;
            border-radius: var(--border-radius-sm);
            box-shadow: var(--shadow);
            border: 1px solid var(--gray-light);
        }

        .feature i {
            color: var(--primary);
            font-size: 1.1rem;
        }

        /* .irvps-image {
            flex: 1;
            text-align: center;
        }

        .irvps-image img {
            max-width: 100%;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
        } */










      /* استایل جدول پلن‌های دسکتاپ - بازطراحی شده */
.desktop-plans {
    margin: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: #0046c0;
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

.plans-table-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f8;
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.plans-table thead tr {
    background: linear-gradient(135deg, #0046c0, #0035a0);
}

.plans-table th {
    color: white;
    padding: 18px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
    background: transparent;
}

.plans-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid #eef2f8;
}

.plans-table tr:last-child td {
    border-bottom: none;
}

.plans-table tbody tr:hover td {
    background-color: #f8fcff;
}

.popular-row {
    background: linear-gradient(to left, rgba(83, 255, 5, 0.47), transparent);
}

.popular-row td:first-child {
    position: relative;
}

.popular-row td:first-child::before {
    content: 'پرفروش';
    position: absolute;
    top: -8px;
    right: 10px;
    background: #0046c0;
    color: white;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 5;
}

.plan-name-cell {
    /* display: flex; */
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-weight: 700;
    color: #0046c0;
}

.plan-name-cell img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.details-toggle {
    cursor: pointer;
    color: #0046c0;
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f4ff;
    margin-right: 8px;
}

.details-toggle.rotated {
    transform: rotate(180deg);
}

.os-icons {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.os-icons img {
    width: 40px;
    height: 40px;
    
}

.price-cell {
    font-weight: bold;
    color: #0046c0;
    font-size: 1.1rem;
}

.price-cell::after {
    /* content: 'تومان'; */
    font-size: 0.75rem;
    color: var(--gray);
    margin-right: 4px;
}

.actions-cell {
    /* display: flex; */
    justify-content: center;
    gap: 8px;
}

.btn-info {
    background: #0046c0;
    color: white;
    padding: 8px 16px;
    font-size: 0.85rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

.btn-warning {
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    color: #5b6e8c;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 40px;
    cursor: pointer;
}

.btn-outline {
    background: white;
    border: 1px solid #0046c0;
    color: #0046c0;
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 40px;
    cursor: pointer;
}

/* استایل جزئیات پلن */
.plan-details-row {
    display: none;
}

.plan-details-row.active {
    display: table-row;
}

.plan-details {
    padding: 0;
    background: #f8fcff;
}

.plan-details-content {
    padding: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-box {
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f8;
}

.detail-box h4 {
    margin-bottom: 12px;
    color: #0046c0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-box ul {
    list-style: none;
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

.detail-box li {
    padding: 6px 0;
    border-bottom: 1px dashed #eef2f8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-box li:last-child {
    border-bottom: none;
}

.detail-box i {
    color: #10b981;
    font-size: 0.8rem;
}

.refund-rules-link {
    color: #0046c0;
    text-decoration: none;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .plans-table-container {
        border-radius: 16px;
    }
    
    .plans-table {
        min-width: auto;
    }
}



/* ریسپانسیو */
@media screen and (max-width: 992px) {
    .plans-table-container {
        display: none;
    }
    
    .mobile-vps-plans {
        display: block !important;
    }
}

@media screen and (min-width: 993px) {
    .mobile-vps-plans {
        display: none !important;
    }
}

.mobile-vps-plans {
    direction: rtl;
    margin: 0 auto;
    max-width: 600px;
    padding: 0 15px;
    display: none;
}

.mv-plans {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mv-plan {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f8;
}

.popular-mv-plan {
    border: 2px solid #0046c0;
}

.mv-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: white;
    cursor: pointer;
    gap: 15px;
}

.mv-plan-name {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mv-plan-name img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f4ff;
    padding: 8px;
}

.mv-plan-name h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2c3e;
    margin: 0;
}

.mv-plan-price {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mv-price-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0046c0;
    line-height: 1.3;
}

.mv-price-unit {
    font-size: 0.65rem;
    color: #7f8c9a;
}

.mv-price-cycle {
    font-size: 0.6rem;
    color: #5b6e8c;
}

.mv-toggle-icon {
    color: #0046c0;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ff;
}

.mv-plan.active .mv-toggle-icon {
    transform: rotate(180deg);
}

.mv-plan-body {
    display: none;
    padding: 18px;
    background: #f8fcff;
    border-top: 1px solid #eef2f8;
}

.mv-plan.active .mv-plan-body {
    display: block;
}

.mv-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.mv-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f8;
}

.mv-spec-item i {
    width: 24px;
    color: #0046c0;
    font-size: 0.9rem;
}

.mv-spec-label {
    font-size: 0.8rem;
    color: #5b6e8c;
    font-weight: 500;
}

.mv-spec-value {
    font-size: 0.85rem;
    color: #1a2c3e;
    font-weight: 600;
    margin-right: auto;
}

.mv-order-btn {
    width: 100%;
    background: #0046c0;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Peyda', sans-serif;
}

.mv-badge {
    background: #0046c0;
    color: white;
    font-size: 0.6rem;
    padding: 2px 10px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 4px;
}

@media screen and (max-width: 480px) {
    .mobile-vps-plans {
        padding: 0 12px;
    }
    
    .mv-plan-header {
        padding: 14px;
        flex-wrap: wrap;
    }
    
    .mv-plan-price {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    
    .mv-price-value {
        font-size: 1rem;
    }
    
    .mv-specs {
        grid-template-columns: 1fr;
    }
}

/* مخفی کردن جدول دسکتاپ در موبایل */
@media screen and (max-width: 992px) {
    .plans-table-container {
        display: none;
    }
    
    .mobile-vps-plans {
        display: block !important;
    }
}

/* نمایش جدول دسکتاپ در دسکتاپ */
@media screen and (min-width: 993px) {
    .mobile-vps-plans {
        display: none !important;
    }
}

/* استایل فلش چرخان */
.mv-plan.active .mv-toggle-icon {
    transform: rotate(180deg);
}

.mv-plan-body {
    display: none;
}

.mv-plan.active .mv-plan-body {
    display: block;
}


/* کانتینر ویدیو */
.irvps-image {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.irvps-image video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* لایه روی ویدیو */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
    border-radius: 20px;
}

/* وقتی ویدیو در حال پخش است، لایه مخفی شود */
.irvps-image.playing .video-overlay {
    opacity: 0;
    visibility: hidden;
}

/* دکمه پخش */
.play-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.05);
}

.play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}






        
        /* دکمه مقایسه شناور */
        .sticky-compare {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: var(--info);
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
            z-index: 1000;
            display: none;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .sticky-compare:hover {
            background: #0d9cd8;
        }

        .sticky-compare i {
            font-size: 1.2rem;
        }

        .sticky-compare .badge {
            background: var(--secondary);
            color: #1e293b;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: bold;
        }

        /* مودال ماشین حساب - جمع‌وجور */
        .calculator-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1100;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .calculator-content {
            font-family: 'Peyda', sans-serif;
            background: white;
            border-radius: var(--border-radius);
            width: 95%;
            max-width: 700px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .calculator-header {
            background: var(--primary);
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }





.os-grid {
    display: flex;
    justify-content: center;   /* وسط چین کل آیتم‌ها */
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;           /* اگر صفحه کوچیک شد، بره خط بعد */
    margin-top: 15px;
}

.os-item {
    display: flex;
    flex-direction: column;    /* آیکن بالا، متن پایین */
    align-items: center;
    justify-content: center;
    width: 78px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.os-item:hover {
    border-color: #0d6efd;
    transform: translateY(-3px);
}

.os-item.active {
    border-color: #0d6efd;
    background: rgba(13,110,253,0.08);
}
        .os-item img {
            width: 30px;
            margin-bottom: 0px;
        }

        .os-item span {
            font-size: 13px;
            display: block;
        }

        .os-item:hover {
            border-color: #0d6efd;
        }

        .os-item.active {
            border-color: #0d6efd;
            background: #eef4ff;
        }









        .calculator-header h3 {
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .close-calculator {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .calculator-body {
            padding: 20px;
            font-family: "Peyda", Tahoma, sans-serif;
        }

        .base-plan-info {
            background: #f0f9ff;
            padding: 15px;
            border-radius: var(--border-radius-sm);
            margin-bottom: 20px;
            text-align: center;
            border: 1px solid #bae6fd;
        }

        .base-plan-info h4 {
            margin-bottom: 5px;
            color: var(--dark);
            font-size: 1rem;
        }

        .base-plan-info h5 {
            color: var(--success);
            font-size: 1.4rem;
            font-weight: 600;
        }

        .calculator-row {
            margin-bottom: 15px;
        }

        .calculator-row label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .slider-container {
            display: flex;
            align-items: center;
            gap: 12px;
            direction: ltr;
        }

        .slider-container span {
            min-width: 35px;
            text-align: center;
            font-weight: bold;
            color: var(--primary);
            font-size: 20px;
        }

        input[type="range"] {
            flex: 1;
            height: 6px;
            border-radius: 50px;
            background: #e2e8f0;
            outline: none;
            -webkit-appearance: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 2px solid white;
        }

        .price-summary {
            background: #f8fafc;
            padding: 15px;
            border-radius: var(--border-radius-sm);
            margin-top: 15px;
            border: 1px solid var(--gray-light);
        }

        .price-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px dashed #cbd5e1;
            font-size: 0.9rem;
        }

        .price-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .total-price {
            font-weight: bold;
            font-size: 1rem;
            color: var(--success);
            border-top: 1px solid #cbd5e1;
            padding-top: 10px;
            margin-top: 10px;
        }

        .calculator-footer {
            padding: 15px 20px;
            background: #f8f9fa;
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--gray-light);
        }

        .btn-sm {
            padding: 8px 16px;
            font-size: 0.85rem;
        }

        /* بخش مقایسه - شکیل‌تر */
        .comparison-section {
            padding: 40px 0;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            display: none;
            border-radius: var(--border-radius);
            margin: 40px 0;
        }

        .comparison-section.active {
            display: block;
        }

        .comparison-options {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
        }

        .comparison-checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            background: white;
            padding: 10px 16px;
            border-radius: var(--border-radius-sm);
            box-shadow: var(--shadow);
            cursor: pointer;
            border: 1px solid var(--gray-light);
        }

        .comparison-checkbox input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .comparison-table {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .comparison-header {
            background: var(--primary);
            color: white;
            padding: 15px 20px;
            text-align: center;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .comparison-body {
            padding: 15px;
            overflow-x: auto;
        }

        .comparison-body table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }

        .comparison-body th {
            background: #f1f5f9;
            padding: 12px 15px;
            text-align: center;
            border-bottom: 2px solid var(--gray-light);
            font-weight: 600;
            color: var(--dark);
            font-size: 0.9rem;
        }

        .comparison-body td {
            padding: 12px 15px;
            text-align: center;
            border-bottom: 1px solid var(--gray-light);
            font-size: 0.9rem;
        }

        .comparison-body tr:last-child td {
            border-bottom: none;
        }

        /* استایل‌های ریسپانسیو */
/* =========================================================
   ریسپانسیو برای موبایل
   ========================================================= */
@media (max-width: 768px) {
    .calculator-content {
        width: 95%;
        margin: 20px auto;
        border-radius: 24px;
    }
    
    .calculator-header {
        padding: 14px 20px;
    }
    
    .calculator-header h3 {
        font-size: 1rem;
    }
    
    .calculator-body {
        padding: 18px;
        max-height: 55vh;
    }
    
    .os-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 8px;
    }
    
    .os-item {
        padding: 8px;
    }
    
    .os-item img {
        width: 25px;
        height: 25px;
    }
    
    .os-item span {
        font-size: 0.7rem;
    }
    
    .calculator-footer {
        padding: 14px 20px;
        gap: 10px;
    }
    
    .calculator-footer .btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .calculator-content {
        width: 98%;
        margin: 10px auto;
        border-radius: 20px;
    }
    
    .calculator-header {
        padding: 12px 16px;
    }
    
    .calculator-header h3 {
        font-size: 0.9rem;
    }
    
    .close-calculator {
        font-size: 24px;
    }
    
    .calculator-body {
        padding: 14px;
        max-height: 65vh;
    }
    
    .os-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .os-item {
        padding: 8px 4px;
    }
    
    .os-item img {
        width: 22px;
        height: 22px;
    }
    
    .os-item span {
        font-size: 0.65rem;
    }
    
    .calculator-row label {
        font-size: 0.8rem;
    }
    
    .slider-container span {
        font-size: 0.75rem;
    }
    
    .price-item span:first-child {
        font-size: 0.75rem;
    }
    
    .price-item span:last-child {
        font-size: 0.8rem;
    }
    
    .total-price span:last-child {
        font-size: 1rem;
    }
    
    .calculator-footer {
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .calculator-footer .btn {
        width: 100%;
        padding: 10px;
    }
}

/* برای موبایل‌های خیلی کوچک */
@media (max-width: 380px) {
    .os-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-body {
        max-height: 60vh;
    }
}




/* استایل‌های جدید برای فلش کشویی */
.details-toggle {
    margin-right: 5px;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    transform-origin: center;
}

.details-toggle.rotated {
    transform: rotate(180deg);
    color: var(--primary);
}

/* افکت برای کشویی جزئیات */
.plan-details-row {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.plan-details-row.active {
    display: table-row;
    opacity: 1;
    max-height: 500px;
    animation: slideDown 0.2s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* افکت hover برای ردیف پلن */
.plans-table tr {
    transition: all 0.2s ease;
}

.plans-table tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


.faq-section {
  padding: 60px 0;
  background: #f9fafb;
}




.faq-section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #222;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.faq-question {
 font-family: 'Peyda', sans-serif;
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f1f5ff;
}

.faq-icon {
  font-size: 1.3rem;
  color: #0d6efd;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 15px 22px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.faq-item {
  max-width: 1000px; /* افزایش عرض */
  margin: 0 auto 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.faq-question {
  padding: 20px 26px; /* فضای بیشتر برای کلیک */
  font-size: 1.05rem;
}

.faq-answer p {
  padding: 18px 26px;
  line-height: 1.9;
}


.trust-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
}

.trust-section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.trust-section ul {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.trust-section ul li {
  background: rgba(255,255,255,0.15);
  margin-bottom: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-section ul li::before {
  content: "✔";
  color: #00ffcc;
  font-weight: bold;
}

.seo-content-section {
  /* padding: 70px 0; */
  background: #48f9d33d;
}

.intro-box p {
  line-height: 2;
  margin-bottom: 18px;
  color: #444;
}

.use-cases-box {
  margin-top: 50px;
}

.use-cases-box h3 {
  margin-bottom: 25px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.use-case-card {
  background: #f8f9fb;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.use-case-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.use-case-card p {
  font-size: 0.9rem;
  line-height: 1.9;
}

.internal-links-box {
  margin-top: 60px;
  padding: 30px;
  background: #f1f4f8;
  border-radius: 16px;
}

.internal-links-box ul {
  list-style: none;
  padding: 15px;
  margin: 0;
}

.internal-links-box ul li {
  margin-bottom: 12px;
}

.internal-links-box a {
  color: #0d6efd;
  text-decoration: none;
}

.internal-links-box a:hover {
  text-decoration: underline;
}


.irvps-image {
  position: relative;
  width: 100%;
  max-width: 600px; /* به دلخواه */
  padding: 10px;    /* حاشیه دور قاب کمتر */
  /* border: 2px solid #ccc; قاب کم رنگ و باریک‌تر */
  border-radius: 8px; /* گوشه‌ها کوچیک‌تر */
  overflow: visible; /* ویدیو از پشت قاب دیده شود */
}

.irvps-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px; /* هم‌راستا با قاب */
}

.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.testimonials-section .section-title h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}
.testimonials-section .section-title p {
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.testimonial-card.highlight {
    border-color: #f59e0b;
    border-width: 2px;
}

.badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #f59e0b;
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 1rem;
}
.user-info h4 {
    margin: 0;
    color: #1e293b;
    font-size: 1.1rem;
}
.user-role {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.story p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}
.story strong {
    color: #1e40af;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #cbd5e1;
}
.keywords span {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.testimonials-summary {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}
.testimonials-summary h3 {
    color: #1e293b;
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 1.5rem;
}
.testimonials-summary ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.testimonials-summary li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: flex-start;
}
.testimonials-summary li:last-child {
    border-bottom: none;
}
.testimonials-summary li i {
    color: #10b981;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 1rem;
}
.testimonials-summary li strong {
    color: #1e40af;
}

.final-cta {
    text-align: center;
    background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 16px;
}
.final-cta h4 {
    color: #1e293b;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}
.final-cta > p {
    color: #475569;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.btn-primary-cta, .btn-outline-cta {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 1rem;
}
.btn-primary-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
    color: white;
}
.btn-outline-cta {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}
.btn-outline-cta:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}
.guarantee-note {
    color: #047857;
    background: #d1fae5;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.95rem;
}
.guarantee-note i {
    font-size: 1.2rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-summary {
        padding: 1.8rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary-cta, .btn-outline-cta {
        width: 100%;
        justify-content: center;
    }
}

.use-cases-showcase {
    padding: 5rem 0;
    background: #ffffff;
}
.use-cases-showcase .section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.use-cases-showcase .section-title h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}
.use-cases-showcase .section-title p {
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #c7d2fe;
    background: white;
}
.case-card.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.case-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
}
.case-card h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: center;
}
.case-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
    flex-grow: 1; /* برای یکسان کردن ارتفاع کارت‌ها */
    margin-bottom: 1.5rem;
}
.case-card strong {
    color: #1e40af;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 1.2rem;
    border-top: 1px dashed #cbd5e1;
    font-size: 0.85rem;
    color: #64748b;
}
.case-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.case-meta i {
    color: #3b82f6;
}

.cases-conclusion {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}
.cases-conclusion h3 {
    color: #1e293b;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cases-conclusion h3 i {
    color: #f59e0b;
}
.cases-conclusion > p {
    color: #475569;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}
.cases-conclusion strong {
    color: #1e40af;
}

.professional-cta {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.professional-cta h4 {
    color: #1e293b;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}
.professional-cta > p {
    color: #64748b;
    margin-bottom: 2rem;
}
.btn-professional {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
    margin-bottom: 2rem;
}
.btn-professional:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
    color: white;
}
.btn-professional i {
    margin-left: 8px;
}

.consultation-note {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.consultation-note i {
    color: #3b82f6;
    margin-left: 5px;
}
.consultation-link {
    color: #1d4ed8;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #1d4ed8;
    margin-right: 5px;
}
.consultation-link:hover {
    border-bottom-style: solid;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .cases-conclusion, .professional-cta {
        padding: 1.8rem;
    }
    .case-meta {
        flex-direction: column;
        gap: 8px;
    }
}

    .container-vps {
    max-width: 1300px;
    margin: auto;
    /* padding: 18px; */
 }
/* استایل کادر تیزر */
.guide-teaser-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    margin-bottom: 3rem;
}

.teaser-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.teaser-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.teaser-content h2 i {
    color: #fbbf24;
}

.teaser-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-content strong {
    color: #fbbf24;
}

.teaser-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.feature i {
    color: #34d399;
    font-size: 1.1rem;
}

.teaser-btn {
    font-family: 'Peyda', sans-serif;
    background: white;
    color: #1e40af;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.teaser-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
}

.teaser-btn i {
    transition: transform 0.3s;
}

.teaser-btn:hover i {
    transform: translateY(3px);
}

.teaser-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.direct-link {
    color: #fbbf24;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #fbbf24;
    margin-right: 5px;
}

.direct-link:hover {
    border-bottom-style: solid;
}

/* استایل بخش مخفی شده راهنما */
.hidden-guide {
    display: none;
}

.selection-guide {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* دکمه بستن راهنما */
.close-guide-container {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.close-guide-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.close-guide-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* بقیه استایل‌ها مانند قبل */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.guide-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.guide-card.highlight {
    border: 2px solid #f59e0b;
    background: linear-gradient(to bottom, #fff7ed, #fff);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #f59e0b;
    color: #1e293b;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    z-index: 2;
}

.guide-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}
.guide-card.highlight .guide-icon {
    color: #f59e0b;
}

.guide-card h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
    line-height: 1.5;
}

.card-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card-content p:first-of-type {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.card-content li {
    padding: 0.4rem 0;
    padding-right: 1.8rem;
    position: relative;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}
.card-content li:before {
    /* content: "✓"; */
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: bold;
}

.card-content mark {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.plan-recommendation {
    background: #f0f9ff;
    padding: 1.2rem;
    border-radius: 10px;
    border-right: 4px solid #3b82f6;
    margin-top: 1.5rem;
}
.rec-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.plan-name {
    color: #1e40af;
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.3rem;
}
.plan-specs {
    color: #475569;
    font-size: 0.9rem;
    display: block;
}

.feature-note {
    background: #f1f5f9;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #374151;
    border-right: 3px solid #10b981;
}
.feature-note mark {
    background-color: transparent;
    color: inherit;
    font-weight: bold;
}

.guide-link {
    display: block;
    background: #3b82f6;
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: auto;
}
.guide-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    color: white;
}

.professional-notes {
    background: white;
    border-radius: 18px;
    padding: 2.5rem;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.professional-notes h3 {
    color: #1e293b;
    text-align: center;
    margin-bottom: 2.2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.professional-notes h3 i {
    color: #3b82f6;
}

.note-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #e2e8f0;
}
.note-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.note-item h4 {
    color: #1e40af;
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.note-item p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
}
.note-item strong {
    color: #1e40af;
}
.note-item mark {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.consult-link {
    color: #1d4ed8;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #1d4ed8;
}
.consult-link:hover {
    border-bottom-style: solid;
}

.final-cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2.5rem;
}
.final-cta-box p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta-box strong {
    color: white;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #3b82f6;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.cta-button:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #3b82f6;
}
.cta-button i {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .guide-teaser-section {
        padding: 2rem 1rem;
    }
    
    .teaser-content h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .teaser-features {
        flex-direction: column;
        align-items: center;
    }
    
    .teaser-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .professional-notes {
        padding: 1.8rem;
    }
    
    .final-cta-box {
        padding: 2rem 1.5rem;
    }
}

.seo-accordion-section {
    
    padding: 3rem 0;
    background: #ffffff;
}

/* هدر اصلی */
.accordion-header-main {
   

    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}
.accordion-header-main h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.toggle-all-btn {
      font-family: 'Peyda', sans-serif;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.toggle-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}
.toggle-all-btn i {
    transition: transform 0.3s;
}
.toggle-all-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* آیتم‌های آکاردئون */
.accordion-item {
    font-family: 'Peyda', sans-serif;

    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #f8fafc;
}
.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-family: 'Peyda', sans-serif;

    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.accordion-button:hover {
    background: #f1f5f9;
}
.accordion-button[aria-expanded="true"] {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}
.accordion-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.accordion-button i {
   

    color: #3b82f6;
    transition: transform 0.3s;
    font-size: 0.9rem;
    margin-right: 10px;
}

.accordion-content {
    font-family: 'Peyda', sans-serif;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.accordion-content.open {
    max-height: 1500px; /* ارتفاع کافی برای محتوا */
}

.content-inner {
    padding: 2rem;
    background: white;
}

/* محتوای داخلی */
.content-inner p {
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.2rem;
}
.content-inner strong {
    color: #1e40af;
}
.content-inner mark {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* آکاردئون تو در تو */
.sub-accordion {
    
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.sub-accordion-button {
    font-family: 'Peyda', sans-serif;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border: none;
    text-align: right;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub-accordion-button:hover {
    background: #f1f5f9;
}
.sub-accordion-content {
    padding: 1.2rem 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: none;
}
.sub-accordion-content.open {
    display: block;
}

/* کارت‌های کاربرد */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.use-case-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid #3b82f6;
}
.use-case-card h4 {
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.use-case-card h4 i {
    color: #3b82f6;
}
.use-case-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* لینک‌های مرتبط */
.related-links-box {
    background: #f0f9ff;
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #bae6fd;
}
.related-links-box p {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.related-links-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-links-box li {
    margin-bottom: 0.8rem;
}
.related-links-box a {
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.related-links-box a:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateX(-5px);
}
.related-links-box a i {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .accordion-button {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .content-inner {
        padding: 1.5rem;
    }
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}


.toast{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  background: rgba(30,41,59,0.95);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  max-width: 320px;
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}


/* ===== Refund Modal (Improved) ===== */
.refund-rules-btn{
  margin-right: 10px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.refund-rules-btn:hover{
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}
.refund-rules-btn i{ opacity: .95; }

.refund-modal{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.58);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.refund-modal.active{ display:flex; }

.refund-modal__content{
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  transform: translateY(12px) scale(.98);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
  font-family: "Peyda", Tahoma, sans-serif;
}
.refund-modal.active .refund-modal__content{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.refund-modal__header{
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.refund-modal__header h3{
  margin: 0;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.refund-modal__header h3 i{ opacity: .95; }

.refund-modal__close{
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.refund-modal__close:hover{
  background: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

.refund-modal__body{
  padding: 18px;
  color: #0f172a;
  line-height: 1.9;
  max-height: min(70vh, 520px);
  overflow: auto;
}
.refund-modal__body p{ margin-top: 0; color: #334155; }

.refund-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}
.refund-badge{
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.refund-badge i{ color: #1d4ed8; }

.refund-section{
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 14px;
  margin-top: 12px;
}
.refund-section h4{
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.refund-section h4 i{ color: #1d4ed8; }

.refund-rules{
  margin: 8px 0 0;
  padding-right: 18px;
}
.refund-rules li{
  margin-bottom: 10px;
  color: #334155;
}
.refund-rules li strong{ color:#0f172a; }

.refund-note{
  margin-top: 12px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #0f172a;
}
.refund-note i{ color: #0284c7; margin-top: 3px; }

.refund-modal__footer{
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.refund-modal__footer small{
  color: #64748b;
}
.refund-modal__footer .btn{
  border-radius: 999px;
  padding: 10px 16px;
}

/* Scrollbar (اختیاری، روی کروم بهتر میشه) */
.refund-modal__body::-webkit-scrollbar{ width: 10px; }
.refund-modal__body::-webkit-scrollbar-thumb{ background: #cbd5e1; border-radius: 20px; border: 2px solid #f8fafc; }
.refund-modal__body::-webkit-scrollbar-track{ background: #f8fafc; }

@media (max-width: 520px){
  .refund-modal__body{ max-height: 70vh; }
  .refund-modal__footer{ flex-direction: column; align-items: stretch; }
}


.refund-rules-link{
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   Billing Cycles - دکمه‌های دوره صورتحساب (راست‌چین قوی)
   ========================================================= */
.billing-cycles {
    direction: ltr;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px;
    margin-bottom: 30px;
    padding: 0;
    direction: ltr !important;
    font-family: 'Peyda', sans-serif;
    width: 100%;
}

.billing-btn {
    position: relative;
    background: white;
    border: 1px solid #e0e4e8;
    padding: 10px 24px;
    border-radius: 40px;
    font-family: 'Peyda', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
    margin: 0;
}

.billing-btn i {
    font-size: 14px;
    color: #6c7a8a;
    transition: all 0.2s ease;
}

.billing-btn .discount-badge {
    position: absolute;
    top: -12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b4a, #ff4757);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: 'Peyda', sans-serif;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    line-height: 1.4;
}

/* حالت عادی */
.billing-btn:hover {
    border-color: #007bff;
    background: #f8faff;
    transform: translateY(-1px);
}

.billing-btn:hover i {
    color: #007bff;
}

/* حالت فعال */
.billing-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

.billing-btn.active i {
    color: white;
}

.billing-btn.active .discount-badge {
    background: linear-gradient(135deg, #ffd93d, #ff9f1a);
    color: #5a3e00;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* سایز موبایل */
@media (max-width: 768px) {
    .billing-cycles {
        justify-content: flex-start !important;
        flex-wrap: wrap;
        margin-bottom: 25px;
    }
    
    .billing-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .billing-btn i {
        font-size: 12px;
    }
    
    .billing-btn .discount-badge {
        font-size: 9px;
        padding: 2px 6px;
        top: -10px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .billing-cycles {
        gap: 8px;
    }
    
    .billing-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .billing-btn .discount-badge {
        font-size: 8px;
        padding: 1px 5px;
        top: -9px;
        right: 6px;
    }
}

/* =====================================================
   دکمه تغییر حالت نمایش (لیستی/کارتی)
   ===================================================== */
.view-toggle-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.view-toggle {
    display: flex;
    gap: 12px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 60px;
    direction: ltr;
}
.view-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-family: 'Peyda', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.view-btn i {
    font-size: 0.9rem;
}
.view-btn.active {
    background: #0046c0;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 70, 192, 0.2);
}
@media (max-width: 768px) {
    .view-toggle-wrapper { justify-content: center; }
}

/* =====================================================
   افکت اسکلت لودینگ (Skeleton)
   ===================================================== */
.skeleton-table, .skeleton-cards {
    animation: skeleton-pulse 1.2s infinite ease-in-out;
}
@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
.skeleton-table .skeleton-row {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.skeleton-cell {
    background: #e2e8f0;
    border-radius: 8px;
    height: 30px;
    flex: 1;
}
.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.skeleton-card {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    height: 280px;
}
.skeleton-card .skeleton-line {
    background: #e2e8f0;
    height: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
}
.skeleton-card .skeleton-line.short { width: 60%; }
.skeleton-card .skeleton-line.medium { width: 80%; }

/* =====================================================
   پلن غیرفعال در جدول (کمرنگ و غیرقابل کلیک)
   ===================================================== */
tr.inactive-plan {
    opacity: 0.6;
    background-color: #f9f9fc;
    filter: grayscale(0.1);
}
tr.inactive-plan .btn,
tr.inactive-plan .compare-btn {
    opacity: 0.5;
    pointer-events: none;
}

/* =====================================================
   نمای کارتی (wph-plan)
   ===================================================== */
.desktop-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.wph-plan {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eef2f8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}
.wph-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    border-color: #cbdff2;
}
.wph-plan__head {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f4fa;
    background: linear-gradient(145deg, #ffffff, #fafcff);
}
.wph-plan__title h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0046c0;
    margin: 0 0 8px 0;
}
.wph-plan__title p {
    color: #5b6e8c;
    font-size: 0.85rem;
    margin: 0 0 12px 0;
}
.wph-plan__meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}
.wph-metaItem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #1e2a3e;
}
.wph-plan__price {
    padding: 20px 24px;
    background: #f8fafd;
    border-bottom: 1px solid #eef2f8;
}
.wph-priceNowNum {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0046c0;
    letter-spacing: -0.5px;
}
.wph-priceCurrency {
    font-size: 0.8rem;
    font-weight: normal;
    color: #5b6e8c;
}
.wph-plan__features {
    list-style: none;
    padding: 20px 24px;
    margin: 0;
    flex: 1;
}
.wph-plan__features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed #edf2f7;
    font-size: 0.85rem;
    color: #334155;
}
.wph-plan__features li i {
    width: 24px;
    color: #0046c0;
    font-size: 0.95rem;
}
.wph-plan__cta {
    padding: 20px 24px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #eef2f8;
    background: #ffffff;
}
.wph-btn {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}
.wph-btn--primary {
    background: #0046c0;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 70, 192, 0.2);
}
.wph-btn--primary:hover {
    background: #0035a0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 70, 192, 0.25);
}
.wph-btn--ghost {
    background: #f1f5f9;
    color: #1e2a3e;
    border: 1px solid #e2e8f0;
}
.wph-btn--ghost:hover {
    background: #e6edf5;
    transform: translateY(-2px);
}
.wph-btn--disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: none;
}
.card-badge {
    position: absolute;
    top: 12px;
    right: 300px;
    background: linear-gradient(145deg, #ff9800, #f57c00);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 40px;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Peyda', sans-serif;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.3);
}

.card-badge::before {
    content: "🔥";
    font-size: 0.8rem;
}

.wph-plan.inactive-card {
    opacity: 0.65;
    background: #f5f7fa;
    filter: grayscale(0.1);
}
.wph-plan.inactive-card .order-btn,
.wph-plan.inactive-card .compare-btn {
    opacity: 0.5;
    pointer-events: none;
}
button:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .desktop-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wph-plan__cta {
        flex-direction: column;
    }
}


/* تب‌های دسته‌بندی */
/* =====================================================
   ردیف اول: هم‌ترازی دکمه دوره و دکمه تغییر حالت
   ===================================================== */
.top-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    direction: ltr;
}

/* دکمه‌های تغییر حالت (لیستی/کارتی) - سمت چپ */
.view-toggle-wrapper {
    display: flex;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 50px;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 9px 22px;
    border-radius: 40px;
    font-family: 'Peyda', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-btn i {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

.view-btn.active {
    background: #0046c0;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 70, 192, 0.25);
}

.view-btn.active i {
    color: white;
}

/* دکمه‌های دوره صورتحساب - سمت راست */
.billing-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.billing-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 16px;
    border-radius: 40px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.85rem;
}

.billing-label i {
    color: #0046c0;
    font-size: 1rem;
}

.billing-cycles {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 50px;
}

.billing-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 8px 22px;
    border-radius: 40px;
    font-family: 'Peyda', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.billing-btn i {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.billing-btn .discount-badge {
    position: absolute;
    top: -10px;
    right: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.billing-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

.billing-btn:hover i {
    color: #0046c0;
}

.billing-btn.active {
    background: #0046c0;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 70, 192, 0.3);
}

.billing-btn.active i {
    color: white;
}

.billing-btn.active .discount-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
}

/* =====================================================
   تب‌های دسته‌بندی پلن‌ها (زیر ردیف اول)
   ===================================================== */
.plans-categories-wrapper {
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 5px;
}

.plans-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    background: transparent;
    padding: 0;
    border-bottom: 2px solid #eef2f8;
}

.category-btn {
    background: transparent;
    border: none;
    padding: 12px 28px;
    font-family: 'Peyda', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    white-space: nowrap;
}

.category-btn i {
    font-size: 1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.category-btn:hover {
    color: #0046c0;
    background: rgba(0, 70, 192, 0.04);
}

.category-btn:hover i {
    color: #0046c0;
}

.category-btn.active {
    color: #0046c0;
    background: transparent;
}

.category-btn.active i {
    color: #0046c0;
}

.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0046c0;
    border-radius: 3px 3px 0 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* =====================================================
   ریسپانسیو برای موبایل
   ===================================================== */
@media (max-width: 768px) {
    .top-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .view-toggle-wrapper {
        justify-content: center;
    }
    
    .billing-wrapper {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .plans-categories {
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .category-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    .billing-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .view-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}

/* مخفی کردن دکمه‌های لیستی/کارتی در موبایل */
@media (max-width: 992px) {
    .view-toggle-wrapper {
        display: none !important;
    }
}