.pricing-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: var(--white-color);
    margin-top: 0px;
    text-align: center;
    overflow: hidden;

}

.pricing-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pricing/hero-pricing.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.pricing-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* pricing-tabs */
.pricing-tabs {
    background: var(--white-color);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-tab.active,
.pricing-tab:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.tab-icon {
    font-size: 1.1rem;
}

/* pricing-grid */
.pricing-grid {
    padding: 3rem 0;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;

}

.pricing-cards {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 1000px;
    max-width: 1200px;
    min-width: 350px;
    margin-left: auto;
    margin-right: auto; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    

}

.pricing-card {
    background: var(--white-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid var(--gray-light-color);
    min-height: 650px;
    display: flex;
    flex-direction: column;
}


.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);

}

.pricing-card.featured::before {
    content: 'پیشنهاد ویژه';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-description {
    opacity: 0.9;
    font-size: 0.9rem;
}

.pricing-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-period {
    opacity: 0.9;
    font-size: 0.9rem;
}

.pricing-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.feature-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-icon.not-included {
    background: #ccc;
}

.feature-text {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.feature-text.not-included {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-actions {
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.pricing-actions .btn:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* comparison-section */
.comparison-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.comparison-table {
    background: var(--white-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-top: 3rem;
    border: 1px solid var(--primary-color);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    background: var(--primary-color);
    color: var(--white-color);
}

.comparison-cell {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-cell:first-child {
    border-left: none;
    text-align: right;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.feature-title {
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-value {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    border-left: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-value:first-child {
    border-left: none;
}

.value-yes {
    color: var(--primary-color);
    font-weight: 600;
}

.value-no {
    color: #ccc;
}

/* pricing-faq*/
.pricing-faq {
    padding: 5rem 0;
    background: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-card {
    background: var(--white-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-light-color);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
}

/* guarantee-section  */
.guarantee-section {
    padding: 4rem 0;
    background: var(--white-color);
    text-align: center;
}

.guarantee-content {
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-badge {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white-color);
    font-size: 2rem;
}

.guarantee-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guarantee-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* CTA */
.pricing-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 2.5rem;
    }

    .tabs-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-header,
    .comparison-row {
        min-width: 600px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-header {
        padding: 1.5rem;
    }

    .pricing-body {
        padding: 1.5rem;
    }
}