/* ============================
   PRICING PAGE BACKGROUND
   ============================ */

/* Body needs relative positioning so the bg div stretches to full content height */
body.pricing-body-bg {
    position: relative;
}

/* Full-page background image — scrolls with the page */
.pricing-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/pricing/pricing-section-background.png');
    background-position: center top;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Subtle white overlay (20%) */
.pricing-bg-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.50);
    pointer-events: none;
}

/* Ensure all page content sits above the overlay */
body.pricing-body-bg .subpage,
body.pricing-body-bg .site-footer {
    position: relative;
    z-index: 1;
}

/* Make ALL sections transparent so the background shows through */
body.pricing-body-bg .s-light,
body.pricing-body-bg .subpage-hero,
body.pricing-body-bg .sub-section-full,
body.pricing-body-bg .section-pricing,
body.pricing-body-bg .pricing-explainer,
body.pricing-body-bg .pricing-hero,
body.pricing-body-bg main,
body.pricing-body-bg header {
    background: transparent !important;
    background-color: transparent !important;
}

/* ============================
   PRICING CONFIGURATOR
   ============================ */

.section-pricing {
    padding: var(--section-pad) 24px;
    position: relative;
    overflow: visible;
}

.pricing-inner {
    max-width: var(--container);
    margin: 0 auto;
}

/* ── How Pricing Works section ── */
.pricing-explainer {
    padding: 0 24px 100px;
}

.pricing-explainer-inner {
    max-width: 75vw;
    margin: 0 auto;
    text-align: center;
}

.pricing-explainer-inner .eyebrow {
    margin-bottom: 28px;
    display: inline-block;
}

.pricing-explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
}

.explainer-card {
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius-lg);
    padding: 24px 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: box-shadow .4s var(--ease), transform .35s var(--ease), border-color .4s var(--ease);
    will-change: transform;
}

.explainer-card:hover {
    box-shadow: 0 8px 32px rgba(79, 110, 247, .12), 0 2px 8px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
    border-color: rgba(79, 110, 247, .15);
}

.explainer-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 110, 247, .12), rgba(79, 110, 247, .06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 14px;
    transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}

.explainer-card:hover .explainer-icon {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(79, 110, 247, .18), rgba(79, 110, 247, .10));
    box-shadow: 0 4px 12px rgba(79, 110, 247, .15);
}

.explainer-card h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.explainer-card p {
    font-size: .84rem;
    line-height: 1.55;
    color: #111122;
    margin: 0;
}

@media (max-width: 640px) {
    .pricing-explainer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Hero override for pricing ── */
.pricing-hero {
    max-width: 100vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-hero h1 {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    white-space: nowrap;
}

.pricing-hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #080812 !important;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

/* ── Use-Case Tabs ── */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.pricing-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: all .35s var(--ease);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.pricing-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(79, 110, 247, .08), transparent 70%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.pricing-tab:hover::before {
    opacity: 1;
}

.pricing-tab:hover {
    border-color: rgba(79, 110, 247, .2);
    background: rgba(255, 255, 255, .7);
    transform: translateY(-2px);
}

.pricing-tab:active {
    transform: translateY(0) scale(.97);
    transition-duration: .1s;
}

.pricing-tab.active {
    border-color: var(--accent);
    background: rgba(79, 110, 247, .06);
    box-shadow: 0 4px 20px rgba(79, 110, 247, .12), 0 0 0 1px rgba(79, 110, 247, .08);
}

.pricing-tab.active::before {
    opacity: 1;
    background: radial-gradient(circle at 50% 50%, rgba(79, 110, 247, .12), transparent 70%);
}

.pricing-tab-icon {
    line-height: 1;
    color: #111122;
    transition: color .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-tab-icon svg {
    width: 24px;
    height: 24px;
    transition: stroke .3s var(--ease), transform .35s var(--ease-bounce);
}

.pricing-tab:hover .pricing-tab-icon svg {
    transform: scale(1.1);
    stroke: var(--accent);
}

.pricing-tab.active .pricing-tab-icon svg {
    stroke: var(--accent);
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(79, 110, 247, .3));
}

.pricing-tab-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    transition: color .3s var(--ease);
}

.pricing-tab-est {
    font-size: .72rem;
    color: #111122;
    font-weight: 500;
}

.pricing-tab.active .pricing-tab-name {
    color: var(--accent);
}

/* ── Main Layout ── */
.pricing-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* ── Configurator Panel ── */
.pricing-configurator {
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 36px;
    position: relative;
    min-height: 300px;
}

/* Config Panel (per-tier) */
.config-panel {
    transition: opacity .3s ease, transform .3s ease;
}

.config-panel-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.config-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.config-panel-title svg {
    color: var(--accent);
    flex-shrink: 0;
}

.config-panel-desc {
    font-size: .82rem;
    color: #111122;
    line-height: 1.5;
}

.config-section {
    margin-bottom: 28px;
}

.config-section:last-child {
    margin-bottom: 0;
}

.config-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #111122;
    margin-bottom: 12px;
}

