/* pricing-shared.css -- pricing card styles shared between the homepage
   pricing switcher and the three dedicated pricing pages (itin-pricing.html,
   llc-pricing.html, bookkeeping-pricing.html). Also carries the hero/CTA
   layout the three dedicated pages share with each other, since it's
   identical apart from copy -- not worth three near-duplicate page files. */

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 21px 28px 17px;
  min-height: 188px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 205, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 48px rgba(0, 0, 0, .3), 0 0 28px rgba(0, 183, 255, .14);
}

.price-card p {
  margin: 3px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.compact {
  font-size: 15px;
  line-height: 1.78;
  min-height: 78px;
  clear: both;
}

.price-card .compact li {
  padding-left: 0;
}

.price-card .compact li::before {
  display: none;
}

.price-card > .full {
  margin-top: auto;
}

.popular {
  border-color: var(--cyan);
  box-shadow: 0 0 23px rgba(0, 192, 255, .45), inset 0 1px 0 rgba(255,255,255,.1);
}

/* ITIN dropped its Basic tier, so its grid is 2 cards instead of 3 --
   scoped to just the ITIN panel/page so LLC and Bookkeeping keep 3. */
#pricing-panel-itin,
[aria-label="ITIN pricing plans"] {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- dedicated pricing-page layout (hero + cards + CTA) ---- */

.pricing-page-shell::before {
  background:
    radial-gradient(ellipse at 78% 8%, rgba(59, 102, 255, .3), transparent 31rem),
    radial-gradient(circle at 9% 42%, rgba(0, 156, 255, .13), transparent 25rem),
    linear-gradient(105deg, rgba(0, 12, 38, .18), rgba(0, 0, 0, 0) 45%);
}

.pricing-page-hero {
  width: min(100% - 48px, 720px);
  margin: 10px auto 0;
  text-align: center;
}

.pricing-page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 49px);
  line-height: 1.14;
  font-weight: 900;
}

.pricing-page-hero h1 span {
  color: var(--cyan);
}

.pricing-page-hero .hero-subtitle {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.pricing-page-cards {
  margin: 36px 0 44px;
}

.pricing-page-cta {
  width: 100%;
  margin: 40px 0 13px;
}
