    .pricing-shell {
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%);
        border-radius: 32px;
        border: 0;
        box-shadow: none;
        color: var(--rmx-foreground);
    }

    .pricing-header {
        text-align: center;
        max-width: 820px;
        margin: 0 auto 2rem auto;
        color: var(--rmx-foreground);
    }

    .pricing-toggle {
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(var(--rmx-foreground-rgb), 0.08);
        border-radius: 999px;
        padding: 0.65rem 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
        color: var(--rmx-foreground);
    }

    .rmx-pricing-cta {
        min-height: 3.25rem;
        font-size: 0.95rem;
    }

    .plan-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }

    .pricing-plan {
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 18px;
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%),
            rgba(255, 255, 255, 0.9);
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 14px 32px rgba(11, 44, 255, 0.25);
        backdrop-filter: blur(6px);
        transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
        color: var(--rmx-foreground);
    }

        .pricing-plan.is-featured {
            border-color: rgba(var(--rmx-primary-rgb), 0.5);
            box-shadow: 0 18px 38px rgba(11, 44, 255, 0.32);
        }

    .pricing-ribbon {
        background: linear-gradient(90deg, rgba(var(--rmx-primary-rgb), 0.16), rgba(var(--rmx-info-rgb), 0.2));
        color: var(--rmx-primary);
        border-radius: 999px;
        padding: 0.35rem 0.7rem;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .plan-title {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .plan-description {
        min-height: 3rem;
    }

    .plan-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .plan-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.7rem;
        border-radius: 999px;
        background: rgba(var(--rmx-primary-rgb), 0.1);
        color: var(--rmx-primary);
        font-weight: 700;
        font-size: 0.85rem;
    }

    .plan-price {
        display: flex;
        align-items: baseline;
        gap: 0.35rem;
        font-size: 2.4rem;
        letter-spacing: -0.02em;
    }

    .plan-price-note {
        color: var(--rmx-muted-color);
        margin: 0;
    }

    .plan-saving {
        color: var(--rmx-success);
        font-weight: 600;
        margin-top: -0.35rem;
    }

    .plan-details {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(var(--rmx-foreground-rgb), 0.06), rgba(var(--rmx-foreground-rgb), 0.02));
        border: 1px solid rgba(var(--rmx-foreground-rgb), 0.1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

        .plan-details h6 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--rmx-muted-color);
        }

    .plan-details-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0.4rem;
    }

        .plan-details-list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            font-size: 0.9rem;
            padding: 0.45rem 0;
            border-bottom: 1px solid rgba(var(--rmx-foreground-rgb), 0.08);
        }

            .plan-details-list li:last-child {
                border-bottom: 0;
            }

    .plan-detail-label {
        color: var(--rmx-muted-color);
        font-weight: 600;
        font-size: 0.85rem;
    }

    .plan-detail-value {
        color: var(--rmx-foreground);
        font-weight: 600;
        text-align: right;
        padding: 0.15rem 0.55rem;
        border-radius: 999px;
        background: rgba(var(--rmx-primary-rgb), 0.12);
        border: 1px solid rgba(var(--rmx-primary-rgb), 0.18);
        font-size: 0.85rem;
    }

    .pricing-toggle-badge {
        background: rgba(var(--rmx-primary-rgb), 0.12);
        color: var(--rmx-primary);
        border: 1px solid rgba(var(--rmx-primary-rgb), 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .pricing-faq-icon {
        color: var(--rmx-primary);
    }

    .pricing-faq-cta {
        border-color: rgba(var(--rmx-primary-rgb), 0.5);
        color: var(--rmx-primary);
    }

    .pricing-plan p,
    .pricing-plan .text-secondary,
    .pricing-header .text-secondary,
    .pricing-header p {
        color: var(--rmx-muted-color);
    }

    .faq-item + .faq-item {
        border-top: 1px solid rgba(var(--rmx-foreground-rgb), 0.08);
        padding-top: 1rem;
    }

    /* Explicit light theme overrides to win against prefers-color-scheme: dark */
    [data-theme='light'] .pricing-shell,
    html.light-style .pricing-shell,
    html[data-style='light'] .pricing-shell {
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%);
        border-color: transparent;
        box-shadow: none;
        color: var(--rmx-foreground);
    }

    [data-theme='light'] .pricing-toggle,
    html.light-style .pricing-toggle,
    html[data-style='light'] .pricing-toggle {
        background: rgba(255, 255, 255, 0.72);
        border-color: rgba(var(--rmx-foreground-rgb), 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
        color: var(--rmx-foreground);
    }

    [data-theme='light'] .pricing-plan,
    html.light-style .pricing-plan,
    html[data-style='light'] .pricing-plan {
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%),
            rgba(255, 255, 255, 0.9);
        border-color: rgba(255, 255, 255, 0.72);
        box-shadow: 0 14px 32px rgba(11, 44, 255, 0.25);
        color: var(--rmx-foreground);
    }


        [data-theme='light'] .pricing-plan.is-featured,
        html.light-style .pricing-plan.is-featured,
        html[data-style='light'] .pricing-plan.is-featured {
            border-color: rgba(var(--rmx-primary-rgb), 0.5);
            box-shadow: 0 18px 38px rgba(11, 44, 255, 0.32);
        }


    @media (prefers-color-scheme: dark) {
        .pricing-shell {
            background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%);
            border-color: transparent;
            box-shadow: none;
            color: rgba(255, 255, 255, 0.92);
        }

        .pricing-toggle {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.85);
        }

        .pricing-plan {
            background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%),
                rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 14px 32px rgba(11, 44, 255, 0.25);
            color: rgba(255, 255, 255, 0.92);
        }


            .pricing-plan.is-featured {
                border-color: rgba(var(--rmx-primary-rgb), 0.6);
                box-shadow: 0 18px 38px rgba(11, 44, 255, 0.32);
            }

        .pricing-compare-table thead th {
            background: rgba(255, 255, 255, 0.04);
            color: rgba(255, 255, 255, 0.75);
        }

        .pricing-compare-table tbody td {
            color: rgba(255, 255, 255, 0.9);
        }

        .pricing-compare-table tbody tr td:first-child {
            color: rgba(255, 255, 255, 0.92);
        }
    }

    [data-theme='dark'] .pricing-shell,
    html.dark-style .pricing-shell,
    html[data-style='dark'] .pricing-shell {
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%);
        border-color: transparent;
        box-shadow: none;
        color: rgba(255, 255, 255, 0.92);
    }

    [data-theme='dark'] .pricing-toggle,
    html.dark-style .pricing-toggle,
    html[data-style='dark'] .pricing-toggle {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.85);
    }

    [data-theme='dark'] .pricing-toggle-badge,
    html.dark-style .pricing-toggle-badge,
    html[data-style='dark'] .pricing-toggle-badge {
        background: var(--bs-primary-bg-subtle);
        color: var(--bs-primary-text-emphasis);
        border-color: var(--bs-primary-border-subtle);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    [data-theme='dark'] .pricing-faq-icon,
    html.dark-style .pricing-faq-icon,
    html[data-style='dark'] .pricing-faq-icon {
        color: color-mix(in srgb, var(--rmx-primary) 85%, #fff 15%);
    }

    [data-theme='dark'] .pricing-faq-cta,
    html.dark-style .pricing-faq-cta,
    html[data-style='dark'] .pricing-faq-cta {
        border-color: rgba(var(--rmx-primary-rgb), 0.6);
        color: var(--bs-primary-text-emphasis);
    }

        [data-theme='dark'] .pricing-faq-cta:hover,
        [data-theme='dark'] .pricing-faq-cta:focus-visible,
        html.dark-style .pricing-faq-cta:hover,
        html.dark-style .pricing-faq-cta:focus-visible,
        html[data-style='dark'] .pricing-faq-cta:hover,
        html[data-style='dark'] .pricing-faq-cta:focus-visible {
            background: rgba(var(--rmx-primary-rgb), 0.2);
        }

    [data-theme='dark'] .pricing-plan,
    html.dark-style .pricing-plan,
    html[data-style='dark'] .pricing-plan {
        background: radial-gradient(circle at 15% 15%, rgba(var(--rmx-primary-rgb), 0.18), transparent 45%),
            radial-gradient(circle at 80% 10%, rgba(var(--rmx-primary-rgb), 0.12), transparent 40%),
            rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 14px 32px rgba(11, 44, 255, 0.25);
        color: rgba(255, 255, 255, 0.92);
    }


        [data-theme='dark'] .pricing-plan.is-featured,
        html.dark-style .pricing-plan.is-featured,
        html[data-style='dark'] .pricing-plan.is-featured {
            border-color: rgba(var(--rmx-primary-rgb), 0.6);
            box-shadow: 0 18px 38px rgba(11, 44, 255, 0.32);
        }

    [data-theme='dark'] .pricing-compare-table thead th,
    html.dark-style .pricing-compare-table thead th,
    html[data-style='dark'] .pricing-compare-table thead th {
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.75);
    }

    [data-theme='dark'] .pricing-compare-table tbody td,
    html.dark-style .pricing-compare-table tbody td,
    html[data-style='dark'] .pricing-compare-table tbody td {
        color: rgba(255, 255, 255, 0.9);
    }

    [data-theme='dark'] .pricing-compare-table tbody tr td:first-child,
    html.dark-style .pricing-compare-table tbody tr td:first-child,
    html[data-style='dark'] .pricing-compare-table tbody tr td:first-child {
        color: rgba(255, 255, 255, 0.92);
    }

    .pricing-plan {
        box-shadow: 0 14px 32px rgba(var(--rmx-primary-rgb), 0.25);
    }

        .pricing-plan.is-featured {
            box-shadow: 0 18px 38px rgba(var(--rmx-primary-rgb), 0.32);
            border-color: rgba(var(--rmx-primary-rgb), 0.55);
            isolation: isolate;
        }


    @property --rmx-featured-angle {
        syntax: "<angle>";
        initial-value: 0deg;
        inherits: false;
    }

    .pricing-plan.is-featured::after {
        content: "";
        position: absolute;
        inset: -2px;
        padding: 2px;
        border-radius: inherit;
        pointer-events: none;
        background: conic-gradient( from var(--rmx-featured-angle), rgba(var(--rmx-primary-rgb), 0) 0deg, rgba(var(--rmx-primary-rgb), 0) 320deg, rgba(var(--rmx-primary-rgb), 0.55) 335deg, rgba(var(--rmx-primary-rgb), 1) 340deg, rgba(var(--rmx-primary-rgb), 0.55) 345deg, rgba(var(--rmx-primary-rgb), 0) 360deg );
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        filter: drop-shadow(0 0 10px rgba(var(--rmx-primary-rgb), 0.35));
        animation: rmx-featured-outline 3.2s linear infinite;
    }

    .pricing-plan.is-featured > * {
        position: relative;
        z-index: 1;
    }

    @keyframes rmx-featured-outline {
        to {
            --rmx-featured-angle: 360deg;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .pricing-plan.is-featured::after {
            animation: none;
        }
    }

    /* --- Mobile / tablet --------------------------------------------------- */
    @media (max-width: 991.98px) {
        .pricing-shell { border-radius: 20px; padding: 1.5rem 1rem; }
        .pricing-header { margin-bottom: 1.5rem; }
        .plan-grid { gap: 1rem; }
        .pricing-plan { padding: 1.25rem; }
        .plan-description { min-height: auto; }
    }

    @media (max-width: 767.98px) {
        .plan-grid { grid-template-columns: 1fr; }
        .pricing-toggle { width: 100%; justify-content: center; }
        .rmx-pricing-cta { width: 100%; min-height: 3rem; }
        .plan-heading { flex-wrap: wrap; row-gap: 0.5rem; }
    }

    @media (max-width: 575.98px) {
        .pricing-plan { padding: 1rem; gap: 0.75rem; }
        .pricing-ribbon { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
        .plan-badge { font-size: 0.75rem; padding: 0.25rem 0.6rem; }
    }
