/* =============================================
   MEGAPULSE HUB - Theme Tokens v1.0
   Single source of truth for all brand colors.
   Load AFTER Bootstrap, BEFORE styles.css.
   ============================================= */

/* ── Global Color Tokens ── */
:root {
    /* Brand / Primary (Indigo) */
    --mp-primary: #4F46E5;
    --mp-primary-dark: #3730A3;
    --mp-primary-light: #818cf8;

    /* CTA / Accent (Orange) */
    --mp-accent: #F97316;
    --mp-accent-dark: #C2410C;

    /* State Colors */
    --mp-success: #22C55E;
    --mp-warning: #EAB308;
    --mp-danger: #EF4444;
    --mp-info: #0EA5E9;

    /* Marketplace Brand Colors (preservados) */
    --mp-meli: #FFE600;
    --mp-shopee: #EE4D2D;
    --mp-amazon: #FF9900;

    /* Auxiliary Tokens */
    --mp-link: var(--mp-primary);
    --mp-link-hover: var(--mp-primary-dark);
    --mp-focus-ring: rgba(79, 70, 229, 0.28);
    --mp-hero-grad-1: rgba(79, 70, 229, .18);
    --mp-hero-grad-2: rgba(249, 115, 22, .10);
    --mp-radius: 12px;
    --mp-shadow: 0 10px 30px rgba(2, 6, 23, .10);

    /* ── CTA Button Tokens ── */
    --mp-radius-btn: 14px;
    --mp-btn-height: 44px;
    --mp-cta-shadow: 0 4px 14px rgba(var(--mp-accent-rgb), 0.30);
    --mp-cta-shadow-hover: 0 6px 20px rgba(var(--mp-accent-rgb), 0.40);
    --mp-cta-shadow-active: 0 2px 8px rgba(var(--mp-accent-rgb), 0.25);

    /* RGB Helpers (para uso com rgba()) */
    --mp-primary-rgb: 79, 70, 229;
    --mp-primary-dark-rgb: 55, 48, 163;
    --mp-accent-rgb: 249, 115, 22;
    --mp-accent-dark-rgb: 194, 65, 12;
    --mp-success-rgb: 34, 197, 94;
    --mp-warning-rgb: 234, 179, 8;
    --mp-danger-rgb: 239, 68, 68;
    --mp-info-rgb: 14, 165, 233;

    /* ── Legacy Aliases (compatibilidade com styles.css) ── */
    --primary: var(--mp-primary);
    --primary-dark: var(--mp-primary-dark);
    --primary-light: var(--mp-primary-light);
    --secondary: var(--mp-primary-dark);
    --success: var(--mp-success);
    --warning: var(--mp-warning);
    --danger: var(--mp-danger);
    --info: var(--mp-info);
    --meli: var(--mp-meli);
    --shopee: var(--mp-shopee);
    --amazon: var(--mp-amazon);

    /* ── Bootstrap 5 Overrides ── */
    --bs-primary: #4F46E5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-success: #22C55E;
    --bs-success-rgb: 34, 197, 94;
    --bs-danger: #EF4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-warning: #EAB308;
    --bs-warning-rgb: 234, 179, 8;
    --bs-info: #0EA5E9;
    --bs-info-rgb: 14, 165, 233;
    --bs-link-color: #4F46E5;
    --bs-link-color-rgb: 79, 70, 229;
    --bs-link-hover-color: #3730A3;
    --bs-link-hover-color-rgb: 55, 48, 163;
}

