/* Pricing page additions — built on /style.css design tokens.
   Self-contained block per component so the file is easy to scan. */

/* ─── Hero variant ────────────────────────────────────────── */
.hero-pricing { padding-top: 100px; padding-bottom: 60px; }
.hero-pricing .hero-title { font-size: clamp(40px, 5.5vw, 72px); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Pillar cards (4-up "How we sell") ───────────────────── */
.pillar-grid { gap: 24px; }
.pillar-card { padding: 28px; }
.pillar-card .pillar-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 18px;
}
.pillar-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pillar-card p {
  font-size: 15px;
  color: var(--fg-mid);
  margin: 0;
  line-height: 1.55;
}
.trade-note {
  margin: 48px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 15px;
  color: var(--fg-mid);
  padding: 18px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ─── Tier cards (4-tier table) ──────────────────────────── */
.tier-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
@media (max-width: 1100px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.tier-featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
}
.tier-featured:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
}
.tier-enterprise {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-alt) 100%);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.tier-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tier-sub {
  font-size: 12px;
  color: var(--fg-mute);
}
.tier-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.1;
}
.tier-price-sub {
  font-size: 12px;
  color: var(--fg-mute);
  margin-bottom: 18px;
}

.tier-maint {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tier-maint-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tier-maint-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-features li {
  font-size: 13px;
  color: var(--fg-mid);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}
.tier-foot {
  margin: 40px auto 0;
  max-width: 820px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-mute);
}

/* ─── Reference deployments table ────────────────────────── */
.ref-table-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.ref-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  text-align: left;
  padding: 18px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.ref-table tbody td {
  padding: 22px 20px;
  font-size: 14px;
  color: var(--fg-mid);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.ref-table tbody tr:last-child td { border-bottom: none; }
.ref-table tbody td:first-child {
  font-weight: 600;
  color: var(--fg);
}
.ref-or {
  display: block;
  font-size: 12px;
  color: var(--fg-mute);
  margin-top: 4px;
}
.ref-foot {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--fg-mute);
}

/* ─── Included + bolt-ons cards ──────────────────────────── */
.incl-grid { gap: 24px; }
.incl-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.incl-included {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-sm);
}
.incl-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.incl-badge-primary {
  background: var(--grad);
  color: #fff;
}
.incl-badge-accent {
  background: rgba(108, 76, 255, 0.12);
  color: var(--brand);
}
.incl-card h3 {
  font-size: 22px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.incl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.incl-list li {
  font-size: 14px;
  color: var(--fg-mid);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.incl-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.bolton-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.bolton-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.bolton-list li:last-child { border-bottom: none; }
.bolton-label { color: var(--fg-mid); }
.bolton-price {
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

/* ─── Final CTA card ─────────────────────────────────────── */
.cta-card {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-card p {
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.95;
  line-height: 1.5;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-card .btn-primary {
  background: #fff;
  color: var(--fg);
}
.cta-card .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ─── Mobile tightening ──────────────────────────────────── */
@media (max-width: 720px) {
  .pillar-card { padding: 22px; }
  .tier-card { padding: 24px 20px 20px; }
  .tier-price { font-size: 28px; }
  .incl-card { padding: 22px; }
  .cta-card { padding: 40px 24px; }
}
