/**
 * ====================================================================
 * MENIX Web Application - Stylesheet (Exact Laszlo Home 4 & Demo 1 Nav)
 * ====================================================================
 */


/* --------------------------------------------------
 * ۱. بارگذاری فونت‌های محلی
 * -------------------------------------------------- */
@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-Regular.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-Medium.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-SemiBold.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-Bold.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-ExtraBold.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../assets/fonts/Peyda Pro/Peyda-Black.woff2') format('woff2'), url('../assets/fonts/Peyda Pro/Peyda-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* فونت‌های سنگین و درشت: Colak & Edameh */
@font-face {
  font-family: 'ColakFanum';
  src: url('../assets/fonts/ColakFAnum.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EdamehFanum';
  src: url('../assets/fonts/edamehFaNum-ExtraBlack.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* فونت دست‌نویس: MjSayeh */
@font-face {
  font-family: 'MjSayeh';
  src: url('../assets/fonts/Mj.Sayeh.2.(farsgraphic.com).ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------
 * ۲. متغیرهای طراحی (Tokens)
 * -------------------------------------------------- */
:root {
  --bg-page: #ffffff;
  --text-main: #010101;
  --text-muted: rgba(25, 25, 25, 0.65);
  --accent-gold: #efbc5e;
  --accent-gold-hover: #dfac4e;
  --header-height: 86px;

  --font-default: 'Peyda', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heavy: 'ColakFanum', 'EdamehFanum', 'Peyda', sans-serif;
  --font-handwritten: 'MjSayeh', cursive, sans-serif;
}

/* --------------------------------------------------
 * ۳. ریست و ساختار پایه
 * -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-default);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 2.5rem;
}

/* --------------------------------------------------
 * ۴. هدر ناوبری (شفاف روی هیرو، رنگ‌دار و تار شونده در اسکرول)
 * -------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease,
              backdrop-filter 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              height 0.3s ease;
}

/* حالت اسکرول شده هدر: دارای بکگراند و سایه ملایم شیشه‌ای */
.site-header.scrolled {
  height: 76px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* لوگوی منیکس - سایز بزرگتر و کاملاً شارپ */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 35px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease, transform 0.25s ease;
}

.site-header.scrolled .brand-logo img {
  height: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-default);
  font-weight: 600;
  font-size: 0.95rem;
  color: #333333;
  padding-block: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

/* زیرمنوی دراپ‌داون */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link[type="button"] { border: 0; background: transparent; cursor: pointer; }

.dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #444444;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(239, 188, 94, 0.12);
  color: #000000;
  padding-right: 1.5rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #010101;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-header:hover {
  background-color: var(--accent-gold);
  color: #010101;
  box-shadow: 0 6px 18px rgba(239, 188, 94, 0.4);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #010101;
  cursor: pointer;
  padding: 0.25rem;
}
.mobile-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* --------------------------------------------------
 * ۵. بخش هیرو (امتداد یافته تا بالای صفحه زیر منو)
 * -------------------------------------------------- */
.hero-home4 {
  height: 100vh;
  min-height: 700px;
  max-height: 1000px;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

/* لایه پس‌زمینه پویا با تصویر Salvatore موج‌دار */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/home4/salvatore-andrea-santacroce-E8EZ5FO9EiA-unsplash-1-scaled.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: background-image 0.6s ease-in-out, opacity 0.5s ease;
}

/* ماسک سفید ملایم هیرو جهت حفظ وضوح امواج ارگانیک پس‌زمینه */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 1720px;
  padding-right: 1.25rem; /* امتداد طبیعی به سمت راست صفحه */
  padding-left: 2.5rem;    /* حاشیه متوازن ستون متنی در سمت چپ */
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(3rem, 6vw, 7rem); /* فاصله استاندارد و چشم‌نواز بین مدل سه‌بعدی و ستون متن جهت جلوگیری از چسبیدن */
}

/* --------------------------------------------------
 * ۵.۱. ستون بصری مدل سه‌بعدی ایزومتریک رستوران منیکس (hl1 تا hl5)
 * -------------------------------------------------- */
.hero-visual-side {
  flex: 0 1 760px;
  max-width: 760px;
  width: 100%;
  display: flex;
  justify-content: flex-start; /* چسبیدن به لبه سمت راست صفحه در ساختار RTL */
  align-items: center;
  position: relative;
  perspective: 1200px;
  margin-right: -0.75rem; /* هدایت به سمت راست جهت پر کردن فضای خالی سمت راست */
}

.hero-restaurant-stage {
  position: relative;
  width: 100%;
  max-width: 760px; /* اندازه بهینه و ملایم‌تر طبق درخواست */
  aspect-ratio: 1024 / 768;
  user-select: none;
  perspective: 1200px;
  transform-style: preserve-3d;
  margin-right: 0;
  margin-left: 0;
}

/* توقف شناوری و ثابت ماندن کامل مدل با رفتن ماوس روی آن طبق درخواست */
.hero-restaurant-stage:hover,
.hero-restaurant-stage.is-hovered {
  animation-play-state: paused !important;
}

.restaurant-camera-rig {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 46% 50%; /* دقیقا روی محور عمودی راس گوشه جلویی ساختمان */
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.restaurant-isometric-building {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* استایل‌های تمرکز و کاوشگر تعاملی طبقات (Interactive Explorer) */
.hero-restaurant-stage.is-explorer-focused .restaurant-floor:not(.is-explorer-active),
.hero-restaurant-stage.is-explorer-focused .restaurant-sidebar-menu:not(.is-explorer-active) {
  opacity: 0.32 !important;
  filter: blur(1.5px) brightness(0.85) grayscale(0.25) !important;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.hero-restaurant-stage.is-explorer-focused .restaurant-floor.is-explorer-active,
.hero-restaurant-stage.is-explorer-focused .restaurant-sidebar-menu.is-explorer-active {
  opacity: 1 !important;
  filter: brightness(1.22) contrast(1.08) drop-shadow(0 0 30px rgba(239, 188, 94, 0.95)) !important;
  z-index: 10 !important;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

/* رفع قطعی باگ کش لایه کامپوزیت مرورگر در نمای کلی (رفع فوری بلور بدون نیاز به هاور ماوس) */
.hero-restaurant-stage:not(.is-explorer-focused) .restaurant-sidebar-menu,
.hero-restaurant-stage.is-overview-state .restaurant-sidebar-menu {
  opacity: 1 !important;
  filter: blur(0px) brightness(1) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.32)) !important;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.hero-restaurant-stage:not(.is-explorer-focused) .restaurant-floor,
.hero-restaurant-stage.is-overview-state .restaurant-floor {
  opacity: 1 !important;
  filter: none !important;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

/* طبقات چهارگانه رستوران (hl1 تا hl4) */
.restaurant-floor {
  position: absolute;
  width: 106.35%;
  left: -7.03125%;
  pointer-events: none; /* حذف تعارض مستطیل‌های نامرئی تصویر */
  will-change: transform, opacity, filter;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.restaurant-floor .floor-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* هاور فعال، درخشان و باکیفیت پیکسل‌به‌پیکسل روی هر طبقه بدون تغییر z-index به نفع منو */
.restaurant-floor.is-floor-hovered {
  filter: brightness(1.22) contrast(1.08) drop-shadow(0 0 24px rgba(239, 188, 94, 0.9));
  opacity: 1 !important;
}

/* کم‌نور شدن سایر طبقات هنگام فعال بودن یک طبقه */
.restaurant-isometric-building.has-floor-hovered:not(.is-explorer-mode) .restaurant-floor:not(.is-floor-hovered) {
  opacity: 0.72;
  filter: brightness(0.92);
}

/* موقعیت‌های دقیق ریاضی لایه‌ها مطابق با بوم ۱۰۲۴ در ۷۶۸ */

/* طبقه ۱: ورودی همکف و گزارش‌ها و تحلیل‌ها - ورود اول */
.floor-1 {
  top: 39.974%;
  z-index: 1;
  animation: dropInFloor 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both;
}

/* طبقه ۲: آشپزخانه و آماده‌سازی - ورود دوم */
.floor-2 {
  top: 27.474%;
  z-index: 2;
  animation: dropInFloor 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* طبقه ۳: سالن اصلی پذیرایی (ثبت سفارش و فروش) - ورود سوم */
.floor-3 {
  top: 6.12%;
  z-index: 3;
  animation: dropInFloor 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.60s both;
}

/* طبقه ۴: روف‌گاردن و تراس (رزرو و مدیریت میزها) - ورود چهارم */
.floor-4 {
  top: -14.193%;
  z-index: 4;
  animation: dropInFloor 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

/* پنل سمت چپ: منوی ناوبری و رادیو منیکس (hl5) - نسخه بزرگ‌تر با فاصله کامل از طبقات */
.restaurant-sidebar-menu {
  position: absolute;
  left: -5.08%;
  top: 9.77%;
  width: 23.44%;
  z-index: 20; /* همیشه روی طبقات تا هیچ طبقه‌ای رویش نیفتد */
  pointer-events: none;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.32));
  animation: slideInMenu 1.25s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
  transition: filter 0.6s ease, opacity 0.6s ease;
}

.restaurant-sidebar-menu .menu-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.restaurant-sidebar-menu.is-floor-hovered {
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 25px rgba(45, 138, 94, 0.85)) brightness(1.08);
  opacity: 1 !important;
  z-index: 25;
}

.restaurant-isometric-building.has-floor-hovered .restaurant-sidebar-menu:not(.is-floor-hovered) {
  opacity: 0.82;
}

/* انیمیشن پیوسته فرود آبشاری طبقات از ارتفاع بالاتر با طی مسافت بیشتر */
@keyframes dropInFloor {
  0% {
    opacity: 0;
    transform: translateY(-90px);
  }
  35% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ورود نرم پنل منو و رادیو منیکس از سمت چپ */
@keyframes slideInMenu {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  40% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* شناوری آرام کلی بعد از استقرار طبقات */
.hero-restaurant-stage.animated-ready {
  animation: restaurantAmbientFloat 6s ease-in-out infinite;
}

@keyframes restaurantAmbientFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


/* --------------------------------------------------
 * ۵.۲. ستون متنی هیرو (راست‌چین با متن‌های فارسی)
 * -------------------------------------------------- */
.hero-text-side {
  flex: 0 1 650px;
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  z-index: 10;
}

/* پیش‌عنوان (Eyebrow Tag) */
.hero-subtitle-tag {
  font-family: var(--font-default);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #010101;
  margin-bottom: 1.25rem;
  animation: textPopIn 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.22s both;
}

/* عنوان فوق‌العاده سنگین با فونت سفارشی Colak / Edameh */
.hero-title-heavy {
  font-family: var(--font-heavy);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #010101;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  min-height: 2.3em;
  animation: textPopIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.26s both;
}

/* توضیحات با فونت پیش‌فرض Peyda */
.hero-description-text {
  font-family: var(--font-default);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 620px;
  margin-bottom: 1.8rem;
  min-height: 3.8em;
  animation: textPopIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.32s both;
}

/* تب‌های ناوبری وضعیت‌های کاوشگر پلتفرم */
.explorer-state-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.explorer-state-tabs::-webkit-scrollbar {
  display: none;
}

.state-tab {
  border: none;
  background: transparent;
  color: #555;
  font-family: var(--font-default);
  font-size: 0.81rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.state-tab:hover {
  color: #010101;
  background: rgba(255, 255, 255, 0.65);
}

.state-tab.is-active {
  color: #010101;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  font-weight: 800;
}

/* متن تکمیلی تب‌ها که در مانیتورهای کوچک‌تر به صورت هوشمند مخفی می‌شود تا تب‌ها هرگز نصفه نشوند */
.tab-extra {
  display: inline;
}

@media (max-width: 1320px) {
  .tab-extra {
    display: none;
  }
}

/* کانتینر تغییر متون با ترنزیشن فید و اسلاید */
.hero-content-switcher {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 310px;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-content-switcher.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

/* لیست ۳گانه ویژگی‌های کلیدی هر طبقه */
.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
  min-height: 44px;
}

.hero-feature-pills:empty {
  visibility: hidden;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.48rem 1.15rem;
  border-radius: 25px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: textPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.feature-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 6px 18px rgba(239, 188, 94, 0.25);
}

.feature-pill-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #010101;
  font-size: 11px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* ردیف دکمه‌های اکشن */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  animation: textPopIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.38s both;
}

.btn-yellow-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-gold);
  color: #010101;
  font-family: var(--font-default);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 3.2rem;
  border-radius: 50px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(239, 188, 94, 0.38);
}

.btn-yellow-main:hover {
  background-color: #ffd277;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(239, 188, 94, 0.5);
}

.btn-dark-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #010101;
  color: #ffffff;
  font-family: var(--font-default);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 3.2rem;
  border-radius: 50px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-dark-main:hover {
  background-color: var(--accent-gold);
  color: #010101;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(239, 188, 94, 0.5);
}

.link-learn-more {
  font-family: var(--font-default);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(25, 25, 25, 0.7);
  transition: color 0.2s;
  padding: 0.5rem;
}

.link-learn-more:hover {
  color: #010101;
}

/* --------------------------------------------------
 * ۵.۳. ناوبری اسلایدر دقیقاً منطبق بر لایه‌های سورس قالب (Static Slide)
 * -------------------------------------------------- */
.slider-nav-arrows {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
  z-index: 50;
}

.nav-arrow-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #010101;
  transition: color 0.2s ease, transform 0.2s ease;
  outline: none;
}

.nav-arrow-btn .material-icons {
  font-size: 32px;
  line-height: 40px;
  display: block;
}

.nav-arrow-btn:hover {
  color: var(--accent-gold);
  transform: scale(1.18);
}

.nav-arrow-btn:active {
  transform: scale(0.92);
}

.nav-arrow-line {
  width: 1px;
  height: 35px;
  background-color: #010101;
  opacity: 0.85;
  flex-shrink: 0;
}

.explorer-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-default);
  color: #010101;
  white-space: nowrap;
  flex-shrink: 0;
}

.indicator-current {
  font-size: 1.4rem;
  font-weight: 900;
  color: #010101;
  min-width: 28px;
  text-align: center;
  font-family: var(--font-heavy);
}

.indicator-sep {
  opacity: 0.35;
  font-size: 1.1rem;
  margin: 0 1px;
}

.indicator-total {
  font-size: 1rem;
  opacity: 0.55;
  font-weight: 700;
}

.indicator-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-right: 8px;
  padding-right: 12px;
  border-right: 2px solid var(--accent-gold);
  min-width: 140px;
  display: inline-block;
  text-align: right;
}

.nav-arrow-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0; /* دکمه‌های ناوبری کاملا ثابت در موقعیت کنج می‌مانند */
}

.nav-arrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #010101;
  opacity: 0.3;
}

/* --------------------------------------------------
 * ۶. فریم‌های کلیدی انیمیشن‌ها (GSAP back.out)
 * -------------------------------------------------- */
@keyframes phoneEntrance {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(40px);
  }
  65% {
    opacity: 1;
    transform: scale(1.035) translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes navEntrance {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(-25px);
  }
  65% {
    opacity: 1;
    transform: scale(1.05) translateY(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes plusEntrance {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  65% {
    opacity: 1;
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: scale(0.45) translateY(40px);
  }
  65% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes itemSlide {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textPopIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(18px);
  }
  75% {
    opacity: 1;
    transform: scale(1.02) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --------------------------------------------------
 * ۷. طراحی واکنش‌گرا (Responsive Media Queries)
 * -------------------------------------------------- */
@media (max-width: 1400px) {
  .hero-restaurant-stage {
    max-width: 780px;
  }
}

@media (max-width: 1200px) {
  .hero-title-heavy {
    font-size: 3.4rem;
  }

  .hero-restaurant-stage {
    max-width: 680px;
  }
}

@media (max-width: 991px) {
  .site-header {
    background-color: rgba(255, 255, 255, 0.96);
  }

  .hero-home4 {
    display: block;
    height: auto;
    min-height: auto;
    max-height: none;
    padding-block: 6rem 3.5rem;
  }

  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-text-side {
    flex: none;
    align-items: center;
    text-align: center;
    max-width: 100%;
    min-width: unset;
  }

  .hero-visual-side {
    flex: none;
    justify-content: center;
    max-width: 100%;
    margin-right: 0;
  }

  .hero-visual-side:has(.is-explorer-focused) { padding-bottom: 64px; }

  .hero-content-switcher {
    min-height: 0;
    align-items: center;
  }

  .hero-feature-pills:empty { display: none; }

  .hero-feature-pills {
    justify-content: center;
  }

  .explorer-state-tabs {
    justify-content: center;
    width: 100%;
  }

  .hero-subtitle-tag,
  .hero-description-text {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-restaurant-stage {
    max-width: 600px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .slider-nav-arrows {
    position: static;
    justify-content: center;
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 1.5rem;
  }

  .brand-logo img {
    height: 30px;
  }

  .hero-title-heavy {
    font-size: 2.5rem;
  }

  .hero-restaurant-stage {
    max-width: 100%;
  }

  .card-item-thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  .btn-yellow-main,
  .btn-dark-main {
    padding: 0.85rem 2.4rem;
  }
}

/* ====================================================================
   بخش برندهای معتمد و مارکی متحرک (Trusted Brands Marquee)
   ==================================================================== */
.trusted-brands-section {
  padding: 3rem 0 1.25rem;
  background: #ffffff;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  direction: ltr; /* هدایت پیوسته و روان حرکت افقی برندها */
  width: 100%;
}

/* هدر بخش برندها و مشتریان */
.brands-header-block {
  text-align: center;
  margin-bottom: 1.15rem;
  direction: rtl;
}

.brands-main-title {
  font-family: var(--font-heavy);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.brands-subtitle {
  font-family: var(--font-handwritten);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: normal;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.brands-marquee-container {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  user-select: none;
  padding: 0.25rem 0 1.65rem; /* فاصله کنترل‌شده تا زیرتیتر و فضای باز پایینی برای سایه‌ها */
  min-height: 96px;
  display: flex;
  align-items: center;
}

.marquee-fade-left {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: clamp(5rem, 10vw, 10rem);
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-fade-right {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: clamp(5rem, 10vw, 10rem);
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-inner {
  display: flex;
  align-items: center;
  will-change: transform;
  width: max-content;
  animation: marqueeScroll 58s linear infinite;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 90px;
  padding: 8px 0 16px;
}

/* آیتم و کارت لوگوی هر مشتری */
.client-brand-card {
  height: 72px;
  min-width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: 2rem;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.client-brand-card:hover {
  transform: translateY(-4px) scale(1.06);
}

.client-brand-img {
  height: 58px !important;
  width: auto !important;
  max-height: 62px !important;
  max-width: 135px !important;
  object-fit: contain !important;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.client-brand-card:has(img[src$=".png"]) .client-brand-img,
.client-brand-card:has(img[src$=".PNG"]) .client-brand-img {
  box-shadow: none;
}

.client-brand-card:hover .client-brand-img {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.13);
}

.marquee-logo-img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

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

/* کلاس‌های کمکی */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-inline: auto; }
.select-none { user-select: none; }
.absolute { position: absolute; }
.left-0 { left: 0; }
.top-0 { top: 0; }
.w-20 { width: 5rem; }
.z-10 { z-index: 10; }
.pointer-events-none { pointer-events: none; }
.flex { display: flex; }
.will-change-transform { will-change: transform; }
.right-0 { right: 0; }

/* ====================================================================
   بخش‌های معرفی قابلیت‌های منیکس (برگرفته از قالب استاندارد Omega Landing 7)
   ==================================================================== */

/* سیستم گرید و ابزارهای چیدمان رسپانسیو */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-lg-6, .col-md-9 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .mb--md-0 {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .order-lg-1 {
    order: 1;
  }
  .order-lg-2 {
    order: 2;
  }
  .mb--lg-0 {
    margin-bottom: 0 !important;
  }
}

.align-items-center {
  align-items: center !important;
}

.mb--30 {
  margin-bottom: 30px !important;
}

.pt--30 {
  padding-top: 30px !important;
}

.d-none {
  display: none !important;
}

@media (min-width: 576px) {
  .d-sm-block {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-block {
    display: block !important;
  }
}

/* فاصله‌گذاری و پس‌زمینه سکشن‌های سه‌گانه */
.omga-07__content-section {
  padding-top: 50px;
  padding-bottom: 70px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

#management.omga-07__content-section {
  padding-top: 35px;
}

@media (min-width: 768px) {
  .omga-07__content-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  #management.omga-07__content-section {
    padding-top: 45px;
    padding-bottom: 70px;
  }
}

@media (min-width: 992px) {
  .omga-07__content-section {
    padding-bottom: 70px;
  }
}

.omga-07__content-section-2 {
  padding-top: 50px;
  padding-bottom: 70px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .omga-07__content-section-2 {
    padding-top: 70px;
    padding-bottom: 110px;
  }
}

.omga-07__content-section-3 {
  padding-top: 50px;
  padding-bottom: 90px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .omga-07__content-section-3 {
    padding-top: 70px;
    padding-bottom: 120px;
  }
}

/* استایل متون و تیترها */
.omga-07__content-text .title {
  color: #19191b;
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding-bottom: 20px;
  margin: 0;
}

.omga-07__content-text p {
  color: #696871;
  font-family: var(--font-default);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.85;
  margin-bottom: 0;
}

/* ویجت‌های شماره‌دار بخش اول (آیتم ۱ و ۲) */
.omga-07__content-text .content-widget {
  counter-reset: widget-counter;
}

.omga-07__content-text .content-widget .single-widget {
  padding-right: 70px;
  padding-left: 0;
  position: relative;
  max-width: 460px;
  margin-top: 45px;
}

.omga-07__content-text .content-widget .single-widget:before {
  counter-increment: widget-counter;
  content: counter(widget-counter);
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
  width: 48px;
  height: 48px;
  background-color: #5454d4;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-default);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(84, 84, 212, 0.3);
}

.omga-07__content-text .content-widget .single-widget .w-title {
  color: #19191b;
  font-family: var(--font-default);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.omga-07__content-text .content-widget .single-widget p {
  color: #696871;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.75;
}

/* ====================================================================
   کامپوزیت تصویر متحرک و لایه‌بندی شده مدیریت مجموعه (دقیقاً منطبق بر طرح مرجع)
   ==================================================================== */
.management-ill-wrapper {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.management-ill-composition {
  position: relative;
  width: 100%;
  aspect-ratio: 876 / 1024;
  user-select: none;
}

/* ۱. کاراکتر اصلی منیکس (خانم مدیر) */
.management-ill-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.07));
  animation: floatCharacterMain 6.8s ease-in-out infinite alternate;
}

/* انیمیشن ریتم تنفس و شناوری ملایم کاراکتر اصلی */
@keyframes floatCharacterMain {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-4px) scale(1.004);
  }
}

/* ۲. استایل عمومی کارت‌های شناور */
.floating-ill-card {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.08));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.35s ease;
  will-change: transform;
}

.floating-ill-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.floating-ill-card:hover {
  animation-play-state: paused !important;
  transform: scale(1.08) translateY(-4px) !important;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.16));
  z-index: 10;
}

/* ۱. موقعیت و انیمیشن شناور رزرو میزها (بالا چپ - با فاصله مناسب از سر کاراکتر) */
.card-top-left {
  left: 0%;
  top: 3%;
  width: 36%;
  animation: floatCardTopLeft 5.2s ease-in-out infinite alternate;
}

@keyframes floatCardTopLeft {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-4px, -10px, 0) rotate(-1.8deg);
  }
  100% {
    transform: translate3d(3px, -5px, 0) rotate(1.2deg);
  }
}

/* ۲. موقعیت و انیمیشن شناور گزارش‌ها و تحلیل‌ها (بالا راست - با فاصله از دست اشاره) */
.card-top-right {
  left: 58%;
  top: 5%;
  width: 40%;
  animation: floatCardTopRight 5.8s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

@keyframes floatCardTopRight {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(5px, -11px, 0) rotate(2deg);
  }
  100% {
    transform: translate3d(-3px, -6px, 0) rotate(-1.2deg);
  }
}

/* ۳. موقعیت و انیمیشن شناور باشگاه مشتریان (پایین چپ - بازتر به سمت گوشه) */
.card-bottom-left {
  left: -2%;
  top: 48%;
  width: 34%;
  animation: floatCardBottomLeft 6.2s ease-in-out infinite alternate;
  animation-delay: 1.1s;
}

@keyframes floatCardBottomLeft {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-6px, 8px, 0) rotate(-1.5deg);
  }
  100% {
    transform: translate3d(4px, -4px, 0) rotate(1.4deg);
  }
}

/* ۴. موقعیت و انیمیشن شناور ثبت سفارش و فروش (پایین راست - بازتر به سمت گوشه) */
.card-bottom-right {
  left: 69%;
  top: 46%;
  width: 30%;
  animation: floatCardBottomRight 4.9s ease-in-out infinite alternate;
  animation-delay: 1.6s;
}

@keyframes floatCardBottomRight {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(5px, -8px, 0) rotate(1.8deg);
  }
  100% {
    transform: translate3d(-4px, 6px, 0) rotate(-1.2deg);
  }
}

