/* ============================================================
   zdr.ir — لایهٔ v5 (رسام ۲، حکم مالک ۱۴۰۵/۰۸/۱۳): همان زبان طراحی ابرک
   روی همهٔ صفحه‌های داخلی zdr (ماژول‌ها، ووکامرس، قیمت، راهکارها، وبلاگ،
   تماس، مقایسه، درباره، سفارش) و داشبورد. پس از portal-site.css بار می‌شود.
   تم روشن، یک آبی #1f4fd8، هیروی کوتاه با h1 ۲۲ تا ۲۸px، تیتر بخش ۱۸ تا
   ۲۰px/800 با لینک «بیشتر»، کارت r10 قاب 1px #e6e8ef بی‌سایه، بخش‌های
   یک‌درمیان #fff/#f6f7fb، دکمه r8 ۴۴px. هیچ گرادیان رنگی روی متن.
   ============================================================ */
:root {
  --rd-blue: #1f4fd8; --rd-blue-ink: #1a43b8; --rd-blue-soft: #eef2fd;
  --rd-line: #e6e8ef; --rd-paper: #fff; --rd-tint: #f6f7fb; --rd-ink: #151a2d; --rd-muted: #5b6478;
  --rd-primary: var(--rd-blue); --rd-primary-ink: var(--rd-blue-ink); --rd-cyan: var(--rd-blue); --rd-cyan-ink: var(--rd-blue-ink);
  --rd-navy: #0f2a6b; --rd-bg: var(--rd-paper); --rd-border: var(--rd-line);
  --rd-shadow: none; --rd-shadow-hover: none; --rd-radius: 10px;
  --rd-section: clamp(28px, 2vw + 16px, 44px);
  --rd-fs-display: clamp(22px, 2.2vw + 12px, 28px); --rd-fs-h2: clamp(18px, .5vw + 15px, 20px);
}
body { color: var(--rd-ink); background: var(--rd-paper); }

/* ---------- هیرو: همهٔ گونه‌ها (rd-hero، landing-hero، hero-section، woo، blog) ---------- */
.rd-hero, .landing-hero, .hero-section, .woo-hero-section, .blog-hero, .rd-hero.hero-section {
  padding-block: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px); min-block-size: 0;
  background: linear-gradient(180deg, var(--rd-blue-soft) 0%, var(--rd-paper) 100%);
  border-block-end: 1px solid var(--rd-line); text-align: start;
}
.rd-hero::before, .rd-hero::after, .landing-hero::before, .landing-hero::after, .hero-section::before, .hero-section::after,
.woo-hero-section::before, .woo-hero-section::after { display: none; }
.rd-hero h1, .landing-hero-title, .hero-headline, .woo-hero-title, .blog-hero h1, .hero-section h1, main h1, .page-title {
  font-size: var(--rd-fs-display) !important; font-weight: 800 !important; line-height: 1.35 !important; color: var(--rd-ink) !important;
  margin: 0 0 .5rem !important; letter-spacing: 0; max-inline-size: 30ch; background: none !important; -webkit-text-fill-color: initial !important;
}
.rd-hero h1 em, .landing-hero-title em, .woo-hero-highlight, .hero-headline em, .hero-headline span { color: var(--rd-blue) !important; background: none !important; -webkit-text-fill-color: initial !important; font-style: normal; }
.rd-hero .rd-lead, .rd-lead, .hero-subhead, .woo-hero-lead, .landing-hero p { font-size: 15px; line-height: 1.8; color: var(--rd-muted); margin: 0 0 1rem; max-inline-size: 60ch; }
.rd-kicker, .hero-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--rd-blue); background: var(--rd-blue-soft); border: 0; border-radius: 6px; padding: 3px 10px; margin: 0 0 8px; box-shadow: none; letter-spacing: 0; }
.rd-hero-actions, .rd-actions-center { gap: 8px; margin-block: 12px 10px; justify-content: flex-start; }
.rd-hero-meta { font-size: 13.5px; color: var(--rd-muted); gap: 6px 16px; }
.rd-hero-meta li::before { color: var(--rd-blue); }
.rd-center, .rd-narrow { text-align: start; margin-inline: 0; }
.rd-hero-art img, .rd-hero-art svg { border: 1px solid var(--rd-line); border-radius: 10px; box-shadow: none; }

