/* ==========================================================================
   PURE CSS CLONE - Orbit SaaS Platform (Zero Build Tooling Dependency)
   ========================================================================== */

:root {
  --background: #f5f5f5;
  --foreground: #0a0a0a;
  --muted: #f5f5f5;
  /* متن ثانویه. #737373 روی پس‌زمینهٔ #f5f5f5 خودِ سایت فقط ۴٫۳۵:۱
     می‌داد؛ تیره‌ترش می‌کنیم تا از حد ۴٫۵:۱ عبور کند (روی کارت سفید
     که بیشتر استفاده می‌شود ۴٫۷۴:۱ بود و حالا بهتر می‌شود). */
  --muted-foreground: #5c5c5c;
  /* متن اصلیِ کارت‌ها و تیترهای میانی. --foreground (#0a0a0a) برای متن
     قهرمان باقی می‌ماند و این رنگ برای متنِ داخلِ کارت است تا کنتراستِ
     ۱۹:۱ حفظ شود بدون اینکه سربرگ‌ها این‌قدر سیاه شوند. */
  --text-strong: #171717;
  --border: #e5e5e5;
  --ring: #06f;
  --frame: #ffffff;
  --accent: #0062c4;
  --accent-hover: #0077ed;
  --accent-neon: #2997ff;
  --card-primary: #0071e3;
  --card-secondary: #eef5fc;
  --card-foreground: #003366;
  --card-foreground-muted: #3f6383;
  --phone-screen: #f5f5f5;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  /* 100vw شامل عرض اسکرول‌بار است و max-width آن، در بزرگ‌نمایی
     ۲۰۰٪ صفحه را از پهنای دید قفل می‌کند (نقض ۱.۴.۱۰). به‌جای
     قفل‌کردن عرض، سرریز افقیِ واقعی بریده می‌شود. */
  overflow-x: hidden;
}

/* فرم‌های UI (دکمه/ورودی) پیش‌فرض فونت مرورگر نمی‌گیرند — ارث ببر تا وزیرمتن اعمال شود */
/* حلقه فوکوس سراسری — بدون آن، تنها عنصر قابل‌فوکوس صفحه همان input فرم تماس است */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   Lenis Smooth Scrolling Support
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ==========================================================================
   Scroll-Triggered Viewport Animations (Turbopack Parity: [0.23, 1, 0.32, 1])
   ========================================================================== */
/* حالت پیش‌فرض: عناصر باید دیده شوند.
   انیمیشن ورود فقط زمانی اعمال می‌شود که <html> کلاس js-enabled
   داشته باشد؛ آن کلاس را اولین خط <head> اضافه می‌کند. */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}
.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1), transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}
.js-enabled .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* تأخیرها پشت همان دروازه می‌مانند؛ بیرون از آن بی‌اثرند و
   transition-property را به مقدار پیش‌فرضِ مرورگر برمی‌گردانند. */
.js-enabled .reveal-delay-1 { transition-delay: 0.12s; }
.js-enabled .reveal-delay-2 { transition-delay: 0.24s; }
.js-enabled .reveal-delay-3 { transition-delay: 0.36s; }
.js-enabled .reveal-delay-4 { transition-delay: 0.48s; }

/* لینک پرش به محتوا — تا لحظه فوکوس کاملاً پنهان است */
.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--foreground);
  color: var(--frame);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 0.75rem 0.75rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================================================
   RTL Layout Overrides (Persian / Farsi)
   ========================================================================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .faq-header {
  text-align: right;
}
[dir="rtl"] .timeline-track {
  padding-left: 0;
  padding-right: 2rem;
}
[dir="rtl"] .timeline-line {
  left: auto;
  right: 1.5rem;
}
[dir="rtl"] .concentric-rings {
  right: auto;
  left: 2rem;
}
[dir="rtl"] .btn-cta-accent-bg {
  left: 0;
  right: auto;
  width: calc(100% - 1.5rem);
}
[dir="rtl"] .btn-cta-arrow {
  left: 0;
  right: auto;
}
[dir="rtl"] .btn-cta-arrow svg {
  transform: scaleX(-1);
}
[dir="rtl"] .btn-cta:hover .btn-cta-arrow svg {
  transform: scaleX(-1) rotate(-45deg);
}
[dir="rtl"] .badge-tag {
  letter-spacing: 0;
}

