/* ═══ صفحه‌ی «امکانات» (D-799؛ گرافیکی از D-804) ═══════════════════════
   کارفرما: «گرافیکی، آیکون‌دار، مدرن و زیبا — فیروزه‌ای و آبیِ آسمانی» و سپس «گرافیکی‌تر، متناسب با مفاهیمِ همین صفحه و
   موضوعیتِ کلِ سایت». زمینه، متن و خط از توکن‌های `riqx.css` (پس تیره خودبه‌خود)؛ دو رنگِ این صفحه این‌جا با نسخه‌ی تیره.
   تصویرِ هر دسته و سربرگ سه‌بعدی و شفاف است (`static/public/features/`، D-807) — بی قاب روی زمینه‌ی نرمِ رنگِ دسته.
   سربرگ، نوارِ پایانی و نمادِ پررنگ رنگِ ثابت دارند با متنِ سفید — همان قاعده‌ی سربرگِ تعرفه‌ها (D-699). */

.ft-page {
  --ft-teal: #0F766E; --ft-teal-2: #14B8A6; --ft-teal-wash: #E6FAF6; --ft-teal-line: #B5EDE2;
  --ft-sky: #0369A1; --ft-sky-2: #38BDF8; --ft-sky-wash: #E9F6FE; --ft-sky-line: #BAE3FB;
  --ft-grad: linear-gradient(135deg, #0F766E 0%, #0E7490 48%, #0369A1 100%);
  width: 100%; box-sizing: border-box; min-width: 0;
  max-width: 1240px; margin: 0 auto; padding: 36px 16px 64px;
  /* `body` ستونِ flex است و `margin: auto` پهنای فرزند را «به اندازه‌ی محتوا» می‌کرد: نوارِ بی‌شکستِ دسته‌ها صفحه را
     در 390px تا 1240px باز می‌کرد (D-799). پهنای صریح، تا `max-width` سقف بماند نه کف. */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ft-page {
    --ft-teal: #5EEAD4; --ft-teal-2: #2DD4BF; --ft-teal-wash: #0D2E33; --ft-teal-line: #17474C;
    --ft-sky: #7DD3FC; --ft-sky-2: #38BDF8; --ft-sky-wash: #0C2840; --ft-sky-line: #16405F;
  }
}
:root[data-theme="dark"] .ft-page {
  --ft-teal: #5EEAD4; --ft-teal-2: #2DD4BF; --ft-teal-wash: #0D2E33; --ft-teal-line: #17474C;
  --ft-sky: #7DD3FC; --ft-sky-2: #38BDF8; --ft-sky-wash: #0C2840; --ft-sky-line: #16405F;
}

/* هر دسته یکی از دو رنگ — پشتِ‌هم؛ `--tone-c1/c2` ثابت (زمینه‌ی نمادِ سفید) */
.ft-tone-teal { --tone: var(--ft-teal); --tone-2: var(--ft-teal-2); --tone-wash: var(--ft-teal-wash); --tone-line: var(--ft-teal-line);
  --tone-c1: #0F766E; --tone-c2: #14B8A6; }
.ft-tone-sky { --tone: var(--ft-sky); --tone-2: var(--ft-sky-2); --tone-wash: var(--ft-sky-wash); --tone-line: var(--ft-sky-line);
  --tone-c1: #0369A1; --tone-c2: #0EA5E9; }
.ft-tone-teal, .ft-tone-sky { --tone-solid: linear-gradient(135deg, var(--tone-c1), var(--tone-c2)); }

/* ── سربرگ: متن کنارِ تصویرِ خودِ اتاقِ ریکس ── */
.ft-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 34px; color: #fff; padding: 46px 44px; border-radius: 30px; margin-bottom: 18px;
  background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.4px) 0 0 / 22px 22px, var(--ft-grad);
  box-shadow: 0 34px 70px -40px #0E7490; }
.ft-hero::before, .ft-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.ft-hero::before { width: 420px; height: 420px; top: -220px; right: -120px; background: rgba(255, 255, 255, .12); }
.ft-hero::after { width: 320px; height: 320px; bottom: -190px; left: 22%; background: rgba(125, 211, 252, .22); }
.ft-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); }
.ft-kicker.is-soft { color: var(--ft-teal); background: var(--ft-teal-wash); border-color: var(--ft-teal-line); }
.ft-hero h1 { margin: 14px 0 10px; font-size: 2.15rem; line-height: 1.55; color: #fff; }
.ft-hero p { margin: 0; max-width: 560px; line-height: 2; color: rgba(255, 255, 255, .92); }
.ft-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.ft-perks li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: .82rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); }
.ft-perks svg, .ft-toc svg, .ft-gicon svg, .ft-icon svg, .ft-yes svg { fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.ft-perks svg { width: 15px; height: 15px; }

/* تصویر برچسب‌های خودش را دارد — نشانِ شناور رویش تکرار و شلوغی بود (کارفرما). قابِ صاف (پوستر پرسپکتیوِ خودش را
   دارد)، کارتی نیمه‌شفاف پشتش برای عمق، و زیرنویسِ شکل به سبکِ متنِ علمی */
.ft-hero-art { position: relative; isolation: isolate; margin: 0; padding: 4px 0 0; }
/* هاله‌ی روشن پشتِ تصویر — تصویرِ سفید و سرمه‌ای روی گرادیانِ فیروزه‌ای بی آن کدر می‌نمود */
.ft-hero-art::before { content: ""; position: absolute; z-index: -1; inset: 4% 6% 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.ft-hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 34px rgba(2, 6, 23, .32)); }
.ft-cap { display: flex; align-items: baseline; gap: 10px; margin: 16px 6px 0; padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .3); font-size: .8rem; line-height: 1.9; color: rgba(255, 255, 255, .86); }
.ft-cap b { flex: none; font-weight: 800; letter-spacing: .02em; color: #fff; }
@keyframes ft-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── دکمه‌ها ── */
.ft-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ft-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
  border-radius: 14px; font-weight: 800; font-size: .95rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ft-btn:hover { transform: translateY(-2px); }
.ft-btn.is-light { background: #fff; color: #0E7490; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .45); }
.ft-btn.is-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.ft-btn.is-ghost:hover { background: rgba(255, 255, 255, .16); }
.ft-btn.is-solid { color: #fff; background: var(--ft-grad); box-shadow: 0 14px 28px -16px #0E7490; }
.ft-cta.is-center { justify-content: center; }

/* ── نوارِ آمار ── */
.ft-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; padding: 0; }
.ft-stats li { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); }
.ft-stats li::after { content: ""; position: absolute; inset: auto -30px -40px auto; width: 110px; height: 110px; border-radius: 50%;
  background: var(--ft-teal-wash); }
.ft-stats li:nth-child(even)::after { background: var(--ft-sky-wash); }
.ft-stats b { position: relative; z-index: 1; display: block; font-size: 2rem; font-weight: 900; line-height: 1.3;
  font-variant-numeric: tabular-nums; background: var(--ft-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft-stats span { position: relative; z-index: 1; font-size: .86rem; color: var(--ink-soft); }

/* ── نوارِ دسته‌ها: روی گوشی یک ردیفِ لغزان با لبه‌ی محو (نشانه‌ی ادامه)؛ از ۹۰۰ به بالا چندردیفه و وسط‌چین —
   کارفرما عکس فرستاد که در ۱۵۰۰ «برند»، «زیرساخت» و «مقایسه» پشتِ اسکرولِ پنهان مانده بودند (§۶.۲۲۶) ── */
.ft-toc { position: sticky; top: 84px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 30px; padding: 10px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.ft-toc::-webkit-scrollbar { display: none; }
.ft-toc a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 12px;
  font-size: .86rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease; }
.ft-toc a svg { width: 17px; height: 17px; color: var(--tone, var(--ft-sky)); }
.ft-toc a:hover { background: var(--tone-wash, var(--ft-sky-wash)); color: var(--ink); }
.ft-toc a.is-compare { margin-inline-start: auto; }
/* پس از قاعده‌های بالا، تا «مقایسه» در ردیف‌های وسط‌چین به چپ رانده نشود */
@media (min-width: 900px) {
  .ft-toc { flex-wrap: wrap; justify-content: center; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .ft-toc a.is-compare { margin-inline-start: 0; }
}

/* ── دسته: صحنه (متن + تصویرسازی) و کارت‌ها ── */
.ft-group { scroll-margin-top: 160px; margin: 0 0 40px; padding: 28px; border-radius: 30px;
  background: linear-gradient(180deg, var(--tone-wash) 0%, transparent 340px), var(--surface); border: 1px solid var(--line-soft); }
.ft-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-bottom: 26px; }
.ft-group.is-flip .ft-art { order: -1; }
.ft-ghead { position: relative; }
.ft-gnum { position: absolute; top: -14px; inset-inline-end: 0; font-size: 4.6rem; font-weight: 900; line-height: 1;
  color: var(--tone); opacity: .12; font-variant-numeric: tabular-nums; }
.ft-gicon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff;
  background: var(--tone-solid); box-shadow: 0 16px 28px -16px var(--tone-c1); }
.ft-gicon svg { width: 28px; height: 28px; }
.ft-ghead h2 { margin: 14px 0 6px; font-size: 1.65rem; line-height: 1.5; color: var(--ink); }
.ft-ghead p { margin: 0; color: var(--ink-soft); line-height: 2; font-size: .98rem; max-width: 520px; }
.ft-gtags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.ft-gtags li { padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--tone);
  background: var(--surface); border: 1px solid var(--tone-line); }
.ft-gtags li.is-more { color: var(--ink-soft); border-style: dashed; }
.ft-art { position: relative; isolation: isolate; border-radius: 24px; padding: 14px;
  background: radial-gradient(70% 60% at 50% 45%, var(--surface) 0%, transparent 100%),
    linear-gradient(145deg, var(--tone-wash), var(--surface));
  border: 1px solid var(--tone-line); }
/* کادرِ یکسانِ ۴:۳ — تصویرها نسبتِ کمی متفاوت دارند و چیدمان هنگامِ بار نجهد */
.ft-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(2, 6, 23, .14)); }