/* ---------- بخش‌ها ---------- */
.rd-section, .section, .module-section, section.section-alt { padding-block: var(--rd-section); background: var(--rd-paper); }
.rd-section-tint, .section-alt { background: var(--rd-tint); border-block: 1px solid var(--rd-line); }
.rd-section-navy { background: var(--rd-tint); color: var(--rd-ink); border-block: 1px solid var(--rd-line); }
.rd-section-navy h2, .rd-section-navy h3, .rd-section-navy p { color: var(--rd-ink); }
.rd-section-navy p { color: var(--rd-muted); }
main > section[style*="background"], section[style*="#faf5ff"] { background: var(--rd-tint) !important; }

/* تیتر بخش: کوچک، پررنگ، چپ‌چین منطقی، با لینک «بیشتر» در همان ردیف */
.rd-head, .section-header, .module-header-box {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  max-width: none; margin: 0 0 16px; text-align: start; background: none; border: 0; padding: 0; box-shadow: none;
}
.rd-head h2, .section-header h2, .module-header-box h2, .rd-section h2, .section h2, main h2 {
  font-size: var(--rd-fs-h2) !important; font-weight: 800 !important; line-height: 1.4 !important; margin: 0 !important; color: var(--rd-ink) !important; text-align: start; letter-spacing: 0;
}
.rd-head p, .section-header p { grid-column: 1; font-size: 14px; line-height: 1.8; color: var(--rd-muted); margin: 0; max-inline-size: 70ch; }
.rd-more, .section-header > a:last-child, .rd-head > a:last-child {
  grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--rd-blue); text-decoration: none;
}
.rd-more::after { content: " ‹"; }
.rd-more:hover { text-decoration: underline; }
.rd-section h3, .section h3, .feature-card-title, .woo-pillar-title, .woo-flow-title, .rd-card h3 { font-size: 15px; font-weight: 800; color: var(--rd-ink); margin: 0 0 6px; line-height: 1.5; }
.module-icon-large { inline-size: 40px; block-size: 40px; border-radius: 10px; background: var(--rd-blue-soft); color: var(--rd-blue); display: grid; place-items: center; font-size: 20px; }

