/* ═══════════════════════════════════════════════════════════════════════
   /sell/ Landing Page Styles
   Brand: #cc0000 red · #111 black · flat design · border-radius 12px
═══════════════════════════════════════════════════════════════════════ */

/* ── Break out of GeneratePress container (mirrors body.home rule) ── */
body.pt-sell-lp .site.grid-container,
body.pt-sell-lp #content,
body.pt-sell-lp .site-content {
    max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important;
}
body.pt-sell-lp .site-content {
    display: block !important;
}
body.pt-sell-lp .content-area,
body.pt-sell-lp .site-main {
    width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important;
}

/* ── Reset ── */
.pt-sell-page *,
.pt-sell-page *::before,
.pt-sell-page *::after { box-sizing: border-box; }

/* ── Layout util ── */
.pt-sell-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section header block ── */
.pt-sell-section-header { margin-bottom: 44px; }

.pt-sell-section-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: #111;
    text-align: center;
}
.pt-sell-section-title--light { color: #fff; }

.pt-sell-section-sub {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* ── Tooltips (CSS-only, no JS) ── */
.pt-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dashed currentColor;
    text-decoration: none;
}
.pt-tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 9px 13px;
    border-radius: 0;
    width: 220px;
    white-space: normal;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 9999;
    /* reset any text-transform from parent */
    text-transform: none;
    letter-spacing: 0;
}
.pt-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #111;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 9999;
}
.pt-tooltip:hover::after,
.pt-tooltip:hover::before,
.pt-tooltip:focus::after,
.pt-tooltip:focus::before { opacity: 1; }

/* Tooltip on light background (inside cards etc.) */
.pt-tooltip--dark { border-bottom-color: #555; color: #333; }

/* ── Buttons ── */
.pt-sell-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.pt-sell-btn:focus-visible {
    outline: 3px solid #cc0000;
    outline-offset: 3px;
}

.pt-sell-btn--red {
    background: #cc0000;
    color: #fff;
    border-color: #cc0000;
}
.pt-sell-btn--red:hover { background: #aa0000; border-color: #aa0000; color: #fff; opacity: 1; }

.pt-sell-btn--black {
    background: #111;
    color: #fff;
    border-color: #111;
}
.pt-sell-btn--black:hover { background: #000; border-color: #000; color: #fff; opacity: 1; }

.pt-sell-btn--white {
    background: #fff;
    color: #fff;
    border-color: #fff;
}
.pt-sell-btn--white:hover { background: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.9); color: #fff; opacity: 1; }

.pt-sell-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.pt-sell-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; opacity: 1; }

.pt-sell-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.pt-sell-btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; opacity: 1; }

.pt-sell-hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   HERO  — black bg, red accent on italic
══════════════════════════════════════ */
.pt-sell-hero {
    background: #111;
    color: #fff;
    padding: 96px 24px 88px;
    text-align: center;
}
.pt-sell-hero__inner { max-width: 720px; margin: 0 auto; }

.pt-sell-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #cc0000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 0;
    margin-bottom: 28px;
}

.pt-sell-hero__title {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}
.pt-sell-hero__title em {
    font-style: normal;
    color: #cc0000;
}

.pt-sell-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin: 0 0 40px;
    line-height: 1.65;
}

/* ══════════════════════════════════════
   STATS STRIP  — red bar
══════════════════════════════════════ */
.pt-sell-stats-strip {
    background: #cc0000;
    padding: 20px 24px;
}
.pt-sell-stats-strip__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.pt-sell-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 32px;
    text-align: center;
}
.pt-sell-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.pt-sell-stat span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}
.pt-sell-stat__divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .pt-sell-stat__divider { display: none; }
    .pt-sell-stats-strip__inner { gap: 8px; }
    .pt-sell-stat { padding: 6px 16px; }
}

/* ══════════════════════════════════════
   CALCULATOR  — light grey bg
══════════════════════════════════════ */
.pt-sell-calc-section {
    padding: 76px 0 84px;
    background: #f6f6f6;
}

