/* Pricing: the two tiers the product actually has — Free and Lifetime Pro.
   Deliberately no monthly/annual toggle (the product is one-time) and no
   "Recommended" badge (the site never defines one). Pro is made prominent
   with accent + elevation + an explicit lifetime / one-time meta row. */

/* ---------- Header: heading + value cards (kept light so they support, not compete) ---------- */
.pricing-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 48px; align-items: end; margin-bottom: 36px; }
.pricing-head h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.05em; line-height: 1.12; }
.pricing-lede { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 500px; }

.pricing-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pricing-stat { display: grid; gap: 5px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgb(18 24 68 / .28); transition: border-color .25s, background .25s; }
.pricing-stat:hover { border-color: rgb(22 217 255 / .25); background: rgb(18 24 68 / .45); }
.pricing-stat svg { width: 16px; height: 16px; color: var(--cyan); }
.pricing-stat strong { display: block; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
.pricing-stat small { display: block; color: var(--muted); font-size: 9.5px; line-height: 1.45; }

/* ---------- Card grid ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* Everything is normal document flow — no absolute positioning anywhere in
   this section, so nothing can overlap. */
.plan-card { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid rgb(145 164 255 / .22); border-radius: 14px; background: linear-gradient(150deg, #121844, #0c1033); box-shadow: 0 14px 38px rgb(0 0 0 / .32); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.plan-card:hover { border-color: rgb(145 164 255 / .38); transform: translateY(-2px); box-shadow: 0 20px 50px rgb(0 0 0 / .42); }

/* Pro is the only paid tier; it's the upgrade path, so accent + elevation. */
.plan-card-featured { border-color: rgb(22 217 255 / .45); background: radial-gradient(ellipse at 12% 0%, rgb(73 52 212 / .3), transparent 60%), linear-gradient(150deg, #16205a, #0c1033); box-shadow: 0 20px 52px rgb(0 0 0 / .42), 0 0 30px rgb(73 52 212 / .18); }
.plan-card-featured:hover { border-color: var(--cyan); box-shadow: 0 24px 58px rgb(0 0 0 / .48), 0 0 34px rgb(22 217 255 / .18); }

.plan-tag { display: inline-block; align-self: flex-start; padding: 5px 10px; border: 1px solid rgb(145 164 255 / .28); border-radius: 6px; background: rgb(73 52 212 / .18); color: var(--accent); font: 9px/1.5 'JetBrains Mono', monospace; letter-spacing: .1em; }
.plan-card-featured .plan-tag { border-color: rgb(22 217 255 / .4); background: rgb(22 217 255 / .12); color: var(--cyan); }
.plan-card h3 { margin-top: 13px; font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

/* ---------- Price: the focal point ---------- */
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; margin-top: 18px; padding-block: 15px; border-block: 1px solid var(--line); }
.plan-currency { align-self: flex-start; margin-top: 6px; color: var(--muted); font-size: 20px; font-weight: 600; }
.plan-amount { font-size: clamp(42px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: var(--ink); }
.plan-period { flex-basis: 100%; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.55; }

/* ---------- Purchase information box (both cards, so heights stay balanced) ---------- */
.plan-meta { display: grid; gap: 6px; margin-top: 13px; padding: 11px 12px; border: 1px solid rgb(22 217 255 / .2); border-radius: 8px; background: rgb(22 217 255 / .05); }
.plan-meta-free { border-color: var(--line); background: rgb(18 24 68 / .4); }
.plan-meta-row { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 10.5px; font-weight: 500; line-height: 1.5; }
.plan-meta-row svg { width: 13px; height: 13px; color: var(--cyan); flex-shrink: 0; }

/* ---------- CTAs: full-width block buttons in normal flow ---------- */
.plan-cta { display: flex; align-items: center; justify-content: center; width: 100%; gap: 9px; min-height: 50px; margin-top: 14px; padding: 12px 18px; border-radius: 9px; font-size: 12px; font-weight: 700; letter-spacing: -.005em; text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s, background .22s; }
.plan-cta svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .22s var(--ease); }
.plan-cta:hover { transform: translateY(-1px); }
.plan-cta:hover svg { transform: translateX(3px); }
.plan-cta:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Pro keeps the brand blue→purple button from v2.css (gap overridden here). */
.plan-cta-pro:hover { box-shadow: inset 0 1px #ffffff55, 0 8px 24px rgb(73 52 212 / .4); }

/* Free: refined outlined treatment — clearly interactive, still secondary. */
.plan-cta-free { background: rgb(18 24 68 / .55); border: 1px solid rgb(145 164 255 / .5); color: var(--ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.plan-cta-free:hover { background: rgb(22 217 255 / .1); border-color: var(--cyan); box-shadow: 0 6px 18px rgb(22 217 255 / .12); }

/* Supporting line sits clearly below the button, never under it. */
.plan-note { display: block; margin-top: 9px; text-align: center; color: var(--muted); font-size: 9.5px; line-height: 1.5; }

/* ---------- Feature lists (with category labels) ---------- */
.plan-features { display: grid; gap: 8px; margin-top: 18px; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.plan-features li.is-off { color: #7c8cd6; }
.plan-features li.is-cat { display: block; color: var(--muted); font: 9px/1 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; padding-top: 11px; padding-bottom: 1px; border-top: 1px solid var(--line); margin-top: 7px; }
.plan-features li.is-cat:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.plan-icon { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.plan-icon-off { color: #7c8cd6; }

/* ---------- Trust pills (integrated panel) ---------- */
.pricing-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: rgb(18 24 68 / .3); }
.pricing-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10.5px; }
.pricing-trust svg { width: 14px; height: 14px; color: var(--cyan); flex-shrink: 0; }

/* ---------- Footer ---------- */
.pricing-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 16px; font-size: 10.5px; color: var(--muted); }
.pricing-foot a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pricing-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plan-card { padding: 22px 18px; }
  /* Value cards become compact one-line rows so they don't eat vertical space. */
  .pricing-stats { grid-template-columns: 1fr; gap: 8px; }
  .pricing-stat { display: flex; align-items: center; gap: 11px; padding: 11px 13px; }
  .pricing-stat strong { display: inline; }
  .pricing-stat small { display: inline; margin-left: auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card:hover, .plan-cta:hover { transform: none; }
  .plan-cta:hover svg { transform: none; }
}