﻿:root {
    --primary-blue: #4a46e2;
    --popular-red: #e54d5c;
    --light-gray: #f8f9fa;
    --text-color: #6c757d;
    --border-color: #dee2e6;
}

.pricing-header {
    padding: 4rem 0;
}

    .pricing-header h1 {
        font-weight: 400;
        font-size: 3rem;
    }

        .pricing-header h1 span {
            color: var(--primary-blue);
        }

    .pricing-header p {
        color: var(--text-color);
        max-width: 600px;
        margin: 1rem auto 2rem;
    }

.plan-toggle .btn {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-color);
    transition: all 0.3s ease;
}


    .plan-toggle .btn:not(:last-child) {
        margin-right: 10px;
    }

.pricing-card {
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    background-color: #fff;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}


    .pricing-card .card-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-right: 2rem;
        padding-left: 2rem;
        padding-bottom: 2rem;
    }

    /* The "note" just above the button */
    .card-footer-note {
        margin-top: auto;
    }

    /* Ensure the CTA sits at the very bottom consistently */
    .btn-get-started {
        margin-top: 0;
    }
    /*    .pricing-card .card-body {
            padding: 2rem;
        }*/


    .pricing-card:has(.most-popular-badge) {
        background-image: url('/assets/images/product-table/ellipse-top-left.png'), url('/assets/images/product-table/ellipse-bottom-right.png');
        background-position: top left, bottom right;
        background-repeat: no-repeat, no-repeat;
        background-size: auto, auto;
    }

.most-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--popular-red);
    color: white;
    padding: 0.5rem 2.5rem 0.3rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    border-radius: 0 0 0.5rem 0.5rem;
}

.pricing-card.popular {
    border-color: var(--popular-red);
    box-shadow: 0 0 2rem rgba(229, 77, 92, 0.2);
}


.plan-icon-monthly {
    background-color: #fee2e2;
    color: var(--popular-red);
}

.plan-icon-yearly,
.plan-icon-lifetime {
    background-color: #e0e7ff;
    color: var(--primary-blue);
}

.plan-icon svg {
    width: 64px;
    height: 64px;
}

.pricing-card .card-title {
    font-weight: 500;
    font-size: 1.125rem;
}

.pricing-card .card-subtitle {
    color: var(--text-color);
    font-size: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 1.5rem 0;
}

/* Optional: If you want to add a proper dollar sign after the price */
/*    .price::after {
        content: '$';
        font-size: 1.5rem;
        vertical-align: super;
        margin-right: 0.25rem;
    }*/


/*.features-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

    .features-list li {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        color: #344054;
    }

    .features-list svg {
        margin-right: 0.75rem;
    }*/

.features-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: auto;
}
    .features-list li {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: flex-start;
        color: #344054;
    }

    .features-list li svg {
        flex: 0 0 auto;
        margin-right: 0.75rem;
        margin-top: 0.125rem;
    }

    .features-list li .feature-text {
        flex: 1 1 auto;
        min-width: 0;
    }


.card-footer-note {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.btn-get-started {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-free,
.btn-free:hover 
{
    background-color: #fff;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}


.btn-monthly,
.btn-monthly:hover
{
    background-color: var(--popular-red);
    border-color: var(--popular-red);
    color: #fff;
}


.btn-yearly,
.btn-lifetime {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}
    .btn-yearly:hover,
    .btn-lifetime:hover {
        background-color: var(--primary-blue) !important;
        border-color: var(--primary-blue) !important;
        color: #fff !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
    }