/* ── Light Theme ── */
[data-theme="light"] {
    /* Surfaces */
    --mp-bg: #F8FAFC;
    --mp-surface: #FFFFFF;
    --mp-surface-2: #F1F5F9;
    --mp-border: #E2E8F0;
    --mp-text: #0F172A;
    --mp-muted: #475569;

    /* Legacy Aliases */
    --bg-body: #FFFFFF;
    --bg-section: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-input: #f1f5f9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #E2E8F0;
    --border-light: #f1f5f9;

    /* Bootstrap Body Overrides */
    --bs-body-bg: #FFFFFF;
    --bs-body-color: #0F172A;
    --bs-border-color: #E2E8F0;
    --bs-tertiary-bg: #F8FAFC;
    --bs-secondary-bg: #f1f5f9;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
    /* Surfaces */
    --mp-bg: #0B1220;
    --mp-surface: #111827;
    --mp-surface-2: #1a2332;
    --mp-border: #243041;
    --mp-text: #E5E7EB;
    --mp-muted: #94A3B8;

    /* Legacy Aliases */
    --bg-body: #0B1220;
    --bg-section: #111827;
    --bg-card: #1a2332;
    --bg-elevated: #1e293b;
    --bg-input: #1e293b;
    --text-primary: #E5E7EB;
    --text-secondary: #94A3B8;
    --text-muted: #64748b;
    --border: #243041;
    --border-light: #1e293b;

    /* Bootstrap Body Overrides */
    --bs-body-bg: #0B1220;
    --bs-body-color: #E5E7EB;
    --bs-border-color: #243041;
    --bs-tertiary-bg: #111827;
    --bs-secondary-bg: #1e293b;

    /* Ajustar focus ring e shadow para dark */
    --mp-focus-ring: rgba(129, 140, 248, 0.35);
    --mp-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ── Bootstrap data-bs-theme="dark" (componentes nativos) ── */
[data-bs-theme="dark"] {
    --bs-body-bg: #0B1220;
    --bs-body-color: #E5E7EB;
    --bs-border-color: #243041;
    --bs-primary: #4F46E5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-tertiary-bg: #111827;
    --bs-secondary-bg: #1e293b;
    --bs-link-color: #818cf8;
    --bs-link-hover-color: #a5b4fc;
}

/* ── CTA Button (Accent / Orange) ──
   Self-contained: immune to parent context (navbar, hero, cards).
   Works with class="btn btn-cta" or standalone. */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--mp-btn-height);
    min-height: var(--mp-btn-height);
    padding: 0 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    background-color: var(--mp-accent);
    border: 2px solid var(--mp-accent);
    border-radius: var(--mp-radius-btn);
    color: #fff;
    box-shadow: var(--mp-cta-shadow);
    transition: background-color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover {
    background-color: var(--mp-accent-dark);
    border-color: var(--mp-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--mp-cta-shadow-hover);
}
.btn-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--mp-accent-rgb), 0.30), var(--mp-cta-shadow);
}
.btn-cta:active {
    transform: translateY(0);
    box-shadow: var(--mp-cta-shadow-active);
}
.btn-cta:disabled,
.btn-cta.disabled {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
/* Size variant: hero/large contexts */
.btn-cta.btn-lg {
    height: 52px;
    min-height: 52px;
    padding: 0 32px;
    font-size: 1rem;
}
/* Context isolation: navbar cannot alter CTA */
.navbar .btn-cta {
    height: var(--mp-btn-height);
    min-height: var(--mp-btn-height);
    padding: 0 20px;
    line-height: 1;
    border-radius: var(--mp-radius-btn);
    box-shadow: var(--mp-cta-shadow);
}

/* ── CTA Outline Button (Secondary / Indigo border) ──
   Self-contained: same isolation as .btn-cta. */
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--mp-btn-height);
    min-height: var(--mp-btn-height);
    padding: 0 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    background: transparent;
    border: 2px solid rgba(var(--mp-primary-rgb), 0.35);
    border-radius: var(--mp-radius-btn);
    color: var(--mp-primary);
    transition: background-color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn-cta-outline:hover {
    background: rgba(var(--mp-primary-rgb), 0.06);
    border-color: var(--mp-primary);
    color: var(--mp-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--mp-primary-rgb), 0.15);
}
.btn-cta-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--mp-focus-ring);
}
.btn-cta-outline:active {
    transform: translateY(0);
    background: rgba(var(--mp-primary-rgb), 0.10);
    box-shadow: none;
}
.btn-cta-outline:disabled,
.btn-cta-outline.disabled {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
/* Size variant */
.btn-cta-outline.btn-lg {
    height: 52px;
    min-height: 52px;
    padding: 0 32px;
    font-size: 1rem;
}

/* Dark mode */
[data-theme="dark"] .btn-cta-outline {
    border-color: rgba(165, 180, 252, 0.28);
    color: #c7d2fe;
}
[data-theme="dark"] .btn-cta-outline:hover {
    background: rgba(var(--mp-primary-rgb), 0.10);
    border-color: #a5b4fc;
    color: #e0e7ff;
    box-shadow: 0 4px 14px rgba(var(--mp-primary-rgb), 0.20);
}
[data-theme="dark"] .btn-cta-outline:focus-visible {
    box-shadow: 0 0 0 4px var(--mp-focus-ring);
}
[data-theme="dark"] .btn-cta-outline:active {
    background: rgba(var(--mp-primary-rgb), 0.14);
}

/* ── Form Focus Overrides ── */
.form-control:focus,
.form-select:focus {
    border-color: var(--mp-primary);
    box-shadow: 0 0 0 3px var(--mp-focus-ring);
}

/* ── Bootstrap .btn-primary Override ── */
.btn-primary {
    --bs-btn-bg: var(--mp-primary);
    --bs-btn-border-color: var(--mp-primary);
    --bs-btn-hover-bg: var(--mp-primary-dark);
    --bs-btn-hover-border-color: var(--mp-primary-dark);
    --bs-btn-active-bg: var(--mp-primary-dark);
    --bs-btn-active-border-color: var(--mp-primary-dark);
    --bs-btn-disabled-bg: var(--mp-primary);
    --bs-btn-disabled-border-color: var(--mp-primary);
}

/* ── Bootstrap .btn-outline-primary Override ── */
.btn-outline-primary {
    --bs-btn-color: var(--mp-primary);
    --bs-btn-border-color: var(--mp-primary);
    --bs-btn-hover-bg: var(--mp-primary);
    --bs-btn-hover-border-color: var(--mp-primary);
    --bs-btn-active-bg: var(--mp-primary);
    --bs-btn-active-border-color: var(--mp-primary);
}

/* ── Bootstrap .btn-success Override ── */
.btn-success {
    --bs-btn-bg: var(--mp-success);
    --bs-btn-border-color: var(--mp-success);
    --bs-btn-hover-bg: #16a34a;
    --bs-btn-hover-border-color: #16a34a;
}

/* ── Bootstrap .btn-danger Override ── */
.btn-danger {
    --bs-btn-bg: var(--mp-danger);
    --bs-btn-border-color: var(--mp-danger);
    --bs-btn-hover-bg: #dc2626;
    --bs-btn-hover-border-color: #dc2626;
}

/* ── Bootstrap .btn-warning Override ── */
.btn-warning {
    --bs-btn-bg: var(--mp-warning);
    --bs-btn-border-color: var(--mp-warning);
    --bs-btn-hover-bg: #ca8a04;
    --bs-btn-hover-border-color: #ca8a04;
}

/* ── Bootstrap .btn-info Override ── */
.btn-info {
    --bs-btn-bg: var(--mp-info);
    --bs-btn-border-color: var(--mp-info);
    --bs-btn-hover-bg: #0284c7;
    --bs-btn-hover-border-color: #0284c7;
}

/* ── Alerts ── */
.alert-success {
    --bs-alert-bg: rgba(var(--mp-success-rgb), 0.1);
    --bs-alert-color: var(--mp-success);
    --bs-alert-border-color: rgba(var(--mp-success-rgb), 0.2);
}
.alert-danger {
    --bs-alert-bg: rgba(var(--mp-danger-rgb), 0.1);
    --bs-alert-color: var(--mp-danger);
    --bs-alert-border-color: rgba(var(--mp-danger-rgb), 0.2);
}
.alert-warning {
    --bs-alert-bg: rgba(var(--mp-warning-rgb), 0.1);
    --bs-alert-color: var(--mp-warning);
    --bs-alert-border-color: rgba(var(--mp-warning-rgb), 0.2);
}
.alert-info {
    --bs-alert-bg: rgba(var(--mp-info-rgb), 0.1);
    --bs-alert-color: var(--mp-info);
    --bs-alert-border-color: rgba(var(--mp-info-rgb), 0.2);
}

/* ── Badges ── */
.badge.bg-primary { background-color: var(--mp-primary) !important; }
.badge.bg-success { background-color: var(--mp-success) !important; }
.badge.bg-danger { background-color: var(--mp-danger) !important; }
.badge.bg-warning { background-color: var(--mp-warning) !important; color: #0F172A !important; }
.badge.bg-info { background-color: var(--mp-info) !important; }

/* ── text-* utility overrides ── */
.text-primary { color: var(--mp-primary) !important; }
.text-success { color: var(--mp-success) !important; }
.text-danger { color: var(--mp-danger) !important; }
.text-warning { color: var(--mp-warning) !important; }
.text-info { color: var(--mp-info) !important; }

/* =============================================
   INTEGRATION SECTION — Premium Polish
   Namespace: .mp-integrations
   ============================================= */

/* ── A) Section Tag as Editorial Premium Tag ── */
.mp-integrations .section-tag {
    background: rgba(var(--mp-primary-rgb), 0.08);
    color: var(--mp-primary);
    border: 1px solid rgba(var(--mp-primary-rgb), 0.18);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: none;
    cursor: default;
    transition: background-color 0.2s ease;
}
.mp-integrations .section-tag:hover {
    background: rgba(var(--mp-primary-rgb), 0.12);
}

/* ── B) Node Status "Conectado" — Green as subtle detail ── */
.mp-integrations .node-status {
    color: var(--mp-muted);
    font-size: 0.75rem;
    font-weight: 500;
    gap: 5px;
}
.mp-integrations .node-status i {
    color: var(--mp-success);
    font-size: 0.6875rem;
    opacity: 0.85;
}

/* ── C) "Em breve" — Intentional mini-pill ── */
.mp-integrations .node-status.soon {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mp-muted);
    opacity: 0.75;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.4;
}

/* ── D) Diagram Lines — Professional stroke ── */
.mp-integrations .conn-line {
    stroke-dasharray: 6 8;
    stroke-width: 1.5;
    opacity: 0.35;
}

/* ── E) Data dots — softer ── */
.mp-integrations .data-dot {
    opacity: 0;
    r: 3;
}

/* ── F) Breathing room: diagram → cards ── */
.mp-integrations .integration-hub {
    margin-bottom: 80px;
}

/* ── G) Flow cards — subtle refinement ── */
.mp-integrations .flow-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mp-integrations .flow-item:hover {
    border-color: rgba(var(--mp-primary-rgb), 0.20);
    box-shadow: 0 4px 16px rgba(var(--mp-primary-rgb), 0.06);
}

/* ── Dark Mode ── */
[data-theme="dark"] .mp-integrations .section-tag {
    background: rgba(165, 180, 252, 0.14);
    border-color: rgba(165, 180, 252, 0.20);
    color: var(--mp-primary-light);
}
[data-theme="dark"] .mp-integrations .section-tag:hover {
    background: rgba(165, 180, 252, 0.20);
}

[data-theme="dark"] .mp-integrations .node-status i {
    opacity: 0.90;
}

[data-theme="dark"] .mp-integrations .node-status.soon {
    background: rgba(148, 163, 184, 0.12);
    border-color: var(--mp-border);
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-integrations .conn-line {
    opacity: 0.28;
}

[data-theme="dark"] .mp-integrations .flow-item:hover {
    border-color: rgba(165, 180, 252, 0.18);
    box-shadow: 0 4px 16px rgba(var(--mp-primary-rgb), 0.10);
}

/* ── Responsive: Mobile breathing room ── */
@media (max-width: 768px) {
    .mp-integrations .integration-hub {
        margin-bottom: 48px;
    }
}

/* =============================================
   PROBLEM SECTION — Premium Polish (Final)
   Namespace: .mp-problems
   ============================================= */

/* ── 1) Section rhythm — tighter padding ── */
.mp-problems.problem-section {
    padding: 80px 0;
}

/* ── 2) Section Tag — Neutral-surface pill with danger accent ── */
.mp-problems .section-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    background: var(--mp-surface-2);
    color: var(--mp-danger);
    border: 1px solid var(--mp-border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: none;
    cursor: default;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mp-problems .section-tag:hover {
    background: rgba(var(--mp-danger-rgb), 0.06);
    border-color: rgba(var(--mp-danger-rgb), 0.22);
}

/* ── 3) H2 — Constrained width, tighter display line-height ── */
.mp-problems .section-header {
    margin-bottom: 48px;
}
.mp-problems .section-header h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.08;
    margin-bottom: 0;
}

/* ── 4) Grid — tighter gap, reduced row margin ── */
.mp-problems .problem-row {
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.mp-problems .problem-row:last-child {
    margin-bottom: 0;
}

/* ── 5) Body typography — legible paragraphs ── */
.mp-problems .problem-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mp-muted);
    max-width: 420px;
}
.mp-problems .problem-content h3 {
    color: var(--mp-text);
}

/* ── 6) Problem icon tiles — consistent sizing ── */
.mp-problems .problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.mp-problems .problem-icon.danger {
    background: rgba(var(--mp-danger-rgb), 0.08);
    color: var(--mp-danger);
}
.mp-problems .problem-icon.warning {
    background: rgba(var(--mp-warning-rgb), 0.08);
    color: var(--mp-warning);
}
.mp-problems .problem-icon.info {
    background: rgba(var(--mp-primary-rgb), 0.08);
    color: var(--mp-primary);
}

/* ── 7) Problem chips (consequence pills) ── */
.mp-problem-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: rgba(var(--mp-danger-rgb), 0.05);
    border: 1px solid rgba(var(--mp-danger-rgb), 0.14);
    color: var(--mp-text);
    transition: background-color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}
