/* Workforce Vision pricing — Stripe / Linear / Notion patterns, brand tokens */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

.pricing-page-main {
  --wv-blue: #0065ec;
  --wv-cyan: #23afed;
  --wv-grad: linear-gradient(135deg, var(--wv-blue), var(--wv-cyan));
  background: #fff;
  min-height: 60vh;
  color: #040822;
}

.pricing-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero (Stripe: centered, restrained) ── */
.pricing-hero {
  padding: 56px 0 8px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}
.pricing-hero__inner {
  max-width: 720px;
  text-align: center;
}
.pricing-hero__eyebrow {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0065ec;
}
.pricing-hero__title {
  margin: 0 0 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #040822;
}
.pricing-hero__sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #64748b;
}

/* ── Section surface ── */
.pricing-surface {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #040822;
  padding: 48px 0 64px;
  background: #fafbfc;
}

.pricing-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.pricing-section-head__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.pricing-section-head__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #64748b;
}

/* ── Trust strip (Notion / Linear) ── */
.pricing-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 28px;
}
.pricing-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.pricing-trust__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wv-grad);
}

/* ── Card grid (5 equal columns — Stripe/Linear equal-height cards) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.pricing-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 20px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wv-grad);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 101, 236, 0.25);
}

.pricing-card--featured {
  border-color: rgba(0, 101, 236, 0.35);
  box-shadow: 0 4px 20px rgba(0, 101, 236, 0.1);
  padding-top: 28px;
}

.pricing-card__top {
  margin-bottom: 16px;
  min-height: 72px;
}
.pricing-card__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pricing-card__headline {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}

.pricing-card__amount {
  margin: 0 0 6px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #040822;
}
.pricing-card__amount--custom {
  font-size: 28px;
}
.pricing-card__period {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}
.pricing-card__meta {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
}

.pricing-card__features {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #334155;
}
.pricing-check {
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ── Enterprise row (Stripe Custom — light card, matches tier cards) ── */
.pricing-enterprise {
  margin-top: 16px;
}
.pricing-card--enterprise {
  padding: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #0065ec;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}
.pricing-card--enterprise:hover {
  border-color: #cbd5e1;
  border-left-color: #0065ec;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.pricing-card__enterprise-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto;
  gap: 24px 32px;
  align-items: center;
  padding: 28px 28px 28px 24px;
}
.pricing-card__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0065ec;
}
.pricing-card--enterprise .pricing-card__name {
  color: #040822;
  font-size: 22px;
  margin: 0 0 6px;
}
.pricing-card--enterprise .pricing-card__headline {
  color: #64748b;
  font-weight: 500;
}
.pricing-card--enterprise .pricing-card__amount {
  color: #040822;
  font-size: 28px;
  margin: 0 0 12px;
}
.pricing-card--enterprise .pricing-card__period {
  color: #94a3b8;
}
.pricing-card__features--enterprise li {
  color: #334155;
}
.pricing-card__enterprise-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 160px;
}
.pricing-card__enterprise-cta .wv-btn {
  width: 100%;
  text-align: center;
}

/* ── Bottom section (white band — matches hero/card polish) ── */
.pricing-bottom {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 56px 0 64px;
}