/* بهینه‌سازی ریسپانسیو */
@media (max-width: 991px) {
  .management-ill-wrapper {
    margin-bottom: 2.5rem;
    max-width: 420px;
  }
}

@media (max-width: 575px) {
  .management-ill-wrapper {
    max-width: 330px;
  }
}

/* چیدمان ۴ تصویر موزاییکی بخش دوم */
.omga-07__content-image-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 992px) {
  .omga-07__content-image-group {
    justify-content: flex-start;
  }
}

.omga-07__content-image-group .single-image {
  display: flex;
  flex-direction: column;
}

.omga-07__content-image-group .single-image:nth-child(2) {
  padding-top: 42px;
}

.omga-07__content-image-group .image-card-wrapper {
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.omga-07__content-image-group .image-card-wrapper:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(43, 214, 123, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(43, 214, 123, 0.18);
}

.omga-07__content-image-group .image-card-wrapper img {
  border-radius: 17px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.omga-07__content-image-group .card-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(25, 25, 27, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-default);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: -0.01em;
  pointer-events: none;
}

/* تصویر بخش سوم */
.omga-07__content-image-3 {
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .omga-07__content-image-3 {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .omga-07__content-image-3 {
    padding-right: 40px;
  }
}

.omga-07__content-image-3 img {
  transform: rotate(3deg);
  border-radius: 14px;
  max-width: 80%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease;
}

.omga-07__content-image-3 img:hover {
  transform: rotate(0deg) scale(1.02);
}

@media (min-width: 576px) {
  .omga-07__content-image-3 img {
    max-width: 60%;
  }
}

@media (min-width: 992px) {
  .omga-07__content-image-3 img {
    max-width: 100%;
    margin-right: 20px;
  }
}

/* دکمه قرمز بخش سوم */
.omga-07__content-btn {
  padding-top: 32px;
}

.btn--primary, .btn--red {
  padding-left: 32px;
  padding-right: 32px;
  min-width: 210px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid #f04037;
  background: #f04037;
  color: #ffffff;
  font-family: var(--font-default);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(240, 64, 55, 0.25);
}

.btn--primary:hover, .btn--red:hover {
  background: #d6332a;
  border-color: #d6332a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(240, 64, 55, 0.35);
}

/* ==========================================================================
   بخش میانی: شبکه هوشمند بنتورید Aceternity (Glowing Effect Bento Grid)
   ساختار تک‌بوردر مینیمال، بدون کادر مضاعف، با ضخامت ۲ پیکسل و سازگاری کامل با RTL
   ========================================================================== */
.omga-07__bento-section {
  position: relative;
  padding: 90px 0;
  background: #ffffff;
  direction: rtl !important;
  text-align: right !important;
}

.bento-grid-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  direction: rtl !important;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  direction: rtl !important;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, minmax(14rem, auto));
  }
  .bento-area-1 { grid-area: 1 / 1 / 2 / 7; }
  .bento-area-2 { grid-area: 1 / 7 / 2 / 13; }
  .bento-area-3 { grid-area: 2 / 1 / 3 / 13; }
  .bento-area-4 { grid-area: 3 / 1 / 4 / 7; }
  .bento-area-5 { grid-area: 3 / 7 / 4 / 13; }
}

