/* ============================================
   TAPE SIGNALS — PRICING PAGE
   Layered on top of styles.css
   ============================================ */

.pricing-page {
    /* nudge body to account for fixed header on direct landings */
}

.nav-link.active {
    color: var(--orange-bright);
    background: rgba(255, 159, 28, 0.06);
}

/* ============================================
   PRICING HERO
   ============================================ */

.pricing-hero {
    padding: 110px 0 40px;
    position: relative;
}

.ph-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.ph-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--pure-white);
    margin: 12px 0 14px;
}

.ph-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 auto 22px;
    max-width: 620px;
}

/* Billing Toggle */
.billing-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px;
    background: var(--surface-elev);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    user-select: none;
}

.bt-option {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    min-height: 44px;
}

.bt-option.active {
    color: var(--bg);
}

.bt-savings {
    background: rgba(127, 191, 63, 0.18);
    color: var(--lime-bright);
    border: 1px solid var(--border-lime);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bt-option.active .bt-savings {
    background: rgba(11, 15, 20, 0.2);
    color: var(--bg);
    border-color: rgba(11, 15, 20, 0.35);
}

.bt-pill {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 50%;
    background: var(--grad-brand);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.3);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
    pointer-events: none;
}

.billing-toggle[data-period="annual"] .bt-pill {
    transform: translateX(100%);
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 980px;
    margin: 0 auto 48px;
    perspective: 1500px;
    /* IMPORTANT: don't stretch cards to equal height. Let each card size to its
       own content so neither has empty space padding it out. The two cards have
       very similar feature counts so the visual difference is tiny. */
    align-items: start;
}

.pcard {
    position: relative;
    background: var(--surface-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 26px 30px 24px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    will-change: transform;
    align-self: start;
}

.pcard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 220px at 50% -30%, rgba(255, 159, 28, 0.1), transparent 70%);
    pointer-events: none;
}

.pcard:hover {
    border-color: var(--border-orange);
    box-shadow: 0 30px 70px rgba(255, 159, 28, 0.18);
}

.pcard-glow {
    position: absolute;
    width: 360px; height: 360px;
    top: -120px; right: -120px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.18), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.pcard:hover .pcard-glow { opacity: 1; }

.pcard-featured {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
        var(--grad-brand) border-box;
    border: 2px solid transparent;
    box-shadow: 0 20px 60px rgba(127, 191, 63, 0.18),
                0 20px 60px rgba(255, 159, 28, 0.18);
}

.pcard-featured:hover {
    border-color: transparent;
    box-shadow: 0 30px 80px rgba(255, 159, 28, 0.3),
                0 30px 80px rgba(127, 191, 63, 0.25);
}

.pcard-featured .pcard-glow {
    background: radial-gradient(circle, rgba(127, 191, 63, 0.2), transparent 65%);
}

.pcard-ribbon {
    position: absolute;
    top: 16px;
    right: -42px;
    transform: rotate(45deg);
    background: var(--grad-brand);
    color: var(--bg);
    padding: 6px 56px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(255, 159, 28, 0.4);
}

/* Lift card content above the ::before gradient overlay.
   DO NOT use `.pcard > *` — it overrides position:absolute on .pcard-glow
   and .pcard-ribbon, causing a 360px invisible block to push content down. */
.pcard-head,
.pcard-features,
.pcard .btn-subscribe,
.pcard-fineprint { position: relative; z-index: 1; }

.pcard-head { margin-bottom: 18px; }

.pcard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    margin-bottom: 8px;
    /* Featured card has the absolutely-positioned ribbon overlapping the
       top-right corner — push the eyebrow over so the dot doesn't sit
       under the ribbon edge. */
}

.pe-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}
.pe-dot.lime { background: var(--lime); box-shadow: 0 0 8px var(--lime); }

.pcard-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.pcard-tag {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.45;
}

.pcard-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.ppc-currency {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1;
}

.ppc-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}

.ppc-amount.flip { opacity: 0; }

.ppc-period {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.pcard-billed {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-bottom: 0;
}

.pcard-features {
    list-style: none;
    margin: 16px 0 22px;
    padding: 0;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.pcard-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    color: var(--text);
    font-size: 0.94rem;
}

.pcard-features .check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--grad-brand);
    position: relative;
    margin-top: 1px;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}
