/* ================= PRICING PAGE (editorial) ================= */

/* ===== BUTTONS (not in styles.css) ===== */
.btn-gold-filled {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gold);
    color: #0b0b0b;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid var(--gold);
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
}
.btn-gold-filled:hover { background: #c09a28; border-color: #c09a28; color: #0b0b0b; }

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--gold);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
}
.btn-gold-outline:hover { background: rgba(212,175,55,0.08); color: var(--gold); }

/* ===== LAYOUT WRAP ===== */
.pricing-wrap {
    max-width: 1260px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.pricing-hero {
    padding: 150px 0 56px;
    background: #0b0b0b;
}
.pricing-eyebrow {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.pricing-title {
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-light);
    margin: 0 auto 24px;
    max-width: none;
    width: 100%;
    text-align: center;
}
.pricing-lede {
    font-size: 25px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 0 34px;
}
.pricing-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== BODY ===== */
.pricing-body {
    padding: 16px 0 96px;
    background: #0b0b0b;
}

/* ===== PRICE BLOCK ===== */
.price-block {
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.25);
    border-top: 3px solid var(--gold);
    padding: 36px;
    margin-bottom: 22px;
}
.price-amount-wrap {
    margin-bottom: 20px;
}
.price-amount {
    font-size: clamp(52px, 9vw, 76px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--gold);
}
.price-tag {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 10px;
}
.price-caption {
    font-size: 21px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 640px;
    margin: 20px 0 18px;
}
.pricing-textlink {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold);
    text-decoration: none;
}
.pricing-textlink:hover { text-decoration: underline; }

/* ===== SECTION RULE (replaced by boxes) ===== */
.pricing-rule { display: none; }

/* ===== SECTION BOX ===== */
.pricing-section {
    background: #0d0d0d;
    border: 1px solid var(--border-dark);
    padding: 40px;
    margin-bottom: 22px;
}
.pricing-section:hover,
.price-block:hover { border-color: rgba(212,175,55,0.3); }

/* ===== SECTION HEADINGS ===== */
.pricing-section h2 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-light);
    margin: 0 0 16px;
}
.pricing-section-intro {
    font-size: 21px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 0 32px;
}

/* ===== FACTORS (horizontal grid) ===== */
.factor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.factor-card {
    background: #0d0d0d;
    border: 1px solid var(--border-dark);
    border-top: 2px solid rgba(212,175,55,0.4);
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.factor-card:hover { border-color: rgba(212,175,55,0.3); border-top-color: var(--gold); }
.factor-card .factor-num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(212,175,55,0.25);
    line-height: 1;
    margin-bottom: 18px;
}
.factor-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.factor-card > p {
    font-size: 18px;
    line-height: 1.72;
    color: var(--text-muted);
    margin: 0 0 22px;
    flex-grow: 1;
}
/* ===== COMPLEXITY COMPARE BLOCK ===== */
.complexity-compare-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-dark);
    border: 1px solid var(--border-dark);
    margin-top: 16px;
}
.ccb-half {
    background: #0b0b0b;
    padding: 24px 28px;
    text-align: center;
}
.ccb-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.ccb-half p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ===== TIMELINE EXAMPLE ===== */
.tl-example {
    background: rgba(212,175,55,0.04);
    border: 1px solid rgba(212,175,55,0.14);
    border-left: 3px solid rgba(212,175,55,0.5);
    padding: 18px 22px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted);
    text-align: center;
}
.tl-ex-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.factor-frameworks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}
.factor-frameworks span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    padding: 4px 10px;
    border: 1px solid rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.06);
}