@media (min-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(14rem, auto));
  }
  .bento-area-1 { grid-area: 1 / 1 / 2 / 5; }
  .bento-area-2 { grid-area: 2 / 1 / 3 / 5; }
  .bento-area-3 { grid-area: 1 / 5 / 3 / 9; }
  .bento-area-4 { grid-area: 1 / 9 / 2 / 13; }
  .bento-area-5 { grid-area: 2 / 9 / 3 / 13; }
}

.bento-item {
  min-height: 14rem;
  list-style: none;
}

/* کارت اصلی: تنها یک بوردر با پس‌زمینه سفید خالص منیکس (بدون بوردر تو در تو) */
.bento-card {
  position: relative;
  height: 100%;
  border-radius: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  contain: layout style;
  isolation: isolate;
}

.bento-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

/* لایه افکت درخشان تعاملی نئونی Aceternity - بهینه‌سازی‌شده برای GPU با ۱۲۰ فریم روان */
.glowing-effect {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  --blur: 0px;
  --spread: 40;
  --start: 0;
  --active: 0;
  --glowingeffect-border-width: 2px;
  --repeating-conic-gradient-times: 5;
  --gradient: radial-gradient(circle, #dd7bbb 10%, #dd7bbb00 20%),
              radial-gradient(circle at 40% 40%, #d79f1e 5%, #d79f1e00 15%),
              radial-gradient(circle at 60% 60%, #5a922c 10%, #5a922c00 20%),
              radial-gradient(circle at 40% 60%, #4c7894 10%, #4c789400 20%),
              repeating-conic-gradient(
                from 236.84deg at 50% 50%,
                #dd7bbb 0%,
                #d79f1e calc(25% / var(--repeating-conic-gradient-times)),
                #5a922c calc(50% / var(--repeating-conic-gradient-times)),
                #4c7894 calc(75% / var(--repeating-conic-gradient-times)),
                #dd7bbb calc(100% / var(--repeating-conic-gradient-times))
              );
}

.glowing-effect .glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.glowing-effect .glow::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--glowingeffect-border-width));
  border-radius: inherit;
  border: var(--glowingeffect-border-width) solid transparent;
  background: var(--gradient);
  opacity: var(--active);
  transition: opacity 0.25s ease;
  will-change: opacity;
  transform: translateZ(0);
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--start) - var(--spread)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg));
  mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--start) - var(--spread)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg));
}