.config-label-value {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
}

.config-label-hint {
    font-size: .68rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #1a1a2e;
    font-style: italic;
}

/* Fixed Model (Companion) */
.config-model-fixed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, .02);
    border: 1.5px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-md);
}

.config-model-fixed-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    flex-shrink: 0;
}

.config-model-fixed-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
}

.config-model-fixed-desc {
    font-size: .75rem;
    color: #111122;
    margin-top: 1px;
}

/* Model Dropdown */
.config-select-wrap {
    position: relative;
}

.config-select-wrap::after {
    content: '▾';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: .8rem;
    pointer-events: none;
}

.config-select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    font-family: var(--ff);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, .7);
    border: 1.5px solid rgba(0, 0, 0, .08);
    border-radius: var(--radius-md);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .25s var(--ease);
}

.config-select:focus {
    outline: none;
    border-color: var(--accent);
}

.config-select option {
    font-family: var(--ff);
}

/* Model Info */
.model-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(79, 110, 247, .04);
    font-size: .75rem;
    color: #111122;
    line-height: 1.4;
}

.model-info-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Info Row (Employee → Bot mapping) */
.config-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: rgba(79, 110, 247, .04);
    font-size: .75rem;
    color: #111122;
    line-height: 1.4;
}

.config-info-row svg {
    color: var(--accent);
    flex-shrink: 0;
}

.config-info-row strong {
    color: var(--accent);
}

/* Range Slider */
.config-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .06);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.config-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(79, 110, 247, .35);
    cursor: grab;
    transition: transform .2s var(--ease);
}

.config-range::-webkit-slider-thumb:active {
    transform: scale(1.15);
    cursor: grabbing;
}

.config-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 2px 8px rgba(79, 110, 247, .35);
    cursor: grab;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: .7rem;
    color: #1a1a2e;
}

.range-usage-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 10px;
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    background: rgba(79, 110, 247, .05);
    border-left: 2px solid rgba(79, 110, 247, .35);
    font-size: .76rem;
    color: #2a2a45;
    line-height: 1.5;
    font-style: italic;
}

.range-usage-hint svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: var(--accent);
    opacity: .85;
}

/* Integration description text */
.skill-toggle-desc {
    font-size: .68rem;
    color: #111122;
    line-height: 1.3;
    margin-top: 1px;
}

.skill-toggle-icon svg {
    width: 16px;
    height: 16px;
}

/* Integration badges – orange to distinguish from skill multipliers */
.integration-icon {
    background: rgba(245, 158, 11, .08) !important;
    color: #D97706 !important;
}

.integration-cost-badge {
    font-family: var(--ff-mono);
    font-size: .65rem;
    font-weight: 500;
    color: #D97706;
    background: rgba(245, 158, 11, .08);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* ── Topic Selector (Companion) ── */
.topic-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.companion-topic-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .6);
    border: 1.5px solid rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: all .25s var(--ease);
    text-align: left;
    font-family: var(--ff);
}

.companion-topic-btn:hover {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(0, 0, 0, .1);
    transform: translateY(-1px);
}

.companion-topic-btn.active {
    background: rgba(79, 110, 247, .06);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .08);
}

.topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    flex-shrink: 0;
    transition: all .3s var(--ease);
}

.companion-topic-btn:hover .topic-icon {
    background: rgba(79, 110, 247, .14);
    transform: scale(1.08);
}

.companion-topic-btn.active .topic-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 110, 247, .25);
}

.topic-name {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
}

.topic-desc {
    font-size: .72rem;
    color: #111122;
    line-height: 1.3;
}

/* ── Category Selector (Personal) ── */
.category-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.personal-category-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .6);
    border: 1.5px solid rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: all .25s var(--ease);
    text-align: left;
    font-family: var(--ff);
}