/* ---------- کارت‌ها ---------- */
.rd-card, .card, .feature-card-item, .feature-item, .faq-box-card, .status-card, .woo-pillar-card, .woo-flow-step, .woo-resource-item,
.woo-faq-item, .module-pain-box, .cta-luminous-card, .price-row, .rd-note, .features-nav-link {
  background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 10px; box-shadow: none !important; transition: border-color .15s ease;
}
.rd-card, .feature-card-item, .feature-item, .woo-pillar-card, .status-card { padding: 16px; }
.rd-card:hover, .rd-card-link:hover, .card:hover, .feature-card-item:hover, .feature-item:hover, .woo-pillar-card:hover, .features-nav-link:hover {
  border-color: var(--rd-blue); transform: none !important; box-shadow: none !important;
}
.rd-card p, .feature-card-desc, .woo-pillar-desc, .woo-flow-desc, .card p { font-size: 13.5px; line-height: 1.75; color: var(--rd-muted); margin: 0; }
.rd-grid, .features-grid-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rd-icon, .card-icon-badge, .woo-pillar-icon, .feature-icon-svg { inline-size: 36px; block-size: 36px; border-radius: 9px; background: var(--rd-blue-soft); color: var(--rd-blue); display: grid; place-items: center; }
.woo-flow-num { background: var(--rd-blue); color: #fff; border-radius: 8px; font-weight: 800; }
.card-tag, .badge, .rd-badge, .badge-pill, .feature-badge-soft { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--rd-blue-soft); color: var(--rd-blue); border: 0; }
.badge-accent, .badge-primary { background: var(--rd-blue); color: #fff; }
.status-tag-good, .rd-yes, .status-yes { color: #15803d; }
.status-tag-bad, .rd-no { color: #b42318; }
.rd-note { background: var(--rd-tint); padding: 10px 12px; font-size: 13.5px; }
.module-pain-box { background: var(--rd-tint); padding: 14px 16px; }
.card-metric-value, .secretariat-metric-value { font-size: 22px; font-weight: 800; color: var(--rd-ink); }
.card-metric-title, .secretariat-metric-title { font-size: 13px; color: var(--rd-muted); }

/* ---------- دکمه‌ها ---------- */
.btn, .rd-btn { min-block-size: 44px; padding-inline: 18px; font-size: 14px; font-weight: 700; border-radius: 8px; box-shadow: none !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transform: none !important; }
.btn-sm, .rd-btn-sm { min-block-size: 36px; padding-inline: 12px; font-size: 13px; }
.btn-xs { min-block-size: 30px; padding-inline: 10px; font-size: 12px; }
.btn-lg { min-block-size: 48px; padding-inline: 22px; font-size: 15px; }
.btn-primary, .rd-btn-primary { background: var(--rd-blue) !important; border: 1px solid var(--rd-blue) !important; color: #fff !important; background-image: none !important; }
.btn-primary:hover, .rd-btn-primary:hover { background: var(--rd-blue-ink) !important; border-color: var(--rd-blue-ink) !important; }
.btn-outline, .rd-btn-ghost, .btn-secondary, .rd-btn-light, .rd-btn-outline-light { background: var(--rd-paper) !important; border: 1px solid var(--rd-line) !important; color: var(--rd-ink) !important; }
.btn-outline:hover, .rd-btn-ghost:hover, .btn-secondary:hover { border-color: var(--rd-blue) !important; color: var(--rd-blue) !important; }

/* ---------- CTA پایانی: نوار روشن فشرده، نه بنر درخشان ---------- */
.rd-cta, .cta-luminous-section, .cta-luminous-card { background: var(--rd-tint) !important; background-image: none !important; color: var(--rd-ink); border: 1px solid var(--rd-line); border-radius: 10px; padding: 20px; text-align: start; }
.cta-luminous-section { padding-block: var(--rd-section); border-radius: 0; border-inline: 0; }
.cta-card-content h2, .rd-cta h2, .cta-luminous-card h2 { color: var(--rd-ink) !important; }
.rd-cta p, .cta-card-content p { color: var(--rd-muted); font-size: 14px; }

/* ---------- پرسش‌ها، جدول ---------- */
.rd-faq summary, .woo-faq-btn, .faq-box-card summary { font-size: 14.5px; font-weight: 700; padding: 12px 14px; background: none; border: 0; }
.rd-faq-body, .woo-faq-answer { font-size: 14px; line-height: 1.8; color: var(--rd-muted); padding: 0 14px 12px; }
.woo-faq-icon { color: var(--rd-blue); }
table { font-size: 13.5px; }
th { font-weight: 800; background: var(--rd-tint); }

/* ---------- داشبورد (/dashboard): الگوی پنل ---------- */
.dashboard-title { font-size: 20px !important; font-weight: 800 !important; margin: 0 0 4px !important; color: var(--rd-ink) !important; }
.dsh-tab-nav-container { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 12px; margin: 0 0 16px; position: sticky; inset-block-start: 64px; z-index: 20; }
.dsh-tab-nav-container a, .dsh-tab-nav-container button { min-block-size: 38px; padding-inline: 14px; font-size: 13.5px; font-weight: 700; color: var(--rd-ink); background: none; border: 0; border-radius: 8px; box-shadow: none; }
.dsh-tab-nav-container a:hover, .dsh-tab-nav-container button:hover { background: var(--rd-tint); color: var(--rd-blue); }
.dsh-tab-nav-container .active, .dsh-tab-nav-container [aria-selected="true"], .dsh-tab-nav-container [aria-current] { background: var(--rd-blue-soft); color: var(--rd-blue); }
.dashboard-grid, .secretariat-metrics-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dashboard-pane, .secretariat-metric-card, .moadian-settings-card { background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 12px; box-shadow: none !important; padding: 16px; }
.pane-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.pane-title { font-size: 15px !important; font-weight: 800 !important; margin: 0 !important; color: var(--rd-ink) !important; }
.pane-table { font-size: 13.5px; }
.secretariat-metric-icon { inline-size: 34px; block-size: 34px; border-radius: 8px; background: var(--rd-blue-soft); color: var(--rd-blue); display: grid; place-items: center; }
.secretariat-metric-header { display: flex; align-items: center; gap: 10px; }
.operations-pill-badge, .operations-pill-btn, .moadian-badge { border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--rd-blue-soft); color: var(--rd-blue); border: 0; }
.form-control, .legal-input, .moadian-input { min-block-size: 42px; border: 1px solid var(--rd-line); border-radius: 8px; font-size: 14px; box-shadow: none; background: var(--rd-paper); }
.form-control:focus, .legal-input:focus, .moadian-input:focus { border-color: var(--rd-blue); outline: 2px solid var(--rd-blue); outline-offset: 0; box-shadow: none; }
.moadian-form-label { font-size: 13px; font-weight: 700; color: var(--rd-ink); }
.sso-title { font-size: 16px !important; font-weight: 800 !important; }

/* ---------- موبایل ---------- */
@media (max-width: 767.98px) {
  .rd-hero, .landing-hero, .hero-section, .woo-hero-section, .blog-hero { padding-block: 20px; }
  .rd-section, .section, .module-section { padding-block: 24px; }
  .rd-hero h1, .landing-hero-title, .hero-headline, .woo-hero-title, main h1 { font-size: 22px !important; }
  .rd-grid, .features-grid-cards, .dashboard-grid, .secretariat-metrics-grid { grid-template-columns: 1fr; }
  .btn-lg { inline-size: 100%; }
  body:has(.dsh-tab-nav-container) { padding-block-end: 72px; }
  .dsh-tab-nav-container {
    position: fixed; inset-inline: 0; inset-block-end: 0; inset-block-start: auto; z-index: 1030; margin: 0;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 0; border: 0; border-block-start: 1px solid var(--rd-line);
    padding: 6px 4px; padding-block-end: calc(6px + env(safe-area-inset-bottom)); justify-content: space-around;
  }
  .dsh-tab-nav-container::-webkit-scrollbar { display: none; }
  .dsh-tab-nav-container a, .dsh-tab-nav-container button { flex: 1 0 64px; min-block-size: 44px; padding-inline: 4px; font-size: 11px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- داشبورد: غلبه بر <style> درون‌صفحهٔ dashboard.html ---------- */
body .dashboard-pane, body .secretariat-metric-card, body .moadian-settings-card, body .status-card, body .card {
  background: var(--rd-paper) !important; border: 1px solid var(--rd-line) !important; border-radius: 12px !important; box-shadow: none !important; background-image: none !important;
}
body .dsh-tab-nav-container { background: var(--rd-paper) !important; border: 1px solid var(--rd-line) !important; border-radius: 12px !important; box-shadow: none !important; background-image: none !important; }
body .dsh-tab-nav-container a, body .dsh-tab-nav-container button { background-image: none !important; box-shadow: none !important; border-radius: 8px !important; }
body .dsh-tab-nav-container .active, body .dsh-tab-nav-container [aria-selected="true"] { background: var(--rd-blue-soft) !important; color: var(--rd-blue) !important; }
body .secretariat-metric-icon, body .card-icon-badge { background: var(--rd-blue-soft) !important; color: var(--rd-blue) !important; background-image: none !important; box-shadow: none !important; }
body .btn-primary, body .btn-warning-solid { background-image: none !important; box-shadow: none !important; }
body .dashboard-title, body .pane-title, body .sso-title { background: none !important; -webkit-text-fill-color: initial !important; }
@media (max-width: 767.98px) {
  body .dsh-tab-nav-container { border-radius: 0 !important; border: 0 !important; border-block-start: 1px solid var(--rd-line) !important; }
}

/* ===== v5b: صفحه‌های مهم zdr به سلیقهٔ مالک (رسام ۲، ۰۸/۱۳) =====
   الگو: ماشین‌حساب iranserver.com (انتخاب پلن با دکمه‌های کنار هم، ردیف افزونه با قیمت در انتها،
   فاکتور چسبان کنار فرم) و فرم‌های panel.iranicard.ir (کارت قاب‌دار بی‌سایه، تیتر گام کوچک و پررنگ).
   جزء خلاقانه: نشان «انتخاب‌شده» و شمارندهٔ افزونه‌ها بی‌اسکریپت با :has(). عدد تازه ندارد.
   گزینشگرها با شناسه (#calculator، #signupStep1Form…) نوشته شده‌اند تا بر style درون‌صفحه غلبه کنند. */

/* ---------- /pricing: ماشین‌حساب ---------- */
#calculator .calc-grid { gap: 20px; margin-top: 20px; }
#calculator .calc-card, #calculator .summary-box { background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 12px; padding: 20px; box-shadow: none; }
#calculator .calc-card h3, #calculator .summary-box h3 { font-size: 16px; font-weight: 800; margin: 0 0 12px; color: var(--rd-ink); }

/* انتخاب پلن: دکمه‌های کنار هم (segmented)، پلن فعال قاب آبی و تیک */
#calculator .plan-picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; border: 1px solid var(--rd-line); border-radius: 10px; overflow: hidden; background: var(--rd-paper); }
#calculator .plan-picker-option { position: relative; border: 0; border-inline-start: 1px solid var(--rd-line); border-radius: 0; padding: 12px 10px; background: var(--rd-paper); text-align: start; transition: none; }
#calculator .plan-picker-option:first-child { border-inline-start: 0; }
#calculator .plan-picker-option:hover { background: var(--rd-tint); }
#calculator .plan-picker-option.selected { background: var(--rd-blue-soft); box-shadow: inset 0 0 0 2px var(--rd-blue); }
#calculator .plan-picker-option.selected::after { content: ""; position: absolute; top: 10px; inset-inline-end: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--rd-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
#calculator .plan-picker-option strong, #calculator .plan-picker-option .plan-picker-name { display: block; font-size: 14.5px; font-weight: 800; color: var(--rd-ink); padding-inline-end: 24px; }
#calculator .plan-picker-option small, #calculator .plan-picker-option .plan-picker-desc { display: block; font-size: 12px; color: var(--rd-muted); line-height: 1.6; margin-top: 2px; }
#calculator .plan-picker-option .badge, #calculator .plan-picker-option .plan-picker-badge { position: static; display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--rd-blue-soft); color: var(--rd-blue); }

/* تعداد کاربر: لغزنده و ورودی در یک ردیف فشرده */
#calculator #userCountSlider { accent-color: var(--rd-blue); }
#calculator #userCountInput { min-block-size: 40px; width: 88px; text-align: center; font-weight: 800; border: 1px solid var(--rd-line); border-radius: 8px; }
#calculator #userCountDisplay { font-size: 22px; font-weight: 900; color: var(--rd-blue); }
#calculator #userSeatsNote { font-size: 12.5px; color: var(--rd-muted); }
#calculator .store-provision-box { border: 1px dashed var(--rd-line); border-radius: 10px; background: var(--rd-tint); padding: 12px 14px; font-size: 13px; }

/* افزونه‌ها: ردیف افقی قاب‌دار، قیمت در انتها، ردیف انتخاب‌شده با زمینهٔ کم‌رنگ آبی */
#calculator .addon-item-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--rd-line); border-radius: 10px; margin-bottom: 8px; background: var(--rd-paper); box-shadow: none; transition: none; }
#calculator .addon-item-row:hover { border-color: var(--rd-blue); background: var(--rd-paper); box-shadow: none; }
#calculator .addon-item-row.selected, #calculator .addon-item-row:has(.addon-checkbox:checked) { border-color: var(--rd-blue); background: var(--rd-blue-soft); box-shadow: none; }
#calculator .addon-checkbox { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--rd-blue); }
#calculator .addon-info { flex: 1 1 auto; min-width: 0; }
#calculator .addon-title { font-size: 14px; font-weight: 800; color: var(--rd-ink); margin: 0; }
#calculator .addon-desc { font-size: 12.5px; color: var(--rd-muted); line-height: 1.6; margin: 2px 0 0; }
#calculator .addon-doc-link { font-size: 12px; font-weight: 700; color: var(--rd-blue); }
#calculator .addon-price { flex: none; font-size: 14px; font-weight: 800; color: var(--rd-blue); font-variant-numeric: tabular-nums; white-space: nowrap; align-self: center; }
/* توضیح «این افزونه چه مشکلی را حل می‌کند» پیش‌فرض یک خط؛ با نگه داشتن نشانگر یا فوکوس کامل می‌شود */
#calculator .addon-problem-box { margin-top: 6px; padding: 6px 10px; background: var(--rd-tint); border-inline-start: 3px solid var(--rd-blue); border-right: 0; border-radius: 6px; font-size: 12.5px; line-height: 1.6; color: var(--rd-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#calculator .addon-item-row:hover .addon-problem-box, #calculator .addon-item-row:focus-within .addon-problem-box, #calculator .addon-item-row.selected .addon-problem-box { -webkit-line-clamp: unset; display: block; }
#calculator .addon-problem-tag { font-weight: 800; color: var(--rd-ink); }

/* قالب‌ها (theme): کاشی‌های کوچک، انتخاب‌شده قاب آبی */
#calculator .theme-card-option { border: 1px solid var(--rd-line); border-radius: 10px; padding: 10px; background: var(--rd-paper); box-shadow: none; cursor: pointer; }
#calculator .theme-card-option:hover { border-color: var(--rd-blue); }
#calculator .theme-card-option.selected, #calculator .theme-card-option:has(input:checked) { border-color: var(--rd-blue); box-shadow: inset 0 0 0 1px var(--rd-blue); background: var(--rd-blue-soft); }
#calculator .theme-card-option img { border-radius: 6px; }

/* فاکتور کنار فرم: چسبان، فشرده، جمع کل پررنگ، شمارندهٔ افزونه‌ها بی‌اسکریپت */
#calculator .summary-box { position: sticky; top: 84px; padding: 18px 20px; }
#calculator .summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rd-line); font-size: 13.5px; color: var(--rd-ink); }
#calculator .summary-row:last-of-type { border-bottom: 0; }
#calculator .summary-row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
#calculator .summary-total { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--rd-blue); border-radius: 10px; background: var(--rd-paper); display: flex; flex-direction: column; gap: 2px; }
#calculator .summary-total .total-toman { font-size: 22px; font-weight: 900; color: var(--rd-blue); font-variant-numeric: tabular-nums; }
#calculator .summary-total .total-irr { font-size: 12px; color: var(--rd-muted); }
#calculator .savings-alert { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--rd-line); background: var(--rd-tint); font-size: 12.5px; color: var(--rd-ink); }
#calculator .summary-box .btn { width: 100%; justify-content: center; margin-top: 12px; }
#calculator .summary-box h3::after { content: " · هیچ افزونه‌ای انتخاب نشده"; font-size: 12px; font-weight: 400; color: var(--rd-muted); }
#calculator:has(.addon-checkbox:checked) .summary-box h3::after { content: " · افزونه‌ها در فاکتور"; color: var(--rd-blue); }

/* ---------- /pricing: جدول مقایسه، بدون سایه و با ستون اول راست‌چین ---------- */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 13.5px; border: 1px solid var(--rd-line); border-radius: 12px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 10px 12px; border-bottom: 1px solid var(--rd-line); text-align: center; vertical-align: middle; }
.comparison-table th { font-size: 12.5px; font-weight: 800; background: var(--rd-tint); color: var(--rd-muted); }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: start; font-weight: 700; color: var(--rd-ink); }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:hover td { background: var(--rd-tint); }

/* ---------- /signup و /login: فرم‌های قاب‌دار بی‌سایه ---------- */
.signup-form-card, .plan-summary-card, .form-signin, .form-card { background: var(--rd-paper); border: 1px solid var(--rd-line); border-radius: 12px; box-shadow: none; }
.signup-form-card .card-body, .plan-summary-body { padding: 22px; }
.signup-title, .auth-title, .auth-session-title { font-size: 24px; font-weight: 900; line-height: 1.4; margin: 0 0 6px; color: var(--rd-ink); letter-spacing: 0; }
.auth-subtitle { font-size: 14px; color: var(--rd-muted); margin: 0 0 18px; }
#signupStep1Form .step-title, #signupStep2Form .step-title, .step2-form .step-title { font-size: 16px; font-weight: 800; color: var(--rd-ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rd-line); }
/* شمارهٔ گام پیش از تیتر گام، بی‌اسکریپت */
#signupStep1Form .step-title::before, #signupStep2Form .step-title::before { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-inline-end: 8px; border-radius: 50%; background: var(--rd-blue); color: #fff; font-size: 12.5px; font-weight: 800; vertical-align: middle; }
#signupStep1Form .step-title::before { content: "۱"; }
#signupStep2Form .step-title::before { content: "۲"; }
.form-group, .auth-form-group { margin-bottom: 14px; }
.form-group label, .auth-form-label { font-size: 13px; font-weight: 700; color: var(--rd-ink); margin-bottom: 6px; display: block; }
.auth-input-control, .signup-form-card .form-control { min-block-size: 42px; border: 1px solid var(--rd-line); border-radius: 8px; font-size: 14px; box-shadow: none; background: var(--rd-paper); }
.auth-input-control:focus, .signup-form-card .form-control:focus { border-color: var(--rd-blue); outline: 2px solid var(--rd-blue); outline-offset: 0; box-shadow: none; }
.otp-control { font-size: 20px; font-weight: 800; letter-spacing: .3em; text-align: center; direction: ltr; }
.form-hint { font-size: 12.5px; color: var(--rd-muted); }
.step1-submit-btn, .step2-submit-btn { width: 100%; min-block-size: 44px; font-size: 15px; font-weight: 800; border-radius: 10px; }
.step2-back-btn { font-size: 13.5px; }
.signup-alert-box, .step2-alert, .auth-alert-banner { border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-tint); font-size: 13.5px; box-shadow: none; }
/* خلاصهٔ پلن در ثبت‌نام: ردیف نام پلن و نشان‌ها در یک خط */
.plan-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rd-line); }
.plan-summary-row:last-child { border-bottom: 0; }
.plan-name-label { font-size: 13px; color: var(--rd-muted); }
.plan-name-val { font-size: 15px; font-weight: 800; color: var(--rd-ink); }
.plan-summary-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--rd-blue-soft); color: var(--rd-blue); border: 0; }
.addons-tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.addons-tag-list > * { font-size: 12px; padding: 3px 9px; border: 1px solid var(--rd-line); border-radius: 999px; background: var(--rd-paper); }
.success-title { font-size: 22px; font-weight: 900; color: var(--rd-ink); }
/* ستون معرفی در ورود: تیتر فشرده، ستون‌ها به‌صورت فهرست قاب‌دار */
.showcase-headline { font-size: 24px; font-weight: 900; line-height: 1.4; }
.showcase-description { font-size: 14px; line-height: 1.8; }
.showcase-pillars { display: grid; gap: 8px; }
.showcase-pillar-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-paper); font-size: 13.5px; font-weight: 700; }
.showcase-pillar-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--rd-blue-soft); color: var(--rd-blue); flex: none; }