@media (prefers-reduced-motion: reduce) {
  .glowing-effect .glow::after {
    transition: none !important;
  }
}

/* بدنه محتوای داخلی کارت - کاملاً یکپارچه، بدون بوردر و بدون سایه مضاعف */
.bento-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  border-radius: inherit;
  box-sizing: border-box;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: right !important;
  direction: rtl !important;
}

.bento-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #19191b;
  margin-bottom: 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover .bento-icon-wrapper {
  background-color: #f0f1f4;
}

.bento-icon-wrapper svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.bento-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  text-align: right !important;
  direction: rtl !important;
}

.bento-title {
  font-family: var(--font-default), sans-serif !important;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  color: #19191b !important;
  margin: 0 !important;
  text-align: right !important;
  direction: rtl !important;
}

@media (min-width: 768px) {
  .bento-title {
    font-size: 1.25rem;
    line-height: 1.55;
  }
}

.bento-description {
  font-family: var(--font-default), sans-serif !important;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #696871 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  margin: 0 !important;
  text-align: right !important;
  direction: rtl !important;
}

@media (min-width: 768px) {
  .bento-description {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}

/* ==========================================================================
   ۸. بخش موکاپ سه‌بعدی اسکرول‌محور (Aceternity Container Scroll Animation)
   ========================================================================== */
.container-scroll-section {
  width: 100%;
  position: relative;
  min-height: 52rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 5rem;
  background-color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 768px) {
  .container-scroll-section {
    min-height: 65rem;
    padding: 5rem 2rem 7rem;
  }
}

.container-scroll-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.container-scroll-perspective {
  perspective: 1000px;
  width: 100%;
  position: relative;
  padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
  .container-scroll-perspective {
    padding: 3.5rem 0 6rem;
  }
}

/* هدر با ترنزلیت انیمیشن */
.container-scroll-header {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
  transform-origin: center top;
  transition: transform 0.1s linear;
}

.container-scroll-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: #f7f8fa;
  color: #19191b;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.container-scroll-badge svg {
  color: #19191b;
}

