/* Pup Class — Direct-response lander design kit
   Loaded only on program.html pages via {% block head_extra %} */

/* ── Pain opener ──────────────────────────────────────── */
.pain-opener {
  background: #fef3f2;
  border-left: 5px solid var(--devil);
  border-radius: 0 12px 12px 0;
  padding: 22px 28px;
  margin: 0 0 32px;
}
.pain-opener p { margin: 0; font-size: 1.08rem; line-height: 1.65; }
.pain-opener strong { color: var(--devil); }

/* ── Comparison table ─────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.compare-table th { padding: 12px 16px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-table th:first-child { background: #fee2e2; color: #991b1b; border-radius: 10px 0 0 0; }
.compare-table th:last-child  { background: #dcfce7; color: #166534; border-radius: 0 10px 0 0; }
.compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table td:first-child { color: #6b7280; }
.compare-table td:last-child  { font-weight: 600; color: #166534; }
.compare-table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.compare-table tr:last-child td:last-child  { border-radius: 0 0 10px 0; }
.compare-table tr:nth-child(even) td { background: var(--card); }

/* ── Benefits grid (vibrate-on-hover icons) ───────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.benefit-card { display: flex; align-items: flex-start; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.benefit-icon { font-size: 1.6rem; flex-shrink: 0; display: inline-block; transition: transform 0.08s ease; }
.benefit-card:hover .benefit-icon { animation: vibrate 0.25s linear; }
@keyframes vibrate {
  0%,100%  { transform: translate(0,0) rotate(0deg); }
  20%      { transform: translate(-2px,1px) rotate(-3deg); }
  40%      { transform: translate(2px,-1px) rotate(3deg); }
  60%      { transform: translate(-1px,2px) rotate(-2deg); }
  80%      { transform: translate(1px,-2px) rotate(2deg); }
}
.benefit-card p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.benefit-card strong { display: block; margin-bottom: 4px; font-size: 0.97rem; }

/* ── Who-is-this-for checklist ────────────────────────── */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 600px) { .who-grid { grid-template-columns: 1fr; } }
.who-col { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.who-col.yes { border-top: 4px solid #22c55e; }
.who-col.no  { border-top: 4px solid #ef4444; }
.who-col h4  { margin: 0 0 12px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }
.who-col.yes h4 { color: #166534; }
.who-col.no  h4 { color: #991b1b; }
.who-col ul  { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.who-col li  { font-size: 0.93rem; padding-left: 22px; position: relative; line-height: 1.45; }
.who-col.yes li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.who-col.no  li::before { content: "✗"; position: absolute; left: 0; color: #ef4444; font-weight: 700; }

/* ── Stat callout box ─────────────────────────────────── */
.stat-callout { display: flex; align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.stat-callout .stat-num { font-family: "Inter", system-ui, sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; white-space: nowrap; }
.stat-callout .stat-text { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.stat-callout .stat-cite { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 4px; font-style: italic; }

/* ── Social-proof result cards ────────────────────────── */
.social-proof { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.proof-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.proof-result { font-size: 1.05rem; font-weight: 700; color: var(--accent-deep); margin: 0 0 6px; }
.proof-detail { font-size: 0.91rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Guarantee seal styles in style.css (global) */

/* ── Sticky buy CTA bar ───────────────────────────────── */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,10,10,0.96); backdrop-filter: blur(8px); padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; z-index: 999; transform: translateY(100%); transition: transform 0.3s ease; }
.sticky-cta.visible { transform: translateY(0); }
.sticky-price { color: #fff; font-size: 0.95rem; }
.sticky-price strong { font-size: 1.15rem; color: var(--gold); }
.sticky-price s { color: #9ca3af; font-size: 0.85rem; }

/* ── Bar-chart projection (quiz) ─────────────────────── */
.proj-card { text-align: left; }
.proj-bars { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.proj-bars li { display: flex; flex-direction: column; gap: 4px; }
.proj-bar-label { font-size: 0.88rem; font-weight: 600; display: flex; justify-content: space-between; }
.proj-bar-track { height: 22px; background: var(--line); border-radius: 6px; overflow: hidden; }
.proj-bar-fill { height: 100%; background: var(--muted); border-radius: 6px; transition: width 0.9s cubic-bezier(.4,0,.2,1); width: 0; }
.proj-bar-fill.highlight { background: var(--accent); }
.proj-caption { font-size: 0.78rem; color: var(--muted); font-style: italic; margin: 8px 0 0; }

/* ── Evidence bar chart (verified figures) ────────────── */
.evidence-chart-wrap { margin-block: 36px; }
.evidence-intro { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin: 0 0 20px; max-width: 60ch; }
.ev-bars { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.ev-bars li { display: flex; flex-direction: column; gap: 5px; }
.ev-bar-label { font-size: 0.9rem; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ev-bar-pct { font-family: "Inter", system-ui, sans-serif; font-weight: 800; color: var(--devil); font-size: 1.02rem; }
.ev-bar-track { height: 26px; background: var(--line); border-radius: 7px; overflow: hidden; }
.ev-bar-fill { display: block; height: 100%; background: linear-gradient(90deg, #f87171, var(--devil)); border-radius: 7px; }
.ev-bar-fill.good { background: linear-gradient(90deg, #4ade80, #16a34a); }
.ev-bars li:has(.good) .ev-bar-pct { color: #166534; }
.ev-caption { font-size: 0.8rem; color: var(--muted); font-style: italic; margin: 16px 0 0; line-height: 1.5; }

/* ── Testimonial / case-study boxes ──────────────────── */
.testimonials-wrap { margin-block: 36px; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); gap: 18px; margin-top: 20px; justify-content: center; }
.testi-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.testi-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 0.88rem; line-height: 1.45; }
.testi-col { padding: 12px 14px; }
.testi-col.before { background: #fef2f2; border-right: 1px solid var(--line); }
.testi-col.after  { background: #f0fdf4; }
.testi-col-label  { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 5px; }
.testi-col.before .testi-col-label { color: #b91c1c; }
.testi-col.after  .testi-col-label { color: #166534; }
.testi-col p { margin: 0; color: var(--ink); }
.testi-byline { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.testi-byline strong { color: var(--ink); font-weight: 700; }
.testi-byline .testi-dog { display: block; font-size: 0.79rem; margin-top: 2px; }
.testi-disclaimer { font-size: 0.79rem; color: var(--muted); font-style: italic; margin-top: 8px; text-align: center; }
@media (max-width: 540px) {
  .testi-before-after { grid-template-columns: 1fr; }
  .testi-col.before { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ── Mid-page CTA strip ───────────────────────────────── */
.mid-cta { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 32px; margin-block: 36px; text-align: center; }
.mid-cta h3 { margin: 0 0 10px; }
.mid-cta p { margin: 0 0 18px; color: var(--muted); }
.mid-cta .cta-note { margin-top: 10px; font-size: 0.83rem; color: var(--muted); }

/* ── Section labels ───────────────────────────────────── */
.section-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin: 0 0 8px; }

/* ── Related reading (pillar → cluster links) ─────────── */
.program-reading { margin: 8px auto 0; }
.program-reading .reading-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.program-reading .reading-list li { padding: 16px 18px; background: var(--accent-soft); border-radius: 14px; }
.program-reading .reading-list a { font-weight: 700; color: var(--accent); text-decoration: none; }
.program-reading .reading-list a:hover { text-decoration: underline; }
.program-reading .reading-blurb { display: block; margin-top: 4px; color: var(--ink); font-size: 0.92rem; opacity: 0.85; }

/* ── Program-page photo treatments ────────────────────── */
.program-photo { margin-block: 36px; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 60px rgba(15,31,46,0.16); }
.program-photo img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.program-photo figcaption { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 8px 12px; background: var(--card); }
.offer-badge { display: inline-block; background: #fef3f2; color: var(--devil); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 99px; margin: 0 0 6px; }
.offer-price .now { color: var(--accent); font-weight: 800; }
.offer-price .was { color: var(--muted); text-decoration: line-through; margin-left: 8px; font-size: 1.05rem; }

/* ── Methodology badges (hero, below CTA note) ─────────── */
.method-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-start; }
.method-badge { font-size: 0.75rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; letter-spacing: 0.04em; }
.method-badge--green { background: rgba(34,197,94,0.22); color: #bbf7d0; border: 1px solid rgba(34,197,94,0.45); }
.method-badge--blue  { background: rgba(59,130,246,0.20); color: #bfdbfe; border: 1px solid rgba(59,130,246,0.40); }
.method-badge--gold  { background: rgba(234,179,8,0.20);  color: #fef08a; border: 1px solid rgba(234,179,8,0.40); }
.method-badge--teal  { background: rgba(20,184,166,0.20); color: #99f6e4; border: 1px solid rgba(20,184,166,0.40); }

/* ── Journal strip (science section) ────────────────────── */
.journal-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.journal-strip-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); white-space: nowrap; }
.journal-pill { font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; font-style: italic; }
