/* فاز ۷۹ — تعرفه‌ها، خرید و پلن من. همه‌ی اندازه‌ها و رنگ‌ها این بالا قابل تنظیمن. */
:root {
  --pl-max-w: 1240px;
  --pl-gutter: 16px;
  --pl-radius: 20px;
  --pl-gap: 16px;
  --pl-ink: var(--p-900, #10302b);
  --pl-muted: #5f7673;
  --pl-line: #e2ebe8;
  --pl-soft: var(--p-50, #f4f8f6);
  --pl-green: var(--p-600, #0f7a4f);
  --pl-green-2: var(--p-300, #2dd4a8);
  --pl-red: #d92d20;
  --pl-gold: #c9a227;
  --pl-star-bg: #fff8e1;
  --pl-star-line: #f2d675;
  --pl-hero-a: var(--p-900, #10302b);
  --pl-hero-b: var(--p-800, #1d5246);
  --pl-card-min: 250px;
  --pl-price-size: 30px;
  --pl-sticky-top: 0px;
}
.pl { max-width: var(--pl-max-w); margin: 0 auto; padding: 0 var(--pl-gutter) 40px; color: var(--pl-ink); }
.pl-hero { background: radial-gradient(1200px 400px at 80% -10%, rgba(45, 212, 168, .25), transparent), linear-gradient(135deg, var(--pl-hero-a), var(--pl-hero-b));
  color: #eaf5f1; padding: 38px 0 70px; text-align: center; }
.pl-hero h1 { font-size: 32px; font-weight: 900; margin: 0 0 8px; color: #fff !important; }
.pl-hero p { color: #bfd9d2; margin: 0 auto; max-width: 720px; line-height: 1.9; }
.pl-flash { border-radius: 12px; padding: 10px 14px; margin: 12px 0; font-weight: 700; }
.pl-flash.ok { background: var(--p-100, #e6f6ee); color: var(--p-700, #0f5e3e); } .pl-flash.error { background: #fdecee; color: #8b1d25; }
.pl-flash.warn { background: #fff7e0; color: #6b4e00; }

/* کمپین */
.pl-campaign { margin: 0 auto 18px; max-width: 760px; background: linear-gradient(90deg, #d92d20, #f79009); color: #fff; border-radius: 16px;
  padding: 12px 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(217, 45, 32, .25); }
.pl-campaign b { font-size: 17px; }
.pl-count { font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .18); border-radius: 10px; padding: 3px 10px; font-weight: 800; direction: ltr; }

/* انتخاب مدت */
.pl-dur { display: flex; justify-content: center; margin: -32px 0 18px; position: relative; z-index: 2; }
.pl-dur-box { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--pl-line); border-radius: 999px; padding: 5px;
  box-shadow: 0 8px 26px rgba(16, 48, 43, .1); flex-wrap: wrap; justify-content: center; }
.pl-dur-box button { border: 0; background: transparent; border-radius: 999px; padding: 8px 16px; font-weight: 800; color: var(--pl-ink); font-family: inherit; cursor: pointer; }
.pl-dur-box button small { display: block; font-size: 11px; color: var(--pl-green); font-weight: 700; }
.pl-dur-box button.on { background: var(--pl-ink); color: #fff; } .pl-dur-box button.on small { color: var(--pl-green-2); }

/* کارت‌ها */
.pl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--pl-card-min), 1fr)); gap: var(--pl-gap); align-items: stretch; }
.pl-card { position: relative; background: #fff; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 22px 18px 18px; display: flex;
  flex-direction: column; gap: 10px; box-shadow: 0 4px 16px rgba(16, 48, 43, .05); }
.pl-card.hl { border: 2px solid var(--pl-green); box-shadow: 0 16px 40px rgba(15, 122, 79, .18); transform: translateY(-6px); }
.pl-card .ribbon { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--pl-green); color: #fff;
  border-radius: 999px; padding: 3px 14px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
html[dir=ltr] .pl-card .ribbon { transform: translateX(-50%); }
.pl-card .ribbon.gold { background: linear-gradient(90deg, #b8860b, #e0b84a); }
.pl-card.current { outline: 3px solid var(--pl-green-2); }
.pl-name { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; }
.pl-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.pl-tag { color: var(--pl-muted); font-size: 13.5px; min-height: 40px; line-height: 1.7; }
.pl-price { min-height: 92px; }
.pl-old { color: #98a6a3; text-decoration: line-through; text-decoration-color: var(--pl-red); text-decoration-thickness: 2px; font-size: 15px; }
.pl-off { display: inline-block; background: #fdecee; color: var(--pl-red); border-radius: 8px; padding: 1px 8px; font-size: 12.5px; font-weight: 900; margin-inline-start: 6px; }
.pl-now { font-size: var(--pl-price-size); font-weight: 900; line-height: 1.25; }
.pl-now small { font-size: 14px; font-weight: 700; color: var(--pl-muted); }
.pl-pm { font-size: 12.5px; color: var(--pl-muted); }
.pl-save { font-size: 12.5px; color: var(--pl-green); font-weight: 800; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 11px 16px; font-weight: 900; text-decoration: none;
  border: 1px solid transparent; font-size: 15px; cursor: pointer; font-family: inherit; width: 100%; }
.pl-btn.primary { background: var(--pl-green); color: #fff; } .pl-btn.primary:hover { filter: brightness(1.08); color: #fff; }
.pl-btn.line { background: #fff; color: var(--pl-ink); border-color: var(--pl-line); }
.pl-btn.ghost { background: var(--pl-soft); color: var(--pl-ink); }
.pl-btn.gold { background: linear-gradient(90deg, #b8860b, #e0b84a); color: #fff; }
.pl-btn[disabled] { opacity: .55; cursor: not-allowed; }
.pl-trial { font-size: 13px; text-align: center; }
.pl-trial button { background: none; border: 0; color: var(--pl-green); font-weight: 800; text-decoration: underline; cursor: pointer; font-family: inherit; }
.pl-hi { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; font-size: 13.5px; }
.pl-hi li { display: block; line-height: 1.7; padding-inline-start: 22px; position: relative; }
.pl-hi li::before { content: "✓"; color: var(--pl-green); font-weight: 900; position: absolute; inset-inline-start: 2px; top: 0; }
.pl-hi li.star { background: var(--pl-star-bg); border-radius: 8px; padding-block: 3px; padding-inline-end: 6px; font-weight: 800; }
.pl-hi li.star::before { content: "⭐"; }

/* جدول مقایسه */
.pl-h2 { text-align: center; font-size: 24px; font-weight: 900; margin: 40px 0 6px; }
.pl-sub { text-align: center; color: var(--pl-muted); margin: 0 0 16px; }
.pl-table-wrap { overflow-x: auto; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: #fff; }
.pl-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; font-size: 14px; }
.pl-table th, .pl-table td { padding: 11px 12px; border-bottom: 1px solid #eef3f1; text-align: center; vertical-align: middle; }
.pl-table thead th { position: sticky; top: var(--pl-sticky-top); background: #fff; z-index: 2; font-size: 15px; }
.pl-table thead th.hl { background: #eaf7f1; }
.pl-table td:first-child, .pl-table th:first-child { text-align: start; position: sticky; inset-inline-start: 0; background: #fff; z-index: 1; min-width: 260px; }
.pl-table td.hl { background: #f3fbf7; }
.pl-table tr.grp td { background: var(--pl-soft); font-weight: 900; font-size: 14.5px; position: static; }
.pl-table tr.star td { background: var(--pl-star-bg); }
.pl-table tr.star td:first-child { font-weight: 900; box-shadow: inset -4px 0 0 var(--pl-gold); }
html[dir=ltr] .pl-table tr.star td:first-child { box-shadow: inset 4px 0 0 var(--pl-gold); }
.pl-table .yes { color: var(--pl-green); font-weight: 900; font-size: 17px; }
.pl-table .no { color: #b7c3c0; }
.pl-table .val { font-weight: 800; }
.pl-soon { display: inline-block; font-size: 11px; background: #eef2ff; color: #3b4fb8; border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; font-weight: 700; }
.pl-tip { color: var(--pl-muted); font-size: 12px; display: block; font-weight: 400; margin-top: 2px; }
.pl-table tfoot td { border-bottom: 0; padding: 14px 10px; }

/* اعتماد و سؤال‌ها */
.pl-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 26px 0; }
.pl-trust div { background: var(--pl-soft); border-radius: 14px; padding: 14px; font-size: 13.5px; line-height: 1.8; }
.pl-trust b { display: block; font-size: 15px; margin-bottom: 2px; }
.pl-faq details { border: 1px solid var(--pl-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; background: #fff; }
.pl-faq summary { font-weight: 800; cursor: pointer; }
.pl-faq p { margin: 8px 0 0; color: #3c5652; line-height: 1.9; }

/* خرید و سفارش */
.pl-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 22px; }
.pl-box { background: #fff; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 20px; margin-bottom: 16px; }
.pl-box h2 { font-size: 19px; font-weight: 900; margin: 0 0 12px; }
.pl-sum { display: grid; gap: 8px; font-size: 14.5px; }
.pl-sum div { display: flex; justify-content: space-between; gap: 10px; }
.pl-sum .minus { color: var(--pl-red); }
.pl-sum .total { border-top: 1px dashed var(--pl-line); padding-top: 10px; font-size: 19px; font-weight: 900; }
.pl-input { width: 100%; border: 1px solid var(--pl-line); border-radius: 11px; padding: 10px 12px; font-family: inherit; font-size: 15px; }
.pl-row { display: flex; gap: 8px; }
.pl-card-no { font-size: 24px; font-weight: 900; letter-spacing: 2px; direction: ltr; text-align: center; background: var(--pl-soft); border-radius: 14px;
  padding: 14px; font-variant-numeric: tabular-nums; }
.pl-copy { font-size: 12.5px; }
.pl-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pl-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.pl-steps li::before { content: counter(s); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--pl-ink); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 13px; }
.pl-status { display: inline-block; border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 13px; background: var(--pl-soft); }
.pl-status.paid { background: var(--p-100, #e6f6ee); color: var(--pl-green); } .pl-status.under_review { background: #fff7e0; color: #7a5b00; }
.pl-status.rejected { background: #fdecee; color: #8b1d25; }
.pl-list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pl-list th { color: var(--pl-muted); font-size: 12px; text-align: start; padding: 6px; border-bottom: 1px solid var(--pl-line); }
.pl-list td { padding: 8px 6px; border-bottom: 1px solid #eef3f1; }
.pl-meter { height: 10px; background: #e7eeec; border-radius: 99px; overflow: hidden; }
.pl-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--pl-green), var(--pl-green-2)); }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .pl-two { grid-template-columns: 1fr; }
  .pl-card.hl { transform: none; order: -1; }  /* موبایل: پلن پیشنهادی اول */
}
@media (max-width: 560px) {
  .pl-hero h1 { font-size: 24px; }
  .pl-hero { padding: 26px 0 64px; }
  .pl-dur-box button { padding: 7px 11px; font-size: 13.5px; }
  .pl-table td:first-child, .pl-table th:first-child { min-width: 170px; font-size: 12.5px; }
  .pl-card-no { font-size: 19px; letter-spacing: 1px; }
}

/* پله ۱۴ — امکاناتی که در این پلن نیستند: تار و قفل‌دار (تشویق به پلن بالاتر) */
:root { --pl-locked-blur: 1.2px; --pl-locked-opacity: .45; }
.pl-hi li.pl-locked { color: var(--n-400, #94a3b8); opacity: var(--pl-locked-opacity); filter: blur(var(--pl-locked-blur)); padding-inline-start: 0;
  user-select: none; transition: filter .2s, opacity .2s; }
.pl-hi li.pl-locked::before { content: none; }
.pl-card:hover .pl-hi li.pl-locked { filter: blur(0); opacity: .7; }
.pl-table td.pl-cell-locked { background: repeating-linear-gradient(135deg, transparent 0 6px, hsl(0 0% 0% / .025) 6px 12px); }
.pl-table td.pl-cell-locked .no { opacity: .5; font-size: 12px; }
.pl-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 10px 0 30px; }
.pl-terms > div { background: var(--glass-bg-strong, #fff); border: 1px solid var(--n-200, #e2e8f0); border-radius: 14px; padding: 16px; line-height: 1.9; font-size: 14px; }
.pl-terms b { display: block; margin-bottom: 4px; }
.pl-products { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.pl-products th, .pl-products td { border-bottom: 1px solid var(--n-200, #e2e8f0); padding: 9px 8px; text-align: right; vertical-align: top; }