.container-scroll-title {
  font-family: 'Peyda', sans-serif !important;
  font-size: 2.25rem;
  font-weight: 800;
  color: #19191b;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

@media (min-width: 768px) {
  .container-scroll-title {
    font-size: 3.5rem;
  }
}

.container-scroll-title-gradient {
  display: block;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #19191b 20%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.4rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .container-scroll-title-gradient {
    font-size: 4.25rem;
    line-height: 1.15;
  }
}

/* کارت سه‌بعدی Aceternity Card */
.container-scroll-card-wrapper {
  max-width: 64rem;
  margin: -2rem auto 0 auto;
  width: 100%;
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.1s linear;
}

@media (min-width: 768px) {
  .container-scroll-card-wrapper {
    margin: -3.5rem auto 0 auto;
  }
}

.container-scroll-card {
  width: 100%;
  border-radius: 30px;
  border: 4px solid #6C6C6C;
  padding: 0.5rem;
  background-color: #222222;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  overflow: hidden;
}

@media (min-width: 768px) {
  .container-scroll-card {
    padding: 1.25rem;
  }
}

/* نوار بالای پنجره سیستم‌عامل */
.container-scroll-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.75rem 0.65rem;
  direction: ltr !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-close { background-color: #ff5f56; }
.dot-minimize { background-color: #ffbd2e; }
.dot-expand { background-color: #27c93f; }

.window-address-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #d4d4d8;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  letter-spacing: 0.02em;
}

.window-address-pill svg {
  opacity: 0.7;
}

.window-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a1a1aa;
  font-size: 0.75rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* بدنه صفحه‌نمایش / ویدیوی دشبورد منیکس */
.container-scroll-card-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  background-color: #0b0f19;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  isolation: isolate;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .container-scroll-card-screen {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.container-scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: inherit;
  background-color: #000000;
}

/* لایه پوستر / کاور قبل از پخش با افکت‌های های‌لول */
.container-scroll-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: inherit;
  overflow: hidden;
  background-color: #000000;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  user-select: none;
}