body {
  /* همان دلیل html: max-width بر پایهٔ 100vw بزرگ‌نمایی صفحه را
     قفل می‌کند و عرض واقعی را از محتوا می‌گیرد. */
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  /* فارسی دنباله و نقطه دارد (ی، ج، چ و ب، پ، ت، ث، ن)؛ ارتفاع خطِ
     پیش‌فرض مرورگر این‌ها را به خط بالا و پایین می‌چسباند. */
  line-height: 1.6;
  /* متن بلند فارسی بدون شکستنِ واژه، ستون‌های نامتوازن می‌سازد. */
  text-wrap: pretty;
}
/* تیترها چندخطی‌اند؛ balance ارتفاع همهٔ خط‌ها را برابر می‌کند. */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
  text-wrap: balance;
}

/* ==========================================================================
   Outer Site Frame & Decorative Corners
   ========================================================================== */
.site-frame {
  position: fixed;
  background-color: var(--frame);
  z-index: 9998;
  pointer-events: none;
}
.site-frame--top { top: 0; left: 0; right: 0; height: 10px; }
.site-frame--bottom { bottom: 0; left: 0; right: 0; height: 10px; }
.site-frame--left { top: 0; bottom: 0; left: 0; width: 10px; }
.site-frame--right { top: 0; bottom: 0; right: 0; width: 10px; }

.site-corner {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  color: var(--frame);
  width: 50px;
  height: 50px;
}
.site-corner--top-left { top: 10px; left: 10px; transform: rotate(90deg); }
.site-corner--top-right { top: 10px; right: 10px; transform: rotate(180deg); }
.site-corner--bottom-left { bottom: 10px; left: 10px; transform: rotate(0deg); }
.site-corner--bottom-right { bottom: 10px; right: 10px; transform: rotate(270deg); }

@media (max-width: 850px) {
  .site-frame, .site-corner {
    display: none !important;
  }
}

/* ==========================================================================
   Header & Floating Navigation Pill
   ========================================================================== */