.pcard-features .check::after {
    content: '';
    position: absolute;
    left: 7px; top: 4px;
    width: 5px; height: 9px;
    border: solid var(--bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pcard .btn-subscribe {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-subscribe-featured {
    background: var(--grad-brand);
    color: var(--bg);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(255, 159, 28, 0.4);
}
.btn-subscribe-featured:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 159, 28, 0.5);
}

.pcard-fineprint {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.78rem;
    margin-top: 12px;
}

.pcards-dots {
    display: none;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.pcards-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background 0.25s ease, width 0.25s ease;
}
.pcards-dots .dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: 999px;
}

/* Trust Strip */
.trust-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    padding: 22px 28px;
    background: var(--surface-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    max-width: 980px;
    margin: 0 auto;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item svg {
    width: 18px; height: 18px;
    color: var(--lime-bright);
}

/* ============================================
   COMPARE TABLE
   ============================================ */

.compare {
    padding: 80px 0;
}

.compare-mobile-tabs { display: none; }

.compare-table {
    max-width: 1080px;
    margin: 0 auto;
    background: var(--surface-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ct-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.ct-row:last-child { border-bottom: none; }

.ct-row:not(.ct-head):hover {
    background: rgba(255, 159, 28, 0.03);
}

.ct-cell {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid var(--border);
}
.ct-cell:last-child { border-right: none; }

.ct-cell.ct-core,
.ct-cell.ct-adv {
    align-items: center;
    text-align: center;
}

.ct-head {
    background: rgba(11, 15, 20, 0.45);
    border-bottom: 2px solid var(--border-strong);
}

.ct-head .ct-cell { padding: 22px 20px; }

.ct-head .cth-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ct-head .ct-adv .cth-name {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cth-badge {
    background: var(--grad-brand);
    color: var(--bg);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-text-fill-color: var(--bg);
}

.cth-price {
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 4px;
}

.ct-group-title {
    grid-column: 1 / -1;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(255, 159, 28, 0.08), transparent);
    border-bottom: 1px solid var(--border);
    color: var(--orange-bright);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.cf-name {
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cf-info {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(255, 159, 28, 0.1);
    border: 1px solid var(--border-orange);
    color: var(--orange-bright);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.cf-info:hover {
    background: var(--grad-brand);
    color: var(--bg);
    transform: scale(1.1);
}

.cf-detail {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
}
.ct-row.expanded .cf-detail {
    max-height: 200px;
    margin-top: 8px;
}

/* Yes / No / Partial / Text indicators */
.cv-yes, .cv-no {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cv-yes {
    background: var(--grad-brand);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}
.cv-yes::after {
    content: '';
    width: 6px; height: 12px;
    border: solid var(--bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.cv-no {
    background: rgba(217, 217, 217, 0.06);
    border: 1px solid var(--border-strong);
    color: var(--text-dim);
}
.cv-no::after {
    content: '−';
    font-size: 1.1rem;
    line-height: 1;
}

.cv-partial {
    background: rgba(255, 159, 28, 0.12);
    color: var(--orange-bright);
    border: 1px solid var(--border-orange);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.cv-text {
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(127, 191, 63, 0.08);
    border: 1px solid var(--border-lime);
    padding: 5px 12px;
    border-radius: 8px;
}

.ct-cta {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    background: rgba(11, 15, 20, 0.45);
}

.ct-cta-cell {
    padding: 18px 20px;
    border-right: 1px solid var(--border);
}
.ct-cta-cell:last-child { border-right: none; }

.ct-cta-cell .btn-subscribe {
    width: 100%;
}

/* ============================================
   ROI CALCULATOR
   ============================================ */

.roi {
    padding: 80px 0;
}

.roi-card {
    position: relative;
    background:
        linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
        var(--grad-brand) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    padding: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.roi-glow {
    position: absolute;
    width: 700px; height: 700px;
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(127, 191, 63, 0.15), transparent 65%);
    pointer-events: none;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.roi-input { position: relative; }

.roi-input label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

.roi-input output {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.04em;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(217, 217, 217, 0.08);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to right,
        var(--orange) 0%,
        var(--lime) var(--val, 50%),
        rgba(217, 217, 217, 0.08) var(--val, 50%),
        rgba(217, 217, 217, 0.08) 100%);
}

input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(217, 217, 217, 0.08);
}

input[type="range"]::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--grad-brand);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--bg-3);
    border: 3px solid var(--orange);
    border-radius: 50%;
    cursor: grab;
    margin-top: -7px;
    box-shadow: 0 4px 14px rgba(255, 159, 28, 0.45);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    border-color: var(--lime);
}
input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--bg-3);
    border: 3px solid var(--orange);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 14px rgba(255, 159, 28, 0.45);
}

.roi-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
}

.roi-plan {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.roi-plan > span {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.roi-plan-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rpt-btn {
    background: rgba(11, 15, 20, 0.5);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    padding: 12px 14px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 44px;
}

.rpt-btn.active {
    background: var(--grad-brand);
    color: var(--bg);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(255, 159, 28, 0.3);
}

/* ROI Output Panel */
.roi-output {
    background: rgba(11, 15, 20, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(16px);
}

.roi-stat {
    text-align: center;
}

.rs-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
}

.rs-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0.02em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.rs-pnl {
    transition: transform 0.25s ease;
}
.rs-pnl.bump { transform: scale(1.08); }

.rs-sub {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 6px;
}

.roi-divider {
    height: 1px;
    background: var(--border);
}

.roi-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.roi-stat-mini {
    padding: 12px 8px;
    background: rgba(217, 217, 217, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.rsm-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.rsm-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.rsm-net.positive { color: var(--lime-bright); }
.rsm-net.negative { color: #ff8a82; }

.roi-bar-wrap {
    margin-top: 4px;
}

.rbw-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-align: center;
}
.rbw-label strong { color: var(--orange-bright); }

.roi-bar {
    position: relative;
    height: 12px;
    background: rgba(217, 217, 217, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.roi-bar-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: var(--grad-brand);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(255, 159, 28, 0.4);
}

.roi-bar-marker {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 2px;
    background: var(--white);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--white);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roi-bar-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--text-dim);
    font-size: 0.72rem;
}

.roi-fineprint {
    color: var(--text-dim);
    font-size: 0.76rem;
    text-align: center;
    line-height: 1.5;
}

.roi-output .btn-get-started {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FAQ — search + cards
   ============================================ */

.faq-search {
    position: relative;
    max-width: 480px;
    margin: 28px auto 0;
}

.faq-search svg {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--text-dim);
}

.faq-search input {
    width: 100%;
    background: var(--surface-elev);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 14px 44px 14px 48px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-search input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.18);
}
.faq-search input::placeholder { color: var(--text-dim); }

.faq-search-clear {
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(217, 217, 217, 0.08);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.faq-search.has-value .faq-search-clear {
    opacity: 1;
    pointer-events: auto;
}
.faq-search-clear:hover {
    background: rgba(255, 159, 28, 0.2);
    color: var(--orange-bright);
}

.faq-category[hidden] { display: none; }
.faq-item[hidden] { display: none; }

mark.faq-hl {
    background: rgba(255, 159, 28, 0.25);
    color: var(--orange-bright);
    padding: 0 3px;
    border-radius: 3px;
}

.faq-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    background: var(--surface-elev);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}
.faq-empty[hidden] { display: none; }

/* ============================================
   RESPONSIVE — tablet (iPad)
   ============================================ */

@media (max-width: 1024px) {
    .pricing-hero { padding: 130px 0 60px; }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .roi-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .roi-card { padding: 32px 28px; }

    .compare-table {
        font-size: 0.92rem;
    }

    .ct-row { grid-template-columns: 1.4fr 1fr 1fr; }
    .ct-cta { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — mobile (≤768px)
   ============================================ */

@media (max-width: 768px) {
    .pricing-hero { padding: 96px 0 32px; }

    .ph-head { margin-bottom: 28px; }
    .ph-title { font-size: clamp(1.9rem, 7vw, 2.4rem); line-height: 1.1; }
    .ph-sub { font-size: 0.96rem; }

    .billing-toggle { width: 100%; max-width: 360px; margin-top: 22px; }
    .bt-option {
        flex: 1;
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.88rem;
        min-height: 46px;
    }
    .bt-savings { font-size: 0.62rem; padding: 2px 6px; }

    /* Pricing cards — STACKED vertically (much more discoverable than swipe).
       Featured card goes FIRST so the strongest offer is immediately visible. */
    .pricing-cards {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0;
        margin: 0;
        overflow: visible;
        scroll-snap-type: none;
    }
    .pcard {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
        padding: 28px 22px 24px;
        transform: none !important;
    }
    .pcard-featured { order: -1; } /* show "Most popular" first on mobile */
    .pcards-dots { display: none; } /* no carousel = no dots */

    .pcard-ribbon {
        right: -46px;
        padding: 5px 56px;
        font-size: 0.68rem;
    }

    .pcard-name { font-size: 1.45rem; }
    .ppc-amount { font-size: 3.4rem; }

    .pcard-features { gap: 10px; margin: 18px 0; }
    .pcard-features li { font-size: 0.92rem; line-height: 1.4; }

    .btn-subscribe {
        width: 100%;
        min-height: 52px;
        font-size: 1rem;
        justify-content: center;
    }

    /* Trust strip stacks */
    .trust-strip {
        gap: 12px 18px;
        padding: 18px 20px;
    }
    .trust-item { font-size: 0.82rem; }

    /* Compare table → tabbed accordion */
    .compare { padding: 60px 0; }

    .compare-mobile-tabs {
        display: flex;
        max-width: 320px;
        margin: 0 auto 24px;
        background: var(--surface-elev);
        border: 1px solid var(--border-strong);
        border-radius: 999px;
        padding: 5px;
        position: relative;
    }
    .cmt-tab {
        flex: 1;
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-family: 'Montserrat', sans-serif;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 10px 14px;
        border-radius: 999px;
        cursor: pointer;
        min-height: 40px;
        transition: color 0.25s ease, background 0.25s ease;
    }
    .cmt-tab.active {
        background: var(--grad-brand);
        color: var(--bg);
        box-shadow: 0 4px 14px rgba(255, 159, 28, 0.3);
    }

    .compare-table { border-radius: var(--radius); }

    .ct-head { display: none; }

    .ct-row {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .ct-cell {
        padding: 14px 18px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .ct-cell:last-child { border-bottom: none; }

    .ct-cell.ct-feature { padding-bottom: 8px; }

    .ct-cell.ct-core,
    .ct-cell.ct-adv {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 8px;
    }

    .ct-cell.ct-core::before,
    .ct-cell.ct-adv::before {
        content: attr(data-label);
        color: var(--text-dim);
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 600;
    }

    /* Hide non-active plan column on mobile via tabs */
    .compare-table.show-core .ct-cell.ct-adv,
    .compare-table.show-core .ct-cta-cell:nth-child(3) { display: none; }
    .compare-table.show-advanced .ct-cell.ct-core,
    .compare-table.show-advanced .ct-cta-cell:nth-child(2) { display: none; }

    .ct-cta {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 10px;
    }
    .ct-cta-cell { padding: 6px; border-right: none; }
    .ct-cta-cell:nth-child(1) { display: none; }

    /* ROI calculator stacks fully */
    .roi { padding: 60px 0; }
    .roi-card { padding: 24px 18px; border-radius: var(--radius); }
    .roi-output { padding: 22px 18px; }

    .roi-stat-row { grid-template-columns: 1fr; gap: 8px; text-align: left; }
    .roi-stat-mini {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
    }
    .rsm-label { margin-bottom: 0; }
    .rsm-value { font-size: 1rem; }

    .roi-input label { font-size: 0.88rem; }
    .roi-input output { font-size: 1.2rem; }

    /* Bigger touch targets for sliders */
    input[type="range"]::-webkit-slider-thumb {
        width: 26px; height: 26px;
        margin-top: -9px;
    }
    input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }

    .faq-search input { font-size: 0.9rem; padding: 12px 40px 12px 44px; }
}

@media (max-width: 480px) {
    .pcard-name { font-size: 1.35rem; }
    .ppc-amount { font-size: 3rem; }
    .pcard-features li { font-size: 0.88rem; }
    .ph-title { font-size: 1.85rem; }
    .rs-value { font-size: 2.2rem; }
    .pricing-hero { padding: 90px 0 24px; }
    .compare { padding: 50px 0; }
    .roi { padding: 50px 0; }
    .faq { padding: 50px 0; }
    .pcard { padding: 24px 18px 22px; }
}

/* ============================================
   Tilt — disable on touch devices
   ============================================ */
@media (hover: none) {
    .pcard { transform: none !important; }
}

/* ============================================
   TABLET (768–1024px) — pricing cards two-up,
   make sure compare table reads well
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-hero { padding: 130px 0 56px; }
    .ph-title { font-size: clamp(2.2rem, 4.6vw, 3rem); }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
    .pcard { padding: 32px 26px 28px; }

    .billing-toggle { margin-top: 24px; }

    .compare-table { font-size: 0.94rem; }
    .ct-row { grid-template-columns: 1.5fr 1fr 1fr; }
    .ct-cell { padding: 16px 18px; }
    .roi-grid { grid-template-columns: 1fr; gap: 28px; }
    .roi-card { padding: 32px 28px; }
}
