/* ============================================
   {{SITE_NAME}} — Pricing Page Styles
   ============================================ */

/* --- Pricing Cards Grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15,42,68,0.12);
}
.pricing-card--featured {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 40px rgba(23,107,154,0.15);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-blue), var(--workwear-blue));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-xl);
  white-space: nowrap;
}
.pricing-card__tier {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: var(--space-2);
}
.pricing-card__name {
  font-size: var(--text-xl);
  color: var(--trust-navy);
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--trust-navy);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.pricing-card__price span {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--steel-gray);
}
.pricing-card__freq {
  font-size: var(--text-sm);
  color: var(--steel-gray);
  margin-bottom: var(--space-4);
}
.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--steel-gray);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--light-gray);
}
.pricing-card__best {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(116,201,167,0.1);
  border: 1px solid rgba(116,201,167,0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #1a7a5a;
  margin-bottom: var(--space-6);
}
.pricing-card__best svg {
  width: 14px; height: 14px; color: var(--map-green);
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--steel-gray);
  line-height: 1.5;
}
.pricing-card__features li svg {
  width: 18px; height: 18px;
  color: var(--map-green);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card__cta {
  margin-top: auto;
}
.pricing-card__cta .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* --- Comparison Table --- */
.compare-table-wrap {
  overflow-x: auto;
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm);
}
.compare-table thead th {
  background: var(--trust-navy);
  color: var(--off-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-4) var(--space-5);
  text-align: center;
  white-space: nowrap;
}
.compare-table thead th:first-child {
  text-align: left;
  min-width: 220px;
}
.compare-table thead th.featured-col {
  background: var(--brand-blue);
  position: relative;
}
.compare-table tbody td {
  padding: var(--space-3) var(--space-5);
  color: var(--steel-gray);
  border-bottom: 1px solid var(--light-gray);
  background: var(--white);
  text-align: center;
  vertical-align: middle;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--trust-navy);
}
.compare-table tbody td.featured-col {
  background: rgba(23,107,154,0.03);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: #f8f9fb; }
.compare-table tbody tr:hover td.featured-col { background: rgba(23,107,154,0.06); }
.compare-table .check {
  color: var(--map-green);
  font-weight: 700;
  font-size: var(--text-base);
}
.compare-table .dash {
  color: var(--light-gray);
  font-size: var(--text-lg);
}

/* --- Progressive Path --- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  counter-reset: step;
}
.path-step {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.path-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.path-step__num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-blue), var(--workwear-blue));
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.path-step h3 {
  font-size: var(--text-lg);
  color: var(--trust-navy);
  margin-bottom: var(--space-2);
}
.path-step p {
  font-size: var(--text-sm);
  color: var(--steel-gray);
  line-height: 1.7;
}
.path-step__price {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: var(--space-3);
  font-size: var(--text-base);
}

/* --- Guarantees Grid --- */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(116,201,167,0.06);
  border: 1px solid rgba(116,201,167,0.15);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--steel-gray);
  line-height: 1.6;
}
.guarantee-item svg {
  width: 20px; height: 20px;
  color: var(--map-green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card--featured {
    transform: none;
    order: -1;
  }
  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
  .path-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