.header-pill {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1024px;
  background-color: var(--frame);
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.header-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.125rem;
}
.brand-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.8);
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap !important;
}
.nav-link:hover {
  background-color: rgba(10, 10, 10, 0.05);
  color: var(--foreground);
}
.nav-link.active {
  background-color: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-ear-left {
  position: absolute;
  top: 0;
  left: -49px;
  transform: rotate(180deg);
  color: var(--frame);
  pointer-events: none;
}
.header-ear-right {
  position: absolute;
  top: 0;
  right: -49px;
  transform: rotate(90deg);
  color: var(--frame);
  pointer-events: none;
}
@media (max-width: 1140px) {
  .header-ear-left, .header-ear-right {
    display: none !important;
  }
}

@media (max-width: 850px) {
  html, body {
    /* این قفلِ عرض در موبایل بدترین حالت را داشت: با بزرگ‌نمایی
       ۲۰۰٪ صفحه دیگر اسکرول افقی نمی‌شد (نقض ۱.۴.۱۰). */
    overflow-x: hidden;
  }
  .header-pill {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .header-container { height: 68px; padding: 0 1.25rem; }
  .nav-links, .header-actions { display: none !important; }
  .header-ear-left, .header-ear-right { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .hero-section { padding-top: 6.5rem; padding-bottom: 2.5rem; }
  .hero-center-box {
    align-items: center !important;
    text-align: center !important;
    padding: 0 1rem !important;
  }
  .hero-title {
    font-size: clamp(2rem, 7vw, 3.25rem) !important;
    /* ۱.۲ ارتفاعِ متن لاتین است؛ دنباله و نقطهٔ فارسی (ی، ج، ب، پ، ت)
       زیر همین ارتفاع به تیترهای بزرگ می‌چسبد. این !important بر
       قاعدهٔ h1…h6 غلبه می‌کند، پس مقدار درست باید همین‌جا باشد. */
    line-height: 1.5 !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .marquee-container {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    margin: 2.5rem auto 0 !important;
  }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  /* دکمهٔ اصلی موبایل؛ با آیکون ۲۴ و پدینگ ۰.۵ فقط ۴۰ پیکسل می‌شد،
     یعنی دقیقاً روی کف ۲.۴.۵.۸. فضای لمس به ۴۸ می‌رسد. */
  padding: 0.75rem;
  color: var(--foreground);
  border-radius: 0.75rem;
}
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  /* کشو باید روی محتوا بیفتد، نه اینکه آن را هل بدهد؛ و روی
     صفحه‌های کوتاه (فار landscape یا ارتفاع کم در قفل) باید
     خودش اسکرول شود تا آخرین لینک قابل‌رسیدن بماند. */
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 200;
  max-height: calc(100vh - 100%);
  max-height: calc(100dvh - 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--frame);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.18);
}
.mobile-nav-drawer.active {
  display: flex;
}

/* ==========================================================================
   Primary Action CTA Button Style (Pill + Lime Accent Corner)
   ========================================================================== */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
}
.btn-cta-accent-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: calc(100% - 1.5rem);
  background-color: var(--accent);
  border-radius: 0.75rem;
  transition: background-color 0.3s ease, filter 0.3s ease, width 0.3s ease;
}
.btn-cta:hover .btn-cta-accent-bg {
  background-color: var(--accent-hover);
  filter: none;
}
.btn-cta-label {
  position: relative;
  z-index: 2;
  padding: 0.75rem 1.25rem;
  background-color: var(--foreground);
  color: var(--frame);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
}
.btn-cta-arrow {
  position: relative;
  z-index: 2;
  left: -1px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.btn-cta-arrow svg {
  transition: transform 0.3s ease;
}
.btn-cta:hover .btn-cta-arrow svg {
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 16rem;
  padding-bottom: 3rem;
}
@media (max-width: 850px) {
  .hero-section { padding-top: 8rem; }
}

.hero-bg-cover {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 0;
  background-image: url('assets/BG.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  z-index: -1;
}
@media (max-width: 850px) {
  .hero-bg-cover { top: 0; left: 0; right: 0; }
}

.hero-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 850px) {
  .hero-center-box {
    align-items: center;
    text-align: center;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge-tag span.star { color: var(--accent); }

.hero-title {
  font-size: 6rem;
  font-weight: 500;
  /* خط‌فاصلهٔ منفی و line-height فشرده هر دو از عادتِ تایپوگرافی لاتین
     آمده‌اند. فارسی خط پیوسته است: فاصلهٔ منفی حروفِ چسبیده را روی هم
     می‌نشاند و line-heightِ ۱٫۱ جای نفس‌کشیدنِ نقطه‌ها و «٫» را نمی‌گذارد. */
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
  color: #000;
}
/* «آیزو» با Georgia و حالتِ مورب — ژرف‌ای که برای خط‌های غیرپیوسته
   ساخته شده — در فارسی حروف را جدا و شکسته نشان می‌دهد. */
.hero-title span.italic-accent {
  font-style: normal;
  font-family: inherit;
  color: var(--accent);
}
@media (max-width: 850px) {
  .hero-title { font-size: 3rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #525252;
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.6;
}

/* Dashboard Mockup */
.mockup-wrapper {
  position: relative;
  max-width: 1024px;
  margin: 6rem auto 0;
  padding: 0 1.5rem;
  width: 100%;
}
@media (max-width: 850px) {
  .mockup-wrapper { margin-top: 2.5rem; }
}
.mockup-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.mockup-frame img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Infinite Marquee */
.marquee-container {
  overflow: hidden;
  max-width: 1024px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: marquee-scroll 35s linear infinite;
  align-items: center;
  padding: 1rem 0;
}
/* ۲.۲.۲: راه توقف حرکت باید با فوکوس صفحه‌کلید هم کار کند، نه
   فقط با قرار گرفتن نشانگر ماوس روی نوار. */
.marquee-track:hover,
.marquee-track:focus-within {
  animation-play-state: paused;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  /* ۰٫۴ روی #f5f5f5 فقط ۲٫۷:۱ می‌داد؛ متنِ نوار متحرک عملاً خوانده نمی‌شد. */
  opacity: 0.65;
  transition: opacity 0.3s ease;
  font-size: 0.875rem;
  font-weight: 600;
  /* فارسی خطِ پیوسته است: هر letter-spacingِ غیرصفری فاصله‌ای میان هر جفتِ
     حرفِ چسبیده می‌اندازد و زنجیرهٔ اتصال را می‌شکند. (text-transform هم که
     قبلاً اینجا بود روی فارسی بی‌اثر است و حذف شد.) */
  letter-spacing: 0;
}
.marquee-item:hover { opacity: 1; }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Statement Section
   ========================================================================== */
.statement-section {
  width: 100%;
  background-color: var(--background);
  padding: 6rem 1.5rem;
}
.statement-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.statement-text {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--foreground);
}
@media (max-width: 850px) {
  .statement-text { font-size: 1.875rem; }
}

/* ==========================================================================
   Bento Features Grid
   ========================================================================== */
.bento-section {
  width: 100%;
  padding: 0 1.5rem;
  margin-bottom: 8rem;
}
.bento-grid {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
}

.bento-card-primary {
  grid-row: span 2;
  background-color: var(--card-primary);
  border-radius: 2rem;
  padding: 2rem 2rem 0;
  overflow: hidden;
  min-height: 35rem;
  display: flex;
  flex-direction: column;
}
.bento-card-primary > div > h3 {
  color: #ffffff !important;
}
.bento-card-primary > div > p {
  /* 0.85 روی پس‌زمینهٔ آبی به 3.82 می‌رسد که زیر حد AA است؛
     سفید کامل 4.70 می‌دهد. این قاعده !important دارد پس باید
     همین‌جا اصلاح شود، نه در صفت style درون HTML. */
  color: #ffffff !important;
}
.phone-mockup-frame {
  margin: auto auto 0;
  width: 16rem;
  height: 28rem;
  background-color: var(--background);
  border: 6px solid #262626;
  border-bottom: none;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 1.25rem;
  background-color: #262626;
  border-radius: 9999px;
  z-index: 10;
}
.phone-inner-content {
  padding: 3.5rem 1.25rem 1rem;
}

.bento-card-secondary {
  background-color: var(--card-secondary);
  border-radius: 2rem;
  padding: 2rem;
  min-height: 20rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.concentric-rings {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-1 { width: 14rem; height: 14rem; border: 1px solid rgba(0, 113, 227, 0.75); border-radius: 50%; position: absolute; }
.ring-2 { width: 18rem; height: 18rem; border: 1px solid rgba(0, 113, 227, 0.45); border-radius: 50%; position: absolute; }
.ring-3 { width: 22rem; height: 22rem; border: 1px solid rgba(0, 113, 227, 0.25); border-radius: 50%; position: absolute; }

@media (max-width: 768px) {
  .concentric-rings {
    opacity: 0.35;
    transform: translateY(-50%) scale(0.65);
    transform-origin: center center;
  }
}

.bento-card-dark {
  background-color: #171717;
  color: #fff;
  border-radius: 2rem;
  padding: 2rem;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   Testimonial Interactive Switcher
   ========================================================================== */
.testimonial-section {
  width: 100%;
  background-color: var(--frame);
  border-top: 1px solid rgba(0, 113, 227, 0.12);
  border-bottom: 1px solid rgba(0, 113, 227, 0.12);
  padding: 8rem 1.5rem;
}
.testimonial-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
@media (max-width: 850px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.avatar-tabs {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
#testimonial-quote, #testimonial-author, #testimonial-role {
  transition: opacity 0.2s ease;
}

.avatar-tab-item {
  width: 4rem;
  height: 4rem;
  border: 0;
  font-family: inherit;
  border-radius: 50%;
  background-color: #e5e5e5;
  color: #525252;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.avatar-tab-item.active {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 8px 20px -4px rgba(0, 113, 227, 0.4);
}

/* ==========================================================================
   How It Works Timeline
   ========================================================================== */
.how-section {
  position: relative;
  width: 100%;
  background-color: var(--background);
  padding: 6rem 1.5rem;
}
.how-grid {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 850px) {
  .how-grid { grid-template-columns: 1fr; }
}

.how-sticky-left {
  position: sticky;
  top: 10rem;
  height: fit-content;
}
.timeline-track {
  position: relative;
  padding-left: 2rem;
}
.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 3rem;
  width: 2px;
  background-color: rgba(10, 10, 10, 0.1);
}
.timeline-line-filled {
  width: 100%;
  background-color: var(--accent);
  height: 60%;
}
.timeline-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 12rem;
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-icon-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

/* ==========================================================================
   Pricing Section & Cards
   ========================================================================== */
.pricing-section {
  width: 100%;
  padding: 4rem 1.5rem 6rem;
}
.pricing-grid {
  max-width: 1140px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
/* ۴ کارت (۳ بسته خودخدمت + سازمانی): دوستونی چیده می‌شوند، ۲×۲.
   چیدمان سه‌ستونی کارت چهارم را تنها و کشیده در ردیف دوم می‌گذاشت و آن
   ردیف هم قد می‌کشید تا هم‌ترازی کارت‌های ردیف اول را به هم می‌زد. در حالت
   دوستونی هر چهار کارت هم‌ارتفاع‌اند و هیچ نیم‌صفحه‌ی خالی نمی‌ماند.
   max-width عمداً حذف شده تا کارت‌ها کل عرض را بگیرند؛ محدودکردن عرض در
   ۱۲۰۰ پیکسل باعث می‌شد متن امکانات به ۳ خط بشکند و قد کارت‌ها بالا برود. */
.pricing-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 2.5rem;
  }
  .pricing-grid--4 {
    max-width: 500px;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* جدول مقایسه در نمایشگرهای باریک از عرض قاب پهن‌تر است و اسکرول افقی
   می‌خورد. راهنمای کشیدن فقط تا جایی دیده می‌شود که جدول واقعاً از قاب
   بیرون بزند؛ از ۷۲۰ پیکسل به بالا جا شده و راهنما پنهان می‌شود. */
[data-table-hint] {
  display: none;
}
@media (max-width: 720px) {
  [data-table-hint] {
    display: block;
  }
}

.pricing-card {
  background-color: var(--frame);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.3);
}

.pricing-card.featured {
  background-color: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 25px 50px -12px rgba(0, 113, 227, 0.18);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 113, 227, 0.25);
}
@media (max-width: 992px) {
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

.popular-tag {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
  white-space: nowrap;
  letter-spacing: 0;
}

.pricing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.35rem;
}
.plan-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}
.plan-badge {
  background: rgba(10, 10, 10, 0.05);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.plan-badge.featured-badge {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
}

.pricing-price-wrap {
  margin: 1.5rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 0;
}
.pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price-val {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.3;
  font-family: inherit;
  letter-spacing: 0;
}
.price-curr {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.plan-subtext {
  font-size: 0.825rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}
.plan-subtext--accent {
  color: var(--accent);
  font-weight: 600;
}

.plan-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-grow: 1;
}
.plan-features li {
  list-style: none !important;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
  text-align: right;
}
.plan-features li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.2rem;
}

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  background: rgba(10, 10, 10, 0.05);
  color: var(--foreground);
  border: 1px solid var(--border);
  cursor: pointer;
  margin-top: auto;
}
.btn-plan:hover {
  background: rgba(10, 10, 10, 0.1);
  color: var(--foreground);
  transform: translateY(-2px);
}
.btn-plan.featured-btn {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 10px 20px -5px rgba(0, 113, 227, 0.4);
}
.btn-plan.featured-btn:hover {
  background: #0077ed;
  box-shadow: 0 15px 30px -5px rgba(0, 113, 227, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  width: 100%;
  padding: 6rem 1.5rem;
}
.faq-grid {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
}
@media (max-width: 850px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-item {
  background-color: var(--frame);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: #525252;
  line-height: 1.6;
  display: none;
}
.faq-item.active .faq-body {
  display: block;
}
.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   Dark Footer
   ========================================================================== */
.footer-dark {
  background-color: #171717;
  color: #fff;
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 2.5rem;
  padding: 6rem 2rem 3rem;
  margin: 6rem 10px 0;
}
@media (max-width: 850px) {
  .footer-dark { margin: 6rem 0 0; }
}
.footer-cta-row {
  max-width: 1024px;
  margin: 0 auto 4rem;
  border-bottom: 1px solid #262626;
  padding-bottom: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-cta-row { flex-direction: column; text-align: center; }
}
.footer-links-grid {
  max-width: 1024px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Engineering Modal & Conversion Interactive UI
   ========================================================================== */

/* ==========================================================================
   Section Dividers & Separators (Baseline UI Clean Spacing)
   ========================================================================== */
.section-divider {
  height: 1px;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.18), transparent);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.15);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.section-see-more:hover {
  background: rgba(0, 113, 227, 0.12);
  transform: translateX(-4px);
}
[dir="rtl"] .section-see-more:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   Standalone Pages Hero & Inner Content (Features, Pricing, About, Contact)
   ========================================================================== */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: transparent;
  border-bottom: none;
  text-align: center;
  position: relative;
}
@media (max-width: 850px) {
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.page-hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  box-sizing: border-box;
  width: 100%;
}

.feature-detail-card {
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 113, 227, 0.12);
}

@media (max-width: 768px) {
  .feature-detail-card {
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
  }
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.feature-module-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.feature-card-title {
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 700;
  color: #171717;
  margin: 0.25rem 0 0;
  line-height: 1.5;
}

/* ===== Module index pills (features hero) ===== */
.module-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}

.module-index .section-tag {
  margin-bottom: 0;
  text-decoration: none;
  transition: transform 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out;
}

.module-index .section-tag:hover {
  transform: translateY(-2px);
  background: rgba(0, 113, 227, 0.14);
}

.module-index .section-tag:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Features bento grid (2x2 on desktop, never a single stack) ===== */

/* ===== Technical Engineering Studio & Workbench (features.html) ===== */
.tech-workbench {
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  margin-bottom: 2.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tech-workbench:hover {
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: 0 12px 32px -8px rgba(0, 113, 227, 0.06);
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 113, 227, 0.015);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  direction: ltr;
}

.tech-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: techPulse 2s infinite;
}

@keyframes techPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* احترام به کاهش حرکت: مارکی بی‌پایان و ضربان فنی هر دو متوقف می‌شوند */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track,
  .tech-pulse-dot {
    animation: none !important;
  }
}