.mp-problem-chip:hover {
    background: rgba(var(--mp-danger-rgb), 0.08);
    border-color: rgba(var(--mp-danger-rgb), 0.28);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--mp-danger-rgb), 0.08);
}
.mp-problem-chip:focus-visible {
    outline: 2px solid var(--mp-danger);
    outline-offset: 2px;
}
.mp-problem-chip i {
    color: var(--mp-danger);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ── 8) Mock illustrations — premium card system ── */
.mp-problems .problem-illustration {
    padding: 24px;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 380px;
}

/* ── 8a) Stock chaos — internal spacing ── */
.mp-problems .channel-stock {
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: var(--mp-surface-2);
}
.mp-problems .channel-stock:last-of-type {
    margin-bottom: 0;
}

/* ── 8b) Chaos icon — clean floating badge, no stem ── */
.mp-problems .chaos-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9375rem;
    background: var(--mp-surface);
    color: var(--mp-danger);
    animation: none;
    border: 1px solid var(--mp-border);
    top: -12px;
    right: -12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* ── 8c) Chaos label — muted ── */
.mp-problems .chaos-label {
    color: var(--mp-muted);
    font-weight: 500;
    font-size: 0.8125rem;
    margin-top: 12px;
}

/* ── 8d) Catalog mess items — tighter ── */
.mp-problems .mess-item {
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 8px;
    background: var(--mp-surface-2);
    border-color: var(--mp-border);
    color: var(--mp-muted);
}

