
/*@@license-plans*/
.license-product-plans .plan {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 32px !important;
    border: none !important;
    direction: rtl !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.license-product-plans .plan > * {
    margin: 0 !important;
}

.license-product-plans .icon-badge-box {
    position: absolute !important;
    top: 32px !important;
    left: 32px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.license-product-plans .icon-badge-box img,
.license-product-plans .icon-badge-box svg {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.license-product-plans > *:nth-child(1) .icon-badge-box,
.license-product-plans .row > *:nth-child(1) .icon-badge-box {
    background: #ECFDF3 !important;
}

.license-product-plans > *:nth-child(2) .icon-badge-box,
.license-product-plans .row > *:nth-child(2) .icon-badge-box {
    background: #FFFAEB !important;
}

.license-product-plans > *:nth-child(3) .icon-badge-box,
.license-product-plans .row > *:nth-child(3) .icon-badge-box {
    background: #E6F8FD !important;
}

.license-product-plans .plan-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    text-align: right !important;
    min-height: 40px !important;
    width: 100% !important;
}

.license-product-plans .plan-heading .title-box,
.license-product-plans .plan-heading .title {
    margin: 0 !important;
    padding: 0 !important;
}

.license-product-plans .plan-heading .title {
    color: #3c5788 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.license-product-plans .plan-heading .description-box {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

.license-product-plans .plan-heading .description {
    margin: 0 !important;
    color: #00678C !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.license-product-plans .plan-heading .description-box img,
.license-product-plans .plan-heading .description-box svg {
    max-width: 90px !important;
    height: auto !important;
}

.license-product-plans .price-box {
    background: #f9fafb !important;
    border-radius: 24px !important;
    padding: 24px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.license-product-plans .price-box .all-price-box {
    width: 100% !important;
}

.license-product-plans .price-box .d-flex.justify-content-center {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    align-items: center !important;
}

.license-product-plans .price-box .currency-box {
    display: contents !important;
}

.license-product-plans .price-box .number-box {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.license-product-plans .price-box .number-box .number {
    font-size: 48px !important;
    font-weight: 900 !important;
    color: #3c5788 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.license-product-plans .price-box .currency {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #98a2b3 !important;
    text-align: left !important;
    margin: 8px 0 0 0 !important;
}

.license-product-plans .price-box .duration {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #667085 !important;
    text-align: right !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.license-product-plans .price-box .duration::before {
    content: "قیمـــت" !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #667085 !important;
    margin-bottom: 4px !important;
}

.license-product-plans .price-box::after {
    content: "قیمت سالانه فقط ۲.۳ میلیون تومان" !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #cad6eb !important;
    border-radius: 9999px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #3c5788 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.license-product-plans .action-box {
    width: 100% !important;
}

.license-product-plans .btn-box.active .buy {
    display: block !important;
    width: 100% !important;
    background: #f79009 !important;
    box-shadow: 0px 12px 16px 0 rgba(247, 144, 9, 0.06) !important;
    color: #f9fafb !important;
    text-align: center !important;
    padding: 16px 24px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-sizing: border-box !important;
}

.license-product-plans .plans .plan .action-box .btn-box.active::before{
    display: none;
}

.license-product-plans .plans .plan .price-box .all-price-box .number-box{
    margin-left: 0 !important;
    justify-content: flex-end !important;
}

.license-product-plans .plans .row{
    justify-content: center;
}

.license-product-plans .plans .row > div{
    padding: 0 1rem !important;
}

.license-product-plans .plans .plan .plan-heading{
    padding-bottom: 0;
    border-bottom: 0;
}

.license-product-plans .plans .plan .action-box{
    padding-bottom: 0;
    border-bottom: 0;
}

.license-product-plans .plan-section .plans .plan.recommended .recommended-badge,
.license-product-plans .heading.text-center{
    display: none;
}

.license-product-plans.iaas-product-plans > section{
    padding-top: 0;
}
.license-product-plans.iaas-product-plans > section::before{
    background: radial-gradient(circle, #88c6cb 0%, rgba(136, 198, 203, 0) 50%);
}
.license-product-plans.iaas-product-plans > section::after{
    background: radial-gradient(circle, #ffc96c 0%, rgba(255, 201, 108, 0) 50%);
}
.license-product-plans .plan-section .plans{
    padding-top: 45px;
}

/*@@license-showcase*/

.pars-license-showcase {
    font-family: inherit;
    direction: rtl;
    position: relative;
    padding-bottom: 50px;
}
.pars-license-showcase .tab-content {
    display: none;
    animation: parsFadeIn 0.4s ease-out forwards;
}
.pars-license-showcase .tab-content.active {
    display: block;
}
@keyframes parsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.pars-license-showcase .license-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: transparent;
    padding: 20px 0;
    /*margin-bottom: 30px;*/
    transition: background-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}
.pars-license-showcase .license-nav-wrapper.is-sticky {
    background-color: rgba(255, 255, 255, .8);
    backdrop-filter: blur(20px);
}
.pars-license-showcase .license-nav-wrapper.scroll-up-active {
    top: 80px;
}
.pars-license-showcase .desktop-nav {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .pars-license-showcase .desktop-nav {
        display: flex;
    }
    .pars-license-showcase .mobile-dropdown {
        display: none !important;
    }
}

.pars-license-showcase .nav-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(12.5% - 11px);
    min-width: 100px;
    max-width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}
.pars-license-showcase .license-nav-wrapper.is-sticky .nav-btn {
    height: 40px;
}
.pars-license-showcase .license-nav-wrapper.is-sticky .nav-btn img {
    max-height: 22px;
}
.license-intro-section .text-section-2{
    background-color: #EEF2F9;
    padding: 50px 0;
}
.pars-license-showcase .nav-btn img {
    max-height: 28px;
    max-width: 100%;
    transition: max-height 0.3s ease;
}
.pars-license-showcase .nav-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.pars-license-showcase .nav-btn.active {
    border: 1px solid #3C5788 !important;
    box-shadow: 0 4px 15px rgba(60, 87, 136, 0.15);
}
.pars-license-showcase .mobile-dropdown {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.pars-license-showcase .dropdown-toggle {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.pars-license-showcase .toggle-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pars-license-showcase .toggle-content .label {
    color: #666;
    font-size: 14px;
}
.pars-license-showcase .toggle-content img {
    height: 25px;
}
.pars-license-showcase .chevron-icon {
    width: 10px;
    height: 10px;
    border-left: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(-45deg);
    transition: transform 0.3s;
}
.pars-license-showcase .mobile-dropdown.open .chevron-icon {
    transform: rotate(135deg);
}
.pars-license-showcase .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    z-index: 100;
    padding: 10px;
}
.pars-license-showcase .mobile-dropdown.open .dropdown-menu {
    display: flex;
}
.pars-license-showcase .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}
.pars-license-showcase .dropdown-item:last-child {
    border-bottom: none;
}
.pars-license-showcase .item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pars-license-showcase .item-info img {
    height: 25px;
    width: 80px;
    object-fit: contain;
}
.pars-license-showcase .item-info span {
    font-size: 15px;
    color: #444;
}
.pars-license-showcase .radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}
.pars-license-showcase .dropdown-item.active .radio-circle {
    border-color: #3C5788;
}
.pars-license-showcase .dropdown-item.active .radio-circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3C5788;
    font-size: 14px;
    font-weight: bold;
}

.icon.check.light {
    background: url(../assets/icons/check.svg) no-repeat center center;
    filter: brightness(1.9);
}

/*@ OFFLINE PWA PAGE*/
.pwa-offline-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 15px;
    direction: rtl;
    box-sizing: border-box;
}

.pwa-offline-content {
    text-align: center;
    max-width: 360px;
    width: 100%;
    padding: 0 0 30px 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f2f4f7;
    overflow: hidden;
}

.pwa-offline-top-accent {
    height: 3px;
    background-color: #fdf6ed;
    width: 100%;
    margin-bottom: 30px;
}

.pwa-offline-status-indicator {
    width: 70px;
    height: 70px;
    background-color: rgba(235, 139, 21, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #ffce93;
    font-size: 36px;
    font-weight: bold;
    font-family: sans-serif;
}

.pwa-offline-title {
    color: #3C5788;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding: 0 25px;
}

.pwa-offline-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 30px 0;
    padding: 0 25px;
}

.pwa-offline-btn {
    background-color: #eb8b15;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    font-family: inherit;
    width: auto;
    max-width: 200px;
    margin: 0 auto;
}

.pwa-offline-btn:hover {
    background-color: #d67a0e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 139, 21, 0.3);
}

@media (max-width: 480px) {
    .pwa-offline-container {
        padding: 30px 10px;
    }
    .pwa-offline-content {
        padding: 0 0 25px 0;
    }
    .pwa-offline-title {
        font-size: 17px;
    }
    .pwa-offline-text {
        font-size: 13px;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    .pwa-offline-status-indicator {
        width: 60px;
        height: 60px;
        font-size: 32px;
        margin-bottom: 18px;
    }
    .pwa-offline-top-accent {
        margin-bottom: 25px;
    }
    .pwa-offline-btn {
        max-width: 90%;
        padding: 14px 25px;
    }
}

/*@@cta-plans*/

.fixed-plan-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 95%;
    max-width: 1320px;
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 24px;
    box-shadow: -12px 12px 32px 0 rgba(0, 0, 0, 0.06);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    direction: rtl;
    font-family: 'yekan-bakh', sans-serif;
}

.fixed-plan-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.fixed-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px 20px 20px;
}

.fixed-bar-right-side {
    display: flex;
    align-items: center;
}

.fixed-bar-title {
    font-size: 16px;
    font-weight: 700;
    color: #3c5788;
    margin: 0;
}

.fixed-bar-left-side {
    display: flex;
    align-items: center;
    gap: 32px;
}

.fixed-bar-price-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fixed-bar-price-label {
    font-size: 14px;
    font-weight: 500;
    color: #3c5788;
    margin: 0;
}

.fixed-bar-price-details {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fixed-bar-price-number {
    font-size: 32px;
    font-weight: 700;
    color: #3c5788;
    line-height: 42px;
}

.fixed-bar-price-units {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.fixed-bar-unit-toman {
    font-size: 12px;
    font-weight: 500;
    color: #98a2b3;
    line-height: 1.5;
}

.fixed-bar-unit-cycle {
    font-size: 12px;
    font-weight: 700;
    color: #3c5788;
    line-height: 1.5;
}

.fixed-bar-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f79009;
    color: #f9fafb !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.fixed-bar-btn:hover {
    background: #e07d04;
}

.fixed-bar-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.fixed-bar-btn svg.arrow-up { transform: rotate(0deg); }
.fixed-bar-btn svg.arrow-down { transform: rotate(180deg); }

/*@@dedicated-server-cta-hor-btn*/
.ready-servers-wrapper {
    position: relative;
    margin-right: 15px;
}
.ready-servers-wrapper > div {
    position: absolute;
    top: -12px;
    left: -10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    border-radius: 32px;
    background: linear-gradient(to right, #ea8b37 0%, #fe3434 100%);
}
.ready-servers-wrapper > div > span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.ready-servers-wrapper > a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #98a2b3;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: background-color 0.2s ease;
}
.ready-servers-wrapper > a:hover {
    background-color: #f9fafb;
}
.ready-servers-wrapper > a > span {
    font-size: 14px;
    font-weight: 700;
    color: #344054;
    font-family: 'yekan-bakh';
}
.ready-servers-wrapper > a > svg {
    flex-shrink: 0;
}
.action-box .d-flex.hor-page .button.solid span{
    font-size: 14px;
    font-weight: 700 !important;
    font-family: 'yekan-bakh';
}
.action-box .d-flex.hor-page .button.solid i{
    width: 22px;
}

@media (max-width: 768px) {
    .fixed-plan-bar {
        bottom: 0px;
        width: 100%;
        max-width: 100%;
        border-radius: 0px;
        border-left: none;
        border-right: none;
        border-top: 1px solid #eaecf0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    }

    .fixed-bar-container {
        padding: 12px;
    }

    .fixed-bar-right-side {
        display: none;
    }

    .fixed-bar-left-side {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0px;
        direction: rtl;
    }

    .fixed-bar-mobile-btn-wrapper {
        display: flex;
        justify-content: flex-start;
        direction: rtl;
    }

    .fixed-bar-btn {
        padding: 8px 10px;
        border-radius: 12px;
        gap: 4px;
        font-size: 12px;
    }

    .fixed-bar-btn svg {
        width: 16px;
        height: 16px;
    }

    .fixed-bar-mobile-price-wrapper {
        display: flex;
        justify-content: flex-end;
    }

    .fixed-bar-price-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fixed-bar-price-label {
        font-size: 10px;
        margin: 0;
        direction: rtl;
    }

    .fixed-bar-price-details {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fixed-bar-price-number {
        font-size: 24px;
        line-height: 1;
    }

    .fixed-bar-price-units {
        align-items: flex-end;
    }

    .fixed-bar-unit-toman {
        font-size: 10px;
        text-align: left;
    }

    .fixed-bar-unit-cycle {
        font-size: 8px;
        text-align: left;
    }
    /*@@dedicated-server-cta-hor-btn*/
    .action-box .d-flex.hor-page{
        flex-direction: column-reverse;
    }
    .action-box .d-flex.hor-page .ready-servers-wrapper{
        margin-right: 0;
    }
    .action-box .d-flex.hor-page .button.solid{
        padding: 12px 16px 12px 16px;
        margin-top: 10px;
    }
    .ready-servers-wrapper > a{
        justify-content: right;
    }
}

