/* Pricing page - desktop view matching reference design */
/* Colors: primary #2563EB, emerald #10B981, coral #FF6B6B, slate */

* { box-sizing: border-box; }

:root {
    --primary: #2563EB;
    --primary-dark: #1d4ed8;
    --emerald: #10B981;
    --coral: #FF6B6B;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-600: #475569;
    --slate-900: #1E293B;
}

body.membership-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 100px;
    background: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.membership-main {
    width: 96%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

/* ===== Section 1: Hero (Current Plan + Real-time Usage) - compact card ===== */
.usage-hero {
    padding: 20px 0 24px;
}

.hero-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.current-plan-section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: var(--primary);
    border-radius: 12px;
    padding: 20px 28px 24px;
    color: white;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
    position: relative;
    z-index: 2;
}

.current-plan-card {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.current-plan-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.current-plan-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.current-plan-header i { font-size: 1.125rem; opacity: 0.95; }
.current-plan-header h2 { margin: 0; font-size: 1rem; font-weight: 600; }

.current-plan-details { margin-bottom: 12px; }

.plan-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-name i { color: #fcd34d; font-size: 1.1rem; }

.plan-status { margin-bottom: 4px; }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.current-plan-details .plan-features {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.current-plan-mentor {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

.current-plan-mentor .mentor-label { font-size: 0.8125rem; font-weight: 600; margin-bottom: 4px; }
.current-plan-mentor .mentor-row { font-size: 0.8125rem; }

.current-plan-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.upgrade-action {
    background: white;
    color: var(--primary);
}

.upgrade-action:hover { background: #eff6ff; }

.manage-action {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.manage-action:hover { background: rgba(255,255,255,0.25); }

/* Usage (right side of hero) */
.usage-dashboard {
    flex: 0 0 48%;
    min-width: 260px;
    padding: 12px 0 0 24px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.usage-dashboard-title {
    margin: 0 0 12px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.usage-dashboard-title i { font-size: 0.9rem; }

.usage-grid { display: flex; flex-direction: column; gap: 12px; }

.usage-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.usage-row-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.usage-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.95);
}

.coming-badge {
    font-size: 9px;
    background: rgba(255,255,255,0.2);
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

.usage-value {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.used { font-weight: 600; }
.limit { opacity: 0.9; }

.usage-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
}

/* ===== Section 2: Pricing ===== */
.pricing-section {
    padding: 32px 0;
    background: white;
}

.pricing-section-inner { width: 100%; max-width: 100%; margin: 0 auto; }

.pricing-section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 16px 0;
}

.billing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.toggle-label { font-size: 0.9375rem; font-weight: 500; color: var(--slate-600); }

.save-badge { color: var(--emerald); font-weight: 700; }

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input { display: none; }

.slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.2s;
}

.slider:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: 0.2s;
}

input:checked + .slider { background: var(--primary); }
input:checked + .slider:before { transform: translateX(24px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--slate-600);
}

.pricing-loading i { font-size: 2rem; margin-bottom: 12px; display: block; }

/* Dynamically injected plan cards (from membership.js) - compact */
.pricing-card {
    position: relative;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: rgba(37, 99, 235, 0.04);
}

/* Current plan card and its badge stay on top of adjacent cards */
.pricing-card:has(.current-plan-btn) {
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    z-index: 3;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--coral);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Ensure plan name is visible on featured (Starter) card: ribbon doesn't overlap */
.pricing-card.featured .plan-header,
.pricing-card:has(.discount-ribbon) .plan-header {
    padding-top: 38px;
}
.pricing-card .plan-header h3 {
    display: block;
    overflow: visible;
}

.plan-header { text-align: left; margin-bottom: 10px; }
.plan-header h3 { margin: 0 0 2px 0; font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.price-section { margin: 6px 0; }
.price { font-size: 1.75rem; font-weight: 700; color: var(--slate-900); }
.period { font-size: 0.875rem; color: var(--slate-600); }
.target-desc { margin: 0; font-size: 0.8125rem; color: var(--slate-600); }

.features-list { margin: 12px 0; flex: 1; list-style: none; padding: 0; }
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.8125rem;
    color: var(--slate-600);
}
.feature-item i { color: var(--emerald); width: 16px; text-align: center; font-size: 0.75rem; }

/* Pro Plan: highlighted Auto Apply benefit (UI only) */
.pro-auto-apply-benefit {
    margin: 12px 0;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}
.pro-auto-apply-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.pro-auto-apply-badge i { font-size: 0.75rem; }
.pro-auto-apply-title {
    margin: 0 0 4px 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.35;
}
.pro-auto-apply-desc {
    margin: 0;
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1.4;
}

.cta-button {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    transition: all 0.2s;
}

.cta-button:disabled, .cta-button.current-plan-btn {
    background: var(--slate-200);
    color: var(--slate-600);
    cursor: not-allowed;
}

.cta-button.upgrade-btn, .pro-btn {
    background: var(--primary);
    color: white;
}

.cta-button.upgrade-btn:hover, .pro-btn:hover {
    background: var(--primary-dark);
}

.text-coral { color: var(--coral); }
.text-emerald { color: var(--emerald); }

/* ===== Section 3: Add-ons + Trust ===== */
.addons-trust-section {
    padding: 64px 0;
    background: var(--slate-50);
}

.addons-trust-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.addons-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 24px 0;
}

.addons-list { display: flex; flex-direction: column; gap: 16px; }

.addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
}

.addon-row-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.addon-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.addon-icon-green { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }
.addon-icon-gray { background: var(--slate-200); color: var(--slate-600); }

.addon-row-title { margin: 0 0 4px 0; font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.addon-row-meta { margin: 0; font-size: 0.75rem; color: var(--slate-600); }

.addon-row-right { text-align: right; }
.addon-row-right .addon-price { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }

.addon-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.addon-btn:hover:not(:disabled) { text-decoration: underline; }
.addon-btn:disabled {
    background: var(--slate-200);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: not-allowed;
}

.addon-row-disabled { opacity: 0.7; }

.trust-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
}

.trust-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 32px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: var(--slate-50);
    border-radius: 12px;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.trust-badge span { font-size: 0.75rem; font-weight: 700; color: var(--slate-900); }

/* ===== Section 4: Comparison Table ===== */
.comparison-section {
    padding: 64px 0;
    background: white;
    border-top: 1px solid var(--slate-200);
}

.comparison-inner { max-width: 900px; margin: 0 auto; }

.comparison-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 40px 0;
}

.comparison-table-wrapper { overflow-x: auto; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
}

.comparison-table th {
    font-weight: 600;
    color: var(--slate-600);
}

.comparison-table .feature-column {
    font-weight: 600;
    color: var(--slate-900);
}

.comparison-table .starter-column {
    font-weight: 600;
    color: var(--primary);
}

.comparison-table .starter-feature { color: var(--primary); }
.comparison-table .feature-name { font-weight: 600; color: var(--slate-900); }

/* ===== Free User Notice ===== */
.free-user-notice {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 20px 24px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 12px;
}

.notice-content { display: flex; align-items: flex-start; gap: 12px; }
.notice-content i { color: #d97706; font-size: 1.25rem; margin-top: 2px; }
.notice-text { color: #92400e; line-height: 1.5; }
.upgrade-link { color: #b45309; font-weight: 600; text-decoration: none; }
.upgrade-link:hover { text-decoration: underline; }

/* ===== Section 5: Final CTA ===== */
.cta-section {
    padding: 80px 24px;
    background: var(--slate-900);
    color: white;
    text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 32px 0;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.final-cta-btn:hover { background: var(--primary-dark); }

/* ===== Responsive (tablet) ===== */
@media (max-width: 1024px) {
    .current-plan-section { flex-direction: column; }
    .usage-dashboard {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 24px 0 0;
        margin-top: 24px;
    }
    .pricing-grid { grid-template-columns: 1fr; }
    .addons-trust-wrapper { grid-template-columns: 1fr; }
}

/* ===== Mobile view (match reference pricing page.mobileview.html) ===== */
@media (max-width: 768px) {
    body.membership-page { padding-top: 80px; }
    .membership-main {
        padding: 0 16px 32px;
        width: 100%;
        max-width: 100%;
    }

    /* Section 1: Usage & Current Plan — white card, rounded-2xl, usage as grid of small cards */
    .usage-hero { padding: 12px 0 20px; }
    .hero-inner { max-width: 100%; }
    .current-plan-section {
        flex-direction: column;
        background: white;
        border: 1px solid var(--slate-200);
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        color: var(--slate-900);
    }
    .current-plan-card { order: 1; }
    .current-plan-badge {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary);
        font-size: 10px;
        letter-spacing: 0.05em;
        padding: 4px 8px;
        margin-bottom: 8px;
    }
    .current-plan-header h2 { color: var(--slate-900); font-size: 1.25rem; }
    .current-plan-header i { color: var(--slate-600); }
    .current-plan-details .plan-name { color: var(--slate-900); }
    .current-plan-details .plan-name i { color: #eab308; }
    .plan-status .status-badge {
        background: rgba(16, 185, 129, 0.1);
        color: var(--emerald);
        font-size: 0.75rem;
        font-weight: 600;
    }
    .current-plan-details .plan-features,
    .current-plan-details .plan-features p { color: var(--slate-600); }
    .current-plan-actions { margin-top: 12px; }
    .plan-action-btn.upgrade-action {
        background: var(--primary);
        color: white;
        border: none;
    }
    .plan-action-btn.manage-action {
        background: var(--slate-100);
        color: var(--slate-700);
        border: 1px solid var(--slate-200);
    }

    .usage-dashboard {
        border-left: none;
        border-top: 1px solid var(--slate-200);
        padding: 16px 0 0;
        margin-top: 16px;
    }
    .usage-dashboard-title {
        color: var(--slate-900);
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .usage-dashboard-title i { color: var(--primary); }
    .usage-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .usage-row {
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid var(--slate-200);
        border-radius: 12px;
        padding: 12px;
        gap: 8px;
    }
    .usage-row-head { margin-bottom: 0; }
    .usage-label {
        color: var(--slate-600);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }
    .usage-value { color: var(--slate-700); font-size: 0.75rem; font-weight: 700; }
    .usage-bar {
        height: 8px;
        background: var(--slate-200);
        border-radius: 999px;
    }
    .usage-fill { border-radius: 999px; }
    .coming-badge {
        background: var(--slate-200);
        color: var(--slate-600);
        font-size: 9px;
    }

    /* Section 2: Pricing — centered title, toggle, cards rounded-2xl */
    .pricing-section { padding: 24px 0; }
    .pricing-section-title {
        font-size: 1.75rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .billing-toggle-wrap { margin-bottom: 24px; }
    .pricing-grid { gap: 20px; }
    .pricing-card {
        border-radius: 16px;
        padding: 24px;
        border: 1px solid var(--slate-200);
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    /* Prevent features list from growing so Free card has no excess gap above button */
    .pricing-card .features-list { flex: 0 1 auto; margin-bottom: 8px; }
    .pricing-card .cta-button { margin-top: 4px; }
    .pricing-card.featured { border-radius: 16px; border-width: 2px; }
    .popular-badge {
        font-size: 9px;
        padding: 4px 10px;
        top: -10px;
    }
    .plan-header h3 { font-size: 1.125rem; }
    .price { font-size: 1.75rem; }
    .feature-item { font-size: 0.875rem; }
    .pro-auto-apply-benefit { margin: 10px 0; padding: 10px 12px; }
    .pro-auto-apply-badge { font-size: 0.65rem; padding: 3px 8px; }
    .pro-auto-apply-title { font-size: 0.75rem; }
    .pro-auto-apply-desc { font-size: 0.7rem; }
    .cta-button { padding: 12px 16px; border-radius: 12px; font-size: 0.875rem; }

    /* Section 3: Add-ons + Trust — section dark, cards white on mobile */
    .addons-trust-section {
        padding: 32px 0;
        background: var(--slate-900);
        border-radius: 16px;
        margin: 0 -16px;
        padding: 24px 16px;
    }
    .addons-trust-wrapper { gap: 24px; }
    .addons-title {
        color: white;
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    .addons-list { gap: 12px; }
    .addon-row {
        background: white;
        border: 1px solid var(--slate-200);
        border-radius: 12px;
        padding: 16px;
        flex-wrap: wrap;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .addon-row-left { gap: 12px; }
    .addon-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary);
    }
    .addon-icon-green { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }
    .addon-icon-gray { background: var(--slate-200); color: var(--slate-600); }
    .addon-row-title { color: var(--slate-900); font-size: 0.875rem; }
    .addon-row-meta { color: var(--slate-600); font-size: 0.75rem; }
    .addon-row-right .addon-price { color: var(--emerald); font-size: 0.875rem; }
    .addon-btn {
        color: white;
        background: var(--primary);
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 0.75rem;
        width: 100%;
        margin-top: 8px;
    }
    .addon-btn:hover:not(:disabled) { background: var(--primary-dark); }
    .addon-btn:disabled {
        background: var(--slate-200);
        color: var(--slate-500);
    }
    .addon-row-disabled .addon-row-title,
    .addon-row-disabled .addon-row-meta { color: var(--slate-400); }

    .trust-card {
        background: transparent;
        border: none;
        padding: 16px 0 0;
    }
    .trust-title { color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 16px; }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .trust-badge {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        background: white;
        border: 1px solid var(--slate-200);
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .trust-badge i { margin-bottom: 0; font-size: 1rem; color: var(--primary); }
    .trust-badge span { color: var(--slate-900); font-size: 0.7rem; font-weight: 700; }

    /* Section 4: Comparison table */
    .comparison-section { padding: 32px 0; }
    .comparison-inner { padding: 0; }
    .comparison-title { font-size: 1.25rem; margin-bottom: 20px; }
    .comparison-table-wrapper {
        border-radius: 16px;
        border: 1px solid var(--slate-200);
        overflow: hidden;
    }
    .comparison-table th,
    .comparison-table td { padding: 12px 14px; font-size: 0.8125rem; }

    /* Free user notice */
    .free-user-notice { border-radius: 12px; padding: 16px; margin-bottom: 24px; }

    /* Section 5: Final CTA */
    .cta-section {
        padding: 32px 20px;
        border-radius: 24px;
        margin: 0 -16px;
    }
    .cta-inner { max-width: 100%; }
    .cta-title { font-size: 1.5rem; margin-bottom: 12px; }
    .cta-subtitle { font-size: 0.9375rem; margin-bottom: 24px; }
    .final-cta-btn { padding: 14px 24px; font-size: 0.9375rem; border-radius: 12px; }
}

/* Extra small mobile: single-column usage grid */
@media (max-width: 480px) {
    .usage-grid { grid-template-columns: 1fr; }
    .membership-main { padding: 0 12px 24px; }
    .current-plan-section { padding: 16px; }
    .pricing-card { padding: 20px; }
    .addons-trust-section { margin: 0 -12px; padding: 20px 12px; }
    .cta-section { margin: 0 -12px; padding: 24px 16px; }
}