.tech-title {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: #171717;
  margin: 0;
  line-height: 1.5;
}

.tech-body {
  padding: 1.75rem;
}

.tech-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .tech-grid-2col {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

/* CAD Blueprint Viewport */
.blueprint-viewport {
  background: #090d16;
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: 1.25rem;
  padding: 1.25rem;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.blueprint-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 113, 227, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 113, 227, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.blueprint-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.75rem;
  /* روی پس‌زمینهٔ تیرهٔ #090d16 خودش ۴٫۰۸:۱ می‌داد. */
  color: #6b7b92;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
  direction: ltr;
}

.blueprint-header-bar .cad-tag {
  color: #38bdf8;
  font-weight: 700;
}

.blueprint-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.2));
}

.blueprint-telemetry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.telemetry-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.65rem;
  padding: 0.6rem 0.75rem;
}

.telemetry-cell-label {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.25rem;
}

.telemetry-cell-val {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  display: block;
}

/* Feature Step List (Vision OCR) */
.tech-step-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tech-step-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tech-step-item:hover {
  border-color: rgba(0, 113, 227, 0.3);
  background: #ffffff;
}

.tech-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.tech-step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.35rem;
}

.tech-step-content p {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* Interactive Engineering Component */

/* اسلایدر رنگ: نوار پایه outline ندارد، پس حلقه فوکوس روی خود دستگیره کشیده می‌شود */

/* Simulator Output Result Box */

/* Gauge Meter Track */

/* Mabhas 17 Table Matrix */

.matrix-filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.matrix-filter-label {
  font-size: 0.85rem;
  color: #666666;
  font-weight: 600;
  margin-left: 0.5rem;
}

.matrix-tab {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.matrix-tab:hover {
  border-color: rgba(0, 113, 227, 0.4);
}

.matrix-tab.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #ffffff;
}

.mabhas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: center;
}

