/**
 * Pricing Page Styles
 *
 * @package SunnyHQ
 */

/* ═══ PRICING HERO — compact ═══ */
.pricing-hero {
    background: var(--navy);
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Logo construction arc geometry */
.pricing-hero-arcs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.pricing-hero .container {
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-hero h1 em {
    font-style: italic;
    color: var(--coral);
}

.pricing-hero > .container > p {
    font-size: 1.2rem;
    color: var(--navy-50);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ═══ BILLING TOGGLE — separate section above cards ═══ */
.billing-section {
    background: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--navy-05);
    padding: .625rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

.billing-label {
    font-family: var(--font-ui);
    font-size: .9rem;
    font-weight: 500;
    color: var(--navy-50);
    cursor: pointer;
    transition: color .2s;
}

.billing-label.active {
    color: var(--navy);
    font-weight: 600;
}

.toggle-track {
    width: 52px;
    height: 28px;
    background: var(--gray-300);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background .3s;
}

.toggle-track.annual {
    background: var(--coral);
}

.toggle-dot {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform .3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.toggle-track.annual .toggle-dot {
    transform: translateX(24px);
}

.billing-save {
    font-family: var(--font-ui);
    font-size: .75rem;
    font-weight: 600;
    color: var(--coral);
    background: var(--coral-bg);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ═══ PLAN CARDS — enhanced with more personality ═══ */
.plans-section {
    padding: 2rem 0 var(--section-pad);
    background: var(--white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.plan {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0;
    text-align: center;
    position: relative;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    background: var(--white);
    overflow: hidden;
}

/* Accent arc inside each card — subtle brand echo */
.plan::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 30px solid rgba(2, 0, 81, .02);
    transition: all .4s ease;
    pointer-events: none;
}

.plan:hover {
    border-color: var(--coral);
    box-shadow: 0 16px 56px rgba(255, 96, 72, .1);
    transform: translateY(-6px);
}

.plan:hover::before {
    border-color: rgba(255, 96, 72, .06);
}

.plan-inner {
    padding: 2.5rem 1.75rem;
}

.plan-featured {
    border-color: var(--coral);
    box-shadow: 0 0 0 1px var(--coral), 0 8px 32px rgba(255, 96, 72, .08);
}

.plan-featured::before {
    border-color: rgba(255, 96, 72, .04);
}

.plan-featured:hover {
    box-shadow: 0 0 0 1px var(--coral), 0 16px 56px rgba(255, 96, 72, .15);
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--coral);
    color: #fff;
    font-family: var(--font-ui);
    font-size: .7rem;
    font-weight: 700;
    padding: 6px 14px;
    text-align: center;
    letter-spacing: .05em;
}

.plan-featured .plan-inner {
    padding-top: 3.5rem;
}

.plan-name {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--navy-50);
    margin-bottom: .75rem;
}

.plan-price {
    font-family: var(--font-ui);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .35rem;
    color: var(--navy);
}

.plan-price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.plan-annual {
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: .25rem;
    min-height: 1.2em;
}

.plan-annual strong {
    color: var(--success);
    font-weight: 600;
}

.plan-desc {
    font-size: .9rem;
    color: var(--navy-70);
    margin-bottom: 1.75rem;
    line-height: 1.4;
}

/* Divider line between price area and features */
.plan-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0 -1.75rem 1.5rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan-features li {
    font-family: var(--font-ui);
    font-size: .85rem;
    color: var(--navy-70);
    padding: .55rem 0;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.plan-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(5, 150, 105, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23059669' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ═══ CUSTOM PLAN + CALCULATOR CTA ROW ═══ */
.plans-cta-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.plans-cta-custom,
.plans-cta-calculator {
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.plans-cta-custom {
    background: var(--navy);
    color: #fff;
}

.plans-cta-custom::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255, 96, 72, .08);
    pointer-events: none;
}

.plans-cta-calculator {
    background: var(--coral);
    color: #fff;
}

.plans-cta-calculator::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, .1);
    pointer-events: none;
}

.plans-cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.plans-cta-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.plans-cta-custom h3,
.plans-cta-calculator h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #fff;
}

.plans-cta-custom p,
.plans-cta-calculator p {
    font-family: var(--font-ui);
    font-size: .95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.5rem;
}

.plans-cta-custom .btn-outline-white {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.plans-cta-custom .btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
}

.plans-cta-calculator .btn-white {
    background: #fff;
    color: var(--coral);
    border: none;
    font-weight: 600;
}

.plans-cta-calculator .btn-white:hover {
    background: rgba(255, 255, 255, .9);
    transform: translateY(-2px);
}

/* ═══ EVERYTHING INCLUDED — narrative block with stats ═══ */
.everything-section {
    padding: var(--section-pad) 0;
    background: var(--navy-05);
}

.everything-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.everything-content h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.everything-content h2 em {
    font-style: italic;
    color: var(--coral);
}

.everything-content > p {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.everything-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.everything-highlight {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-family: var(--font-ui);
    font-size: .95rem;
    color: var(--navy-70);
    line-height: 1.5;
}

.everything-highlight svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--coral);
    margin-top: 2px;
}

/* Reuse .difference-points and .diff-point from style.css for stat cards */
.everything-section .difference-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Override diff-point background for white cards in this section */
.everything-section .diff-point {
    background: var(--white);
}

/* ═══ COMPARE ACCORDION — expandable groups ═══ */
.compare-accordion {
    padding: var(--section-pad) 0;
    background: var(--white);
}

/* Centered header for compare section */
.compare-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.compare-header h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: .75rem;
    color: var(--navy);
}

