/* ============================================================
   PostZenly Page Blocks  (pz-*) — shared rich-page system
   Pairs with rich.css (rk-*) — reuse rk- classes where they fit.
   Design: clean, premium, high-contrast. No washed-out text.
   ============================================================ */

:root {
  --pz-ink: #0f1222;
  --pz-body: #2b2f45;
  --pz-mute: #5b6080;
  --pz-line: #e6e8f2;
  --pz-bg: #ffffff;
  --pz-soft: #f5f6fb;
  --pz-indigo: #4f46e5;
  --pz-indigo-deep: #3730a3;
  --pz-gold: #f5b942;
}

/* ---------- section shell ---------- */
.pz-sec { padding: 84px 0; }
.pz-sec.soft { background: var(--pz-soft); }
.pz-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pz-center { text-align: center; max-width: 760px; margin: 0 auto; }

/* ---------- eyebrow / headings ---------- */
.pz-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pz-indigo); margin-bottom: 14px;
}
.pz-h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--pz-ink);
  letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.pz-sub { font-size: 17px; color: var(--pz-mute); line-height: 1.65; margin: 0 0 8px; }
.pz-sub.left { text-align: left; }

/* ---------- hero ---------- */
.pz-hero { padding: 72px 0 64px; position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 85% -60px, rgba(79,70,229,.10), transparent 60%),
              radial-gradient(700px 380px at 8% 110%, rgba(245,185,66,.10), transparent 60%); }
.pz-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pz-hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; color: var(--pz-ink);
  letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; }