/* ── 8e) Tab "+12" — muted instead of red ── */
.mp-problems .tab.more {
    background: var(--mp-muted);
    border-color: var(--mp-muted);
    color: #fff;
    opacity: 0.7;
}

/* ── 8f) Active tab highlight ── */
.mp-problems .tab.active {
    border-bottom-color: transparent;
    background: var(--mp-surface);
    font-weight: 600;
}

/* ── 8g) All tabs — consistent with theme border ── */
.mp-problems .tab {
    border-color: var(--mp-border);
    background: var(--mp-surface-2);
}

/* ── 9) Orders mock — continuous hover-scan animation ── */
@keyframes mp-order-scan {
    0%, 12%  { background: var(--mp-surface); box-shadow: 0 2px 8px rgba(0,0,0,0.06); transform: translateX(2px); }
    20%, 100% { background: var(--mp-surface-2); box-shadow: none; transform: translateX(0); }
}
.mp-orders-mock {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mp-order-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--mp-surface-2);
    border-radius: 10px;
    font-size: 0.8125rem;
    animation: mp-order-scan 4s ease-in-out infinite;
}
.mp-order-row:nth-child(1) { animation-delay: 0s; }
.mp-order-row:nth-child(2) { animation-delay: 1s; }
.mp-order-row:nth-child(3) { animation-delay: 2s; }
.mp-order-row:nth-child(4) { animation-delay: 3s; }
.mp-order-id {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--mp-muted);
    min-width: 48px;
}
.mp-order-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.mp-order-badge.meli { background: rgba(255, 230, 0, 0.18); color: #9a8700; }
.mp-order-badge.shopee { background: rgba(238, 77, 45, 0.12); color: var(--mp-shopee); }
.mp-order-badge.amazon { background: rgba(255, 153, 0, 0.12); color: #b36b00; }
.mp-order-status {
    margin-left: auto;
    font-size: 0.6875rem;
    font-weight: 500;
}
.mp-order-status.pending { color: var(--mp-warning); }
.mp-order-status.shipped { color: var(--mp-success); }
.mp-order-status.error { color: var(--mp-danger); opacity: 0.8; }

/* ── Dark Mode ── */
[data-theme="dark"] .mp-problems .section-tag {
    background: var(--mp-surface-2);
    border-color: var(--mp-border);
    color: #F87171; /* red-400 — warm danger for dark, no pink */
}
[data-theme="dark"] .mp-problems .section-tag:hover {
    background: rgba(var(--mp-danger-rgb), 0.10);
    border-color: rgba(var(--mp-danger-rgb), 0.25);
}

[data-theme="dark"] .mp-problems .problem-content p {
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-problem-chip {
    background: rgba(var(--mp-danger-rgb), 0.08);
    border-color: rgba(var(--mp-danger-rgb), 0.18);
}
[data-theme="dark"] .mp-problem-chip:hover {
    background: rgba(var(--mp-danger-rgb), 0.14);
    border-color: rgba(var(--mp-danger-rgb), 0.32);
    box-shadow: 0 2px 8px rgba(var(--mp-danger-rgb), 0.12);
}

[data-theme="dark"] .mp-problems .problem-illustration {
    border-color: var(--mp-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .mp-problems .problem-icon.danger {
    background: rgba(var(--mp-danger-rgb), 0.14);
}
[data-theme="dark"] .mp-problems .problem-icon.warning {
    background: rgba(var(--mp-warning-rgb), 0.14);
}
[data-theme="dark"] .mp-problems .problem-icon.info {
    background: rgba(var(--mp-primary-rgb), 0.14);
}

[data-theme="dark"] .mp-problems .chaos-icon {
    background: var(--mp-surface);
    border-color: var(--mp-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

[data-theme="dark"] .mp-problems .channel-stock {
    background: var(--mp-surface-2);
}

[data-theme="dark"] .mp-problems .mess-item {
    background: var(--mp-surface-2);
    border-color: var(--mp-border);
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-problems .tab {
    background: var(--mp-surface-2);
    border-color: var(--mp-border);
}
[data-theme="dark"] .mp-problems .tab.active {
    background: var(--mp-surface);
}
[data-theme="dark"] .mp-problems .tab.more {
    opacity: 0.8;
}

[data-theme="dark"] .mp-order-row {
    background: var(--mp-surface-2);
}
[data-theme="dark"] .mp-order-badge.meli { color: var(--mp-meli); }
[data-theme="dark"] .mp-order-badge.amazon { color: var(--mp-amazon); }

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
    .mp-problems .problem-illustration {
        max-width: 320px;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    .mp-problems.problem-section {
        padding: 60px 0;
    }
    .mp-problems .section-header {
        margin-bottom: 36px;
    }
    .mp-problems .problem-row {
        align-items: center;
        margin-bottom: 48px;
        gap: 32px;
    }
    .mp-problems .problem-content p {
        max-width: none;
    }
    .mp-problems .problem-illustration {
        max-width: 320px;
        padding: 20px;
    }
    .mp-problems .section-header h2 {
        max-width: none;
        line-height: 1.15;
    }
    .mp-problems .problem-impact {
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════
   SECTION: Recursos que fazem a diferença  (.mp-more-features)
   Namespace: .mp-more-features
   ════════════════════════════════════════════════════════════════ */

/* ── Section rhythm ── */
.mp-more-features.more-features {
    padding: 80px 0;
}

/* ── Section tag — editorial pill (indigo) ── */
.mp-more-features .section-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    background: var(--mp-surface-2);
    color: var(--mp-primary);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    cursor: default;
}

/* ── H2 ── */
.mp-more-features .section-header h2 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

/* ── Section header spacing ── */
.mp-more-features .section-header {
    margin-bottom: 48px;
}

/* ── Grid — equal-height via stretch ── */
.mp-more-features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ── Cards — flex column for equal-height alignment ── */
.mp-more-features .mini-feature {
    display: flex;
    flex-direction: column;
    padding: 26px;
    min-height: 180px;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mp-more-features .mini-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--mp-primary-rgb), 0.22);
    text-decoration: none;
    color: inherit;
}

.mp-more-features .mini-feature:focus-visible {
    outline: 2px solid var(--mp-primary);
    outline-offset: 3px;
}

/* ── Icon box ── */
.mp-more-features .mini-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--mp-primary-rgb), 0.08);
    color: var(--mp-primary);
    font-size: 1.25rem;
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid var(--mp-border);
    transition: background-color 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

/* Icon tile gets slightly more vivid on card hover */
.mp-more-features .mini-feature:hover .mini-icon {
    background: rgba(var(--mp-primary-rgb), 0.12);
    border-color: rgba(var(--mp-primary-rgb), 0.18);
}

/* ── Typography ── */
.mp-more-features .mini-feature h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--mp-text);
    line-height: 1.3;
}

.mp-more-features .mini-feature p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--mp-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── CTA row below grid ── */
.mp-features-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .mp-more-features .mini-feature,
    .mp-more-features .mini-icon {
        transition: none;
    }
    .mp-more-features .mini-feature:hover {
        transform: none;
    }
}

/* ════════════════════════════════════════
   .mp-more-features — DARK MODE
   ════════════════════════════════════════ */

[data-theme="dark"] .mp-more-features .section-tag {
    background: rgba(var(--mp-primary-rgb), 0.10);
    color: #818CF8;
    border-color: rgba(var(--mp-primary-rgb), 0.20);
}

[data-theme="dark"] .mp-more-features .mini-feature {
    background: var(--mp-surface);
    border-color: var(--mp-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    color: var(--mp-text);
}

[data-theme="dark"] .mp-more-features .mini-feature:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
    border-color: rgba(var(--mp-primary-rgb), 0.28);
    color: var(--mp-text);
}

[data-theme="dark"] .mp-more-features .mini-feature:focus-visible {
    outline-color: #818CF8;
}

[data-theme="dark"] .mp-more-features .mini-icon {
    background: rgba(var(--mp-primary-rgb), 0.14);
    color: #818CF8;
    border-color: var(--mp-border);
}

[data-theme="dark"] .mp-more-features .mini-feature:hover .mini-icon {
    background: rgba(var(--mp-primary-rgb), 0.20);
    border-color: rgba(var(--mp-primary-rgb), 0.28);
}

[data-theme="dark"] .mp-more-features .mini-feature h4 {
    color: var(--mp-text);
}

[data-theme="dark"] .mp-more-features .mini-feature p {
    color: var(--mp-muted);
}

/* ════════════════════════════════════════
   .mp-more-features — RESPONSIVE
   ════════════════════════════════════════ */

/* Tablet: 2 colunas */
@media (max-width: 1024px) {
    .mp-more-features .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
    .mp-more-features.more-features {
        padding: 60px 0;
    }
    .mp-more-features .section-header {
        margin-bottom: 36px;
    }
    .mp-more-features .section-header h2 {
        max-width: none;
        line-height: 1.15;
    }
    .mp-more-features .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mp-more-features .mini-feature {
        padding: 24px;
        min-height: auto;
    }
    /* CTA row: stacked full-width */
    .mp-features-cta {
        flex-direction: column;
        margin-top: 36px;
    }
    .mp-features-cta .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════
   SECTION: Planos / Pricing  (.mp-pricing)
   Namespace: .mp-pricing
   ════════════════════════════════════════════════════════════════ */

/* ── Section rhythm ── */
.mp-pricing.pricing-section {
    padding: 80px 0;
}

/* ── Section tag — editorial pill (indigo) ── */
.mp-pricing .section-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    background: var(--mp-surface-2);
    color: var(--mp-primary);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    cursor: default;
}

/* ── H2 ── */
.mp-pricing .section-header h2 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}
.mp-pricing .section-header p {
    color: var(--mp-muted);
    font-size: 1rem;
}
.mp-pricing .section-header {
    margin-bottom: 40px;
}

/* ── Grid: Row 1 — 3 columns ── */
.mp-pricing .mp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

/* ── Grid: Row 2 — 2 cards centered, same optical width as row 1 ── */
/* Card width in row 1 = (1080 - 48) / 3 = 344px. Match that exactly. */
.mp-pricing .mp-pricing-row-center {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1080px;
    margin: 24px auto 0;
}
.mp-pricing .mp-pricing-row-center .pricing-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: 344px;
}