.compare-header p {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--navy-70);
    line-height: 1.6;
}

.compare-groups {
    max-width: 900px;
    margin: 0 auto;
}

.compare-group {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

/* Light gray background for accordion header row */
.compare-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #F7F6F4;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background .2s;
}

.compare-group-header:hover {
    background: #EFEDEA;
}

.compare-group-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.compare-group-icon svg {
    width: 20px;
    height: 20px;
    color: var(--coral);
}

.compare-group-title {
    flex: 1;
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.compare-group-chevron {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform .3s ease;
}

.compare-group.open .compare-group-chevron {
    transform: rotate(180deg);
}

.compare-group-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.compare-group.open .compare-group-body {
    max-height: 600px;
}

/* Mini comparison table inside accordions */
.compare-table-mini {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

/* All column headers identical — navy background, no special SPF 50 treatment */
.compare-table-mini thead th {
    padding: .875rem 1rem;
    font-family: var(--font-ui);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.compare-table-mini thead th:first-child {
    text-align: left;
    padding-left: 1.5rem;
}

.compare-table-mini tbody td {
    padding: .75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    color: var(--navy-70);
    font-family: var(--font-ui);
}

.compare-table-mini tbody td:first-child {
    text-align: left;
    padding-left: 1.5rem;
    font-weight: 500;
    color: var(--navy);
}

/* Alternating row backgrounds for readability */
.compare-table-mini tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.compare-table-mini tbody tr:last-child td {
    border-bottom: none;
}

/* Coral checkmarks, light gray dashes */
.compare-table-mini .check {
    color: var(--coral);
    font-weight: 700;
    font-size: 1rem;
}

.compare-table-mini .dash {
    color: var(--gray-300);
}

/* ═══ GUARANTEE SECTION — 60-day money-back ═══ */
.guarantee-section {
    padding: var(--section-pad) 0;
    background: var(--navy-05);
}

.guarantee-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 4rem;
    box-shadow: 0 8px 40px rgba(2, 0, 81, .06);
    border: 1px solid var(--gray-200);
    position: relative;
}

.guarantee-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--coral), #ff8a65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(255, 96, 72, .25);
}

.guarantee-badge svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.guarantee-card h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.guarantee-card > p {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--navy-70);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.guarantee-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-feature {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-ui);
    font-size: .9rem;
    color: var(--navy-70);
}

.guarantee-feature svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* ═══ TESTIMONIALS SECTION ═══ */
.testimonials-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.testimonials-section > .container > div:first-child {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-section h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: .5rem;
    color: var(--navy);
}

.testimonials-section h2 em {
    font-style: italic;
    color: var(--coral);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all .3s ease;
}

.testimonial-card:hover {
    border-color: var(--coral);
    box-shadow: 0 8px 32px rgba(255, 96, 72, .08);
}

.testimonial-stars {
    display: flex;
    gap: .125rem;
    margin-bottom: 1.25rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #FBBF24;
}

.testimonial-card blockquote {
    font-family: var(--font-ui);
    font-size: .95rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--navy-05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
}

.testimonial-name {
    font-family: var(--font-ui);
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy);
}

.testimonial-role {
    font-family: var(--font-ui);
    font-size: .8rem;
    color: var(--navy-50);
}

/* ═══ NOT SURE CTA SECTION ═══ */
.notsure-section {
    padding: var(--section-pad) 0;
    background: var(--navy-05);
}

.notsure-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    box-shadow: 0 4px 24px rgba(2, 0, 81, .04);
    border: 1px solid var(--gray-200);
}

.notsure-content h2 {
    font-family: var(--font-h);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--navy);
}

.notsure-content p {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--navy-70);
    max-width: 420px;
}

