/* ============================================================================
   TRACTION KEEPER — PRODUCT PAGE v1.1
   Supplement to marketing.css + homepage.css.
   Product-page-specific section styles; all shared utilities live in parent files.
   Architecture: Executive/PRODUCT_PAGE_ARCHITECTURE.md
   ============================================================================ */

/* ── Hero ────────────────────────────────────────────────────────────────── */
.pp-hero {
    background: var(--tk-color-primary);
    padding: 96px 0 104px;
}

.pp-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.pp-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.45);
    margin-bottom: 20px;
}

.pp-hero-heading {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 28px;
}

.pp-hero-lead {
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.7;
    color: rgba(255,255,255,.82);
    margin-bottom: 16px;
}

.pp-hero-subtext {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.65);
    margin-bottom: 0;
}

.pp-hero-subtext + .pp-hero-subtext {
    margin-top: 8px;
}

.pp-hero-cta {
    margin-top: 44px;
}

/* ── Compact Workflow Diagram ─────────────────────────────────────────────── */
.pp-flow-section {
    background: var(--tk-color-surface);
    padding: 52px 0;
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.pp-flow-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.pp-flow-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--tk-color-text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.pp-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    row-gap: 10px;
}

.pp-flow-step {
    background: var(--tk-color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 7px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.pp-flow-step--focus {
    background: var(--tk-color-action);
}

.pp-flow-arrow {
    color: var(--tk-color-border);
    font-size: 15px;
    padding: 0 10px;
    line-height: 1;
    font-weight: 300;
}

.pp-flow-note {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
    color: var(--tk-color-text-muted);
    font-style: italic;
}

/* ── Feature sections (text + screenshot) ────────────────────────────────── */
.pp-feature {
    padding: 96px 0;
    background: var(--tk-color-bg);
}

.pp-feature--surface {
    background: var(--tk-color-surface);
    border-top: 1px solid var(--tk-color-border-subtle);
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.pp-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.pp-feature-grid--reversed .pp-feature-content { order: 2; }
.pp-feature-grid--reversed .pp-feature-visual   { order: 1; }

.pp-feature-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--tk-color-text-muted);
    margin-bottom: 8px;
}

.pp-feature-h2 {
    font-size: clamp(19px, 2.4vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--tk-color-text-heading);
    margin-bottom: 8px;
}

.pp-feature-h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--tk-color-primary-light);
    margin-bottom: 20px;
}

.pp-feature-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tk-color-text-secondary);
}

.pp-feature-body p + p {
    margin-top: 14px;
}

.pp-feature-body ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-feature-body ul li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--tk-color-text-secondary);
}

.pp-feature-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tk-color-border);
}

.pp-feature-transition {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--tk-color-border-subtle);
    font-size: 14px;
    line-height: 1.7;
    color: var(--tk-color-text-secondary);
    font-style: italic;
}

.pp-feature-transition p + p {
    margin-top: 6px;
}

/* ── Prose sections (no screenshot) ─────────────────────────────────────── */
.pp-prose-section {
    padding: 96px 0;
    background: var(--tk-color-bg);
}

.pp-prose-section--surface {
    background: var(--tk-color-surface);
    border-top: 1px solid var(--tk-color-border-subtle);
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

/* Result → Reflection → Judgment arrow sequence */
.pp-sequence {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
}

.pp-sequence-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--tk-color-primary-bg);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--tk-color-primary);
}

.pp-sequence--negative .pp-sequence-item {
    background: var(--tk-color-surface-alt);
    color: var(--tk-color-text-secondary);
}

.pp-sequence-connector {
    height: 24px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.pp-sequence-connector::before {
    content: '';
    display: block;
    width: 2px;
    height: 24px;
    background: var(--tk-color-border);
}

/* Spreadsheet flow list */
.pp-decision-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
    max-width: 480px;
}

.pp-decision-flow-item {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tk-color-text-secondary);
    padding: 14px 18px;
    border-top: 1px solid var(--tk-color-border-subtle);
    display: flex;
    align-items: center;
    gap: 14px;
}

.pp-decision-flow-item:last-child {
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.pp-decision-flow-arrow {
    color: var(--tk-color-text-muted);
    font-size: 13px;
    height: 20px;
    display: flex;
    align-items: center;
    padding-left: 18px;
}

/* Contrast quote (Focus section) */
.pp-contrast-quote {
    margin: 28px 0;
    padding: 22px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}

.pp-contrast-quote--weak {
    background: var(--tk-color-surface-alt);
    color: var(--tk-color-text-secondary);
    border-left: 4px solid var(--tk-color-border);
}

.pp-contrast-quote--strong {
    background: var(--tk-color-primary-bg);
    color: var(--tk-color-primary);
    border-left: 4px solid var(--tk-color-primary-light);
}

/* ── Workflow summary list ─────────────────────────────────────────────────── */
.pp-summary-items {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
}

.pp-summary-item {
    padding: 20px 0;
    border-top: 1px solid var(--tk-color-border-subtle);
    font-size: 16px;
    line-height: 1.75;
    color: var(--tk-color-text-secondary);
}

.pp-summary-item:last-child {
    border-bottom: 1px solid var(--tk-color-border-subtle);
}

.pp-summary-item strong {
    font-weight: 600;
    color: var(--tk-color-text-heading);
}

/* ── FAQ section ───────────────────────────────────────────────────────────── */
.pp-faq {
    padding: 96px 0;
    background: var(--tk-color-surface);
    border-top: 1px solid var(--tk-color-border-subtle);
}

.pp-faq-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

/* ── Closing / CTA ─────────────────────────────────────────────────────────── */
.pp-closing {
    background: var(--tk-color-primary);
    padding: 96px 0;
}

.pp-closing-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--tk-space-8);
}

.pp-closing-h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #fff;
    margin-bottom: 28px;
}

.pp-closing-body {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,.75);
}

.pp-closing-body p + p {
    margin-top: 16px;
}

.pp-closing-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
}

.pp-closing-list li {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.75);
    padding: 14px 0 14px 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    position: relative;
}

.pp-closing-list li:last-child {
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.pp-closing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.4em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
}

.pp-closing-cta {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.pp-closing-cta-lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    font-weight: 500;
    margin-bottom: 32px;
}

.pp-beta-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-beta-input {
    flex: 1;
    min-width: 220px;
    padding: 13px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-family: var(--tk-font-sans);
    font-size: 15px;
    outline: none;
    transition: border-color .2s, background .2s;
}

.pp-beta-input::placeholder {
    color: rgba(255,255,255,.38);
}

.pp-beta-input:focus {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.12);
}

#ppFormErrorMsg {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,120,120,.9);
    line-height: 1.5;
}

#ppFormErrorMsg.visible {
    display: block;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .pp-feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pp-feature-grid--reversed .pp-feature-content { order: 0; }
    .pp-feature-grid--reversed .pp-feature-visual   { order: 0; }
}

@media (max-width: 680px) {
    .pp-hero,
    .pp-feature,
    .pp-prose-section,
    .pp-faq,
    .pp-closing {
        padding: 64px 0;
    }

    .pp-flow-section {
        padding: 40px 0;
    }

    .pp-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pp-flow-arrow {
        padding: 0 0 0 18px;
        font-size: 18px;
    }

    .pp-hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .pp-beta-form {
        flex-direction: column;
    }

    .pp-beta-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pp-closing-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
