/* ============================================================
   VisiHost — Pricing page refinement
   Layered on top of the professional CSS specifically for /pricing/
   ============================================================ */

/* Tighten the pricing layout */
.pricing-grid,
.pricing-cards,
section[class*="pricing-grid"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 48px 0 !important;
}
@media (max-width: 900px) {
  .pricing-grid, .pricing-cards { grid-template-columns: 1fr !important; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Pricing card refinement */
.pricing-card {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  padding: 32px !important;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pricing-card.featured {
  transform: scale(1.04);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06) !important;
}
@media (max-width: 900px) {
  .pricing-card.featured { transform: none; }
}
.pricing-card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.015em !important;
}
.pricing-card .price {
  font-family: 'Poppins', sans-serif !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  letter-spacing: -0.028em !important;
  margin: 12px 0 4px !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}
.pricing-card .price small {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  letter-spacing: 0 !important;
  margin-left: 4px !important;
}
.pricing-card > p:not(.price) {
  font-size: 13px !important;
  color: #64748B !important;
  line-height: 1.55 !important;
  margin: 8px 0 20px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

/* Feature list — checkmark bullets */
.pricing-card .feature-list,
.pricing-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  flex: 1;
}
.pricing-card .feature-list li,
.pricing-card ul li {
  position: relative !important;
  padding: 8px 0 8px 28px !important;
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.pricing-card .feature-list li::before,
.pricing-card ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 11px !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #D1FAE5 !important;
  border-radius: 50% !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") !important;
  background-size: 12px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Add CTA button to each pricing card */
.pricing-card .pricing-cta {
  display: block;
  text-align: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 180ms;
  margin-top: auto;
}
.pricing-card:not(.featured) .pricing-cta {
  background: white;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}
.pricing-card:not(.featured) .pricing-cta:hover {
  border-color: #0F172A;
  background: #FAFBFC;
}
.pricing-card.featured .pricing-cta {
  background: #0F172A;
  color: white;
  border: 1px solid #0F172A;
}
.pricing-card.featured .pricing-cta:hover {
  background: #0F766E;
  border-color: #0F766E;
}

/* Refine the add-on services table */
.table-card,
section .table-card {
  background: white !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 32px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
.table-card h3 {
  margin: 0 0 20px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}
thead th {
  background: #FAFBFC !important;
  color: #0F172A !important;
  font-weight: 600 !important;
  text-align: left !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}
tbody td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  color: #334155 !important;
}
tbody tr:last-child td { border-bottom: none !important; }
tbody tr:hover td { background: #FAFBFC !important; }
tbody td:nth-child(2) {
  font-weight: 600 !important;
  color: #0F172A !important;
  font-variant-numeric: tabular-nums;
}