.notsure-ctas {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ═══ PRICING FAQ SECTION ═══ */
.pricing-faq {
    padding: var(--section-pad) 0;
    background: var(--white);
}

/* Centered FAQ header */
.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-header h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--navy);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-q {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-q h4 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.faq-q svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform .3s;
    color: var(--navy-50);
}

.faq-item.open .faq-q svg {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-a p {
    font-family: var(--font-ui);
    font-size: .95rem;
    color: var(--navy-70);
    line-height: 1.7;
}

/* ═══ BOTTOM CTA ═══ */
.bottom-cta {
    padding: 6rem 0;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 96, 72, .12);
    pointer-events: none;
}

.bottom-cta h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.bottom-cta h2 em {
    font-style: italic;
    color: var(--coral);
}

.bottom-cta p {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--navy-50);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.bottom-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-cta-row {
        grid-template-columns: 1fr;
    }

    .plans-cta-custom,
    .plans-cta-calculator {
        padding: 2rem;
    }

    .everything-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .everything-section .difference-points {
        max-width: 500px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .notsure-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    .notsure-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .compare-table-mini {
        font-size: .75rem;
    }

    .compare-table-mini thead th,
    .compare-table-mini tbody td {
        padding: .5rem .375rem;
    }

    .compare-table-mini tbody td:first-child,
    .compare-table-mini thead th:first-child {
        padding-left: .75rem;
    }

    .guarantee-card {
        padding: 2.5rem 1.5rem;
    }

    .guarantee-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .billing-toggle {
        flex-wrap: wrap;
        justify-content: center;
        gap: .75rem;
    }
}

@media (max-width: 640px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .everything-section .difference-points {
        grid-template-columns: 1fr;
    }

    .notsure-ctas {
        flex-direction: column;
        width: 100%;
    }

    .notsure-ctas .btn {
        width: 100%;
    }

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

    .calculator-cta-icon {
        margin: 0 auto;
    }

    .calculator-modal {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .calculator-modal-header {
        padding: 2rem 1.5rem 1rem;
    }

    .calculator-modal-header h2 {
        font-size: 1.5rem;
    }

    .calculator-modal-body {
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 1.5rem;
    }

    .calculator-inputs,
    .calculator-results {
        width: 100%;
    }

    .calculator-results {
        padding: 1.25rem;
    }

    .calculator-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* ═══ CALCULATOR CTA SECTION ═══ */
.calculator-cta-section {
    padding: 3rem 0;
    background: var(--navy-05);
}

.calculator-cta-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 24px rgba(2, 0, 81, .04);
    border: 1px solid var(--gray-200);
}

.calculator-cta-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--coral), var(--deep-purple));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calculator-cta-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.calculator-cta-content {
    flex: 1;
}

.calculator-cta-content h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .25rem;
}

.calculator-cta-content p {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--navy-70);
    margin: 0;
}

/* ═══ CALCULATOR MODAL ═══ */
.calculator-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 0, 81, .7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.calculator-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.calculator-modal {
    background: var(--navy);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(.95);
    transition: transform .3s;
}

/* Sun arc decoration */
.calculator-modal::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 96, 72, .15), rgba(98, 72, 255, .1));
    pointer-events: none;
}

.calculator-modal::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255, 96, 72, .08);
    pointer-events: none;
}

.calculator-modal-overlay.active .calculator-modal {
    transform: scale(1);
}

.calculator-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10;
}

.calculator-modal-close:hover {
    background: rgba(255, 255, 255, .2);
}

.calculator-modal-close svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.calculator-modal-header {
    padding: 1.5rem 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calculator-modal-header h2 {
    font-family: var(--font-h);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}

.calculator-modal-header p {
    font-family: var(--font-ui);
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
    margin: 0;
}

.calculator-modal-body {
    padding: 1rem 2rem 1rem;
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Slider-based calculator inputs */
.calculator-sliders {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-slider-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.calculator-slider-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.calculator-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calculator-slider-header label {
    font-family: var(--font-ui);
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
}

.calculator-slider-value {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--coral);
}

/* Range slider styling - coral themed */
.calculator-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right,
        var(--coral) 0%,
        var(--coral) var(--fill-percent, 25%),
        rgba(255, 255, 255, .15) var(--fill-percent, 25%),
        rgba(255, 255, 255, .15) 100%);
    outline: none;
    cursor: pointer;
}

/* Webkit (Chrome, Safari) thumb */
.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    border: 3px solid var(--coral);
    transition: transform .15s, box-shadow .15s;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
}

/* Firefox thumb */
.calculator-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    border: 3px solid var(--coral);
    transition: transform .15s, box-shadow .15s;
}

.calculator-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

