:root {
    /* Primary Colors */
    --color-primary: #3c4a67;        /* Dark Blue/Text (e.g., titles, price numbers) */
    --color-secondary: #007bff;      /* Accent Blue (If needed for links) */

    /* Backgrounds & Fills */
    --bg-white: #fafafa;             /* Card background - off white */
    --bg-light-blue: #e9f5ff;        /* Middle Card Background (#e9f5ff) */
    --bg-button-light: #cee6f6;      /* Light Blue Button background (unhighlighted) */
    --bg-page: #f8f8f8;              /* Subtle page background */
    --bg-card1: #fdf6d8;
    --bg-card2: #e9fff1;
    --bg-card3: #efeeff;
    --bg-card4: #fee0e0;
    
    /* Typography & Greys */
    --color-text-dark: #333333;      /* Main body text */
    --color-text-subtle: #666666;    /* Subheadings (e.g., "Simple reassurance...") */
    --color-border: #dddddd;         /* Subtle border or shadow color */

    /* Typography */
    --font-family-sans: 'Inter', sans-serif; /* A clean, modern font */
}

/* --------------------
   A. Main Layout (The Grid/Flex Container)
   -------------------- */

.pricing-container {
    display: flex; /* Or grid */
    gap: 20px;
    padding: 40px 20px;
    justify-content: center;
    /*background-color: var(--bg-page);*/
}


/* --------------------
   B. The Block: pricing-card
   -------------------- */

.pricing-card {
    /* Base Card Styling */
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); /* Subtle shadow based on the image */
    padding: 30px;
    background-color: var(--bg-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card--highlighted {
    background-color: var(--bg-light-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* More pronounced shadow */
}

.price-card1{
    background-color: var(--bg-card1);
}
.price-card2{
    background-color: var(--bg-card2);
}
.price-card3{
    background-color: var(--bg-card3);
}
.price-card4{
    background-color: var(--bg-card4);
}


/* --------------------
   C. Elements of the Card
   -------------------- */

.pricing-card__header {
    margin-bottom: 20px;
}

.pricing-card__title {
    font-family: var(--font-family-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary); /* Dark Blue */
    margin-bottom: 5px;
}

.pricing-card__subtitle {
    font-size: 0.95rem;
    color: var(--color-text-subtle);
}

.pricing-card__price {
    /* Styles for the $150, $300, $500 block */
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: baseline;
    margin: 20px 0 30px 0;
}

.pricing-card__price-unit {
    /* Styles for 'Per Month' */
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-subtle);
    margin-left: 8px;
}

.pricing-card__feature-list {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border); /* Separator line */
    padding-left: 0;
}

.pricing-card__feature-list-title {
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 10px 0;
}

.pricing-card__feature-item {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.8;
}


/* --------------------
   D. Button Styling
   -------------------- */

.pricing-card__button {
    display:block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align:center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Element Modifier: Button inside the light blue highlighted card */
.pricing-card__button--default {
    background-color: var(--bg-button-light);
    color: var(--color-primary); /* Dark text on light button */
}

/* Element Modifier: Button inside the white card (The white button on the blue card) */
.pricing-card--highlighted .pricing-card__button--default {
    background-color: var(--bg-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

/* Hover effects */
.pricing-card a.pricing-card__button--default:hover{
    background-color: var(--color-primary);
    color: var(--bg-white);
}

/* The highlighted card's button hover effect is specific */
.pricing-card--highlighted .pricing-card__button--default:hover {
    background-color: var(--color-primary);
    color: var(--bg-white);
    border-color: var(--color-primary);
}
.payment .section-title .initial-tagline{
    padding-bottom:0;
}

/* --------------------
   E. Pricing Toggle Styles (NEW)
   -------------------- */

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: var(--bg-light-blue);
    width:50%;
    margin:0 auto;
    border-radius: 25px;
}

.toggle-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-subtle);
    margin: 0 15px;
    transition: color 0.3s;
    cursor: pointer;
    user-select: none;
}

.toggle-label--active {
    color: var(--color-primary);
}

/* Standard CSS Switch/Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--bg-white);
    transition: .4s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --------------------
    F. Responsiveness
    -------------------- */

@media (max-width: 1024px) {
    /* On smaller screens (tablets/mobile) */

    .submit-button.btn.thm-btn {
        width:fit-content;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    /* Allow cards to take up most of the screen width */
    .pricing-card {
        width: 100%;
        max-width: 400px; /* Maximum width to prevent stretching on wide tablets */
        margin-bottom: 20px;
    }
    .pricing-toggle-container {
        width:85vw;
        font-size:75%;
    }
    .slider:before{
        height:20px;
        width:20px;
        bottom:7.5px;
    }
}