/* ── Cards ── */
.mp-pricing .pricing-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    /* Reset base styles */
    flex-basis: auto;
    max-width: none;
    min-width: 0;
}

.mp-pricing .pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--mp-primary-rgb), 0.18);
}

/* ── Featured card (Grow) — subtle border to avoid competing with CTA ── */
.mp-pricing .pricing-card.is-featured {
    border-color: rgba(var(--mp-primary-rgb), 0.18);
    box-shadow: 0 4px 20px rgba(var(--mp-primary-rgb), 0.06);
    background: linear-gradient(180deg, rgba(var(--mp-primary-rgb), 0.02) 0%, var(--mp-surface) 50%);
}
.mp-pricing .pricing-card.is-featured:hover {
    box-shadow: 0 8px 32px rgba(var(--mp-primary-rgb), 0.10);
    border-color: rgba(var(--mp-primary-rgb), 0.28);
}

/* ── Featured badge ── */
.mp-pricing .mp-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 14px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    background: var(--mp-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Card header ── */
.mp-pricing .card-header {
    margin-bottom: 16px;
    padding: 0;
    background: none;
    border: none;
}
.mp-pricing .card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--mp-text);
}
.mp-pricing .card-header p {
    font-size: 0.8125rem;
    color: var(--mp-muted);
    margin: 0;
    line-height: 1.4;
}

