/* ==========================================================================
   Storyshine — Pricing page styles (pricing.css)
   Loaded only on pricing.html, after base.css. Sections in page order:
   page hero · plans · every-plan includes · policy · add-on banner
   ========================================================================== */

/* Page hero ================================================================ */
.page-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(760px 420px at 15% 0%, var(--tint-yellow-2) 0%, rgba(255, 241, 191, 0) 70%),
    radial-gradient(700px 440px at 88% 10%, var(--tint-blush-2) 0%, rgba(252, 227, 220, 0) 70%);
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero__title {
  margin-top: 20px;
  font-size: 76px;
}
.page-hero__sub {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 30px;
  line-height: 1.15;
  color: var(--ink);
}
.page-hero__lead {
  margin-top: 24px;
  max-width: 640px;
}
.page-hero__lead strong {
  font-weight: 700;
}
.page-hero__pill {
  margin-top: 28px;
}
.page-hero__note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-soft);
}

/* Plans ======================================================================= */
.plans {
  padding-top: 40px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding-top: 16px;
}
.plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -50px rgba(23, 19, 15, 0.35);
}
.plan--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-16px);
  box-shadow: 0 50px 90px -40px rgba(23, 19, 15, 0.6);
}
.plan--featured::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 51, 36, 0.45) 0%, rgba(221, 51, 36, 0) 70%);
  pointer-events: none;
}
.plan > * {
  position: relative;
}
.plan__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.plan__name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
}
.plan--featured .plan__name {
  color: var(--yellow);
}
.plan__price-row {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 40px;
  line-height: 1;
}
.plan__per {
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-soft);
}
.plan--featured .plan__per {
  color: rgba(255, 255, 255, 0.72);
}
.plan__stat {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--tint-yellow);
  border: 1px solid #f6e3a0;
}
.plan--featured .plan__stat {
  background: rgba(253, 209, 40, 0.12);
  border-color: rgba(253, 209, 40, 0.3);
}
.plan__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 42px;
  line-height: 1;
  color: var(--red);
}
.plan--featured .plan__stat-num {
  color: var(--yellow);
}
.plan__stat-label {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}
.plan__desc {
  margin-top: 18px;
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}
.plan--featured .plan__desc {
  color: rgba(255, 255, 255, 0.82);
}
.plan__unit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  color: var(--text-soft);
}
.plan--featured .plan__unit {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}
.plan__unit-price {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 22px;
  color: var(--ink);
}
.plan--featured .plan__unit-price {
  color: var(--white);
}
.plan .btn {
  margin-top: 20px;
}
.plan--featured .btn--primary {
  box-shadow: 0 16px 36px -14px rgba(221, 51, 36, 0.8);
}

/* Every-plan includes ========================================================= */
.includes-block {
  margin-top: 36px;
  padding: 36px 40px;
  border-radius: 32px;
  border: 1px solid var(--line);
}
.includes-block__title {
  margin-top: 10px;
  font-size: 34px;
}
.includes-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.include-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}
.include-item__sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

/* Policy ======================================================================= */
.policy__title {
  margin-top: 16px;
}
.policy-note {
  margin-top: 32px;
  padding: 26px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.policy-note__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 26px;
  line-height: 1.1;
}
.policy-note__text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.policy-list {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.policy-item--key {
  border-bottom: 0;
  border-radius: 18px;
  background: var(--tint-yellow);
}
.policy-item__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.policy-item--key .policy-item__num {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.policy-item__text {
  padding-top: 5px;
  font-size: 16px;
  line-height: 1.55;
}
.policy-item__text strong {
  font-weight: 700;
  color: var(--ink);
}

/* Add-on banner ================================================================= */
.addon-section {
  padding-bottom: 120px;
}
.addon {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  padding: 52px 56px;
  border-radius: var(--r-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 0% 0%, rgba(221, 51, 36, 0.45) 0%, rgba(221, 51, 36, 0) 40%),
    radial-gradient(circle at 100% 100%, rgba(253, 209, 40, 0.22) 0%, rgba(253, 209, 40, 0) 40%),
    var(--ink);
  box-shadow: 0 40px 80px -50px rgba(23, 19, 15, 0.6);
}
.addon__content {
  grid-column: span 7;
}
.addon__title {
  font-size: 56px;
  color: var(--white);
}
.addon__price-line {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 26px;
  line-height: 1.2;
}
.addon__price {
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
}
.addon__equation {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.addon__equation .bi {
  font-size: 15px;
}
.addon__equation-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.addon__action {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.addon__btn {
  height: 62px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 18px 40px -14px rgba(221, 51, 36, 0.8);
}
.addon__plus {
  font-size: 22px;
  line-height: 1;
}
.addon__link {
  color: var(--yellow);
  font-weight: 700;
}
.addon__link:hover {
  color: var(--white);
}
.addon__note {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive ======================================================================= */
@media (max-width: 1024px) {
  .includes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .plan--featured { transform: none; }
}

@media (max-width: 760px) {
  .page-hero { padding: 48px 0 32px; }
  .page-hero__title { font-size: 40px; }
  .page-hero__sub { font-size: 22px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; row-gap: 16px; }
  .plan--featured { order: -1; }
  .page-hero__pill { flex-wrap: wrap; justify-content: center; font-size: 13px; }

  .plans { padding-top: 16px; }
  .plan-grid { gap: 18px; }
  .plan { padding: 28px 22px 24px; }
  .plan__price { font-size: 40px; }
  .plan__stat-num { font-size: 40px; }

  .includes-block { padding: 24px 18px; border-radius: 24px; }
  .includes-block__title { font-size: 26px; }
  .includes-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .include-item { align-items: flex-start; gap: 8px; padding: 12px 10px; font-size: 13px; }
  .include-item .check { width: 20px; height: 20px; }

  .policy-list { grid-column: 1 / -1; }
  .policy-item { padding: 16px 14px; gap: 14px; }
  .policy-item__text { font-size: 15px; }

  .addon { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 22px; border-radius: 28px; }
  .addon__content,
  .addon__action { grid-column: 1 / -1; }
  .addon__title { font-size: 36px; }
  .addon__price-line { font-size: 22px; }
  .addon__equation { border-radius: 18px; align-items: flex-start; font-size: 13px; }
  .addon__btn { height: 56px; font-size: 16px; }
}
