﻿

/* Container for all pricing cards */
.pricing-container {
    display: flex;
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Individual card */
.pricing-card {
    background-color: #fff;
    border-radius: 8px;
    width: 280px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

/* Card header */
.card-header {
    background: #D18AF9;
    color: #fff;
    padding: 1.5rem;
}

    .card-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .card-header span {
        font-size: 0.9rem;
        display: block;
        opacity: 0.9;
    }

/* Price section */
.price-section {
    font-size: 2rem;
    margin: 1rem 0;
    font-weight: 700;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    margin-right: 0.5rem;
    color: #999;
}

/* Card body & features */
.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.features {
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

    .features li {
        list-style: none;
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 1.5rem;
    }

        .features li::before {
            content: "✔";
            color: #40aa40;
            position: absolute;
            left: 0;
            top: 0;
        }

/* Card footer / CTA button */
.card-footer {
    padding: 1rem;
    text-align: center;
    background-color: #f4f4f4;
}

    .card-footer .cta-button {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background-color: #666;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        font-weight: 600;
    }

        .card-footer .cta-button:hover {
            background-color: #444;
        }

/* Highlight text (optional) */
.highlight {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #d76af5;
    text-align: center;
}

/* 
      MEDIA QUERY:
      Stack the cards vertically when screen width <= 768px
    */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%; /* Make them nearly full-width on mobile */
        max-width: 400px;
    }
}