.personal-category-btn:hover {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(0, 0, 0, .1);
    transform: translateY(-1px);
}



/* ── Skill Toggle Items ── */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.skill-toggle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(0, 0, 0, .05);
    transition: all .3s var(--ease);
    cursor: pointer;
}

.skill-toggle-item:hover {
    background: rgba(255, 255, 255, .7);
    border-color: rgba(0, 0, 0, .1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

.skill-toggle-item:active {
    transform: translateY(0) scale(.98);
}

.skill-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    flex-shrink: 0;
    transition: all .3s var(--ease);
}

.skill-toggle-item:hover .skill-toggle-icon {
    background: rgba(79, 110, 247, .14);
    transform: scale(1.05);
}

.skill-toggle-name {
    flex: 1;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.skill-mult-badge {
    font-size: .65rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(79, 110, 247, .07);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all .25s var(--ease);
}

.skill-toggle-item:hover .skill-mult-badge {
    background: rgba(79, 110, 247, .12);
}

/* Integration-specific orange badge */
.integration-toggle-item .skill-mult-badge {
    color: #d97706;
    background: rgba(245, 158, 11, .08);
}

.integration-toggle-item .skill-toggle-icon {
    background: rgba(0, 0, 0, .03);
    color: #d97706;
}

.integration-toggle-item .skill-toggle-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.integration-toggle-item:hover .skill-toggle-icon {
    background: rgba(0, 0, 0, .06);
}

/* Integration items: align toggle to top so it doesn't drift down on tall items */
.integration-toggle-item {
    align-items: flex-start !important;
}

.integration-toggle-item .skill-toggle-icon {
    margin-top: 2px;
}

.integration-toggle-item .pricing-toggle {
    margin-top: 4px;
    align-self: flex-start !important;
}

.integration-toggle-item .integration-cost-badge {
    margin-top: 4px;
    align-self: flex-start !important;
}

/* ── Glassmorphism Toggle Switch ── */
.pricing-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    align-self: center;
}

.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.pricing-toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, .15) 100%);
    backdrop-filter: blur(12px) saturate(1.6);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .4), 0 1px 3px rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, .0, .2, 1);
}

.pricing-toggle-slider::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff 0%, #f0f0f5 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 0 rgba(79, 110, 247, 0);
    transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
}

.pricing-toggle:hover .pricing-toggle-slider {
    background: linear-gradient(135deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .25) 100%);
    border-color: rgba(79, 110, 247, .2);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .4), 0 0 0 4px rgba(79, 110, 247, .06), 0 2px 8px rgba(0, 0, 0, .06);
}

.pricing-toggle:hover .pricing-toggle-slider::before {
    transform: translateY(-50%) scale(1.05);
}

.pricing-toggle input:checked+.pricing-toggle-slider {
    background: linear-gradient(135deg, rgba(79, 110, 247, .85) 0%, rgba(99, 130, 255, .95) 100%);
    border-color: rgba(79, 110, 247, .4);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .15), 0 0 16px rgba(79, 110, 247, .25), 0 4px 12px rgba(79, 110, 247, .15);
}

.pricing-toggle input:checked+.pricing-toggle-slider::before {
    transform: translateX(20px) translateY(-50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 8px rgba(79, 110, 247, .2);
}

.pricing-toggle:active .pricing-toggle-slider::before {
    width: 24px;
    border-radius: 10px;
}

.pricing-toggle input:checked:active+.pricing-toggle-slider::before {
    width: 24px;
    border-radius: 10px;
    transform: translateX(16px) translateY(-50%);
}

/* ── Premium Range Slider ── */
.config-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(79, 110, 247, .12);
    outline: none;
    cursor: pointer;
    transition: all .25s var(--ease);
    margin: 8px 0;
    position: relative;
}

.config-range:hover {
    background: rgba(79, 110, 247, .2);
}

.config-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff 0%, #e8e8f0 100%);
    border: 2.5px solid var(--accent);
    box-shadow: 0 2px 8px rgba(79, 110, 247, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
    cursor: grab;
    transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
}

