.pricing-section {
    width: 100%;
    height: fit;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow-x: hidden;
}

/* text-section */
.text-section {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.text-section .section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #1e293b;
}

.text-section .section-subtitle {
    color: #64748b;
    font-size: 1rem;
}

/*cards section */

.cards-section {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pricing-card {
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    height: 100%;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card .featured {
    border: 2px solid #1565C0 !important;
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(21, 101, 192, 0.18);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 1.75rem;
    background: #1565C0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.04em;
}

[dir="rtl"] .popular-badge {
    right: auto;
    left: 1.75rem;
}

.popular-badge.badge-paper {
    background: #ca8a04;
}

.pricing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1565c0;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-price-was {
    font-size: 1.1rem;
    opacity: 0.6;
    text-decoration: line-through;
    margin-inline-start: 0.4rem;
}

.pricing-discount-label {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #e3f2fd;
    color: #0d47a1;
}

.pricing-price-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.pricing-divider {
    border-color: #f1f5f9;
    margin: 1.25rem 0;
}

.pricing-feature {
    padding: 5px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
}

.pricing-feature.disabled {
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-feature .fa-check {
    color: #16a34a;
    font-size: 0.8rem;
}

.pricing-feature .fa-times {
    color: #dc2626;
    font-size: 0.8rem;
}

.btn-pricing-primary {
    display: block;
    width: 100%;
    background: #1565C0;
    color: #fff;
    border: 2px solid #1565C0;
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 1.5rem;
}

.btn-pricing-primary:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    color: #fff;
}

.btn-pricing-outline {
    display: block;
    width: 100%;
    background: transparent;
    color: #1565C0;
    border: 2px solid #1565C0;
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 1.5rem;
}

.btn-pricing-outline:hover {
    background: #eff6ff;
    color: #0d47a1;
}

@media (min-width: 577px) and (max-width: 768px) {
    .pricing-card {
        padding: 1.25rem 0.75rem;
    }

    .cards-section {
    grid-template-columns: 1fr 1fr 1fr !important;
}
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 3rem 1rem;
    }

    .cards-section {
        grid-template-columns: 1fr !important;
    }
}