/* ── Price line — baseline aligned ── */
.mp-pricing .card-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 20px;
    min-height: 40px;
}
.mp-pricing .card-price .price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--mp-text);
    line-height: 1;
    letter-spacing: -0.02em;
}
.mp-pricing .card-price .period {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mp-muted);
}

/* ── Divider ── */
.mp-pricing .mp-pricing-divider {
    height: 1px;
    background: var(--mp-border);
    margin: 0 0 16px;
}

/* ── Highlights (limits) ── */
.mp-pricing .card-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin-bottom: 16px;
    border: none;
}
.mp-pricing .card-highlights .highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--mp-muted);
}
.mp-pricing .card-highlights .highlight i {
    color: var(--mp-primary);
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.mp-pricing .card-highlights .highlight strong {
    color: var(--mp-text);
    font-weight: 600;
}

/* ── Features list ── */
.mp-pricing .card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mp-pricing .card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.875rem;
    color: var(--mp-text);
    border-bottom: 1px solid var(--mp-border);
}
.mp-pricing .card-features li:last-child {
    border-bottom: none;
}
.mp-pricing .card-features i.bi-check2 {
    color: var(--mp-success);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Footer (CTA + microcopy) ── */
.mp-pricing .mp-pricing-footer {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* ── Plan button — consistent sizing ── */
.mp-pricing .mp-btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
    /* Default: filled indigo */
    background: var(--mp-primary);
    border: 2px solid var(--mp-primary);
    color: #fff;
}
.mp-pricing .mp-btn-plan:hover {
    background: var(--mp-primary-dark);
    border-color: var(--mp-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--mp-primary-rgb), 0.20);
    text-decoration: none;
}
.mp-pricing .mp-btn-plan:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--mp-focus-ring);
}
.mp-pricing .mp-btn-plan:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline variant (free plan) */
.mp-pricing .mp-btn-plan--outline {
    background: transparent;
    border: 2px solid var(--mp-border);
    color: var(--mp-text);
}
.mp-pricing .mp-btn-plan--outline:hover {
    background: var(--mp-surface-2);
    border-color: var(--mp-primary);
    color: var(--mp-primary);
    box-shadow: 0 4px 14px rgba(var(--mp-primary-rgb), 0.10);
}

/* Featured plan CTA uses accent (orange) — enforce sizing consistency */
.mp-pricing .pricing-card.is-featured .mp-btn-plan.btn-cta {
    height: 48px;
    min-height: 48px;
    border-radius: 14px;
    background: var(--mp-accent);
    border-color: var(--mp-accent);
    color: #fff;
    box-shadow: var(--mp-cta-shadow);
}
.mp-pricing .pricing-card.is-featured .mp-btn-plan.btn-cta:hover {
    background: var(--mp-accent-dark);
    border-color: var(--mp-accent-dark);
    box-shadow: var(--mp-cta-shadow-hover);
}

/* ── Microcopy ── */
.mp-pricing .mp-pricing-microcopy {
    font-size: 0.75rem;
    color: var(--mp-muted);
    font-weight: 400;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .mp-pricing .pricing-card,
    .mp-pricing .mp-btn-plan {
        transition: none;
    }
    .mp-pricing .pricing-card:hover,
    .mp-pricing .mp-btn-plan:hover {
        transform: none;
    }
}

/* ════════════════════════════════════════
   .mp-pricing — DARK MODE
   ════════════════════════════════════════ */

[data-theme="dark"] .mp-pricing .section-tag {
    background: rgba(var(--mp-primary-rgb), 0.10);
    color: #818CF8;
    border-color: rgba(var(--mp-primary-rgb), 0.20);
}

