/* ============================================================
   pricing.css — Pricing page styles for MapOutcomes
   ============================================================ */

/* ---- Reset section defaults (match home.css pattern) ---- */
section.pricing-hero,
section.pricing-section {
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
    animation: none;
    padding: clamp(60px, 8vh, 100px) 0 clamp(48px, 6vh, 72px);
}

/* Grid overlay — light lines on dark, dark lines on light */
section.pricing-hero::before,
section.pricing-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(255,255,255,0.02) 44px, rgba(255,255,255,0.02) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,0.02) 44px, rgba(255,255,255,0.02) 45px);
    background-size: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Light sections — dark grid lines */
section.pricing-tiers-section::before,
section.pricing-faq::before {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(0,0,0,0.02) 44px, rgba(0,0,0,0.02) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(0,0,0,0.02) 44px, rgba(0,0,0,0.02) 45px);
}

/* ROI section gets light grid lines on white background */
.roi-calculator-section::before {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(0,0,0,0.015) 44px, rgba(0,0,0,0.015) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(0,0,0,0.015) 44px, rgba(0,0,0,0.015) 45px);
}

/* Section backgrounds */
section.pricing-hero      { position: relative; background: linear-gradient(135deg, #0A7A8C 0%, #2D5F3F 100%); padding: 0; }
section.pricing-tiers-section { position: relative; background: #F4F1E8; }
section.pricing-partner   { position: relative; background: #1a2a30; }
section.pricing-faq       { position: relative; background: #ffffff; }
section.pricing-cta       { position: relative; background: linear-gradient(135deg, #0A7A8C 0%, #2D5F3F 100%); overflow: hidden; }

/* ROI Calculator section - white background (distinct from tiers) */
.roi-calculator-section {
    position: relative;
    background: #ffffff;
    padding-top: clamp(60px, 8vh, 100px);
    padding-bottom: clamp(48px, 6vh, 72px);
}

/* Override global h2 margin */
.pricing-section h2,
.pricing-hero h2 {
    margin-top: 0;
}

/* ============================================================
   SHARED
   ============================================================ */

/* Sections need relative positioning for scroll-hint arrows + min-height */
.pricing-section {
    min-height: calc(100vh - 71px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-margin-top: 71px;
}

/* CTA is short — center vertically */
.pricing-cta {
    justify-content: center;
}

.pricing-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    width: 100%;
}

/* ============================================================
   S1 — HERO
   ============================================================ */

.pricing-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated gradient mesh overlay for depth */
.pricing-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 166, 97, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(10, 122, 140, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(45, 95, 63, 0.07) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5, 15, 20, 0.15) 0%, rgba(5, 15, 20, 0.00) 45%, rgba(5, 15, 20, 0.30) 100%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
    animation: meshDrift 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes meshDrift {
    0%   { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%; }
    50%  { background-position: 100% 50%, 0% 100%, 100% 0%, 0% 0%; }
    100% { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%; }
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: clamp(80px, 12vh, 140px) 24px clamp(60px, 8vh, 100px);
    max-width: 780px;
    width: 100%;
}

/* Large compass behind hero text */
.pricing-compass-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.07;
    pointer-events: none;
}

.pricing-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: rgba(201, 166, 97, 0.95);
    margin-bottom: 16px;
}

.pricing-h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.pricing-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    opacity: 0.82;
    line-height: 1.72;
    margin: 0 auto;
    max-width: 580px;
}

/* ============================================================
   S2 — PRICING TIERS
   ============================================================ */

.pricing-tiers-section {
    padding-top: clamp(60px, 8vh, 100px);
    padding-bottom: clamp(48px, 6vh, 72px);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* --- Tier card base --- */
.tier-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E8EBED;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(44, 53, 57, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(44, 53, 57, 0.14);
}

/* --- Featured card (Standard) --- */
.tier-featured {
    border: 2px solid #0A7A8C;
    box-shadow: 0 8px 32px rgba(10, 122, 140, 0.18);
    transform: scale(1.03);
    z-index: 1;
}

.tier-featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 22px 56px rgba(10, 122, 140, 0.24);
}

.tier-badge {
    background: linear-gradient(135deg, #0A7A8C, #2D5F3F);
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
}

/* --- Tier header --- */
.tier-header {
    padding: 36px 32px 28px;
    border-bottom: 1px solid #F0EDEA;
}

.tier-name {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #0A7A8C;
    margin-bottom: 14px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: #2C3539;
    line-height: 1;
}

.price-amount {
    font-family: var(--font-display);
    font-size: clamp(34px, 3vw, 44px);
    font-weight: 800;
    color: #2C3539;
    line-height: 1;
    letter-spacing: -0.5px;
}

.price-custom {
    font-size: clamp(30px, 2.8vw, 40px);
    color: #0A7A8C;
}

.price-unit {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #8A969D;
    margin-left: 6px;
}

.tier-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: #5A6C75;
    line-height: 1.6;
    margin: 0;
}

/* --- Feature list --- */
.tier-features {
    list-style: none;
    padding: 28px 32px;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tier-features li {
    font-family: var(--font-body);
    font-size: 15px;
    color: #3D4F58;
    line-height: 1.5;
    padding-left: 26px;
    position: relative;
}

.tier-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230A7A8C' opacity='0.12'/%3E%3Cpolyline points='4.5 8 7 10.5 11.5 5.5' stroke='%230A7A8C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tier-features li strong {
    font-weight: 700;
    color: #2C3539;
}

/* --- Tier footer --- */
.tier-footer {
    padding: 24px 32px 32px;
    text-align: center;
}

.tier-cta {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border: 2px solid #0A7A8C;
    color: #0A7A8C;
    background: transparent;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
}

.tier-cta:hover {
    background: #0A7A8C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 122, 140, 0.30);
    text-decoration: none;
}

.tier-cta-featured {
    background: #C9A661;
    border-color: #C9A661;
    color: #fff;
    box-shadow: 0 4px 16px rgba(201, 166, 97, 0.35);
}

.tier-cta-featured:hover {
    background: #b8954e;
    border-color: #b8954e;
    color: #fff;
    box-shadow: 0 8px 28px rgba(201, 166, 97, 0.50);
}

.tier-best-for {
    display: block;
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #8A969D;
    font-style: italic;
}

/* --- Tiers note --- */
.tiers-note {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: #8A969D;
    margin-top: 40px;
    margin-bottom: 0;
}

/* ============================================================
   S3 — DESIGN PARTNER
   ============================================================ */

.pricing-partner {
    background: #1a2a30;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    background: linear-gradient(135deg, rgba(201, 166, 97, 0.06) 0%, rgba(10, 122, 140, 0.04) 100%);
    border: 1px solid rgba(201, 166, 97, 0.20);
    border-radius: 20px;
    padding: clamp(40px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(201, 166, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.partner-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.partner-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C9A661;
    background: rgba(201, 166, 97, 0.12);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.partner-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.15;
}

.partner-lead {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.6vw, 18px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.72;
    margin: 0 0 28px;
}

.partner-lead strong {
    color: #C9A661;
    font-weight: 700;
}

.partner-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.partner-perks li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.5;
}

.partner-perks li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.partner-exchange {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.65;
    margin: 0 0 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #C9A661;
    text-decoration: none;
    padding: 14px 36px;
    border: 2px solid rgba(201, 166, 97, 0.45);
    border-radius: 10px;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.partner-cta:hover {
    background: rgba(201, 166, 97, 0.12);
    border-color: #C9A661;
    color: #C9A661;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 166, 97, 0.20);
    text-decoration: none;
}

/* Partner accent — large 50% badge */
.partner-accent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 166, 97, 0.15) 0%, rgba(201, 166, 97, 0.05) 100%);
    border: 2px solid rgba(201, 166, 97, 0.25);
    position: relative;
    z-index: 1;
}

.partner-discount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: #C9A661;
    line-height: 1;
}

.partner-discount .pct {
    font-size: 32px;
    vertical-align: super;
}

.partner-off {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: rgba(201, 166, 97, 0.70);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ============================================================
   S4 — FAQ
   ============================================================ */

.pricing-faq {
    background: #ffffff;
}

.pricing-faq .section-header {
    text-align: center;
    margin-bottom: clamp(40px, 2vw, 70px);
}

.pricing-faq .section-eyebrow {
    color: #0A7A8C;
}

.pricing-faq .section-title {
    color: #2C3539;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid #E8EBED;
}

.faq-item:first-child {
    border-top: 1px solid #E8EBED;
}

.faq-q {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: #2C3539;
    padding: 22px 40px 22px 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.45;
    transition: color 0.2s ease;
}

/* Remove default marker */
.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::marker {
    display: none;
    content: '';
}

/* Custom chevron */
.faq-q::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8A969D;
    border-bottom: 2px solid #8A969D;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] .faq-q::after {
    transform: translateY(-35%) rotate(-135deg);
    border-color: #0A7A8C;
}

.faq-q:hover {
    color: #0A7A8C;
}

.faq-a {
    padding: 0 0 24px;
}

.faq-a p {
    font-family: var(--font-body);
    font-size: 15.5px;
    color: #5A6C75;
    line-height: 1.72;
    margin: 0;
}

.faq-a a {
    color: #0A7A8C;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(10, 122, 140, 0.25);
    transition: border-color 0.2s ease;
}

.faq-a a:hover {
    border-bottom-color: #0A7A8C;
}

/* ============================================================
   S5 — CTA
   ============================================================ */

.pricing-cta {
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-cta .section-header {
    text-align: center;
    margin-bottom: clamp(32px, 2vw, 50px);
}

.pricing-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CTA BUTTONS (matching home hero buttons)
   ============================================================ */

.btn-hero-primary {
    background: #C9A661;
    color: #fff;
    padding: 16px 44px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 20px rgba(201, 166, 97, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-hero-primary:hover {
    background: #b8954e;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(201, 166, 97, 0.55);
    color: #fff;
    text-decoration: none;
}

.btn-hero-ghost {
    background: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.60);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   SCROLL HINTS (down arrows between sections)
   ============================================================ */

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2.4s ease-in-out infinite;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-hint:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.scroll-hint--on-light {
    color: rgba(10, 122, 140, 0.6);
}
.scroll-hint--on-light .scroll-arrow {
    border-right-color: rgba(10, 122, 140, 0.6);
    border-bottom-color: rgba(10, 122, 140, 0.6);
}
.scroll-hint--on-light:hover {
    color: rgba(10, 122, 140, 1);
    text-decoration: none;
}
.scroll-hint--on-light:hover .scroll-arrow {
    border-right-color: rgba(10, 122, 140, 1);
    border-bottom-color: rgba(10, 122, 140, 1);
}

.scroll-arrow {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.65);
    border-bottom: 2px solid rgba(255, 255, 255, 0.65);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
    50%       { transform: translateX(-50%) translateY(9px); opacity: 1; }
}

/* ============================================================
   SCROLL ANIMATIONS (mirrors home.css)
   ============================================================ */

.pricing-hero .fade-up,
.pricing-section .fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.pricing-hero .fade-up.visible,
.pricing-section .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-section .fade-up:nth-child(2) { transition-delay: 0.08s; }
.pricing-section .fade-up:nth-child(3) { transition-delay: 0.16s; }
.pricing-section .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .tier-featured {
        transform: none;
    }

    .tier-featured:hover {
        transform: translateY(-6px);
    }

    .partner-card {
        flex-direction: column;
        text-align: center;
    }

    .partner-perks li {
        justify-content: center;
    }

    .partner-cta {
        display: block;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .pricing-hero-content {
        padding: 60px 20px 48px;
    }

    .tier-header {
        padding: 28px 24px 22px;
    }

    .tier-features {
        padding: 22px 24px;
    }

    .tier-footer {
        padding: 20px 24px 28px;
    }

    .partner-card {
        padding: 32px 24px;
    }

    .partner-accent {
        width: 140px;
        height: 140px;
    }

    .partner-discount {
        font-size: 44px;
    }

    .partner-discount .pct {
        font-size: 26px;
    }

    .faq-q {
        font-size: 16px;
        padding-right: 32px;
    }

    .pricing-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-cta .btn-hero-primary,
    .pricing-cta .btn-hero-ghost {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* ============================================================
   ROI CALCULATOR ENHANCEMENTS
   ============================================================ */

/* Section header typography */
.roi-calculator-section .section-header {
    text-align: center;
    margin-bottom: clamp(40px, 2vw, 70px);
}

.roi-calculator-section .section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #0A7A8C;
    margin-bottom: 16px;
}

.roi-calculator-section .section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.8vw, 50px);
    font-weight: 800;
    line-height: 1.10;
    letter-spacing: -0.3px;
    color: #2C3539;
    margin: 0 0 18px;
}

.roi-calculator-section .section-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 400;
    color: #5A6C75;
    line-height: 1.72;
    max-width: 620px;
    margin: 0 auto;
}

/* Calculator card - stronger shadow on white background */
.roi-calculator-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E8EBED;
    box-shadow: 0 16px 48px rgba(44, 53, 57, 0.12);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Enhanced panel titles */
.roi-panel-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #2C3539;
    margin: 0 0 28px;
    letter-spacing: -0.2px;
}

/* Input labels */
.roi-input-group label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #2C3539;
    margin-bottom: 10px;
    letter-spacing: 0.1px;
}

/* Hint text */
.roi-hint {
    font-family: var(--font-body);
    font-size: 14px;
    color: #5A6C75;
    margin-top: 8px;
    line-height: 1.5;
}

.roi-hint-muted {
    color: #8A969D;
}

/* Comparison section */
.roi-comparison h3,
.roi-comparison h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0A7A8C;
    margin: 0 0 14px;
}