.pt-sell-calc-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 36px;
    max-width: 840px;
    margin: 0 auto;
}

.pt-sell-calc-top { margin-bottom: 32px; }

.pt-sell-calc-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #444;
    margin-bottom: 10px;
}

.pt-sell-calc-input-row {
    display: flex;
    align-items: stretch;
    max-width: 280px;
}
.pt-sell-calc-prefix {
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-right: none;
    border-radius: 0;
    padding: 11px 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}
.pt-sell-calc-input {
    flex: 1;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    outline: none;
    -moz-appearance: textfield;
}
.pt-sell-calc-input::-webkit-inner-spin-button,
.pt-sell-calc-input::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; }
.pt-sell-calc-input:focus {
    border-color: #cc0000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(204,0,0,0.12);
}
.pt-sell-calc-slider:focus-visible {
    outline: 2px solid #cc0000;
    outline-offset: 3px;
}

.pt-sell-calc-slider-wrap { margin-top: 20px; }
.pt-sell-calc-slider {
    width: 100%;
    height: 5px;
    cursor: pointer;
    accent-color: #cc0000;
    margin-bottom: 7px;
}
.pt-sell-calc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #aaa;
    font-weight: 500;
}

/* ── Comparison cards ── */
.pt-sell-calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .pt-sell-calc-results { grid-template-columns: 1fr; }
    .pt-sell-calc-card { padding: 24px 18px; }
}

.pt-sell-compare-card {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: visible;
    position: relative;
}
.pt-sell-compare-card--pt {
    border-color: #cc0000;
}