/* ===== TIMELINE DIAGRAM ===== */
.tl-diagram { margin-top: 40px; }
.tl-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.tl-steps::before {
    content: '';
    position: absolute;
    top: 21px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.7) 0%, rgba(212,175,55,0.2) 75%, rgba(212,175,55,0.1) 100%);
    z-index: 0;
}
.tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 14px;
}
.tl-node {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    background: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.tl-node-num {
    font-size: 17px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.04em;
}
.tl-step-retest .tl-node {
    border-color: rgba(212,175,55,0.35);
    border-style: dashed;
}
.tl-step-retest .tl-node-num {
    color: rgba(212,175,55,0.5);
    font-size: 25px;
    font-weight: 300;
}
.tl-when {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px;
}
.tl-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.3;
}
.tl-desc {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-muted);
}
/* mobile: vertical stack */
@media (max-width: 767px) {
    .tl-steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 24px;
    }
    .tl-steps::before {
        top: 22px;
        left: 0;
        right: auto;
        width: 1px;
        height: calc(100% - 44px);
        bottom: 22px;
    }
    .tl-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding: 0 0 32px;
    }
    .tl-node { margin-bottom: 0; flex-shrink: 0; }
    .tl-step-body { display: flex; flex-direction: column; }
}

/* ===== INCLUDE CARDS (What is included) ===== */
.include-card {
    border: 1px solid var(--border-dark);
    border-left: 3px solid rgba(212,175,55,0.5);
    background: #0d0d0d;
    padding: 28px 32px;
    margin-bottom: 14px;
}
.include-no {
    border-left-color: #252525;
}
.include-card-head {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-dark);
    text-align: left;
}
.include-yes .include-card-head { color: var(--gold); }
.include-no .include-card-head { color: var(--text-muted); }
.include-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.include-list li {
    font-size: 18px;
    line-height: 1.55;
    color: #c0c0c0;
    padding: 11px 16px 11px 18px;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
    text-align: left;
}
.include-yes .include-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    top: 13px;
}
.include-no .include-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #4a4a4a;
    font-size: 17px;
    font-weight: 700;
    top: 11px;
}
.include-list li:last-child { border-bottom: none; }
.include-list li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.include-note {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 18px 0 0;
    text-align: left;
}

/* ===== FAQ ===== */
.pricing-faq-list { border-top: 1px solid var(--border-dark); }
.pfaq-item { border-bottom: 1px solid var(--border-dark); }
.pfaq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    font-size: 21px;
    font-weight: 600;
    color: var(--text-light);
}
.pfaq-q:focus,
.pfaq-q:focus-visible { outline: none; box-shadow: none; }
.pfaq-q:hover { color: var(--gold); }
.pfaq-q[aria-expanded="true"] { color: var(--gold); }
.pfaq-icon {
    flex-shrink: 0;
    font-size: 26px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}
.pfaq-a {
    max-height: 0;
    overflow: hidden;
}
.pfaq-q[aria-expanded="true"] + .pfaq-a { max-height: 500px; }
.pfaq-a-inner {
    padding: 0 0 22px;
    font-size: 20px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 700px;
    text-align: center;
}
.pfaq-a-inner a { color: var(--gold); text-decoration: underline; }

/* ===== FINAL CTA ===== */
.pricing-final-block {
    background: #0d0d0d;
    border: 1px solid rgba(212,175,55,0.2);
    border-top: 3px solid var(--gold);
    padding: 48px 40px;
    text-align: center;
    margin-top: 22px;
}
.pricing-final-block p {
    margin-left: auto;
    margin-right: auto;
}
.pricing-final-block .pricing-actions { justify-content: center; }
.pricing-final-block h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-light);
    margin: 0 0 16px;
}
.pricing-final-block p {
    font-size: 22px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 0 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .factor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .pricing-hero { padding: 120px 0 48px; }
    .pricing-lede { font-size: 20px; }
    .pricing-actions { flex-direction: column; align-items: stretch; }
    .pricing-actions a { justify-content: center; }
    .factor-grid { grid-template-columns: 1fr; }
    .complexity-compare-block { grid-template-columns: 1fr; }
    .include-list { grid-template-columns: 1fr; }
    .include-card { padding: 22px 20px; }
    .pricing-rule { margin: 42px 0; }
    .tl-example { text-align: left; }
}

/* ===== CENTERED LAYOUT ===== */
.pricing-wrap { text-align: center; }
.pricing-lede,
.price-caption,
.pricing-section-intro,
.phase-what,
.pfaq-a-inner,
.pricing-final-block p { margin-left: auto; margin-right: auto; }
.pricing-actions { justify-content: center; }
.price-amount { text-align: center; }

/* faq: centered questions, icon on right edge */
.pfaq-q { justify-content: space-between; text-align: center; }