/* Firefox track */
.calculator-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .15);
}

.calculator-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: var(--coral);
}

/* Left side container */
.calculator-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Plan Selector */
.calculator-plan-selector {
    background: rgba(255, 255, 255, .05);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1rem;
    margin-top: 0;
}

.calculator-plan-selector-label {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    margin-bottom: .5rem;
}

.calculator-plan-pills {
    display: flex;
    gap: .5rem;
}

.calculator-pill {
    flex: 1;
    padding: .5rem .5rem;
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-md);
    background: transparent;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: all .2s;
}

.calculator-pill:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .05);
}

.calculator-pill.active {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
}

/* Results card - white card on right */
.calculator-results {
    flex: 1;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

/* Sun arc decoration in results card */
.calculator-results::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 96, 72, .08), rgba(98, 72, 255, .05));
    pointer-events: none;
}

.calculator-results-section {
    position: relative;
    z-index: 1;
}

.calculator-results-divider {
    height: 1px;
    background: var(--gray-200);
    margin: .75rem 0;
}

.calculator-results-eyebrow {
    font-family: var(--font-ui);
    font-size: .7rem;
    font-weight: 600;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .375rem;
}

/* Cost breakdown rows */
.calculator-result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: .5rem;
}

.calculator-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
    font-size: .85rem;
    color: var(--navy-70);
    padding: .375rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.calculator-breakdown-row span:last-child {
    font-weight: 600;
    color: var(--navy);
}

.calculator-breakdown-total {
    background: var(--navy-05);
    padding: .75rem 1rem;
    border-radius: var(--radius-md);
    margin-top: .25rem;
    border-bottom: none;
}

.calculator-breakdown-total span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

/* Keep old row styles for backwards compatibility */
.calculator-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
    font-size: .95rem;
    color: var(--navy-70);
    padding: .5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.calculator-current-total {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.25rem;
}

/* Total row styling */
.calculator-breakdown-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
    background: var(--navy-05);
    padding: .5rem .75rem;
    border-radius: var(--radius-md);
    margin-top: .375rem;
}

.calculator-breakdown-total-row span:first-child {
    font-size: .85rem;
    color: var(--navy-70);
}

.calculator-breakdown-total-row span:last-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

/* Plan comparison row */
.calculator-plan-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
    margin-bottom: .5rem;
}

.calculator-plan-comparison span:first-child {
    font-size: .85rem;
    color: var(--navy-70);
}

.calculator-plan-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--coral);
}

/* Savings section */
.calculator-savings-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, .08), rgba(34, 197, 94, .03));
    border-radius: var(--radius-md);
    padding: .875rem;
    margin-top: .375rem;
    border: 1px solid rgba(34, 197, 94, .15);
}

.calculator-savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .375rem;
}

.calculator-savings-label {
    font-family: var(--font-ui);
    font-size: .8rem;
    font-weight: 500;
    color: var(--navy-70);
}

.calculator-savings-amount {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 700;
    color: #16a34a;
}

.calculator-savings-amount.negative {
    color: var(--navy-50);
}

/* Annual savings - HERO NUMBER */
.calculator-annual-row {
    margin-bottom: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(34, 197, 94, .2);
}

.calculator-savings-annual {
    font-family: var(--font-h);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B47, #9B59B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-savings-annual.negative {
    font-size: 1.25rem;
    background: none;
    -webkit-text-fill-color: var(--navy-50);
    color: var(--navy-50);
}

/* Time saved row */
.calculator-time-saved {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
}

.calculator-time-saved span:first-child {
    font-size: .8rem;
    color: var(--navy-70);
}

.calculator-time-saved span:last-child {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
}

/* Low cost note */
.calculator-low-cost-note {
    font-family: var(--font-ui);
    font-size: .75rem;
    color: var(--navy-50);
    margin: .5rem 0 0;
    text-align: center;
    font-style: italic;
}

.calculator-modal-footer {
    padding: 1rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calculator-modal-footer .btn-full {
    width: 100%;
    margin-bottom: .5rem;
}

.calculator-note {
    font-family: var(--font-ui);
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
    margin: 0;
}

/* Testimonial avatar image style */
.testimonial-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .calculator-cta-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .calculator-modal-body {
        padding: 1.5rem;
        flex-direction: column;
    }

    .calculator-left {
        gap: 1.25rem;
    }

    .calculator-sliders {
        gap: 1.25rem;
    }

    .calculator-plan-pills {
        flex-wrap: wrap;
    }

    .calculator-pill {
        flex: 0 0 calc(50% - .25rem);
    }

    .calculator-results {
        width: 100%;
    }

    .calculator-savings-annual {
        font-size: 2rem;
    }
}
