/* ============================================================
   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 aurora blobs behind the copy ---------- */
.pricing-hero { position: relative; isolation: isolate; }
.pricing-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.pricing-hero__blob--a {
  top: -120px;
  left: 8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124,108,255,0.45), transparent 70%);
}
.pricing-hero__blob--b {
  top: -60px;
  right: 6%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,90,54,0.4), transparent 70%);
}
.pricing-hero .wrap { position: relative; z-index: 1; }

/* ---------- Pricing section shell ---------- */
.pricing {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(255,90,54,0.08) 0%, rgba(124,108,255,0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.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: 0 16px 34px -12px rgba(124,108,255,0.55);
}
.price-card--highlight .btn--accent:hover { box-shadow: 0 20px 44px -12px rgba(255,90,54,0.55); }

/* ---------- Highlighted "Team" plan: the wow moment ---------- */
.price-card--highlight {
  background-image: linear-gradient(var(--panel-dark), var(--panel-dark)), var(--gradient-aurora);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow), 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);
}
.plan-compare__table thead th {
  position: sticky;
  top: 96px;
  z-index: 3;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--border);
}
.plan-compare__table tbody tr:not(.plan-compare__group):not(.plan-compare__desc-row):nth-of-type(even) td {
  background: var(--paper-soft);
}
.plan-compare__table tbody tr:hover td { background: var(--accent-soft); }
.plan-compare__desc-row td {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-style: italic;
  vertical-align: top;
  padding-top: 18px;
  line-height: 1.5;
}
.plan-compare__group th { border-top: 1px solid var(--border); }

/* "Team" column called out to match the pricing card above it */
.plan-compare__table th:nth-child(4),
.plan-compare__table td:nth-child(4) {
  background: var(--violet-soft) !important;
  position: relative;
}
.plan-compare__table thead th:nth-child(4) { color: var(--violet-dark) !important; }

.plan-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 14px -6px rgba(255,90,54,0.5);
}
.plan-compare__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--ink-soft);
  opacity: 0.5;
}

@media (max-width: 720px) {
  .plan-compare__table thead th { position: static; }
}

/* ---------- 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__card::before {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124,108,255,0.14), transparent 70%);
  pointer-events: none;
}
.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; }
}
