.pricing-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.pricing-card {
    width: 420px;
    padding: 40px 30px;
    border-radius: var(--tblr-border-radius);
    text-align: center;
    color: white;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(0px);
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.silver {
    /* background: linear-gradient(135deg,
            rgba(156, 163, 175, 0.9) 0%,
            rgba(107, 114, 128, 0.95) 50%,
            rgba(75, 85, 99, 1) 100%); */
    color: #45546C;
    border: 2px solid rgba(192, 192, 192, 0.3);
    --n: 3;
    --c1: #CAD5E2;
    --c2: #E2E8F0;
    background: repeating-linear-gradient(to top right, var(--c1) 0%, var(--c2) calc(0.5 * 100% / var(--n)),
            var(--c1) calc(100% / var(--n)));

}

 

.pricing-card.gold {
    background:
        linear-gradient(135deg,
            rgba(159, 104, 50, 0.9) 0%,
            rgba(209, 166, 110, 0.95) 50%);


}

.pricing-card.premium {
    /* background: linear-gradient(135deg,
            #372AACe6 0%,
            #483ac4f2 50%,
            #4c3fc1ff 100%); */
              color: #7F22FE;
    border: 2px solid rgba(192, 192, 192, 0.3);
    --n: 5;
    --c1: #E0DBFF;
    --c2: #E9E5FE;
    background: repeating-linear-gradient(to top right, var(--c1) 0%, var(--c2) calc(0.5 * 100% / var(--n)),
            var(--c1) calc(100% / var(--n)));

}

.plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bolder !important;
    margin-bottom: 30px;
    line-height: 1;
}

.plan-price-container {
    position: relative;
    margin-bottom: 20px;
}

/* plan-price-per-year-label */
.plan-price-per-year-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 8px;
    right: -40px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 5px 0;
    text-align: left;
    font-size: 1rem;
    line-height: 2;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.plan-features li.enabled {
    color: black;
}

.plan-features li.disabled {
    opacity: 0.7;
    color: rgba(0, 0, 0, 0.7);
}

.plan-features li .icon {
    margin-right: 12px;
    font-size: 1.1rem;
}

.badge-pro {
    background: #EF4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 8px;
    border-radius: 8px;
    margin-left: 8px;
    text-transform: uppercase;
}

.plan-btn {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: var(--tblr-border-radius);
    /* background: rgba(255, 255, 255, 0.2); */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    /* color: white; */
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.silver .plan-btn {
    background: #45546C;
    color: #fff;
}
.premium .plan-btn {
    background: #7F22FE;
    color: #fff;
}

.plan-btn:hover {
    /* background: rgba(255, 255, 255, 0.3); */
    transform: translateY(-1px);
}

.plan-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pricing-card {
        width: 100%;
        /* max-width: 320px; */
    }
}

/* .pricing-card.silver.current-plan {
    border: 4px solid rgba(192, 192, 192, 0.8);
}

.pricing-card.gold.current-plan {
    border: 4px solid rgba(255, 215, 0, 0.8);
}

.pricing-card.premium.current-plan {
    border: 4px solid #4c3fc1
} */


.pricing-card.current-plan::after {
    /* get conrent from data attr */
    content: attr(data-current-plan-label, "Current Plan");
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--tblr-border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 
--n: 3;
    color: black;
    --c1: #DCD5CB;
    --c2: #EAE5E1;
    background: repeating-linear-gradient(to top right, var(--c1) 0%, var(--c2) calc(0.5 * 100% / var(--n)), 
var(--c1) calc(100% / var(--n))
/* end of one segment */
/* ); */
.plan-card-free {

    color: #45546C;
    --n: 3;
    --c1: #CAD5E2;
    --c2: #E2E8F0;
    background: repeating-linear-gradient(to top right, var(--c1) 0%, var(--c2) calc(0.5 * 100% / var(--n)),
            var(--c1) calc(100% / var(--n)));
}