.config-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 14px rgba(79, 110, 247, .35), 0 0 0 5px rgba(79, 110, 247, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.config-range::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 2px 18px rgba(79, 110, 247, .45), 0 0 0 7px rgba(79, 110, 247, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.config-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff 0%, #e8e8f0 100%);
    border: 2.5px solid var(--accent);
    box-shadow: 0 2px 8px rgba(79, 110, 247, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
    cursor: grab;
    transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
}

.config-range::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 14px rgba(79, 110, 247, .35), 0 0 0 5px rgba(79, 110, 247, .1);
}

.config-range::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: rgba(79, 110, 247, .12);
}

/* ── Config Select (Dropdown) ── */
.config-select-wrap {
    position: relative;
}

.config-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(0, 0, 0, .08);
    font-family: var(--ff);
    font-size: .82rem;
    color: var(--text);
    cursor: pointer;
    transition: all .25s var(--ease);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.config-select:hover {
    border-color: rgba(79, 110, 247, .3);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .06);
}

.config-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .1);
}

/* ── Config Model Fixed ── */
.config-model-fixed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(0, 0, 0, .05);
    transition: all .25s var(--ease);
}

.config-model-fixed-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    flex-shrink: 0;
}

.config-model-fixed-name {
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
}

.config-model-fixed-desc {
    font-size: .72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ── Enhanced Category/Topic buttons ── */
.companion-topic-btn:active,
.personal-category-btn:active {
    transform: scale(.97);
    transition-duration: .1s;
}

.companion-topic-btn.active {
    background: rgba(79, 110, 247, .06);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .08), 0 4px 12px rgba(79, 110, 247, .06);
}

.personal-category-btn.active {
    background: rgba(79, 110, 247, .06);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .08), 0 4px 12px rgba(79, 110, 247, .06);
}

/* Category icon fully rounded */
.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    transition: all .3s var(--ease);
}

.personal-category-btn:hover .category-icon {
    background: rgba(79, 110, 247, .14);
    transform: scale(1.08);
}

.personal-category-btn.active .category-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 110, 247, .25);
}

/* ── Config labels & info ── */
.config-section {
    margin-bottom: 20px;
}

.config-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text);
    margin-bottom: 10px;
}

.config-label-hint {
    font-weight: 500;
    font-size: .68rem;
    color: #1a1a2e;
    text-transform: none;
    letter-spacing: 0;
}

.config-label-value {
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: .68rem;
    color: #1a1a2e;
    margin-top: 4px;
}

.model-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    color: #111122;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: rgba(79, 110, 247, .03);
    transition: all .25s var(--ease);
}

.model-info-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(79, 110, 247, .3);
    }

    50% {
        opacity: .7;
        box-shadow: 0 0 0 4px rgba(79, 110, 247, 0);
    }
}

.config-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    color: #111122;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, .02);
}

/* ── Config Panel ── */
.config-panel-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.config-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.config-panel-desc {
    font-size: .82rem;
    color: #111122;
    line-height: 1.5;
}

/* ── Pricing Tab hover/click animations ── */
.pricing-tab:active {
    transform: scale(.96);
    transition-duration: .1s;
}

.pricing-tab.active {
    background: rgba(255, 255, 255, .85);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .08), 0 8px 24px rgba(79, 110, 247, .08);
}

/* ── Pricing Body Layout ── */
.pricing-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.pricing-configurator {
    flex: 1;
    min-width: 0;
}

/* ── Estimate Panel ── */
.pricing-estimate {
    position: sticky;
    top: 100px;
    width: 340px;
    min-width: 340px;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    text-align: center;
    align-self: flex-start;
    transition: box-shadow .4s var(--ease), transform .5s cubic-bezier(.25, .46, .45, .94);
    will-change: transform;
}

.estimate-eyebrow {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #111122;
    margin-bottom: 8px;
}

.estimate-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.estimate-price .estimate-currency {
    font-size: 1.4rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
}

.estimate-price .estimate-period {
    font-size: .9rem;
    font-weight: 500;
    color: #1a1a2e;
}

.estimate-sub {
    font-size: .78rem;
    color: #111122;
    margin-bottom: 24px;
    line-height: 1.4;
}

.estimate-sub-caveat {
    color: var(--accent);
    font-weight: 500;
    opacity: .8;
}