[data-theme="dark"] .mp-pricing .pricing-card {
    background: var(--mp-surface);
    border-color: var(--mp-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
[data-theme="dark"] .mp-pricing .pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
    border-color: rgba(var(--mp-primary-rgb), 0.28);
}

[data-theme="dark"] .mp-pricing .pricing-card.is-featured {
    border-color: rgba(var(--mp-primary-rgb), 0.22);
    box-shadow: 0 4px 20px rgba(var(--mp-primary-rgb), 0.08);
    background: linear-gradient(180deg, rgba(var(--mp-primary-rgb), 0.04) 0%, var(--mp-surface) 50%);
}
[data-theme="dark"] .mp-pricing .pricing-card.is-featured:hover {
    box-shadow: 0 8px 32px rgba(var(--mp-primary-rgb), 0.14);
    border-color: rgba(var(--mp-primary-rgb), 0.35);
}

[data-theme="dark"] .mp-pricing .mp-featured-badge {
    background: #818CF8;
    color: #0F172A;
}

[data-theme="dark"] .mp-pricing .card-header h3 {
    color: var(--mp-text);
}
[data-theme="dark"] .mp-pricing .card-header p {
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-pricing .card-price .price {
    color: var(--mp-text);
}
[data-theme="dark"] .mp-pricing .card-price .period {
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-pricing .mp-pricing-divider {
    background: var(--mp-border);
}

[data-theme="dark"] .mp-pricing .card-highlights .highlight {
    color: var(--mp-muted);
}
[data-theme="dark"] .mp-pricing .card-highlights .highlight i {
    color: #818CF8;
}
[data-theme="dark"] .mp-pricing .card-highlights .highlight strong {
    color: var(--mp-text);
}

[data-theme="dark"] .mp-pricing .card-features li {
    color: var(--mp-text);
    border-bottom-color: var(--mp-border);
}
[data-theme="dark"] .mp-pricing .card-features i.bi-check2 {
    color: var(--mp-success);
}

[data-theme="dark"] .mp-pricing .mp-btn-plan {
    background: #818CF8;
    border-color: #818CF8;
    color: #0F172A;
}
[data-theme="dark"] .mp-pricing .mp-btn-plan:hover {
    background: #A5B4FC;
    border-color: #A5B4FC;
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.25);
}

[data-theme="dark"] .mp-pricing .mp-btn-plan--outline {
    background: transparent;
    border-color: var(--mp-border);
    color: var(--mp-text);
}
[data-theme="dark"] .mp-pricing .mp-btn-plan--outline:hover {
    background: var(--mp-surface-2);
    border-color: #818CF8;
    color: #818CF8;
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.12);
}

[data-theme="dark"] .mp-pricing .mp-pricing-microcopy {
    color: var(--mp-muted);
}

/* ════════════════════════════════════════
   .mp-pricing — RESPONSIVE
   ════════════════════════════════════════ */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .mp-pricing .mp-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
    /* Featured card spans the center on tablet */
    .mp-pricing .mp-pricing-grid .pricing-card.is-featured {
        grid-column: 1 / -1;
        max-width: 348px;
        justify-self: center;
    }
    .mp-pricing .mp-pricing-row-center {
        flex-direction: column;
        align-items: center;
    }
    .mp-pricing .mp-pricing-row-center .pricing-card {
        flex: none;
        width: 100%;
        max-width: 348px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .mp-pricing.pricing-section {
        padding: 60px 0;
    }
    .mp-pricing .section-header {
        margin-bottom: 32px;
    }
    .mp-pricing .section-header h2 {
        max-width: none;
        line-height: 1.15;
    }
    .mp-pricing .mp-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .mp-pricing .mp-pricing-grid .pricing-card.is-featured {
        grid-column: auto;
        justify-self: stretch;
        max-width: none;
    }
    .mp-pricing .mp-pricing-row-center {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .mp-pricing .mp-pricing-row-center .pricing-card {
        flex: none;
        width: 100%;
        max-width: none;
    }
    .mp-pricing .pricing-card {
        padding: 24px;
    }
}


/* ════════════════════════════════════════════════════════════════
   SECTION: CTA Final  (.mp-cta)
   Namespace: .mp-cta
   ════════════════════════════════════════════════════════════════ */

/* ── A) Section rhythm ── */
.mp-cta.cta-section {
    padding: 64px 0 48px;
}

/* ── B) Gradient refinement + radial glow ── */
.mp-cta .cta-card {
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

/* Subtle ellipse shape (replaces base ::before) */
.mp-cta .cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 180%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* Second shape — bottom-left for balance */
.mp-cta .cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 40%;
    height: 140%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    pointer-events: none;
}

/* Radial glow behind title */
.mp-cta .mp-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Content z-index above shapes ── */
.mp-cta .cta-card h2 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.15;
}

.mp-cta .cta-card > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
    text-wrap: balance;
}

/* ── C) Buttons — hierarchy ── */
.mp-cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* Primary CTA (white on indigo) — override base .btn-white for premium feel */
.mp-cta .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-height: 52px;
    padding: 0 32px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 14px;
    border: 2px solid #fff;
    background: #fff;
    color: var(--mp-primary);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.mp-cta .btn-white:hover {
    background: #F8FAFC;
    border-color: #F8FAFC;
    color: var(--mp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}
.mp-cta .btn-white:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.40), 0 4px 14px rgba(0, 0, 0, 0.12);
}
.mp-cta .btn-white:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* Secondary — link-style button, not competing with primary */
.mp-cta .mp-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 52px;
    padding: 0 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.70);
    background: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.mp-cta .mp-cta-link:hover {
    color: #fff;
    text-decoration: none;
}
.mp-cta .mp-cta-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.60);
    outline-offset: 4px;
    border-radius: 8px;
}
.mp-cta .mp-cta-link i {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.mp-cta .mp-cta-link:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* ── D) Trust microcopy ── */
.mp-cta .mp-cta-trust {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.42);
    margin: 16px auto 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .mp-cta .btn-white,
    .mp-cta .mp-cta-link,
    .mp-cta .mp-cta-link i {
        transition: none;
    }
    .mp-cta .btn-white:hover {
        transform: none;
    }
    .mp-cta .mp-cta-link:hover i {
        transform: none;
    }
}

/* ════════════════════════════════════════
   .mp-cta — DARK MODE
   ════════════════════════════════════════ */