.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ── کارت ── */
.ft-card { position: relative; display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ft-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tone-solid); opacity: 0;
  transition: opacity .2s ease; }
.ft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--tone-line); }
.ft-card:hover::before { opacity: 1; }
.ft-ctop { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ft-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto; color: #fff;
  background: var(--tone-solid); box-shadow: 0 12px 22px -14px var(--tone-c1); }
.ft-icon svg { width: 23px; height: 23px; }
.ft-card h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.ft-card p { margin: 0; flex: 1; font-size: .9rem; line-height: 1.95; color: var(--ink-soft); }

/* «در کدام پلن؟» — سبز برای همه، رنگِ دسته برای پولی، خاکستری برای چند پلنِ نام‌برده */
.ft-plan { max-width: 62%; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; line-height: 1.7;
  text-align: center; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line-soft); }
.ft-plan.is-all { color: var(--ok); background: var(--ok-wash); border-color: transparent; }
.ft-plan.is-paid { color: var(--tone); background: var(--tone-wash); border-color: var(--tone-line); }

.ft-more { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ft-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 800; color: var(--tone); }
.ft-more summary::-webkit-details-marker { display: none; }
.ft-more summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.ft-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ft-more ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.ft-more li { position: relative; padding-inline-start: 20px; font-size: .86rem; line-height: 1.85; color: var(--ink); }
.ft-more li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--tone-2); }

