/* ═══ صفحه‌ی تعرفه‌ها (D-699) ═══════════════════════════════════════
   کارت‌های تصویری: تصویرِ هر پلن بالای کارت (از پنل)، نام و «برای چه
   کسی»، قیمت، و فهرستِ یکسانِ امکانات. فقط از توکن‌های `riqx.css`، پس
   حالتِ تیره‌ی سایت خودبه‌خود درست است. */

.pl-page { max-width: 1240px; margin: 0 auto; padding: 36px 16px 64px; }

.pl-hero { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 44px 24px 36px; border-radius: 28px; margin-bottom: 30px; color: #fff;
  /* رنگِ ثابتِ برند، نه توکن: در حالتِ تیره `--accent` روشن می‌شود و متنِ سفید
     روی آن خوانا نمی‌ماند */
  background: linear-gradient(135deg, #5B4BE8 0%, #7A6DF0 100%);
  box-shadow: 0 30px 60px -36px #5B4BE8; }
.pl-hero::before, .pl-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%;
  background: rgba(255, 255, 255, .10); }
.pl-hero::before { width: 360px; height: 360px; top: -180px; left: -80px; }
.pl-hero::after { width: 240px; height: 240px; bottom: -140px; right: 8%; background: rgba(255, 255, 255, .07); }
.pl-kicker { display: inline-block; font-size: .8rem; font-weight: 700; padding: 4px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); }
.pl-hero h1 { margin: 14px 0 8px; font-size: 2rem; line-height: 1.5; color: #fff; }
.pl-hero p { margin: 0 auto; max-width: 640px; line-height: 2; color: rgba(255, 255, 255, .92); }
.pl-perks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 22px 0 0; padding: 0; }
.pl-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .86rem; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); }
.pl-perks svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }

.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 1060px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pl-grid { grid-template-columns: 1fr; } .pl-hero h1 { font-size: 1.5rem; } }

.pl-card { position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--accent-2); }
.pl-card.is-hot { border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--accent-wash), var(--shadow-m); }
.pl-badge { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; padding: 5px 14px;
  border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #5B4BE8, #7A6DF0); box-shadow: 0 10px 22px -10px #5B4BE8; }

.pl-art { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-wash), var(--surface-2)); }
.pl-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pl-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pl-body h2 { margin: 0; font-size: 1.3rem; color: var(--ink); }
.pl-for { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.8; }

.pl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 16px 0 14px;
  padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.pl-price b { font-size: 1.6rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-price b.is-free { color: var(--ok); }
.pl-price span { font-size: .85rem; color: var(--ink-soft); }
.pl-price small { flex-basis: 100%; font-size: .8rem; color: var(--ink-faint); }
.is-hot .pl-price { background: var(--accent-wash); border-color: transparent; }

.pl-feat { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; flex: 1; }
.pl-feat li { position: relative; padding-inline-start: 28px; line-height: 1.8; font-size: .92rem; color: var(--ink); }
.pl-feat li::before { content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 18px; height: 18px;
  border-radius: 6px; background: var(--ok-wash); }
.pl-feat li::after { content: ""; position: absolute; inset-inline-start: 5px; top: calc(.32em + 4px);
  width: 8px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg); } /* فیزیکی، نه منطقی: در راست‌به‌چپ تیک وارونه می‌شد */
.pl-feat li b { font-weight: 800; }
.pl-feat li.off { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: var(--line); }
.pl-feat li.off::before { background: var(--surface-2); border: 1px solid var(--line); }
.pl-feat li.off::after { width: 8px; height: 0; top: calc(.32em + 8px); border: 0; border-top: 2px solid var(--ink-faint);
  transform: none; }

.pl-cta { width: 100%; justify-content: center; margin-top: auto; }

.pl-note { margin: 26px 0 0; text-align: center; color: var(--ink-soft); font-size: .88rem; line-height: 2; }
.pl-note a { color: var(--accent-ink); font-weight: 700; }
.pl-off-mark { display: inline-block; width: 22px; height: 2px; vertical-align: middle; margin-inline-end: 6px;
  background: var(--ink-faint); }
