/* --- UNIVERSITEST :: PRICING PAGE STYLING (FINAL V2) --- */

    /* 1. ROOT VARIABLES & GENERAL SETUP */
    :root {
        --primary-color: #0d6efd;
        --accent-color: #00b8d9;
        --text-dark: #212529;
        --text-light: #6c757d;
        --card-background: #ffffff;
        --border-color: #dee2e6;
        --success-color: #198754;
        --error-color: #dc3545;
        --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        --border-radius-card: 1rem;
        --border-radius-btn: 0.5rem;
        --shadow-light: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        --shadow-strong: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    }

    /* 2. PAGE CONTAINER & MAIN TITLE */
    .pricing-container {
        max-width: 1320px;
        width: 100%;
        margin: 4rem auto;
        padding: 0 1rem;
        font-family: var(--font-family);
        color: var(--text-dark);
    }

    .pricing-container h2.text-center {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: var(--text-dark);
    }

    /* --- Currency Switcher Styling --- */
    .currency-switcher-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
        /* Space between switcher and cards */
    }

    .reassuring-message {
        margin-bottom: 30px;
        font-size: 1em;
        text-align: center;
    }

    .currency-switcher {
        display: inline-flex;
        background-color: #f0f0f0;
        border-radius: 2rem;
        /* Fully rounded ends */
        padding: 5px;
        border: 1px solid var(--border-color);
    }

    .currency-switcher input[type="radio"] {
        display: none;
        /* Hide the actual radio button */
    }

    .currency-switcher label {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-light);
        cursor: pointer;
        border-radius: 2rem;
        transition: all 0.3s ease;
        user-select: none;
    }

    /* Style for the selected/active button */
    .currency-switcher input[type="radio"]:checked+label {
        background-color: var(--primary-color);
        color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    /* --- Currency Disclaimer Note Styling --- */
    .currency-disclaimer {
        text-align: center;
        font-size: 0.9rem;
        /* Small but readable */
        color: var(--text-light);
        /* Lighter grey text */
        margin-top: 1rem;
        /* Space between the switcher and the note */
        max-width: 600px;
        /* Prevents the line from being too long on wide screens */
        margin-left: auto;
        margin-right: auto;
        line-height: 1.5;
    }

    /* 3. PRICING GRID LAYOUT */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        align-items: stretch;
    }

    /* 4. PLAN CARD STYLING (BASE) */
    .plan-card {
        background: var(--card-background);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-card);
        padding: 2.5rem 2rem;
        text-align: center;
        box-shadow: var(--shadow-light);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .plan-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-strong);
    }

    /* 5. "POPULAR" PLAN HIGHLIGHT */
    .plan-card.popular {
        border: 2px solid var(--accent-color);
    }

    .plan-card .popular-ribbon {
        position: absolute;
        top: 20px;
        right: -35px;
        background-color: var(--accent-color);
        color: white;
        padding: 6px 40px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        transform: rotate(45deg);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    /* 6. CARD CONTENT STYLING */
    .plan-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 1.5rem 0;
    }

    .plan-card .price {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin: 0;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: baseline;
    }

    /* Smaller text like "/ month" */
    .plan-card .price span {
        display: block;
        /* font-size: 1.5rem; */
        /* font-weight: 500; */
        color: var(--primary-color);
        margin-top: 0.25rem;
    }

    /* Add space between price value and currency symbol */
    .price-value {
        margin-right: 0.25em;
    }

    /* NEW: Specific style for the Enterprise plan price text */
    .plan-card:last-of-type .price {
        font-size: 1.75rem;
        /* Reduced font size */
        line-height: 1.3;
        margin-bottom: 0.5rem;
        /* Added margin to push content down slightly */
    }

    .plan-card .billing-note {
        font-size: 0.9rem;
        color: var(--text-light);
        margin: 1rem 0 2rem 0;
        min-height: 1.2em;
    }

    /* Feature List */
    .plan-card ul {
        list-style: none;
        padding: 0;
        margin: 0 0 2rem 0;
        text-align: left;
        flex-grow: 1;
    }


/* Base styling for all feature list items */
.plan-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.6rem;
    border-left: 4px solid transparent;
    border-radius: 0.25rem;
}


.plan-card ul li.feature-available {
    border-left-color: var(--success-color);
    background-color: #e6f4ea;
}

.plan-card ul li.feature-unavailable {
    border-left-color: var(--error-color);
    background-color: #fdecea;
    color: var(--text-light);
}

li.feature-unavailable strong {
    color: var(--text-dark);
}



    /* 7. BUTTON STYLING */
    .plan-card .button {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: var(--border-radius-btn);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        border: 2px solid transparent;
        transition: all 0.2s ease-in-out;
        margin-top: auto;
    }

    .plan-card .button:not(.secondary) {
        background-color: var(--primary-color);
        color: white;
    }

    .plan-card .button:not(.secondary):hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
    }

    .plan-card .button.secondary {
        background-color: transparent;
        color: var(--primary-color);
        border-color: var(--border-color);
    }

    .plan-card .button.secondary:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .ai-credit-info {
        margin-top: 10px;
    }

    /* 8. RESPONSIVE BREAKPOINTS */
    @media (max-width: 1199.98px) {
        .pricing-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 767.98px) {
        .pricing-container {
            margin: 2.5rem auto;
        }

        .pricing-container h2.text-center {
            font-size: 2rem;
            margin-bottom: 2.5rem;
        }

        .pricing-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .plan-card:hover {
            transform: none;
        }
    }