.mabhas-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

.mabhas-table th:last-child {
  border-left: none;
}

.mabhas-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  color: #475569;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.mabhas-table td:last-child {
  border-left: none;
}

.mabhas-table tbody tr:hover td {
  background: rgba(0, 113, 227, 0.04);
}

.mabhas-table tbody tr.active-row td {
  background: rgba(0, 113, 227, 0.08);
  /* روی کارت سفید ۴٫۱:۱ بود؛ تیره‌ترش می‌کنیم تا AA شود. */
  color: #007bbe;
  font-weight: 700;
}

/* G-01 Sheet Technical Blueprint Mock */
.g01-sheet-card {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.g01-title-block {
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  background: #f8fafc;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.g01-field-label {
  color: #64748b;
  font-size: 0.72rem;
  display: block;
}

.g01-field-value {
  color: #0f172a;
  font-weight: 700;
}

.g01-qr-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0, 113, 227, 0.04);
  border: 1px dashed rgba(0, 113, 227, 0.3);
  border-radius: 0.75rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

/* About & Contact Specific */
.about-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.about-stats-card {
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .about-stats-card {
    padding: 2rem 1.25rem;
  }
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 0.35rem;
  letter-spacing: 0;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
}

.contact-input-field {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.875rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
  background: var(--background);
  color: #171717;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-input-field:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel-card {
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 12px 28px -6px rgba(0, 113, 227, 0.1);
}

