/* =============================================================================
   YURBI PRICING PAGE STYLES
   Layout only. Tokens/base components in global.css.
   ============================================================================= */


/* =============================================================================
   PRICING HERO
   ============================================================================= */
.pricing-hero-section {
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
}
.pricing-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.pricing-hero-copy h1 {
  font-size: var(--t-hero-page);
  margin-bottom: var(--s-5);
}

.pricing-hero-sub {
  font-size: var(--t-lead);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-8);
  max-width: 480px;
}
.pricing-hero-proof {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.pricing-hero-proof li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-base);
  color: var(--text-sec);
}
.pricing-hero-proof svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.pricing-hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }


/* =============================================================================
   PRICING HERO VISUAL — Transparency card (Yurbi-first design)
   ============================================================================= */
.phv-transparency-card {
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

/* Yurbi block — dominant, top section */
.phv-yurbi-block {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 100%);
  padding: var(--s-8) var(--s-8) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.phv-yurbi-brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-lead);
  font-weight: var(--w-xbold);
  color: rgba(255,255,255,.9);
  letter-spacing: var(--ls-snug);
}
.phv-yurbi-brand svg { width: 20px; height: 20px; color: rgba(255,255,255,.75); }

.phv-yurbi-price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  line-height: 1;
}
.phv-yurbi-from {
  font-size: var(--t-base);
  font-weight: var(--w-medium);
  color: rgba(255,255,255,.65);
}
.phv-yurbi-amount {
  font-size: 2.75rem;
  font-weight: var(--w-xbold);
  color: #fff;
  letter-spacing: var(--ls-tight);
}
.phv-yurbi-period {
  font-size: var(--t-lead);
  font-weight: var(--w-semibold);
  color: rgba(255,255,255,.65);
}

.phv-published-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  padding: 7px 14px;
  border-radius: var(--r-full);
  align-self: flex-start;
}
.phv-published-badge svg { width: 14px; height: 14px; color: #A8D8A0; flex-shrink: 0; }

/* Separator */
.phv-vs-sep {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-8);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-sub);
}
.phv-vs-line { flex: 1; height: 1px; background: var(--border-sub); }
.phv-vs-label {
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hidden pricing rows — secondary, smaller */
.phv-hidden-rows {
  padding: var(--s-4) var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  background: var(--bg);
}
.phv-hidden-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  background: rgba(229,62,62,.04);
}
.phv-hidden-vendor {
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--text-muted);
}
.phv-hidden-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--t-caption);
  font-weight: var(--w-bold);
  color: #C53030;
  background: rgba(229,62,62,.08);
  padding: 3px 9px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.phv-hidden-tag svg { width: 11px; height: 11px; flex-shrink: 0; }


/* =============================================================================
   PRICING PHILOSOPHY STRIP
   ============================================================================= */