.roi-comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #F0EDEA;
    font-family: var(--font-body);
    font-size: 16px;
    color: #2C3539;
}

.roi-comparison-label {
    color: #5A6C75;
}

.roi-comparison-value {
    font-weight: 700;
    color: #2C3539;
    font-variant-numeric: tabular-nums;
}

.roi-comparison-value.roi-highlight {
    color: #2D5F3F;
    font-size: 17px;
}

/* Break-even pill */
.roi-break-even {
    background: rgba(10, 122, 140, 0.08);
    border: 1px solid rgba(10, 122, 140, 0.18);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.roi-break-even-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0A7A8C;
    margin-bottom: 6px;
    opacity: 0.85;
}

.roi-break-even-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #0A7A8C;
    letter-spacing: -0.3px;
}

/* ROI disclaimer */
.roi-disclaimer {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: #8A969D;
    margin: 32px auto 0;
    max-width: 720px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ============================================================
   ROI RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
    .roi-calculator-body {
        grid-template-columns: 1fr;
    }

    .roi-inputs {
        border-right: none;
        border-bottom: 1px solid #F0EDEA;
    }
}

@media (max-width: 640px) {
    .roi-hero-content {
        padding: 60px 20px 48px;
    }

    .roi-inputs,
    .roi-output {
        padding: 24px 22px;
    }

    .roi-savings {
        font-size: 38px;
    }

    .roi-comparison {
        padding: 18px 18px;
    }

    .roi-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .roi-cta .btn-hero-primary,
    .roi-cta .btn-hero-ghost {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}