/* Compare — equal panels (Linear / Notion) */
.pricing-compare {
  margin-bottom: 56px;
}
.pricing-compare__head {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 32px;
}
.pricing-compare__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0065ec;
}
.pricing-compare__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #040822;
}
.pricing-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.pricing-compare__panel {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.pricing-compare__panel-head {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-compare__panel--others .pricing-compare__panel-head {
  background: #fafbfc;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
}
.pricing-compare__panel--wv .pricing-compare__panel-head {
  background: var(--wv-grad);
  color: #fff;
}
.pricing-compare__list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}
.pricing-compare__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid #f8fafc;
}
.pricing-compare__list li:last-child {
  border-bottom: none;
}
.pricing-compare__panel--others .pricing-compare__list li {
  color: #94a3b8;
}
.pricing-compare__list--wv li {
  color: #040822;
  font-weight: 600;
}
.pricing-compare__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Add-ons matrix — Linear-style (checks, not pill badges) */
.pricing-addons {
  margin-top: 0;
}
.pricing-addons__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
}
.pricing-addons__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0065ec;
}
.pricing-addons__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #040822;
}
.pricing-addons__sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}
.pricing-addons__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}
.pricing-addons__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-matrix {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.pricing-matrix__col-module {
  width: 28%;
}
.pricing-matrix__col-tier {
  width: 14.4%;
}
.pricing-matrix thead th {
  padding: 12px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  background: #fafbfc;
  color: #64748b;
}
.pricing-matrix__corner {
  text-align: left !important;
  padding-left: 20px !important;
  color: #94a3b8 !important;
  background: #fafbfc !important;
}
.pricing-matrix tbody th,
.pricing-matrix tbody td {
  padding: 13px 8px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.pricing-matrix tbody tr:last-child th,
.pricing-matrix tbody tr:last-child td {
  border-bottom: none;
}
.pricing-matrix__module {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  padding-left: 20px !important;
  font-weight: 700;
  font-size: 13px;
  color: #334155;
  background: #fff;
  box-shadow: 1px 0 0 #f1f5f9;
}
.pricing-matrix__cell {
  text-align: center;
  background: #fff;
}
.pricing-matrix__cell--yes {
  background: #fff;
}
.pricing-matrix .pricing-check {
  display: inline-block;
  vertical-align: middle;
}
.pricing-matrix__cell--price {
  font-variant-numeric: tabular-nums;
}
.pricing-matrix__amount {
  font-weight: 700;
  color: #040822;
  font-size: 14px;
}
.pricing-matrix__unit {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.pricing-matrix__cell--na {
  background: #fcfdfe;
}
.pricing-matrix__dash {
  color: #d1d5db;
  font-weight: 600;
  font-size: 14px;
}
.pricing-matrix tbody tr:hover .pricing-matrix__module {
  color: #040822;
}
.pricing-matrix tbody tr:hover td {
  background: #f8fafc;
}
.pricing-matrix tbody tr:hover td.pricing-matrix__cell--yes {
  background: #f8fafc;
}
.pricing-matrix tbody tr:nth-child(even) .pricing-matrix__module {
  background: #fcfdfe;
}
.pricing-matrix tbody tr:nth-child(even) td {
  background: #fcfdfe;
}
.pricing-matrix tbody tr:nth-child(even):hover td,
.pricing-matrix tbody tr:nth-child(even):hover .pricing-matrix__module {
  background: #f8fafc;
}
.pricing-addons__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin: 0;
  padding: 12px 16px;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.pricing-addons__legend-yes {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.pricing-addons__legend-yes .pricing-check {
  transform: scale(0.85);
}
.pricing-addons__legend-dash {
  color: #d1d5db;
  font-weight: 700;
}
.pricing-addons__legend-sep {
  color: #cbd5e1;
}

/* Close CTA — centered card, matches hero rhythm */
.pricing-close {
  margin: 0 auto 72px;
  max-width: 640px;
  padding: 40px 32px;
  text-align: center;
  border-radius: 16px;
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.04);
  position: relative;
  overflow: hidden;
}
.pricing-close::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--wv-grad);
}
.pricing-close__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0065ec;
}
.pricing-close__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #040822;
}
.pricing-close__sub {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}
.pricing-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.wv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.wv-btn--primary {
  background: linear-gradient(135deg, #0065ec, #23afed);
  background: var(--wv-grad, linear-gradient(135deg, #0065ec, #23afed));
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 101, 236, 0.2);
}
.wv-btn--primary:hover {
  box-shadow: 0 4px 12px rgba(0, 101, 236, 0.28);
  filter: brightness(1.03);
}
.wv-btn--secondary {
  background: #fff;
  color: #040822;
  border-color: #e5e7eb;
}
.wv-btn--secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.nav-active {
  color: #0065ec !important;
  font-weight: 700;
}

/* ── Homepage compact ── */
.pricing-surface--compact {
  padding: 32px 0 40px;
  background: transparent;
}
.pricing-bottom--compact {
  padding: 32px 0 40px;
}

/* ── Responsive: horizontal scroll (mobile/tablet SaaS pattern) ── */
@media (max-width: 1100px) {
  .pricing-grid:not(.pricing-grid--compact) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 12px 4px 16px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-grid:not(.pricing-grid--compact) .pricing-card {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
  }
  .pricing-card__enterprise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .pricing-card__enterprise-cta .wv-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 40px 0 8px;
  }
  .pricing-grid--compact {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 12px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .pricing-grid--compact .pricing-card {
    flex: 0 0 min(280px, 85vw);
    scroll-snap-align: start;
  }
  .pricing-shell {
    padding: 0 20px;
  }
  .pricing-compare__grid {
    grid-template-columns: 1fr;
  }
  .pricing-bottom {
    padding: 40px 0 48px;
  }
  .pricing-close {
    margin-bottom: 48px;
    padding: 32px 24px;
  }
}