/* ================= بنرهای فروش و پلن ================= */
.promo-banner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.promo-banner {
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: var(--frame);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.promo-banner-accent {
  background: linear-gradient(135deg, var(--card-secondary) 0%, var(--frame) 65%);
  border-color: rgba(0, 113, 227, 0.25);
}
.promo-banner-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.5;
  margin: 0.75rem 0 0.5rem;
}
.promo-banner-text {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0;
  max-width: 44rem;
}
.promo-banner-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}
.promo-banner-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}
.promo-banner-points svg {
  color: var(--accent);
  flex: none;
}
.promo-banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.promo-banner-action .btn-cta {
  white-space: nowrap;
}
.promo-banner-note {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  text-align: center;
}
.promo-steps {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.promo-step {
  text-align: center;
  min-width: 5.5rem;
}
.promo-step-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.promo-step-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}
.promo-step-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 1.1rem;
  line-height: 1;
}
@media (max-width: 900px) {
  .promo-banner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
    text-align: center;
  }
  .promo-banner-points {
    justify-content: center;
  }
  .promo-banner-action {
    align-items: center;
  }
  .promo-banner-text {
    margin: 0 auto;
  }
  .promo-steps {
    justify-content: center;
    gap: 0.5rem;
  }
  .promo-step {
    min-width: 4.5rem;
  }
  .promo-step-val {
    font-size: 1.15rem;
  }
}
/* روی نمایشگرهای خیلی باریک، عرضِ مفید بنر حدود ۲۴۰ پیکسل می‌شود؛ کفِ عرضِ
   ۴٫۵ رِم روی هر پله (۳ پله + ۲ فلش + فاصله‌ها) از این بیشتر می‌شود و نردبان از
   لبه‌ی بنر بیرون می‌زند. اینجا کفِ عرض برداشته و اندازه‌ها تا حدی کوچک
   می‌شوند تا هر سه پله در یک ردیف جا شوند. */
@media (max-width: 560px) {
  .promo-steps {
    gap: 0.3rem;
    flex-wrap: wrap;
  }
  .promo-step {
    min-width: 0;
  }
  .promo-step-val {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .promo-step-label {
    font-size: 0.7rem;
  }
  .promo-step-arrow {
    font-size: 0.9rem;
  }
  .promo-step-arrow svg {
    width: 14px;
    height: 14px;
  }
}
