.plans-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    max-width: 630px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.plans-image img {
    width: 140px;
    height: 32px;
}

.plans-title {
    font-family: "Figtree", Sans-serif;
    font-size: 44px;
    color: #0F2415;
    text-align: center;
    margin-top: 30px;
    line-height: 52px;
}

b {
    font-weight: 600;
}

h2 {
    font-weight: 400;
}

.plan-description {
    max-width: 630px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.plan-description-title {
    font-family: "Figtree", Sans-serif;
    font-size: 28px;
    font-weight: 600;
    text-decoration: underline;
    line-height: 36px;
    color: #0F2415;
    margin-bottom: 20px;
}

.underline {
    text-decoration: underline;
}

#plans-grid {
    display: block !important;
    max-width: 1225px;
    width: 100%;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.d-none {
    display: block !important;
}

.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #0F2415;
    border-radius: 10px;
    padding: 30px 20px;
    background-color: white;
    width: 100%;
    max-width: 300px;
    position: relative;
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
}

.card-body {
    padding: 0;
    background-color: white;
}

.badge-popular {
    position: absolute;
    top: 10px;
    left: 20px;
    transform: rotate(0deg) translate(-20px, -10px);
    z-index: 20;
}

.badge-popular img {
    width: 100px;
    height: auto;
}

.plan-name {
    font-family: "Figtree", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 36px;
    color: #000;
    text-align: center;
    display: inline-block;
    width: 100%;
}

.plan-description-text {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    text-align: left;
    margin-top: 10px;
}

.plan-description-text-center {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.plan-price {
    font-family: "Figtree", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #000000;
    text-align: left;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    font-family: "Figtree", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #3A3A3A;
    margin-bottom: 8px;
    text-align: left;
}

.plan-features i {
    margin-right: 8px;
}

.card-footer-plan {
    padding: 0;
    background-image: linear-gradient(145deg, #669850 0%, #2A663D 100%);
}

.plan-button {
    background-color: transparent;
    font-family: "Figtree", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    background-image: linear-gradient(145deg, #669850 0%, #2A663D 100%);
    border-radius: 10px;
    padding: 20px 41px;
    text-align: center;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
}

.plan-button:hover {
    opacity: 0.8;
}

.free-plan {
    padding: 20px 8px;
    font-size: 14px;
}

.free-plan-card, 
.free-plan-card .card-body {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, #DEF7E6 0%, #9DDAB0 100%) !important;
}

.paid-plan {
    padding: 20px 41px;
    font-size: 16px;
}

.discount-info {
    text-align: left;
    margin: 20px 0 10px 0;
}
.original-price {
    text-decoration: line-through;
    color: #505050;
    font-family: "Figtree", Sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.discount-badge {
    font-family: "Figtree", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    background-color: #EDC300;
    color: #000;
    padding: 5px 10px 5px 10px;
    border-radius: 20px 20px 20px 20px;
    margin-left: 8px;
    font-weight: bold;
}

#plans-container-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 1200px) {
    .plan-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .plan-card {
        flex: 0 0 calc(100% - 20px);
    }
    .plans-title {
        font-size: 32px;
        line-height: 40px;
    }
}