/* Breakdown */
.estimate-breakdown {
    text-align: left;
    margin-bottom: 24px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: .78rem;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.estimate-row:last-child {
    border-bottom: none;
}

.estimate-row-label {
    color: #111122;
}

.estimate-row-value {
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.estimate-row-muted .estimate-row-label,
.estimate-row-muted .estimate-row-value {
    color: #3a3a5a;
    font-weight: 500;
    font-style: italic;
    font-size: .74rem;
}

/* Hint */
.estimate-hint {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .75rem;
    line-height: 1.5;
    text-align: left;
    transition: all .35s var(--ease);
}

.estimate-hint.hint-companion {
    background: rgba(34, 197, 94, .06);
    border: 1px solid rgba(34, 197, 94, .15);
    color: #166534;
}

.estimate-hint.hint-personal {
    background: rgba(79, 110, 247, .05);
    border: 1px solid rgba(79, 110, 247, .12);
    color: var(--accent);
}

.estimate-hint.hint-business {
    background: rgba(245, 158, 11, .06);
    border: 1px solid rgba(245, 158, 11, .15);
    color: #92400E;
}

.estimate-hint-icon {
    margin-right: 4px;
}

.estimate-cta-wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.estimate-cta {
    width: 100%;
    padding: 14px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: .88rem;
    transition: all .3s var(--ease);
}

.estimate-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79, 110, 247, .25);
}

.estimate-cta:active {
    transform: scale(.97);
}

.estimate-cta-or {
    font-size: .78rem;
    color: #1a1a2e;
}

.estimate-cta-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.estimate-cta-link:hover {
    color: var(--accent-dark, #3b5de7);
    text-decoration: underline;
}

/* ── Highlight Chips ── */
.pricing-highlights {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pricing-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, .05);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.pricing-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(79, 110, 247, .06), transparent 60%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.pricing-chip:hover::before {
    opacity: 1;
}

.pricing-chip:hover {
    border-color: rgba(79, 110, 247, .15);
    box-shadow: 0 4px 20px rgba(79, 110, 247, .1);
    transform: translateY(-3px);
}

.pricing-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(79, 110, 247, .08);
    color: var(--accent);
    flex-shrink: 0;
    transition: all .35s var(--ease);
}

.pricing-chip-icon svg {
    width: 20px;
    height: 20px;
    transition: transform .35s var(--ease-bounce);
}

.pricing-chip:hover .pricing-chip-icon {
    background: rgba(79, 110, 247, .12);
    box-shadow: 0 0 12px rgba(79, 110, 247, .15);
}

.pricing-chip:hover .pricing-chip-icon svg {
    transform: scale(1.12) rotate(-3deg);
}

.pricing-chip-text {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
}

.pricing-chip-sub {
    font-size: .72rem;
    color: #111122;
    display: block;
    margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .pricing-body {
        flex-direction: column;
    }

    .pricing-estimate {
        position: static;
        width: 100%;
        min-width: 0;
    }

    .pricing-hero h1 {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .pricing-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-tab {
        flex-direction: row;
        gap: 12px;
        min-width: 0;
        padding: 14px 20px;
    }

    .pricing-tab-meta {
        text-align: left;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .pricing-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-configurator {
        padding: 24px 20px;
    }

    .pricing-estimate {
        padding: 24px 20px;
    }

    .estimate-price {
        font-size: 2.4rem;
    }
}

/* ── Skill Pills ── */
.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 32px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(59, 100, 246, 0.14);
    border: 1px solid rgba(59, 100, 246, 0.30);
    color: #1a1a2e;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: background 0.4s ease, border-color 0.4s ease, opacity 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    user-select: none;
    will-change: transform;
    position: relative;
    line-height: 1;
}

/* Animated strikethrough line (pseudo-element) */
.skill-pill::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 1.5px;
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 1px;
}

.skill-pill-disabled::after {
    transform: translateY(-50%) scaleX(1);
}

.skill-pill-disabled {
    opacity: 0.35;
    background: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .4);
}

.skill-pill-disabled svg {
    opacity: 0.25;
    transition: opacity 0.4s ease;
}

/* Disabled pills stay gray even on hover */
.skill-pill-disabled:hover {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .10);
}

/* Active pill hover */
.skill-pill:not(.skill-pill-disabled):hover {
    background: rgba(59, 100, 246, 0.22);
    border-color: rgba(59, 100, 246, 0.40);
    box-shadow: 0 2px 8px rgba(59, 100, 246, 0.15);
}

.skill-pill svg {
    width: 14px;
    height: 14px;
    opacity: 0.85;
    flex-shrink: 0;
    color: #3b64f6;
    vertical-align: middle;
}