.pz-hero h1 .grad { background: linear-gradient(100deg, var(--pz-indigo), #8b5cf6);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pz-lede { font-size: 18px; color: var(--pz-body); line-height: 1.65; margin: 0 0 28px; max-width: 34rem; }
.pz-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pz-micro { font-size: 13.5px; color: var(--pz-mute); margin: 0; }
.pz-micro b { color: var(--pz-body); }

/* ---------- buttons ---------- */
.pz-btn { display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--pz-indigo), #6d5cff);
  color: #fff; font-weight: 700; font-size: 16px; padding: 14px 28px;
  border-radius: 14px; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 10px 28px rgba(79,70,229,.32); transition: transform .15s, box-shadow .15s; }
.pz-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79,70,229,.4); color: #fff; }
.pz-btn.ghost { background: #fff; color: var(--pz-ink); border: 1.5px solid var(--pz-line); box-shadow: none; }
.pz-btn.ghost:hover { border-color: var(--pz-indigo); color: var(--pz-indigo); box-shadow: none; }
.pz-link { color: var(--pz-indigo); font-weight: 700; text-decoration: none; font-size: 16px; }
.pz-link:hover { text-decoration: underline; }

/* ---------- proof strip (honest, no fake stats) ---------- */
.pz-proof { border-top: 1px solid var(--pz-line); border-bottom: 1px solid var(--pz-line);
  background: #fff; padding: 18px 0; }
.pz-proof-row { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.pz-proof-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px;
  font-weight: 600; color: var(--pz-body); }
.pz-proof-item .tick { width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: rgba(79,70,229,.12); color: var(--pz-indigo);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- platform tiles ---------- */
.pz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 36px; }
.pz-tile { border: 1.5px solid var(--pz-line); border-radius: 16px; padding: 18px 16px;
  background: #fff; text-align: center; transition: transform .15s, border-color .15s; }
.pz-tile:hover { transform: translateY(-3px); border-color: var(--pz-indigo); }
.pz-tile .pz-tile-ic { font-size: 30px; display: block; margin-bottom: 10px; }
.pz-tile b { display: block; font-size: 15px; color: var(--pz-ink); margin-bottom: 4px; }
.pz-tile small { font-size: 12.5px; color: var(--pz-mute); line-height: 1.45; display: block; }
.pz-tile .pz-flag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px;
  background: rgba(79,70,229,.1); color: var(--pz-indigo); }
.pz-tile .pz-flag.soon { background: rgba(245,185,66,.18); color: #9a6b12; }

/* ---------- numbered steps ---------- */
.pz-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pz-steps.four { grid-template-columns: repeat(4, 1fr); }
.pz-step { background: #fff; border: 1.5px solid var(--pz-line); border-radius: 20px;
  padding: 28px 24px; position: relative; }
.pz-step .pz-n { width: 44px; height: 44px; border-radius: 14px; font-weight: 800; font-size: 19px;
  background: linear-gradient(135deg, var(--pz-indigo), #8b5cf6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(79,70,229,.3); }
.pz-step h3 { font-size: 18px; font-weight: 800; color: var(--pz-ink); margin: 0 0 10px; }
.pz-step p { font-size: 15px; color: var(--pz-mute); line-height: 1.6; margin: 0; }
.pz-step p b { color: var(--pz-body); }

/* ---------- alternating check sections ---------- */
.pz-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 52px; }
.pz-alt.flip > :first-child { order: 2; }
.pz-alt.flip > :last-child { order: 1; }
.pz-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.pz-checks li { display: flex; gap: 14px; align-items: flex-start; }
.pz-checks .pz-ck { width: 28px; height: 28px; border-radius: 50%; flex: none; margin-top: 2px;
  background: rgba(34,197,94,.14); color: #15803d;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.pz-checks b { display: block; font-size: 16px; color: var(--pz-ink); margin-bottom: 3px; }
.pz-checks span { font-size: 14.5px; color: var(--pz-mute); line-height: 1.6; }

/* ---------- screenshot in browser frame + floating cards ---------- */
.pz-shot { position: relative; }
.pz-browser { border-radius: 18px; overflow: hidden; border: 1.5px solid var(--pz-line);
  box-shadow: 0 30px 70px rgba(15,18,34,.16); background: #fff; }
.pz-browser-bar { display: flex; gap: 7px; padding: 12px 16px; background: #f1f2f8;
  border-bottom: 1px solid var(--pz-line); align-items: center; }
.pz-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d7e5; display: block; }
.pz-browser-bar i:first-child { background: #f87171; } .pz-browser-bar i:nth-child(2) { background: #fbbf24; }
.pz-browser-bar i:nth-child(3) { background: #34d399; }
.pz-browser img { display: block; width: 100%; height: auto; }
.pz-float { position: absolute; background: #fff; border: 1px solid var(--pz-line);
  border-radius: 14px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(15,18,34,.16);
  font-size: 13.5px; display: flex; gap: 10px; align-items: center; z-index: 2;
  animation: pz-float 5s ease-in-out infinite; }
.pz-float b { display: block; color: var(--pz-ink); font-size: 13.5px; }
.pz-float small { color: var(--pz-mute); font-size: 12px; }
.pz-float .pz-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; }
.pz-float.f1 { top: -22px; right: -14px; }
.pz-float.f2 { bottom: -20px; left: -16px; animation-delay: 2.5s; }
@keyframes pz-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- comparison table ---------- */
.pz-vs { margin-top: 44px; border: 1.5px solid var(--pz-line); border-radius: 22px; overflow: hidden; background: #fff; }
.pz-vs table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pz-vs th, .pz-vs td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--pz-line); }
.pz-vs thead th { background: var(--pz-soft); font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--pz-mute); font-weight: 800; }
.pz-vs thead th.pz-us { color: var(--pz-indigo); }
.pz-vs tbody tr:last-child td { border-bottom: 0; }
.pz-vs td.pz-us { background: rgba(79,70,229,.05); font-weight: 700; color: var(--pz-ink); }
.pz-vs .pz-y { color: #15803d; font-weight: 800; }
.pz-vs .pz-n2 { color: #b91c1c; font-weight: 700; }
.pz-vs td:first-child { color: var(--pz-body); font-weight: 600; }
.pz-vs-close { margin-top: 22px; font-size: 16.5px; color: var(--pz-body); line-height: 1.65;
  max-width: 720px; }
.pz-vs-close + .pz-hero-cta { margin-top: 20px; }

/* ---------- basics (numbered definitions) ---------- */
.pz-basics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.pz-basic { background: #fff; border: 1.5px solid var(--pz-line); border-radius: 18px; padding: 26px; }
.pz-basic .pz-bn { font-size: 13px; font-weight: 800; color: var(--pz-indigo);
  letter-spacing: .1em; margin-bottom: 10px; }
.pz-basic h3 { font-size: 17.5px; font-weight: 800; color: var(--pz-ink); margin: 0 0 10px; }
.pz-basic p { font-size: 14.5px; color: var(--pz-mute); line-height: 1.65; margin: 0; }
.pz-basic p b { color: var(--pz-body); }

/* ---------- personas ---------- */
.pz-personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pz-persona { background: #fff; border: 1.5px solid var(--pz-line); border-radius: 18px;
  padding: 26px 22px; transition: transform .15s; }
.pz-persona:hover { transform: translateY(-4px); }
.pz-persona .pz-pe { font-size: 32px; display: block; margin-bottom: 14px; }
.pz-persona h3 { font-size: 16.5px; font-weight: 800; color: var(--pz-ink); margin: 0 0 8px; }
.pz-persona p { font-size: 14px; color: var(--pz-mute); line-height: 1.6; margin: 0; }

/* ---------- FAQ ---------- */
.pz-faq { max-width: 800px; margin: 40px auto 0; }
.pz-faq details { border: 1.5px solid var(--pz-line); border-radius: 16px; background: #fff;
  margin-bottom: 12px; overflow: hidden; }
.pz-faq summary { padding: 20px 22px; font-weight: 700; font-size: 16px; color: var(--pz-ink);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.pz-faq summary::-webkit-details-marker { display: none; }
.pz-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--pz-indigo); flex: none; }
.pz-faq details[open] summary::after { content: "–"; }
.pz-faq .pz-a { padding: 0 22px 22px; font-size: 15px; color: var(--pz-mute); line-height: 1.7; }
.pz-faq .pz-a b, .pz-faq .pz-a strong { color: var(--pz-body); }
.pz-faq .pz-a a { color: var(--pz-indigo); font-weight: 700; }

/* ---------- final CTA ---------- */
.pz-final { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4f46e5 100%);
  border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden; margin-top: 20px; }
.pz-final::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px; pointer-events: none; }
.pz-final h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 12px; position: relative; }
.pz-final p { font-size: 17px; opacity: .88; margin: 0 0 30px; position: relative; }
.pz-final .pz-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 34px; position: relative; }
.pz-final .pz-stat b { display: block; font-size: 26px; font-weight: 800; }
.pz-final .pz-stat small { font-size: 13px; opacity: .75; }
.pz-final .pz-btn { background: #fff; color: var(--pz-indigo-deep); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.pz-final .pz-btn:hover { color: var(--pz-indigo-deep); }
.pz-final .pz-micro { color: rgba(255,255,255,.75); margin-top: 14px; position: relative; }

/* ---------- mid banner CTA ---------- */
.pz-band { background: linear-gradient(120deg, rgba(79,70,229,.1), rgba(139,92,246,.1));
  border: 1.5px solid rgba(79,70,229,.25); border-radius: 20px; padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 64px; }
.pz-band h3 { font-size: 21px; font-weight: 800; color: var(--pz-ink); margin: 0 0 6px; }
.pz-band p { font-size: 15px; color: var(--pz-mute); margin: 0; }

/* ---------- channel cross-links ---------- */
.pz-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pz-channel { border: 1.5px solid var(--pz-line); border-radius: 16px; padding: 20px;
  background: #fff; text-decoration: none; display: block; transition: transform .15s, border-color .15s; }
.pz-channel:hover { transform: translateY(-3px); border-color: var(--pz-indigo); }
.pz-channel .pz-ce { font-size: 26px; }
.pz-channel b { display: block; color: var(--pz-ink); font-size: 15.5px; margin: 8px 0 4px; }
.pz-channel small { color: var(--pz-mute); font-size: 13.5px; line-height: 1.5; display: block; }
.pz-channel.here { border-color: var(--pz-indigo); background: rgba(79,70,229,.05); }

/* ---------- triad blocks (thin pages) ---------- */
.pz-triads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.pz-triad { background: #fff; border: 1.5px solid var(--pz-line); border-radius: 18px; padding: 28px 24px; }
.pz-triad h3 { font-size: 17.5px; font-weight: 800; color: var(--pz-ink); margin: 0 0 10px; }
.pz-triad p { font-size: 14.5px; color: var(--pz-mute); line-height: 1.65; margin: 0; }
.pz-triad p b { color: var(--pz-body); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pz-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pz-steps, .pz-steps.four { grid-template-columns: 1fr; }
  .pz-alt { grid-template-columns: 1fr; gap: 36px; }
  .pz-alt.flip > :first-child { order: 1; } .pz-alt.flip > :last-child { order: 2; }
  .pz-personas { grid-template-columns: repeat(2, 1fr); }
  .pz-basics { grid-template-columns: 1fr; }
  .pz-triads { grid-template-columns: 1fr; }
  .pz-channels { grid-template-columns: 1fr; }
  .pz-float.f1 { right: 6px; } .pz-float.f2 { left: 6px; }
  .pz-vs { overflow-x: auto; }
  .pz-vs table { min-width: 620px; }
  .pz-final { padding: 48px 26px; }
  .pz-sec { padding: 60px 0; }
}
@media (max-width: 560px) {
  .pz-personas { grid-template-columns: 1fr; }
  .pz-hero { padding: 52px 0 48px; }
}