.pricing-philosophy {
  background: var(--bg);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding-block: var(--s-8);
}
.pp-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.pp-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding-inline: var(--s-8);
}
.pp-item:first-child { padding-left: 0; }
.pp-item:last-child  { padding-right: 0; }
.pp-icon {
  width: 40px; height: 40px;
  background: var(--blue-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pp-icon svg { width: 20px; height: 20px; color: var(--blue); }
.pp-item strong {
  display: block;
  font-size: var(--t-base);
  font-weight: var(--w-bold);
  color: var(--text);
  margin-bottom: var(--s-1);
  line-height: var(--lh-snug);
}
.pp-item span {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
}
.pp-sep {
  width: 1px;
  background: var(--border-sub);
  flex-shrink: 0;
  margin-block: var(--s-1);
}


/* =============================================================================
   PRICING GRID — 4 cards, one featured
   ============================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border-sub);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.pricing-card:hover { border-color: var(--border); box-shadow: var(--sh-md); }

/* Only Growth is featured */
.pricing-card-featured {
  border-color: var(--blue);
  box-shadow: var(--sh-blue);
}
.pricing-card-featured:hover { border-color: var(--blue-dark); }

/* Unlimited — neutral label only, no color spotlight */
.pricing-card-unlimited {
  border-color: var(--border);
}
.pricing-card-unlimited:hover { border-color: var(--border); box-shadow: var(--sh-md); }

/* Calculator highlight */
.pricing-card-calc-match {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px var(--blue-soft), var(--sh-blue) !important;
}

.pricing-featured-badge,
.pricing-unlimited-badge {
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  text-align: center;
  padding: 6px var(--s-4);
}
/* Featured — blue banner */
.pricing-featured-badge { background: var(--blue); color: #fff; }
/* Unlimited — neutral, not competing with featured */
.pricing-unlimited-badge {
  background: var(--bg-muted);
  color: var(--text-muted);
}

.pricing-card-inner {
  padding: var(--s-6);
  flex: 1;
}

.pricing-plan-name {
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: var(--s-3);
}
.pricing-price-amount {
  font-size: 2.25rem;
  font-weight: var(--w-xbold);
  color: var(--text);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
/* Only the featured card gets colored amount */
.pricing-card-featured .pricing-price-amount { color: var(--blue); }
.pricing-price-period {
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--text-muted);
}

.pricing-users {
  display: inline-flex;
  font-size: var(--t-caption);
  font-weight: var(--w-bold);
  color: var(--text-sec);
  background: var(--bg-muted);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
}
.pricing-users-blue { background: var(--blue-soft); color: var(--blue); }

.pricing-tagline {
  font-size: var(--t-base);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.pricing-card-ctas {
  padding: 0 var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}



/* =============================================================================
   INCLUDES STRIP — below all 4 cards
   ============================================================================= */
.includes-strip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-8);
  margin-bottom: var(--s-4);
}
.includes-strip-label {
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  color: var(--text);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.includes-strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2) var(--s-6);
  margin-bottom: var(--s-5);
}
.includes-strip-list li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-base);
  color: var(--text-sec);
}
.includes-strip-list svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.includes-strip-scope {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-sub);
}
.includes-strip-scope svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }
.includes-strip-scope strong { color: var(--text); font-weight: var(--w-semibold); }
.includes-strip-scope a { color: var(--blue); font-weight: var(--w-semibold); }
.includes-strip-scope a:hover { text-decoration: underline; }


/* =============================================================================
   SERVER ADD-ON NOTE
   ============================================================================= */
.addon-note {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--bg-blue);
  border: 1px solid var(--blue-soft2);
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
}
.addon-note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.addon-note strong { color: var(--text); font-weight: var(--w-semibold); }
.addon-note a { color: var(--blue); font-weight: var(--w-semibold); }
.addon-note a:hover { text-decoration: underline; }


/* =============================================================================
   USER CALCULATOR
   ============================================================================= */
