/*
 * pricing-split.css — clean/decluttered pricing styling (promoted winner of
 * the pricing_clean_redesign_v1 A/B test).
 *
 * Loaded by pricing.html AFTER styles.css, so these rules override the older
 * pricing styles via normal cascade order (same selectors / same specificity
 * → later stylesheet wins).
 *
 * Every selector here is pricing-page-only, so nothing else is affected.
 *
 * Hypothesis: a calmer, less cluttered layout (single gold focal point,
 * flatter cards, plain effective-cost, more whitespace) raises trial /
 * upgrade conversion vs. the busier control.
 */

/* --- Top trust bar: slim + understated instead of glowing green slab --- */
.pricing-top-trust-badge {
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  box-shadow: none;
  transition: border-color 150ms ease;
}

.pricing-top-trust-badge:hover,
.pricing-top-trust-badge:focus-visible {
  border-color: var(--border-strong);
  box-shadow: none;
}

.pricing-top-trust-stars {
  gap: 0.18rem;
}

.pricing-top-trust-stars span {
  width: 1.3rem;
  height: 1.3rem;
  font-size: 0.8rem;
  box-shadow: none;
}

.pricing-top-trust-copy strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}

/* --- Trial-terms box in hero: neutral border instead of gold --- */
.pricing-trial-terms-grid {
  padding: 0.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.pricing-trial-term + .pricing-trial-term {
  border-top: 1px solid var(--border-soft);
}

/* --- Billing toggle: calmer --- */
.pricing-billing-toggle {
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-billing-option.is-selected {
  background: var(--bg-active);
  color: #f4dfaf;
  box-shadow: none;
}

.pricing-billing-saving {
  padding: 0.18rem 0.42rem;
  background: rgba(127, 201, 154, 0.16);
  color: #8fd3a8;
  font-weight: 700;
}

/* --- Plan grid + cards: flat near-black surfaces, more breathing room --- */
/* Default view shows 3 plans; the enterprise "Disruptor" plan is revealed on demand
   so we don't overload visitors with four options up front. */
.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.1rem 0 0.6rem;
}

.plan-card[data-plan-card="disruptor"] {
  display: none;
}

.plan-grid.show-enterprise {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-grid.show-enterprise .plan-card[data-plan-card="disruptor"] {
  display: flex;
}

@media (max-width: 1100px) {
  .plan-grid,
  .plan-grid.show-enterprise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .plan-grid,
  .plan-grid.show-enterprise {
    grid-template-columns: 1fr;
  }
}

/* "+ Show the Disruptor plan" reveal control */
.pricing-more-plans {
  display: flex;
  justify-content: center;
  margin: 0.2rem 0 0.4rem;
}

.pricing-more-plans[hidden] {
  display: none;
}

.pricing-more-plans-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

.pricing-more-plans-btn:hover,
.pricing-more-plans-btn:focus-visible {
  border-color: rgba(227, 183, 101, 0.5);
  color: var(--text-primary);
}

.pricing-more-plans-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(227, 183, 101, 0.14);
  color: #e9cf94;
  font-weight: 700;
  line-height: 1;
}

/* --- Gold check-marks instead of plain bullet dots --- */
.plan-card .plan-benefits li,
.shared-feature-list li {
  padding-left: 1.9rem;
}

.plan-card .plan-benefits li::before,
.shared-feature-list li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 0.05rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid rgba(227, 183, 101, 0.45);
  background: rgba(227, 183, 101, 0.12);
  color: #e9cf94;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: none;
}

.plan-card {
  background: #15171c;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  box-shadow: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

/* Price is the clear focal number */
.plan-price {
  font-weight: 600;
  color: #f1e2c0;
  font-size: clamp(1.5rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: 0;
}

/* Effective cost: plain muted text, not a busy gold pill */
.plan-effective-cost {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #9aa2af;
  font-size: 0.85rem;
  font-weight: 500;
}

.plan-effective-delta {
  padding-left: 0.4rem;
  border-left: 0;
  color: #7fc99a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* Credit line: calm, readable (no shouty uppercase gold) */
.plan-credit-line {
  margin: 0 0 1rem;
  color: #c8cfdb;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Featured card: calmer highlight; gold reserved for the single "Most popular" badge */
.plan-card.featured {
  border-color: rgba(222, 183, 101, 0.5);
  box-shadow: 0 16px 40px rgba(8, 10, 14, 0.45);
}

.plan-card.featured-popular {
  transform: translateY(-6px);
  border-color: rgba(222, 183, 101, 0.5);
  box-shadow: 0 18px 44px rgba(8, 10, 14, 0.5);
}

.plan-card.featured-popular .plan-badge-tier {
  color: #2a1c00;
  border-color: rgba(227, 183, 101, 0.6);
  background: linear-gradient(135deg, #f3d790 0%, #e3b765 100%);
}

.plan-card-current {
  border-color: rgba(227, 183, 101, 0.6);
  box-shadow: 0 16px 40px rgba(8, 10, 14, 0.45);
}

.plan-card.selected {
  border-color: rgba(227, 183, 101, 0.6);
  box-shadow: 0 16px 40px rgba(8, 10, 14, 0.45);
}

/* --- Section rhythm: more whitespace between major blocks --- */
.pricing-shared {
  margin: 2.4rem auto 1.6rem;
}

.pricing-proof {
  margin: 2.4rem 0 1.6rem;
}

.pricing-social-proof {
  margin: 2.4rem 0 1.6rem;
}

/* --- "What every plan includes": deboxed, calm, value-forward --- */
.pricing-shared-head-clean {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.pricing-shared-head-clean .pricing-account-kicker {
  margin-bottom: 0.55rem;
}

.pricing-shared-head-clean h2 {
  margin: 0 0 0.55rem;
}

.pricing-shared-head-clean .pricing-shared-sub {
  margin: 0;
  font-size: 1.02rem;
  color: #c7ced9;
}

.pricing-shared-grid-clean {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem 3.5rem;
  align-items: start;
}

/* No card chrome — sit directly on the dark background */
.shared-feature-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.shared-feature-block h3 {
  margin: 0 0 1.1rem;
  color: #f0ddb3;
  font-size: 1.05rem;
}

.shared-feature-list-clean {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.shared-feature-list-clean li {
  color: #d7dde7;
  line-height: 1.45;
}

.pricing-credit-sub {
  margin: 0 0 1rem;
}

/* Credit table: borderless and airy (keeps horizontal scroll on small screens) */
.pricing-shared-grid-clean .pricing-credit-table-wrap {
  border: 0;
  background: transparent;
  border-radius: 0;
}

.pricing-shared-grid-clean .pricing-credit-table {
  min-width: 0;
}

.pricing-shared-grid-clean .pricing-credit-table th,
.pricing-shared-grid-clean .pricing-credit-table td {
  padding: 0.5rem 0.7rem 0.5rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1100px) {
  .pricing-shared-grid-clean {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* --- FAQ: no box, directly on the dark background --- */
.pricing-section .faq-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 2.6rem;
  max-width: 760px;
}

.pricing-section .faq-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-section .faq-section details {
  border-top-color: var(--border);
}