.container-scroll-video-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  pointer-events: none;
}

.container-scroll-video-overlay:hover .scroll-video-poster-img {
  transform: scale(1.025);
  filter: brightness(0.96);
}

/* دکمه پلی تعاملی با گلس‌مورفیسم و افکت پالس اختصاصی مِنیکس */
.scroll-video-play-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.container-scroll-video-overlay:hover .scroll-video-play-btn {
  transform: scale(1.08);
}

.scroll-play-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin-top: -38px;
  margin-left: -38px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  pointer-events: none;
  animation: scrollPlayPulse 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes scrollPlayPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.scroll-play-circle {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 1);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-play-circle svg {
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.container-scroll-video-overlay:hover .scroll-play-circle {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 18px 40px -6px rgba(217, 119, 6, 0.65), 0 0 24px rgba(245, 158, 11, 0.5);
}

.container-scroll-video-overlay:hover .scroll-play-circle svg {
  transform: scale(1.1);
}

.scroll-play-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.container-scroll-video-overlay:hover .scroll-play-label {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fef3c7;
}

@media (max-width: 767.98px) {
  .scroll-play-circle {
    width: 56px;
    height: 56px;
  }
  .scroll-play-pulse-ring {
    width: 56px;
    height: 56px;
    margin-top: -28px;
    margin-left: -28px;
  }
  .scroll-play-circle svg {
    width: 20px;
    height: 20px;
  }
  .scroll-play-label {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}

.container-scroll-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .container-scroll-header,
  .container-scroll-card-wrapper {
    transform: none !important;
    transition: none !important;
  }
}



/* --------------------------------------------------
 * ۱۸. کارت‌های نمایشی خطی (Display Cards - 21st.dev)
 * -------------------------------------------------- */
.display-cards-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: var(--bg-page);
  overflow: visible;
  box-sizing: border-box;
}

/* کانتینر اصلی: متقارن، وسط‌چین و بدون برش لبه‌های چپ و راست */
.display-cards-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* استیج اصلی */
.display-cards-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* رپر ترک: اسکرول عمودی کاملاً مسدود شده و هیچ اسکرول جدایی در دسکتاپ رخ نمی‌دهد */
.display-cards-track-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 100px 20px 45px;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

@media (max-width: 992px) {
  .display-cards-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
  }
  .display-cards-track-wrapper::-webkit-scrollbar {
    display: none;
  }
  .display-cards-track-wrapper:active {
    cursor: grabbing;
  }
}

/* ترک خطی کارت‌ها با ابعاد بهینه‌شده برای ۱۲ کارت اصلی مِنیکس */
.display-cards-track {
  --dc-card-width: 17rem;
  --dc-card-step: 4.5rem;
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  padding: 10px 20px;
  direction: ltr !important;
  box-sizing: border-box;
}

/* استایل هر کارت تک (21st.dev DisplayCard) */
.display-card {
  position: relative;
  flex: 0 0 var(--dc-card-width);
  width: var(--dc-card-width);
  height: 8.4rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  box-sizing: border-box;
  transform: skewY(-8deg);
  transform-origin: center center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              opacity 0.38s ease;
  box-shadow:
    0 10px 25px -8px rgba(0, 0, 0, 0.07),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  direction: ltr !important;
  text-align: left;
  /* افکت اصلی ۲۱st.dev: هر کارت در جلو (سمت چپ) اوپسیتی ۱۰۰٪ و در پشت (سمت راست) اوپسیتی ۰ می‌شود */
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 32%, rgba(0, 0, 0, 0.4) 68%, transparent 94%);
  mask-image: linear-gradient(to right, #000 0%, #000 32%, rgba(0, 0, 0, 0.4) 68%, transparent 94%);
}

/* پل ارتباطی برای جلوگیری ۱۰۰٪ از لگ/پرش هاور در قسمت پایینی کارت */
.display-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 95px;
  pointer-events: none;
  background: transparent;
  z-index: 20;
}

.display-card:is(:hover, .is-active)::before {
  pointer-events: auto;
}

/* فاصله منظم و یکنواخت تمام کارت‌ها از یکدیگر */
.display-card + .display-card {
  margin-left: calc(var(--dc-card-step) - var(--dc-card-width));
}

/* لایه گرادینت ۲۱st.dev: after:bg-gradient-to-l after:from-background after:to-transparent */
.display-card::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5%;
  height: 110%;
  width: 14.5rem;
  background: linear-gradient(
    to left,
    var(--bg-page) 15%,
    rgba(255, 255, 255, 0.85) 45%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.38s ease;
}

.display-card:is(:hover, .is-active)::after {
  opacity: 0.05;
}

/* رفتار هاور: کارت بالاتر رفته (-85px) و ماسک باز می‌شود تا محتوا کاملاً نمایان شود */
.display-card:is(:hover, .is-active) {
  transform: skewY(-8deg) translateY(-85px);
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow:
    0 30px 48px -10px rgba(37, 99, 235, 0.22),
    0 12px 20px -4px rgba(0, 0, 0, 0.08);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 82%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 82%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
}

