/* ══════════════════════════════════════════
   PRICING CALCULATOR — scoped styles
══════════════════════════════════════════ */
.nxc-calc-section {
    padding: var(--section-pad) 0;
}
.nxc-calc-card {
    --navy: #2563eb;
    --bg-mid: #e4e4e7;
    max-width: 1500px;
    margin: 0 auto;
    background: linear-gradient(155deg, #ffffff 0%, #f6f6f8 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    padding: 44px 48px 40px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 30px 60px -32px rgba(15, 23, 42, 0.25);
}
.nxc-calc-header {
    text-align: center;
    margin-bottom: 28px;
}
.nxc-calc-header .section-title {
    margin: 8px 0 6px;
}
.nxc-calc-header .section-sub {
    color: var(--text-muted);
    font-size: 15px;
}

/* ---------- Plan tabs ---------- */
.nxc-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: #f0f0f2;
    border-radius: 999px;
    padding: 6px;
    max-width: 420px;
    margin: 0 auto 24px;
}
.nxc-tab {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nxc-tab.active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.18);
}

/* ---------- Plan banner ---------- */
.nxc-banner {
    text-align: center;
    padding: 18px 20px;
    background: color-mix(in srgb, var(--navy) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--navy) 16%, transparent);
    border-radius: 16px;
    margin-bottom: 28px;
}
.nxc-banner-plan {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 4px;
}
.nxc-banner-details {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nxc-banner-details strong {
    color: var(--text);
}
.nxc-banner-sep {
    opacity: 0.5;
}

/* ---------- Controls ---------- */
.nxc-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.nxc-field-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}
.nxc-field-label span:first-child {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.nxc-field-val {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.nxc-range-track {
    margin-bottom: 8px;
}
.nxc-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: var(--bg-mid);
    outline: none;
    cursor: pointer;
}
.nxc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--navy);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.nxc-range::-webkit-slider-thumb:hover {
    transform: scale(1.12);
}
.nxc-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--navy);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.nxc-range::-moz-range-thumb:hover {
    transform: scale(1.12);
}
.nxc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}
.nxc-min-note {
    font-size: 12px;
    color: var(--navy);
    font-weight: 600;
    margin-top: 10px;
}

/* ---------- Results ---------- */
.nxc-results {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: stretch;
}
.nxc-result {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 20px;
    border-radius: 18px;
    background: #f6f6f8;
    border: 1px solid rgba(15, 23, 42, 0.05);
}
.nxc-result.highlight {
    background: linear-gradient(155deg, color-mix(in srgb, var(--navy) 10%, #fff) 0%, color-mix(in srgb, var(--navy) 4%, #fff) 100%);
    border: 1px solid color-mix(in srgb, var(--navy) 25%, transparent);
    box-shadow: 0 16px 32px -20px rgba(37, 99, 235, 0.35);
}
.nxc-result-top {
    margin-bottom: 16px;
}
.nxc-result-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.nxc-result-label.is-neuvex {
    color: var(--navy);
}
.nxc-result-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy);
    flex-shrink: 0;
}
.nxc-result-amount {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ---------- Bottom line: wording left, chip right ---------- */
.nxc-result-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.nxc-result-breakdown,
.nxc-result-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 0;
}

/* ---------- Inclusive / extras chip — soft badge style, matches feature-card tags ---------- */
.nxc-chip {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.nxc-chip-good {
    background: color-mix(in srgb, #17a06a 12%, #fff);
    color: #0d6b46;
    border: 1px solid color-mix(in srgb, #17a06a 28%, transparent);
}
.nxc-chip-warn {
    background: color-mix(in srgb, #d97706 12%, #fff);
    color: #b45309;
    border: 1px solid color-mix(in srgb, #d97706 28%, transparent);
}

/* ---------- Saving strip ---------- */
.nxc-saving-strip {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #e4f8ee;
    border: 1px solid #b8ecd0;
}
.nxc-saving-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #17a06a;
    color: #fff;
}
.nxc-saving-icon svg {
    width: 17px;
    height: 17px;
}
.nxc-saving-strip p {
    font-size: 14px;
    color: #0d6b46;
    line-height: 1.5;
    margin: 0;
}
.nxc-saving-strip p span {
    font-weight: 800;
    color: #0a5636;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nxc-calc-card {
        padding: 32px 22px 30px;
        border-radius: 22px;
    }
    .nxc-controls {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .nxc-results {
        grid-template-columns: 1fr;
    }
    .nxc-tabs {
        max-width: 100%;
    }
}