.calc-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  padding: var(--s-10) var(--s-12);
  box-shadow: var(--sh-md);
}
.calc-inputs {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}
.calc-input-group {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.calc-label {
  font-size: var(--t-base);
  font-weight: var(--w-bold);
  color: var(--text);
  line-height: var(--lh-snug);
}
.calc-input {
  width: 100%;
  font-family: var(--mono);
  font-size: var(--t-2xl);
  font-weight: var(--w-bold);
  color: var(--blue);
  background: var(--bg-subtle);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  text-align: center;
  min-height: 64px;
  transition: border-color .15s;
  -moz-appearance: textfield;
}
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-input:focus { outline: none; border-color: var(--blue); background: var(--bg); }
.calc-input-hint {
  font-size: var(--t-caption);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.calc-times {
  font-size: var(--t-4xl);
  font-weight: var(--w-regular);
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
  padding-top: var(--s-8);
  align-self: flex-start;
}
.calc-result-row {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-8);
  background: var(--bg-subtle);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.calc-result-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 110px;
}
.calc-result-label {
  font-size: var(--t-caption);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  margin-bottom: var(--s-1);
}
.calc-result-num {
  font-size: 2.5rem;
  font-weight: var(--w-xbold);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1;
}
.calc-result-arrow { color: var(--text-muted); flex-shrink: 0; }
.calc-result-arrow svg { width: 24px; height: 24px; }
.calc-result-plan { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.calc-result-plan-eyebrow {
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--blue);
}
.calc-result-plan-name  { font-size: var(--t-2xl); font-weight: var(--w-xbold); color: var(--text); line-height: 1.2; }
.calc-result-plan-price { font-size: var(--t-lead); font-weight: var(--w-bold); color: var(--blue); }
.calc-result-plan-cap   { font-size: var(--t-sm); color: var(--text-muted); }
.calc-result-plan-link  {
  font-size: var(--t-sm); font-weight: var(--w-semibold);
  color: var(--blue); margin-top: var(--s-1);
  display: inline-flex; align-items: center; gap: 4px;
}
.calc-result-plan-link:hover { text-decoration: underline; }
.calc-growth-note {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  background: var(--blue-soft);
  border: 1px solid var(--blue-soft2);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
}
.calc-growth-note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.calc-growth-note span { font-size: var(--t-sm); color: var(--text-sec); line-height: var(--lh-relaxed); }
.calc-footnote { font-size: var(--t-sm); color: var(--text-muted); text-align: center; }
.calc-footnote a { color: var(--blue); font-weight: var(--w-semibold); }
.calc-footnote a:hover { text-decoration: underline; }


/* =============================================================================
   COMPETITIVE COMPARISON TABLE
   ============================================================================= */
.compare-wrap {
  overflow-x: auto;
  margin-bottom: var(--s-4);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-sub);
  box-shadow: var(--sh-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-base);
  background: var(--bg);
  min-width: 700px;
}
.compare-table thead tr {
  background: var(--bg-subtle);
  border-bottom: 2px solid var(--border);
}
.compare-table th,
.compare-table td {
  padding: var(--s-4) var(--s-5);
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-sub);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-subtle); }
.compare-th-feature {
  text-align: left;
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  min-width: 180px;
}
.compare-th-yurbi { background: var(--blue-soft); border-bottom: 2px solid var(--blue); }
.compare-yurbi-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--t-sm);
  font-weight: var(--w-xbold);
  color: var(--blue);
}
.compare-yurbi-badge svg { width: 14px; height: 14px; }
.compare-table th[scope="row"] {
  text-align: left;
  font-weight: var(--w-semibold);
  color: var(--text);
  background: transparent;
}
.compare-td-yurbi {
  background: rgba(0,95,172,.04);
  font-weight: var(--w-semibold);
  color: var(--text);
}
.compare-yes     { color: var(--green); font-weight: var(--w-bold); }
.compare-no      { color: #C53030;      font-weight: var(--w-bold); }
.compare-partial { color: var(--text-muted); }
.compare-disclaimer {
  font-size: var(--t-sm);
  color: var(--text-muted);
  text-align: center;
}
.compare-disclaimer a { color: var(--blue); font-weight: var(--w-semibold); }
.compare-disclaimer a:hover { text-decoration: underline; }


/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
  .pricing-hero-inner  { grid-template-columns: 1fr; }
  .pricing-hero-visual { display: none; }
  .pricing-hero-copy h1 { font-size: var(--t-4xl); }
  .pricing-hero-sub { max-width: 100%; }

  .pp-inner { flex-direction: column; gap: var(--s-5); }
  .pp-item  { padding-inline: 0; }
  .pp-sep   { display: none; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-strip-list { grid-template-columns: repeat(2, 1fr); }

  .calc-inputs { flex-direction: column; align-items: stretch; }
  .calc-times  { display: none; }
  .calc-result-row { flex-direction: column; align-items: flex-start; }
  .calc-result-arrow { transform: rotate(90deg); align-self: center; }
}

@media (max-width: 768px) {
  .pricing-hero-copy h1 { font-size: var(--t-3xl); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .includes-strip { padding: var(--s-5); }
  .includes-strip-list { grid-template-columns: 1fr; }
  .calc-card { padding: var(--s-6) var(--s-5); }
}

@media (max-width: 480px) {
  .pricing-hero-ctas { flex-direction: column; }
  .pricing-hero-ctas .btn { width: 100%; }
}
