/* ==========================================================================
   styles2.css — Predis design tokens + stats-proof section
   Used by index-park.html for sections lifted from the auto-post design.
   ========================================================================== */

/* Design tokens required by stats-proof, pricing, and section heading classes */
:root {
  --predis-gradient:  linear-gradient(304.7deg, #F41A58 12.59%, #2B75FF 100%);
  --predis-blue:      #1A6AFF;
  --predis-pink:      #F41A58;
  --fg-1:             #001F3C;
  --fg-2:             rgba(0, 31, 60, 0.75);
  --fg-3:             rgba(0, 31, 60, 0.5);
  --border-subtle:    #E9ECEF;
  --border:           #DEE2E6;
  --fw-bold:          700;
  --fw-black:         800;
  --radius-2xl:       32px;
  --radius-pill:      999px;
  --shadow-lg:        0 16px 48px rgba(0, 0, 0, 0.175);
  --success:          #198754;
  --chip:             #F2F4F9;
}

/* ===================== STATS PROOF ===================== */
.stats-proof {
  padding: 96px 0 80px;
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-head {
  text-align: center;
  margin-bottom: 56px;
}

.stats-head-title {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-2);
  letter-spacing: -0.005em;
  font-weight: 500;
}

.stats-head-title strong {
  color: var(--fg-1);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
}

.stat-cell {
  text-align: center;
  position: relative;
}

.stat-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -20px;
  width: 1px;
  height: 60%;
  background: var(--border);
}

.stat-number {
  font-weight: var(--fw-black);
  font-size: clamp(50px, 6.8vw, 25%);
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--predis-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number .unit {
  font-size: 0.45em;
  opacity: 0.85;
  font-weight: var(--fw-bold);
}

.stat-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stat-cell:not(:last-child)::after {
    right: auto;
    top: auto;
    bottom: -24px;
    left: 20%;
    width: 60%;
    height: 1px;
  }
}

/* ===================== SECTION HEADINGS (shared) ===================== */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--predis-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

h2.section-title {
  font-weight: var(--fw-bold);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin: 0 auto;
  color: var(--fg-1);
}

h2.section-title .grad,
.grad {
  background: var(--predis-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 580px;
  margin: 18px auto 0;
  line-height: 1.55;
}

/* ===================== PRICING ===================== */
.pricing {
  padding: 104px 0;
  background: #fff;
}

.pricing-head {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-single {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 40px 40px;
  border-radius: var(--radius-2xl);
  position: relative;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--predis-gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
}

.price-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--predis-gradient);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.plan-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.plan-badge {
  font-size: 11.5px;
  color: var(--fg-2);
  background: var(--chip);
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.plan-desc { font-size: 14px; color: var(--fg-2); margin-bottom: 20px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.plan-price .dollar { font-size: 22px; color: var(--fg-2); }
.plan-price .amount {
  font-weight: var(--fw-black);
  font-size: 66px;
  line-height: 1;
  color: var(--fg-1);
  letter-spacing: -0.035em;
}
.plan-price .old {
  font-size: 17px;
  color: var(--fg-3);
  text-decoration: line-through;
  margin-left: 6px;
}
.plan-price .per { font-size: 15px; color: var(--fg-2); margin-left: 4px; }

.plan-billed { font-size: 13px; color: var(--fg-2); margin-bottom: 18px; }
.plan-billed strong { color: var(--predis-blue); font-weight: 700; }

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: var(--predis-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 106, 255, 0.3);
  transition: all 0.25s;
}

.plan-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26, 106, 255, 0.4);
}

.plan-trial {
  font-size: 12px;
  color: var(--fg-2);
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-trial span { white-space: nowrap; }
.plan-trial .check { color: var(--success); font-weight: 700; }

.credits-block {
  padding: 16px 0 14px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  text-align: center;
}

.credits-total { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg-1); }
.credits-sub { font-size: 12.5px; color: var(--fg-2); margin-bottom: 10px; margin-top: 2px; }

.credits-bar {
  position: relative;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: #F2F4F9;
  display: flex;
}

.credits-bar-base { flex: 3200; background: var(--predis-blue); border-radius: 99px 0 0 99px; }
.credits-bar-bonus { flex: 1280; background: #FF71AB; border-radius: 0 99px 99px 0; }
.credits-extra { font-size: 11.5px; color: var(--predis-pink); font-weight: 700; margin-top: 6px; text-align: right; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.plan-features li {
  font-size: 13.5px;
  color: var(--fg-1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.plan-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #E6F9EE url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%2321A366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6.5l2 2 4-4.5'/></svg>") center/10px no-repeat;
}

.plan-features li.feat-split { flex-direction: column; align-items: flex-start; gap: 4px; }
.plan-features li.feat-split::before { display: none; }

.feat-main { display: flex; align-items: center; gap: 8px; }
.feat-main::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #E6F9EE url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%2321A366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6.5l2 2 4-4.5'/></svg>") center/10px no-repeat;
}

.plan-features li strong { font-weight: 700; color: var(--fg-1); }

.feature-hint { font-size: 12px; color: var(--fg-2); padding-left: 24px; line-height: 1.4; white-space: normal; }

.info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--fg-3);
  color: var(--fg-3);
  font-size: 9px;
  font-style: italic;
  font-family: Georgia, serif;
  cursor: help;
}

.see-plans { text-align: center; margin-top: 28px; font-size: 13px; color: var(--fg-2); }
.see-plans a { color: var(--predis-blue); text-decoration: underline; font-weight: 500; }

@media (max-width: 540px) {
  .pricing-single { padding: 30px 22px; }
}

/* ===================== CREATOR PLAYBOOK SECTION ===================== */
.cp-top {
  padding: 2.5rem 3rem 0;
  background: linear-gradient(180deg, #f3eefc 0%, #fcfcfe 100%);
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.cp-top h2 {
  font-size: clamp(26px, 3.8vw, 46px);
  margin-bottom: 0.6rem;
  color: #001f3c;
}

.cp-top p {
  font-size: 16px;
  max-width: 75%;
  margin: 0 auto 0;
}

.cp-top-img-wrap {
  margin-top: 1.75rem;
  text-align: center;
  line-height: 0;
}

.cp-top-img-wrap img {
  max-width: 70%;
  height: auto;
  display: inline-block;
  vertical-align: bottom;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .cp-top-img-wrap img {
    max-width: 100%;
  }
}

.cp-bottom {
  display: flex;
  flex-direction: row;
  background: linear-gradient(180deg, #f3eefc 0%, #fcfcfe 100%);
}

.cp-bottom-col {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.cp-bottom-col:first-child {
  border-right: 1px solid #e9ecef;
}

.cp-bottom-col h4 {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 0.75rem;
}

.cp-img-wrap {
  margin-top: 1.5rem;
  text-align: center;
  overflow: hidden;
}

.cp-img-wrap img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

@media (max-width: 767.98px) {
  .cp-top {
    padding: 2rem 1.5rem 0;
  }

  .cp-bottom {
    flex-direction: column;
  }

  .cp-bottom-col:first-child {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
}
