/* ============================================================
   Pricing page — visual layer on top of the Aurora design system.
   Scoped to pricing.html only (this file is linked nowhere else).
   Text content is untouched by everything below; this file only
   restyles presentation of the existing markup/classes and a
   handful of purely decorative elements (blobs, icons, glows).
   ============================================================ */

/* ---------- Hero ---------- */
/* Floating glow blobs dropped for the "solid Material" pass. */
.pricing-hero { position: relative; isolation: isolate; }
.pricing-hero__blob { display: none; }
.pricing-hero .wrap { position: relative; z-index: 1; }
.pricing-hero__illustration { display: block; margin: 32px auto 0; }

/* ---------- Pricing section shell ---------- */
.pricing {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.pricing .wrap { position: relative; z-index: 1; }

.pricing-grid {
  gap: 24px;
  align-items: stretch;
}

/* ---------- Price cards ---------- */
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 36px 28px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.price-card::before { height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft-border);
}

.price-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}
.price-card--highlight .price-card__name { color: var(--violet-light); }

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 3rem;
  line-height: 1;
  margin: 4px 0 16px;
  letter-spacing: -0.02em;
}
.price-card__amount span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-card--highlight .price-card__amount {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: brightness(1.3);
}
.price-card--highlight .price-card__amount span {
  -webkit-text-fill-color: var(--ink-on-dark-soft);
  color: var(--ink-on-dark-soft);
}

.price-card__desc { min-height: 60px; }

.price-card__features { margin-top: 26px; gap: 13px; flex: 1; }
.price-card__features li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  flex: none;
}
.price-card--highlight .price-card__features li::before {
  background: rgba(255,255,255,0.16);
  color: var(--accent-light);
}

/* Button polish */
.price-card .btn { margin-top: auto; }
.price-card .btn--outline-dark { border-width: 1.5px; }
.price-card .btn--outline-dark:hover { background: var(--paper-soft); }
.price-card--highlight .btn--accent {
  background: var(--gradient-aurora);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-md);
}
.price-card--highlight .btn--accent:hover { box-shadow: var(--shadow-lg); }

/* ---------- Highlighted "Team" plan: the wow moment ---------- */
.price-card--highlight {
  background: var(--panel-dark);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px) scale(1.045);
  z-index: 2;
  overflow: visible;
}
.price-card--highlight:hover { transform: translateY(-16px) scale(1.045); }
.price-card--highlight::after { display: none; }

.price-card__badge {
  top: auto;
  bottom: 100%;
  right: auto;
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--gradient-aurora);
  color: #fff;
  box-shadow: var(--shadow-glow);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing__foot {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 44px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper-soft);
  text-align: left;
}
.pricing__foot::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
}
@media (max-width: 960px) {
  .price-card--highlight { transform: none; }
  .price-card--highlight:hover { transform: translateY(-8px); }
}

/* ---------- Comparison table ---------- */
.plan-compare { position: relative; }
.plan-compare__panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px;
  border: 1px solid var(--border);
}
.plan-compare__scroll {
  overflow-x: auto;
  overflow-y: visible;
  border-radius: calc(var(--radius-lg) - 4px);
}
.plan-compare__table {
  border: none;
  border-radius: calc(var(--radius-lg) - 4px);
}
/* "Team" column called out with a light header tint only — matching the
   pricing card above it without tinting every body cell down the column,
   which read as noisy on a comparison table meant to be scanned quickly. */
.plan-compare__table thead th:nth-child(4) {
  background: var(--violet-soft);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.plan-compare__table thead th:nth-child(4) .plan-compare__plan-name { color: var(--violet-dark); }

/* ---------- Guarantee ---------- */
.guarantee { padding: 100px 0 130px; background: var(--paper); }
.guarantee__card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  overflow: hidden;
}
.guarantee__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-aurora);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.guarantee__eyebrow { position: relative; z-index: 1; text-transform: uppercase; }
.guarantee__text {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .guarantee { padding: 72px 0 90px; }
  .guarantee__card { padding: 40px 24px; }
}
