/* /pricing - reuses tokens.css's palette (--brand/--accent/--surface/--plane/
   --border/--grid) exactly as every other marketing page does. No new colors
   introduced here - a premium feel comes from spacing/type/shadow, not a
   different palette bolted on top of the site's own. */

.pricing-hero {
  background: var(--brand);
  color: #fff;
  padding: 64px 0 40px;
  text-align: center;
}

.pricing-hero h1 {
  font-family: "Sora", -apple-system, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.pricing-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* Solid --accent pill (not a translucent white overlay, which read as
   "dead"/low-contrast against --brand's own dark green hero) - the shadow
   gives it depth/lift instead of a flat wash blending into the background. */
.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 11px 22px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.trial-banner-icon {
  display: flex;
  flex-shrink: 0;
}

.trial-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Tab switchers ---- */

.pricing-tabs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: -22px auto 40px;
  position: relative;
  z-index: 2;
}

.pricing-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-tab {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}

.pricing-tab.active {
  background: var(--brand);
  color: #fff;
}

/* ---- Plan cards ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 80px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Every card lifts on hover, not just the popular one - a plain flat card
   sitting still next to an already-elevated popular card read as "dead" by
   comparison. Popular starts pre-lifted (see below) so its hover lift stacks
   on top of that baseline instead of starting from zero like its neighbors. */
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Dark "spotlight" treatment (brand-color card, not just an accent border) -
   the two side plans stay on the light --surface background so this one reads
   as the deliberately-featured tier, matching the reference's dark middle card. */
.plan-card.popular {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.plan-card.popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 48px rgba(13, 61, 52, 0.32);
}

@media (max-width: 860px) {
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-4px); }
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.plan-name {
  font-family: "Sora", -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--brand);
}

.plan-card.popular .plan-name {
  color: #fff;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0 4px;
}

.plan-price .amount {
  font-family: "Sora", -apple-system, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
}

.plan-card.popular .plan-price .amount {
  color: #fff;
}

.plan-price .period {
  font-size: 14px;
  color: var(--ink-muted);
}

.plan-card.popular .plan-price .period {
  color: rgba(255, 255, 255, 0.62);
}

.plan-tagline {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.plan-card.popular .plan-tagline {
  color: rgba(255, 255, 255, 0.62);
}

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}

.plan-card.popular .plan-features li {
  color: rgba(255, 255, 255, 0.88);
}

.plan-features li.disabled {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--grid);
}

.plan-card.popular .plan-features li.disabled {
  color: rgba(255, 255, 255, 0.4);
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.plan-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(26, 143, 107, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.plan-card.popular .plan-check {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.plan-features li.disabled .plan-check {
  background: var(--grid);
  color: var(--ink-muted);
}

.plan-card.popular .plan-features li.disabled .plan-check {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.plan-cta.primary {
  background: var(--brand);
  color: #fff;
}

.plan-cta.primary:hover {
  opacity: 0.88;
}

.plan-cta.secondary {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.plan-cta.secondary:hover {
  background: var(--brand);
  color: #fff;
}

/* Popular card's own CTA - a solid white pill on the dark card (matching the
   reference), not the plain outlined "secondary" or the now-invisible-on-dark
   "primary" (var(--brand) on var(--brand) background). */
.plan-card.popular .plan-cta {
  background: #fff;
  color: var(--brand);
  border: none;
}

.plan-card.popular .plan-cta:hover {
  background: rgba(255, 255, 255, 0.88);
}

.pricing-region-note {
  text-align: center;
  color: var(--ink-muted);
  font-size: 12.5px;
  max-width: 620px;
  margin: -50px auto 60px;
  padding: 0 32px;
}