/* ── جدولِ مقایسه — لغزش درونِ قاب، نه صفحه ── */
.ft-compare { scroll-margin-top: 160px; margin: 10px 0 34px; padding: 30px 26px; border-radius: 30px; background: var(--surface);
  border: 1px solid var(--line-soft); }
.ft-chead { text-align: center; margin-bottom: 18px; }
.ft-chead h2 { margin: 10px 0 4px; font-size: 1.65rem; color: var(--ink); }
.ft-chead p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.ft-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line-soft); }
.ft-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; }
.ft-table th, .ft-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* سرستون یکدست — گرادیانِ هر خانه جدا نوارنوار دیده می‌شد */
.ft-table thead th { position: sticky; top: 0; font-weight: 800; color: #fff; background: #0E7490; white-space: nowrap; }
.ft-table thead th:first-child { background: #0F766E; }
.ft-table thead th.is-hot { background: #0369A1; box-shadow: inset 0 -3px 0 #A5F3FC; }
.ft-table tbody th { text-align: start; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
  position: sticky; inset-inline-start: 0; background: var(--surface); }
.ft-table tbody tr:nth-child(even) td, .ft-table tbody tr:nth-child(even) th { background: var(--surface-2); }
.ft-table tbody tr:last-child td, .ft-table tbody tr:last-child th { border-bottom: 0; }
.ft-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
  color: var(--ok); background: var(--ok-wash); }
.ft-yes svg { width: 16px; height: 16px; stroke-width: 2.6; }
.ft-no { color: var(--ink-faint); }

/* ── نوارِ پایانی ── */
.ft-end { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 24px; color: #fff; padding: 38px 40px; border-radius: 30px;
  background: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px) 0 0 / 22px 22px, var(--ft-grad); }
.ft-end::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%;
  top: -160px; left: -60px; background: rgba(255, 255, 255, .10); }
.ft-end h2 { margin: 0 0 6px; font-size: 1.6rem; color: #fff; }
.ft-end p { margin: 0; max-width: 560px; line-height: 2; color: rgba(255, 255, 255, .92); }
.ft-end-art { display: grid; place-items: center; width: 168px; height: 168px; border-radius: 40px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 26px 50px -26px rgba(2, 6, 23, .6); animation: ft-float 7s ease-in-out infinite; }
.ft-end-art img { width: 120px; height: 120px; }

/* ── پاسخ‌گو ── */
@media (max-width: 1060px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .ft-hero-art { max-width: 620px; margin: 0 auto; width: 100%; }
  .ft-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ft-scene { grid-template-columns: 1fr; gap: 18px; }
  .ft-group.is-flip .ft-art { order: 0; }
}
@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-hero { padding: 32px 18px 28px; border-radius: 24px; }
  .ft-hero h1 { font-size: 1.5rem; }
  .ft-cap { flex-direction: column; gap: 2px; font-size: .76rem; }
  .ft-stats b { font-size: 1.6rem; }
  .ft-group { padding: 20px 14px; border-radius: 24px; }
  .ft-gnum { font-size: 3.4rem; }
  .ft-ghead h2 { font-size: 1.35rem; }
  .ft-toc { top: 72px; }
  .ft-compare { padding: 22px 14px; border-radius: 24px; }
  .ft-end { grid-template-columns: 1fr; padding: 30px 20px; text-align: center; }
  .ft-end .ft-cta { justify-content: center; }
  .ft-end-art { margin: 0 auto; width: 128px; height: 128px; border-radius: 32px; }
  .ft-end-art img { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-card, .ft-btn, .ft-more summary::after, .ft-card::before { transition: none; }
  .ft-end-art { animation: none; }
}