.pt-sell-compare-card__logo {
    padding: 14px 18px 13px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 0;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__logo {
    background: #cc0000;
    border-bottom-color: #cc0000;
}
.pt-sell-compare-card--other .pt-sell-compare-card__logo {
    background: #f0f0f0;
}

.pt-sell-compare-card__platform {
    font-weight: 800;
    font-size: 0.95rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__platform { color: #fff; }

.pt-sell-compare-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__tag { color: rgba(255,255,255,0.7); }

.pt-sell-compare-card__rows { padding: 8px 0; }

.pt-sell-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.875rem;
    color: #555;
    border-bottom: 1px solid #f3f3f3;
}
.pt-sell-compare-row:last-child { border-bottom: none; }
.pt-sell-compare-row strong { color: #111; font-weight: 700; }
.pt-sell-compare-row .pt-val-negative { color: #aaa; }
.pt-sell-compare-row .pt-val-positive { color: #1a7f3c; }

.pt-sell-compare-card__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #444;
    background: #fafafa;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__total {
    background: #fff5f5;
    border-top-color: #f5c6c6;
}
.pt-sell-compare-card__total strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__total strong { color: #cc0000; }

/* ── Security status row ── */
.pt-sell-compare-card__security {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid #eee;
}
.pt-sell-compare-card__security span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}
.pt-sell-compare-card--pt .pt-sell-compare-card__security    { background: #f6fdf7; }
.pt-sell-compare-card--other .pt-sell-compare-card__security { background: #fffaf8; }
/* Status text states (set by JS via className) */
.pt-status-secure  { font-size: 0.85rem; font-weight: 700; color: #1a7f3c; }
.pt-status-warning { font-size: 0.85rem; font-weight: 700; color: #c97000; }
.pt-status-danger  { font-size: 0.85rem; font-weight: 800; color: #cc0000; }

/* ── Take-home payout row ── */
.pt-sell-compare-card__takehome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 16px;
    border-top: 2px solid #e8f5e9;
}
.pt-sell-compare-card__takehome span {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
}
.pt-sell-compare-card__takehome strong {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a7f3c;
}
/* PT card — green payout */
.pt-sell-compare-card--pt .pt-sell-compare-card__takehome {
    border-top-color: #c8e6c9;
    background: #f1f8f2;
}
/* Competitor card — faded/neutral payout */
.pt-sell-compare-card--other .pt-sell-compare-card__takehome {
    border-top-color: #eee;
    background: #fafafa;
}
.pt-sell-compare-card__takehome--comp strong {
    color: #999;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ── Saving banner ── */
.pt-sell-saving-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    background: #cc0000;
    color: #fff;
    text-align: center;
    padding: 16px 24px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
}
.pt-sell-saving-banner svg { flex-shrink: 0; }
.pt-sell-saving-banner strong {
    font-size: 1.25rem;
    font-weight: 800;
}

/* ══════════════════════════════════════
   HOW IT WORKS  — dark bg
══════════════════════════════════════ */
.pt-sell-how-section {
    padding: 76px 0 84px;
    background: #111;
}

.pt-sell-how-section .pt-sell-section-header { margin-bottom: 52px; }

.pt-sell-steps {
    display: flex;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
}
.pt-sell-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}
.pt-sell-step__num {
    width: 48px;
    height: 48px;
    background: #cc0000;
    color: #fff;
    border-radius: 0;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.pt-sell-step h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 10px;
    color: #fff;
}
.pt-sell-step p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0;
}
.pt-sell-step__divider {
    width: 48px;
    flex-shrink: 0;
    height: 2px;
    background: rgba(255,255,255,0.12);
    align-self: flex-start;
    margin-top: 24px;
}
/* 4-step variant — slightly tighter padding */
.pt-sell-steps--4 .pt-sell-step { padding: 0 16px; }
.pt-sell-steps--4 .pt-sell-step__divider { width: 32px; }

@media (max-width: 640px) {
    .pt-sell-steps { flex-direction: column; align-items: center; gap: 8px; }
    .pt-sell-step__divider { width: 2px; height: 32px; margin: 0; align-self: center; }
}

/* Light tooltip variant (for use on dark backgrounds) */
.pt-tooltip--light { border-bottom-color: rgba(255,255,255,0.5); color: inherit; }

/* ══════════════════════════════════════
   TRUST GRID  — white bg, red icon accent
══════════════════════════════════════ */
.pt-sell-trust-section {
    padding: 76px 0 84px;
    background: #fff;
}
.pt-sell-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .pt-sell-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pt-sell-trust-grid { grid-template-columns: 1fr; } }

.pt-sell-trust-card {
    border: 1px solid #eee;
    border-radius: 0;
    padding: 28px 22px;
    border-top: 3px solid #cc0000;
}
.pt-sell-trust-icon {
    color: #cc0000;
    margin-bottom: 16px;
}
.pt-sell-trust-card h3 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
    margin: 0 0 10px;
}
.pt-sell-trust-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════
   BOTTOM CTA  — red left band + black right
══════════════════════════════════════ */
.pt-sell-cta-section {
    background: #cc0000;
    border-top: 5px solid #111;
}
.pt-sell-cta-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}
.pt-sell-cta-left {
    padding: 60px 48px 60px 24px;
}
.pt-sell-cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
}
.pt-sell-cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 14px;
    color: #fff;
}
.pt-sell-cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}
.pt-sell-cta-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 60px 24px 60px 0;
    background: transparent;
}
@media (max-width: 768px) {
    .pt-sell-cta-section__inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pt-sell-cta-left { padding: 48px 24px 28px; }
    .pt-sell-cta-right { padding: 0 24px 48px; flex-direction: row; flex-wrap: wrap; }
}

/* ── Global responsive ── */
@media (max-width: 768px) {
    .pt-sell-hero { padding: 64px 20px 60px; }
    .pt-sell-section-title { font-size: 1.4rem; }
    .pt-sell-inner { padding: 0 16px; }
    .pt-sell-how-section,
    .pt-sell-trust-section,
    .pt-sell-calc-section,
    .pt-sell-cta-section { padding: 56px 0 64px; }
}