/* ترتیب لایه‌ها (z-index) از ۱ تا ۱۲ صعودی */
.display-card:nth-child(1)  { z-index: 1; }
.display-card:nth-child(2)  { z-index: 2; }
.display-card:nth-child(3)  { z-index: 3; }
.display-card:nth-child(4)  { z-index: 4; }
.display-card:nth-child(5)  { z-index: 5; }
.display-card:nth-child(6)  { z-index: 6; }
.display-card:nth-child(7)  { z-index: 7; }
.display-card:nth-child(8)  { z-index: 8; }
.display-card:nth-child(9)  { z-index: 9; }
.display-card:nth-child(10) { z-index: 10; }
.display-card:nth-child(11) { z-index: 11; }
.display-card:nth-child(12) { z-index: 12; }

/* محتویات داخل کارت */
.display-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
}

.display-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.display-card:is(:hover, .is-active) .display-card-icon {
  transform: scale(1.08);
  background-color: rgba(59, 130, 246, 0.18);
}

.display-card-title {
  font-family: var(--font-default);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.display-card-desc {
  position: relative;
  z-index: 1;
  font-family: var(--font-default);
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  margin: 0.25rem 0 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ردیف پایین متن کارت: کمی بالاتر با کنتراست شفاف برای خوانایی کامل */
.display-card-date {
  position: relative;
  z-index: 1;
  font-family: var(--font-default);
  font-size: 0.74rem;
  font-weight: 600;
  color: #2563eb;
  margin: 0.35rem 0 0.15rem;
}

/* ریسپانسیو برای تبلت و موبایل */
@media (max-width: 992px) {
  .display-cards-track-wrapper { padding-top: 160px; }
  .display-cards-track {
    --dc-card-width: 15rem;
    --dc-card-step: 3.8rem;
  }
  .display-card {
    height: 8rem;
    padding: 0.9rem 1.1rem;
  }
  .display-card:is(:hover, .is-active) {
    transform: skewY(-8deg) translateY(-140px);
  }
}

@media (max-width: 640px) {
  .display-cards-track {
    --dc-card-width: 13.5rem;
    --dc-card-step: 3.2rem;
  }
  .display-card {
    height: 7.6rem;
    padding: 0.8rem 1rem;
    border-radius: 0.85rem;
  }
  .display-card:is(:hover, .is-active) {
    transform: skewY(-8deg) translateY(-140px);
  }
}

/* --------------------------------------------------
 * ۱۹. ایجنت و هوش مصنوعی مِنیکس (Menix Assist — AI Agent)
 * مشخصات مهندسی فرانت‌اند فوق‌مدرن با Liquid-Glass و اوربیت
 * -------------------------------------------------- */
:root {
  --font-outfit: "Outfit", sans-serif;
  --font-fustat: "Fustat", sans-serif;
  --font-inter: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ai-primary: #0084FF;
  --ai-primary-hover: #0074E0;
  --ai-primary-dark: #0066CC;
}

.menix-ai-section {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  padding: 110px 0 100px;
  overflow: hidden;
  box-sizing: border-box;
}

/* هاله‌های نوری شناور محیطی (Background Ambient Aura) */
.ai-ambient-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ai-aura-sky {
  top: 15%;
  right: 8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(96, 177, 255, 0.22) 0%, rgba(96, 177, 255, 0) 70%);
  filter: blur(110px);
  -webkit-filter: blur(110px);
  animation: auraPulse 8s ease-in-out infinite alternate;
}

.ai-aura-electric {
  bottom: 12%;
  left: 6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(49, 154, 255, 0.20) 0%, rgba(49, 154, 255, 0) 70%);
  filter: blur(120px);
  -webkit-filter: blur(120px);
  animation: auraPulse 9s ease-in-out infinite alternate-reverse;
}

@keyframes auraPulse {
  0% { transform: scale(0.92) translate(0, 0); opacity: 0.75; }
  100% { transform: scale(1.1) translate(15px, -15px); opacity: 1; }
}

.ai-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* گرید دو ستونه: راست محتوا، چپ بصری و روبات (در حالت RTL) */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .ai-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .ai-copy-col {
    grid-column: span 5 / span 5;
  }
  .ai-visual-col {
    grid-column: span 7 / span 7;
  }
}

/* ---------------- ستون محتوا (Copy Column) ---------------- */
.ai-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  max-width: 620px;
}

/* کپسول تایید اجتماعی (Social Proof Badge) */
.ai-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.ai-social-badge:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.ai-avatar-group {
  display: flex;
  align-items: center;
  direction: ltr;
}

.ai-avatar-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  object-fit: cover;
  margin-right: -8px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, margin 0.25s ease;
}

.ai-avatar-group:hover .ai-avatar-img {
  margin-right: -4px;
}

.ai-badge-text {
  font-family: var(--font-inter), var(--font-default);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1;
}

.ai-badge-text strong {
  color: #171717;
  font-weight: 700;
}

