/* PaxHelios — Subscription / Pricing page */

/* ============================================================ HERO */
.sub-page .sub-hero {
  position: relative;
  padding: 80px 0 64px;
  background: var(--bg);
  overflow: hidden;
}
.sub-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.sub-hero h1.display {
  font-size: clamp(56px, 7.5vw, 108px);
  letter-spacing: -0.015em;
}
.sub-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }

/* Big orb */
.sub-hero-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin: 0 auto;
}
.sub-hero-orb svg { width: 100%; height: 100%; }
.sub-hero-orb .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent);
  animation: orb-spin 60s linear infinite;
}
.sub-hero-orb .ring-2 {
  inset: 8%;
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  animation-duration: 90s;
  animation-direction: reverse;
}
@keyframes orb-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.sub-hero-orb .floater {
  position: absolute;
  font-family: var(--font-display);
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex; gap: 8px; align-items: center;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  color: var(--ink);
}
.sub-hero-orb .floater .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.sub-hero-orb .floater-1 { top: 8%;  left: -8%; }
.sub-hero-orb .floater-2 { top: 38%; right: -6%; }
.sub-hero-orb .floater-3 { bottom: 12%; left: -4%; }
.sub-hero-orb .floater-4 { bottom: -4%; right: 14%; }

/* Stat strip below hero */
.sub-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 56px;
}
.sub-stat-strip > div {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}
.sub-stat-strip > div:first-child { border-left: 0; }
.sub-stat-strip .num {
  font-family: var(--font-display);
  font-size: 44px; line-height: 1;
  letter-spacing: -0.02em;
}
.sub-stat-strip .lbl {
  font-size: 12.5px; color: var(--ink-3); margin-top: 8px;
  font-family: var(--font-serif);
}

/* ============================================================ PRICING */
.pricing-section {
  background: var(--bg-2);
  padding: var(--s-11) 0;
}
.pricing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 24px auto 56px;
  position: relative;
}
.pricing-toggle button {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
  transition: color var(--dur) var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.pricing-toggle button.is-active {
  color: var(--bg);
}
.pricing-toggle .toggle-pill {
  position: absolute;
  top: 4px; bottom: 4px;
  background: var(--ink);
  border-radius: 999px;
  transition: left var(--dur) var(--ease-out), width var(--dur) var(--ease-out);
  z-index: 0;
}
.pricing-toggle .save-chip {
  display: inline-flex;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .06em;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pricing-card.is-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
}
.pricing-card.is-featured .h3,
.pricing-card.is-featured .lede,
.pricing-card.is-featured .eyebrow,
.pricing-card.is-featured .price-amt { color: var(--bg); }
.pricing-card.is-featured .eyebrow { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.pricing-card.is-featured .price-note { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.pricing-card.is-featured .feature-li { color: color-mix(in srgb, var(--bg) 88%, transparent); }
.pricing-card.is-featured .feature-li svg { color: var(--accent); }
.pricing-card.is-featured .price-divider { border-color: color-mix(in srgb, var(--bg) 14%, transparent); }

.pricing-card .ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-card-head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0;
}
.price-amt {
  font-family: var(--font-display);
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 18px;
}
.price-amt .currency {
  font-size: 20px;
  margin-right: 2px;
  opacity: .65;
  align-self: flex-start;
  margin-top: 12px;
}
.price-amt .amt {
  font-size: 76px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-amt .cents {
  font-size: 22px;
  font-family: var(--font-sans);
  font-weight: 500;
  opacity: .55;
  margin-left: -4px;
  align-self: flex-end;
  margin-bottom: 12px;
}
.price-amt .per {
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink-3);
  margin-left: 8px;
  align-self: flex-end;
  margin-bottom: 16px;
}
.price-note {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}
.price-tagline {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pricing-card.is-featured .price-tagline { color: color-mix(in srgb, var(--bg) 85%, transparent); }
.price-divider {
  margin: 28px 0 24px;
  border-top: 1px solid var(--line);
}
.feature-li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  line-height: 1.4;
}
.feature-li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ============================================================ INCLUDED */
.included-section {
  padding: var(--s-11) 0;
  background: var(--bg);
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .included-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .included-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.feat-card:hover { transform: translateY(-4px); }
.feat-card .feat-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-4);
}
.feat-card .feat-illus {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0;
  line-height: 1.1;
}
.feat-card p {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================ COMPARISON */
.compare-section {
  background: var(--bg-2);
  padding: var(--s-11) 0;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-row > div {
  padding: 18px 24px;
  border-left: 1px solid var(--line);
}
.compare-row > div:first-child { border-left: 0; font-weight: 500; color: var(--ink); }
.compare-row.head > div {
  font-family: var(--font-display);
  font-size: 18px;
  background: color-mix(in srgb, var(--bg-2) 60%, var(--surface));
  text-align: center;
}
.compare-row.head > div:first-child { text-align: left; background: var(--surface); }
.compare-row .v { text-align: center; color: var(--ink-3); font-size: 14px; }
.compare-row .v.yes { color: var(--accent); }
.compare-row .v.no  { color: var(--ink-4); }

/* ============================================================ TESTIMONIALS */
.sub-testimonials {
  padding: var(--s-11) 0;
  background: var(--bg);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.testi-card .stars { margin-bottom: 14px; }
.testi-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  flex: 1;
}
.testi-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

/* ============================================================ FAQ */
.faq-section {
  background: var(--bg-2);
  padding: var(--s-11) 0;
}
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-q {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  flex: 1;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-item .faq-chev {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-chev {
  transform: rotate(45deg);
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.faq-item .faq-a {
  padding: 0 0 24px 0;
  font-family: var(--font-serif);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}

/* ============================================================ FINAL CTA */
.sub-final {
  padding: var(--s-11) 0;
  background: var(--bg);
}
.sub-final-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sub-final-card .h2 { color: var(--bg); }
.sub-final-card .lede { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.sub-final-card .italic-accent { color: var(--accent); }
.sub-final-card .bg-grad {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 60%);
  pointer-events: none;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .sub-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .sub-stat-strip { grid-template-columns: 1fr 1fr; }
  .sub-stat-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .sub-stat-strip > div:nth-child(4) { border-top: 1px solid var(--line); }
  .compare-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .sub-final-card { padding: 48px 24px; }
}