/* ---------- /cloud_saas: پرسش‌های کوبرنتیز به‌صورت بلوک پرسش/پاسخ با خط آبی کناری ---------- */
.k8s-qa-card { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--rd-line); border-inline-start: 3px solid var(--rd-blue); border-radius: 10px; background: var(--rd-paper); box-shadow: none; margin-bottom: 10px; }
.k8s-qa-card::before { content: "؟"; grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--rd-blue-soft); color: var(--rd-blue); font-size: 14px; font-weight: 900; line-height: 1; }
.k8s-qa-title { font-size: 16px !important; font-weight: 800 !important; margin: 0 !important; color: var(--rd-ink) !important; }
.k8s-qa-desc { font-size: 14px; line-height: 1.8; color: var(--rd-muted); margin: 0; }

/* ---------- موبایل ---------- */
@media (max-width: 767.98px) {
  #calculator .calc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #calculator .calc-card, #calculator .summary-box { padding: 14px; border-radius: 10px; }
  #calculator .plan-picker-grid { grid-template-columns: minmax(0, 1fr); }
  #calculator .plan-picker-option { border-inline-start: 0; border-top: 1px solid var(--rd-line); }
  #calculator .plan-picker-option:first-child { border-top: 0; }
  #calculator .addon-item-row { flex-wrap: wrap; padding: 10px 12px; }
  #calculator .addon-info { flex-basis: calc(100% - 30px); }
  #calculator .addon-price { margin-inline-start: 30px; }
  #calculator .summary-box { position: static; }
  #calculator .summary-total .total-toman { font-size: 20px; }
  .signup-title, .auth-title, .showcase-headline { font-size: 21px; }
  .signup-form-card .card-body, .plan-summary-body { padding: 16px; }
  .comparison-table { font-size: 12.5px; }
  .comparison-table th, .comparison-table td { padding: 8px; }
}