/* برچسب اختصاصی کیکر */
.ai-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-fustat), var(--font-inter), sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ai-primary);
  background: rgba(0, 132, 255, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.ai-kicker-icon {
  width: 16px;
  height: 16px;
}

/* تیتر اصلی نمایشی */
.ai-display-title {
  font-family: var(--font-outfit), var(--font-default);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #000000;
  margin: 0 0 18px 0;
}

.ai-gradient-text {
  background: linear-gradient(135deg, #0084FF 0%, #0066CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* متن پاراگراف */
.ai-body-copy {
  font-family: var(--font-inter), var(--font-default);
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.8;
  letter-spacing: -0.3px;
  margin: 0 0 26px 0;
  max-width: 520px;
}

/* چیپ‌های تعاملی سناریوهای هوش مصنوعی */
.ai-capabilities-pills {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin-bottom: 30px;
}

.ai-pill-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-default);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-align: right;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ai-pill-btn:hover {
  background: #ffffff;
  border-color: rgba(0, 132, 255, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.08);
}

.ai-pill-btn.active {
  background: #ffffff;
  border-color: var(--ai-primary);
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(0, 132, 255, 0.12), inset 0 0 0 1px var(--ai-primary);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-primary);
  box-shadow: 0 0 8px var(--ai-primary);
  flex-shrink: 0;
}

.pill-dot.green {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.pill-dot.purple {
  background: #9333EA;
  box-shadow: 0 0 8px #9333EA;
}

/* گروه دکمه‌های اقدام (CTA Button Group) */
.ai-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ai-btn-primary {
  background-color: var(--ai-primary);
  color: #ffffff;
  padding: 8px 10px 8px 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-default);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0px 3px 4px 0px rgba(255, 255, 255, 0.35), 0 10px 25px -5px rgba(0, 132, 255, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-btn-primary:hover {
  background-color: var(--ai-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0px 3px 4px 0px rgba(255, 255, 255, 0.4), 0 14px 30px -4px rgba(0, 132, 255, 0.45);
  color: #ffffff;
}

.ai-btn-bead {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-primary);
  transition: transform 0.25s ease;
}

.ai-btn-primary:hover .ai-btn-bead {
  transform: translateX(-3px);
}

.ai-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-default);
  font-size: 14px;
  font-weight: 700;
  color: var(--ai-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ai-ghost-bead {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-primary);
  transition: all 0.25s ease;
}

.ai-btn-ghost:hover {
  color: var(--ai-primary-hover);
}

.ai-btn-ghost:hover .ai-ghost-bead {
  background: #DBEAFE;
  transform: scale(1.08);
}

/* ---------------- ستون بصری و روبات (Visual Column) ---------------- */
.ai-visual-col {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* مدارهای چرخان دکوراتیو */
.ai-orbit-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.ai-orbit-svg {
  width: 100%;
  height: 100%;
  animation: orbitRotate 45s linear infinite;
}

.orbit-ring-outer {
  fill: none;
  stroke: url(#aiOrbitGrad);
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
}

.orbit-ring-middle {
  fill: none;
  stroke: rgba(96, 177, 255, 0.35);
  stroke-width: 1;
}

.orbit-ring-inner {
  fill: none;
  stroke: rgba(0, 132, 255, 0.25);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}

@keyframes orbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* فریم ویدیو / تصویر همراه روباتیک */
.ai-video-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  z-index: 2;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.ai-companion-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  filter: brightness(1.02) contrast(1.04);
  pointer-events: none;
}

/* بج‌های مایع شیشه‌ای شناور (Liquid Glass Badges) */
.ai-floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2.5px 4px rgba(255, 255, 255, 0.9), 0 16px 36px -6px rgba(0, 84, 255, 0.14);
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  pointer-events: auto;
  font: inherit;
  text-align: right;
}

.ai-floating-badge:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; animation-play-state: paused; }

.ai-floating-badge:hover {
  animation-play-state: paused;
  transform: scale(1.06) !important;
  box-shadow: inset 0 2.5px 4px rgba(255, 255, 255, 1), 0 20px 42px -4px rgba(0, 84, 255, 0.22);
}

/* موقعیت‌های شناور ۳ بج */
.badge-top-corner {
  top: 10%;
  right: -24px;
  animation: floatSales 5.0s ease-in-out infinite;
}

.badge-center-edge {
  top: 48%;
  left: -28px;
  animation: floatStock 5.5s ease-in-out infinite;
}

.badge-bottom-corner {
  bottom: 8%;
  right: -16px;
  animation: floatLoyalty 4.8s ease-in-out infinite;
}

@keyframes floatSales {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(3px, -9px, 0); }
}

@keyframes floatStock {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-3px, 9px, 0); }
}

@keyframes floatLoyalty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2px, -10px, 0); }
}

/* آیکون بید رنگی در بج‌ها */
.badge-icon-bead {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.bead-blue {
  background: linear-gradient(135deg, #0084FF 0%, #0066CC 100%);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.35);
}

.bead-green {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.bead-purple {
  background: linear-gradient(135deg, #9333EA 0%, #7E22CE 100%);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.35);
}

.badge-text-stack {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.25;
}

.badge-title {
  font-family: var(--font-default);
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.badge-sub {
  font-family: var(--font-default);
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

/* ---------------- کنسول ترمینال تعاملی زنده (Live Agent Terminal) ---------------- */
.ai-live-terminal {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 36px -8px rgba(0, 132, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 12px;
  flex-wrap: wrap;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-default);
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  min-width: 0;
}

.terminal-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.terminal-status {
  font-family: var(--font-default);
  font-size: 11.5px;
  color: #0084FF;
  font-weight: 600;
}

.terminal-body {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terminal-prompt-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.prompt-user-badge {
  font-weight: 800;
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  flex-shrink: 0;
}

.prompt-text {
  margin: 0;
  font-weight: 600;
  color: #1e293b;
}

.terminal-response-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 132, 255, 0.04);
  padding: 14px 18px;
  border-radius: 14px;
  border-right: 3px solid #0084FF;
}

.prompt-agent-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #0084FF;
  font-size: 12.5px;
  flex-shrink: 0;
}

.response-content {
  font-size: 13.5px;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 500;
  min-height: 3.6em;
}

/* ریسپانسیو اختصاصی برای موبایل و تبلت */
@media (max-width: 991.98px) {
  .ai-stage-wrapper {
    min-height: 400px;
  }
  .ai-video-box {
    max-width: 340px;
  }
  .ai-orbit-canvas {
    width: 440px;
    height: 440px;
  }
  .badge-top-corner {
    top: 5%;
    right: -10px;
  }
  .badge-center-edge {
    top: 48%;
    left: -10px;
  }
  .badge-bottom-corner {
    bottom: 5%;
    right: -5px;
  }
}

@media (max-width: 640px) {
  .menix-ai-section {
    padding: 70px 0 60px;
  }
  .ai-floating-badge {
    padding: 8px 12px;
    gap: 10px;
    border-radius: 16px;
  }
  .badge-icon-bead {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .badge-title {
    font-size: 11.5px;
  }
  .badge-sub {
    font-size: 10px;
  }
  .terminal-body {
    padding: 14px;
  }
  .terminal-prompt-row, .terminal-response-row { flex-direction: column; align-items: flex-start; }
  .badge-top-corner, .badge-bottom-corner { right: 0; }
  .badge-center-edge { left: 0; }
  .ai-btn-primary, .ai-btn-ghost { min-height: 44px; }
}

.skip-link { position: fixed; top: 10px; right: 10px; z-index: 2000; padding: 12px 20px; border-radius: 8px; background: #111827; color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:where(a,button,[tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
main section[id], #contact, #aiDemo { scroll-margin-top: 96px; }
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; }
.container-scroll-video-overlay { border: 0; padding: 0; font: inherit; }
.container-scroll-video-overlay[aria-busy="true"] { cursor: progress; }
html:not(.video-ready) .container-scroll-video-overlay { display: none; }

@media (max-width: 991px) {
  .mobile-toggle { display: inline-flex; }
  .site-header.menu-open .main-nav { display: flex; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 20px 24px; max-height: calc(100dvh - 76px); overflow-y: auto; background: #fffffff7; border-bottom: 1px solid #00000014; box-shadow: 0 20px 40px #0000001f; backdrop-filter: blur(16px); }
  .main-nav .nav-link { min-height: 44px; }
  .main-nav .dropdown-menu { position: static; display: none; min-width: 0; border: 0; box-shadow: none; transform: none; }
  .main-nav .dropdown.is-open .dropdown-menu { display: block; }
}
@media (max-width: 600px) {
  .header-cta { gap: 10px; }
  .btn-header { padding-inline: 16px; min-height: 44px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .container-scroll-card-wrapper, .container-scroll-header, .restaurant-isometric-building, .management-ill-composition { transform: none !important; }
}