[data-theme="dark"] .mp-cta .cta-card {
    background: linear-gradient(135deg, #3730A3 0%, #1E1B4B 100%);
}

[data-theme="dark"] .mp-cta .cta-card::before {
    background: rgba(255, 255, 255, 0.02);
}
[data-theme="dark"] .mp-cta .cta-card::after {
    background: rgba(255, 255, 255, 0.015);
}

[data-theme="dark"] .mp-cta .mp-cta-glow {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .mp-cta .cta-card h2 {
    color: #F1F5F9;
}
[data-theme="dark"] .mp-cta .cta-card > p {
    color: rgba(226, 232, 240, 0.75);
}

[data-theme="dark"] .mp-cta .btn-white {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: #1E1B4B;
}
[data-theme="dark"] .mp-cta .btn-white:hover {
    background: #fff;
    border-color: #fff;
    color: #1E1B4B;
}

[data-theme="dark"] .mp-cta .mp-cta-link {
    color: rgba(199, 210, 254, 0.60);
}
[data-theme="dark"] .mp-cta .mp-cta-link:hover {
    color: #C7D2FE;
}

[data-theme="dark"] .mp-cta .mp-cta-trust {
    color: rgba(199, 210, 254, 0.35);
}

/* ════════════════════════════════════════
   .mp-cta — RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 768px) {
    .mp-cta.cta-section {
        padding: 48px 0 36px;
    }
    .mp-cta .cta-card {
        padding: 48px 24px;
        border-radius: 20px;
    }
    .mp-cta .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .mp-cta .btn-white {
        width: 100%;
    }
    .mp-cta .mp-cta-link {
        height: auto;
        padding: 8px;
    }
    .mp-cta .mp-cta-glow {
        width: 240px;
        height: 240px;
    }
}


/* ════════════════════════════════════════════════════════════════
   SECTION: Footer  (.mp-footer)
   Namespace: .mp-footer
   ════════════════════════════════════════════════════════════════ */

/* ── Section rhythm — reduce gap after CTA ── */
.mp-footer.footer {
    padding: 40px 0 28px;
    border-top: 1px solid rgba(var(--mp-primary-rgb), 0.06);
    background: var(--mp-bg);
}

/* ── Main: left brand + right nav groups ── */
.mp-footer .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(var(--mp-primary-rgb), 0.06);
    margin-bottom: 20px;
}

/* ── Left: logo + tagline ── */
.mp-footer .mp-footer-left {
    flex-shrink: 0;
    max-width: 280px;
}

.mp-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--mp-text);
    margin-bottom: 8px;
}

.mp-footer .mp-footer-tagline {
    font-size: 0.8125rem;
    color: var(--mp-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Right: nav groups ── */
.mp-footer .mp-footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mp-footer .footer-nav {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.mp-footer .mp-footer-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

.mp-footer .mp-footer-group-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mp-text);
    margin-bottom: 4px;
}

.mp-footer .footer-nav a {
    font-size: 0.8125rem;
    color: var(--mp-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.mp-footer .footer-nav a:hover {
    color: var(--mp-primary);
}
.mp-footer .footer-nav a:focus-visible {
    outline: 2px solid var(--mp-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Bottom: copyright + social ── */
.mp-footer .footer-bottom {
    text-align: left;
}

.mp-footer .mp-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.mp-footer .footer-bottom p {
    font-size: 0.75rem;
    color: var(--mp-muted);
    margin: 0;
    opacity: 0.7;
}

.mp-footer .footer-social {
    display: flex;
    gap: 8px;
}
.mp-footer .footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-surface-2);
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    color: var(--mp-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease,
                color 0.2s ease, transform 0.2s ease;
}
.mp-footer .footer-social a:hover {
    background: var(--mp-primary);
    border-color: var(--mp-primary);
    color: #fff;
    transform: translateY(-1px);
}
.mp-footer .footer-social a:focus-visible {
    outline: 2px solid var(--mp-primary);
    outline-offset: 2px;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .mp-footer .footer-social a,
    .mp-footer .footer-nav a {
        transition: none;
    }
    .mp-footer .footer-social a:hover {
        transform: none;
    }
}

/* ════════════════════════════════════════
   .mp-footer — DARK MODE
   ════════════════════════════════════════ */

[data-theme="dark"] .mp-footer.footer {
    background: var(--mp-bg);
    border-top-color: rgba(148, 163, 184, 0.10);
}

[data-theme="dark"] .mp-footer .footer-main {
    border-bottom-color: rgba(148, 163, 184, 0.10);
}

[data-theme="dark"] .mp-footer .footer-brand {
    color: var(--mp-text);
}

[data-theme="dark"] .mp-footer .mp-footer-tagline {
    color: var(--mp-muted);
}

[data-theme="dark"] .mp-footer .mp-footer-group-title {
    color: var(--mp-text);
}

[data-theme="dark"] .mp-footer .footer-nav a {
    color: var(--mp-muted);
}
[data-theme="dark"] .mp-footer .footer-nav a:hover {
    color: #818CF8;
}
[data-theme="dark"] .mp-footer .footer-nav a:focus-visible {
    outline-color: #818CF8;
}

[data-theme="dark"] .mp-footer .footer-social a {
    background: var(--mp-surface-2);
    border-color: var(--mp-border);
    color: var(--mp-muted);
}
[data-theme="dark"] .mp-footer .footer-social a:hover {
    background: #818CF8;
    border-color: #818CF8;
    color: #0F172A;
}

[data-theme="dark"] .mp-footer .footer-bottom p {
    color: var(--mp-muted);
}

/* ════════════════════════════════════════
   .mp-footer — RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 1024px) {
    .mp-footer .footer-nav {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .mp-footer.footer {
        padding: 40px 0 24px;
    }
    .mp-footer .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        padding-bottom: 24px;
    }
    .mp-footer .mp-footer-left {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mp-footer .mp-footer-right {
        justify-content: center;
    }
    .mp-footer .footer-nav {
        gap: 32px;
        justify-content: center;
    }
    .mp-footer .mp-footer-group {
        align-items: center;
        min-width: 80px;
    }
    .mp-footer .mp-footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
