/* =========================================
   AutoDM — World-Class Landing Page CSS
   Design: Dark Futuristic SaaS / Neon Accents
   Fonts: Syne (display) + DM Sans (body)
   ========================================= */
:root {
  --bg-base: #080C14;
  --bg-surface: #0D1220;
  --bg-card: #111827;
  --bg-card-border: rgba(255, 255, 255, 0.07);
  --accent-green: #00F5A0;
  --accent-cyan: #00D9F5;
  --accent-purple: #7C3AED;
  --accent-pink: #EC4899;
  --text-primary: #F0F4FF;
  --text-secondary: #8B9EB7;
  --text-muted: #d4e6ff;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'PeydaWeb', sans-serif;
  --font-body: 'PeydaWeb', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  border-radius: var(--radius-sm)
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: var(--bg-base)
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green)
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem)
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem)
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem)
}

h4 {
  font-size: 1.15rem;
  font-weight: 700
}

h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14!important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 245, 160, .3)
}

.btn-primary.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: var(--transition)
}

.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 245, 160, .1)
}

.btn-outline.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: .9rem;
  padding: .55rem .9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition)
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card)
}

/* LAYOUT */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(0, 245, 160, .07);
  border: 1px solid rgba(0, 245, 160, .2);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem
}

.section-header {
  text-align: center;
  margin-bottom: 4rem
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 1rem auto 0
}

.highlight-text {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition)
}

.navbar.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.03em;
  flex-shrink: 0
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem
}

.logo-text {
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto
}

.nav-item {
  position: relative;
  padding: .45rem .75rem;
  font-size: .875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition)
}

.nav-item:hover {
  color: var(--text-primary)
}

.dropdown {
  position: relative
}

.dropdown>a {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .45rem .75rem;
  font-size: .875rem;
  color: var(--text-secondary);
  transition: var(--transition);
  border-radius: var(--radius-sm)
}

.dropdown:hover>a {
  color: var(--text-primary)
}

.chevron {
  font-size: .6rem;
  transition: transform .2s
}

.dropdown:hover .chevron {
  transform: rotate(180deg)
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  min-width: 190px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-card)
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.dropdown-menu a {
  display: block;
  padding: .5rem .75rem;
  font-size: .85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition)
}

.dropdown-menu a:hover {
  background: var(--bg-card);
  color: var(--text-primary)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: 1rem;
  flex-shrink: 0
}

.nav-cta {
  font-size: .85rem;
  padding: .55rem 1.1rem
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 0;
  margin-right: 8.5rem;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition)
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-menu {
  margin-left: 10px;
  margin-right: 70px;
border-radius: 30px;
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 2rem 1.5rem;
  background: rgba(8, 12, 20, .98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-green)
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  padding: .7rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition)
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-card)
}

.mobile-menu .btn-primary {
  text-align: center;
  justify-content: center;
  margin-top: .5rem
}

/* ===================== HERO BACKGROUND IMAGE ===================== */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.4;
}


.hero-bg {
  z-index: 2;
}

.hero-container {
  z-index: 3;
  position: relative;
  width: 100%;
}

.hero-content-wrapper {
  height: 100%;

}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  height: 100vh;
  /* جلوگیری از مچاله شدن بیش از حد در لپ‌تاپ‌های کوچک */
  min-height: 750px;
  /* اطمینان از اینکه پدینگ به ارتفاع کل اضافه نکند */
  box-sizing: border-box;
  display: flex;
  /* قفل کردن محتوا به سمت بالا به جای مرکز */
  align-items: flex-start;
  /* 12rem فاصله ثابت از بالا ایجاد می‌کند تا هرگز زیر نوبار نرود */
  padding: 6rem 0 2rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px)
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 245, 160, .14), transparent 70%);
  top: -150px;
  left: -100px;
  animation: orbFloat 8s ease-in-out infinite
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 245, .1), transparent 70%);
  top: 40%;
  right: -80px;
  animation: orbFloat 11s ease-in-out infinite reverse
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, .09), transparent 70%);
  bottom: -50px;
  left: 35%;
  animation: orbFloat 7s ease-in-out infinite 2s
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-28px) scale(1.04)
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%)
}

.hero-container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  /* این دستور بسیار مهم است: در زبان‌های راست‌چین، آیتم اول (متن) را به چپ و آیتم دوم (بج) را به راست می‌برد */
  flex-direction: row-reverse;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.hero-content-wrapper {
  /* عرض متن روی ۹۰۰ ثابت می‌ماند */
  width: 900px;
  max-width: 100%;
  /* جلوگیری از کوچک شدن زودتر از موعد */
  flex-shrink: 0;
  /* (دستور margin-right: auto حذف شد چون flex-direction جای آن را می‌گیرد) */
}

.hero-right-panel {
  /* پر کردن تمام فضای خالی باقیمانده (همان ضخامت متغیر ضربه‌گیر) */
  flex-grow: 1;
  display: flex;
  /* وسط‌چین کردن بج در فضای خالی سمت راست */
  justify-content: right;
  align-items: flex-start;
  padding-top: 1rem;
  padding-right: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0, 245, 160, .06);
  border: 1px solid rgba(0, 245, 160, .2);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  color: var(--accent-green);
  margin-bottom: 1.75rem;
  cursor: pointer;
  transition: var(--transition)
}

.hero-badge:hover {
  background: rgba(0, 245, 160, .1)
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: dotPulse 2s infinite
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.5)
  }
}

.hero-title {
  font-size: 6rem;
  /* سایز ثابت به جای clamp قبلی */
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.title-line {
  display: block
}

.title-highlight {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.title-ghost {
  -webkit-text-stroke: 2px var(--accent-green);
  color: transparent
}

.hero-subtitle {
  font-size: 1.15rem;
  /* سایز ثابت */
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: var(--text-primary)
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem
}

.hero-cta-group .btn-ghost {
  color: var(--text-secondary);
  font-size: .95rem
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap
}

.trust-avatars {
  display: flex
}

.trust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  margin-right: -10px
}

.trust-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-right: -10px;
  object-fit: cover;
}

.trust-avatar:nth-child(2) {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green))
}

.trust-avatar:nth-child(3) {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink))
}

.trust-avatar:nth-child(4) {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan))
}

.trust-avatar:nth-child(5) {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan))
}

.trust-text {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: .1rem
}

.trust-stars {
  color: #FBBF24 !important;
  font-size: .8rem;
  letter-spacing: 2px
}

.trust-text>span {
  font-size: .82rem;
  color: var(--text-secondary)
}

.trust-text strong {
  color: var(--text-primary)
}

/* ===================== RIGHT PANEL CONTENT & FLOATING IMAGE ===================== */

.right-panel-content {
  display: flex;
  /* المان‌ها را زیر هم قرار می‌دهد */
  flex-direction: column;
  /* عرض محفظه را دقیقا روی عرض متن بج قفل می‌کند */
  width: max-content;
  max-width: 100%;
  /* فاصله بین بج و عکس */
  gap: 1.5rem;
  /* برای وسط‌چین ماندن عکس زیر بج در صورتی که عکس از بج کوچکتر باشد */
  align-items: left;
}

.floating-hero-img {
  /* عرض عکس را با محفظه (که هم‌عرض بج است) برابر می‌کند */
  width: 250px;
  /* برای جلوگیری از کشیدگی عکس */
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: floatImage 6s ease-in-out infinite;
  /* این دستور تضمین می‌کند عکس از قاب بیرون نزند */
  object-fit: cover;
}

/* کلیدواژه‌های انیمیشن شناور شدن عکس */
@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    /* در میانه انیمیشن، عکس ۲۰ پیکسل به سمت بالا حرکت می‌کند */
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 992px) {

  .hero {
    /* در موبایل و تبلت، محدودیت ارتفاع حذف می‌شود تا محتوا راحت جا بگیرد */
    height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero-container {
    padding: 0 2rem;
    /* تغییر ساختار به ستونی: بج بالا، متن پایین قرار می‌گیرد */
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero-right-panel {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
  }

  .hero-content-wrapper {
    width: 100%;
    margin: 0;
  }
}

/* نقطه شکست دوم: موبایل و کاهش تدریجی سایز فونت‌ها */
@media (max-width: 780px) {

  .hero-container {
    padding: 0 20px;
  }

  /* سایز نوشته‌ها هماهنگ با عرض موبایل کوچک می‌شوند */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  }

  .hero-badge {
    font-size: clamp(0.7rem, 2.5vw, 0.82rem);
    margin-bottom: 0;
    /* در موبایل حاشیه اضافه نیاز ندارد */
  }

  .btn-xl {
    font-size: clamp(0.85rem, 3vw, 1rem);
    padding: 3vw 6vw;
  }

  .hero-trust {
    margin-bottom: 1rem;
  }
}

@media (max-width: 992px) {
  /* کدهای قبلی که داشتید ... */

  .hero-right-panel {
    width: 100%;
    /* تغییر از flex-start به center تا عکس و بج در موبایل وسط‌چین شوند */
    justify-content: center;
    padding-top: 0;
  }

  .right-panel-content {
    /* در تبلت اجازه می‌دهیم کمی عریض‌تر از بج شود تا خیلی کوچک نباشد */
    max-width: 500px;
    align-items: end!important;
  }
}

@media (max-width: 780px) {
  /* کدهای قبلی که داشتید ... */

  .floating-hero-img {
    border-radius: .5rem;
    /* در موبایل حاشیه‌ها کمی کمتر گرد باشند بهتر است */
  }
}

/* استایل‌دهی به سکشن دربرگیرنده ماکاپ */
.mockup-section {
  /* 1. ایجاد فاصله (پدینگ) در بالا و پایین و کمی در چپ و راست برای موبایل */
  padding: 8rem 2rem;

  /* 2. وسط‌چین کردن محتویات (ماکاپ) با استفاده از فلکس‌باکس */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  /* برای تنظیم لایه‌بندی (z-index) */

  /* 3. ایجاد بک‌گراند گرید سبز نئونی */
  /* ترکیب دو گرادیانت خطی برای ایجاد خطوط عمودی و افقی */
  background-image:
    linear-gradient(to right, rgba(57, 255, 20, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 255, 20, 0.15) 1px, transparent 1px);

  /* سایز هر مربع در گرید (می‌توانید کوچک‌تر یا بزرگ‌تر کنید) */
  background-size: 50px 50px;

  /* یک ترفند حرفه‌ای: محو کردن گرید در بالا و پایین برای اینکه خطوط یک‌دفعه قطع نشوند */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* تنظیم جایگاه قاب اصلی ماکاپ (بدون تغییر استایل‌های داخلی آن) */
.hero-mockup {
  position: relative;
  /* اطمینان از اینکه ماکاپ روی بک‌گراند قرار می‌گیرد */
  z-index: 10;
  /* یک عرض حداکثری می‌دهیم تا در مانیتورهای خیلی بزرگ بیش از حد کشیده نشود */
  max-width: 1100px;
  width: 100%;
  /* پشتیبانِ وسط‌چین شدن */
  margin: 0 auto;
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
  width: 1060px
}

.mockup-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 100px rgba(0, 245, 160, .05)
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border)
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.dot.red {
  background: #FF5F57
}

.dot.yellow {
  background: #FFBD2E
}

.dot.green {
  background: #28C840
}

.mockup-url {
  margin-left: .75rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .7rem;
  font-size: .72rem;
  color: var(--text-muted);
  font-family: monospace
}

.mockup-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  background: var(--bg-card)
}

.m-tab {
  padding: .6rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: .04em;
  transition: var(--transition)
}

.m-tab.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green)
}

.mockup-content {

  height: 620px; /* تغییر از min-height به height ثابت */
  overflow: hidden; /* جلوگیری از بیرون زدن محتوا */
}

/* Flow Canvas */
.flow-canvas {
  padding: 1.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  overflow: hidden
}

.flow-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem
}

.flow-canvas-header span {
  font-size: .72rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase
}

.flow-toolbar {
  display: flex;
  gap: .35rem
}

.ft-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition)
}

.ft-btn:hover {
  color: var(--accent-green);
  border-color: rgba(0, 245, 160, .3)
}

.flow-node {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .65rem .9rem;
  width: 100%;
  font-size: .78rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.flow-node::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px 0 0 2px
}

.flow-node:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3)
}

.node-trigger {
  border-color: rgba(0, 245, 160, .25)
}

.node-trigger::before {
  background: var(--accent-green)
}

.node-message {
  border-color: rgba(0, 217, 245, .25)
}

.node-message::before {
  background: var(--accent-cyan)
}

.node-condition {
  border-color: rgba(124, 58, 237, .25)
}

.node-condition::before {
  background: var(--accent-purple)
}

.node-action {
  border-color: rgba(236, 72, 153, .25)
}

.node-action::before {
  background: var(--accent-pink)
}

.node-delay {
  border-color: rgba(251, 191, 36, .25)
}

.node-delay::before {
  background: #FBBF24
}

.node-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: 100%
}

.node-icon {
  font-size: 1rem;
  flex-shrink: 0
}

.node-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em
}

.node-trigger .node-label {
  color: var(--accent-green)
}

.node-message .node-label {
  color: var(--accent-cyan)
}

.node-condition .node-label {
  color: var(--accent-purple)
}

.node-action .node-label {
  color: var(--accent-pink)
}

.node-delay .node-label {
  color: #FBBF24
}

.node-desc {
  font-size: .72rem;
  color: var(--text-secondary);
  padding-left: 1.45rem
}

.flow-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 1.1rem;
  padding: .05rem 0;
  opacity: .5
}

.condition-branches {
  display: flex;
  gap: .4rem;
  margin-top: .3rem;
  padding-left: 1.45rem
}

.branch {
  font-size: .68rem;
  padding: .18rem .5rem;
  border-radius: 50px;
  font-weight: 700
}

.branch.yes {
  background: rgba(0, 245, 160, .1);
  color: var(--accent-green)
}

.branch.no {
  background: rgba(236, 72, 153, .1);
  color: var(--accent-pink)
}

/* Chat Side */
.mockup-chat {
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  height: 100%; /* اطمینان از اینکه چت از پنل بزرگتر نمی‌شود */
  max-height: 620px; 



}

.chat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface)
}

.chat-avatar {
  position: relative
}

.chat-av-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #080C14
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 2px solid var(--bg-surface)
}

.chat-info strong {
  font-size: .83rem;
  font-family: var(--font-display);
  display: block
}

.chat-info span {
  font-size: .68rem;
  color: var(--accent-green)
}

.chat-messages {
  flex: 1;
  padding: .9rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  overflow: hidden
}

.msg {
  max-width: 86%;
  padding: .5rem .85rem;
  border-radius: 14px;
  font-size: .76rem;
  line-height: 1.45
}

.msg.bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  color: var(--text-secondary)
}

.msg.user {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  font-weight: 600
}

.msg.link-msg {
  background: rgba(0, 245, 160, .07);
  border: 1px solid rgba(0, 245, 160, .2);
  color: var(--accent-green);
  font-weight: 600;
  max-width: 90%;
  border-radius: 14px 14px 14px 4px
}

.chat-qr {
  padding: .5rem 1.2rem .8rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap
}

.qr-btn {
  background: rgba(0, 245, 160, .07);
  border: 1px solid rgba(0, 245, 160, .25);
  color: var(--accent-green);
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition)
}

.qr-btn:hover {
  background: rgba(0, 245, 160, .15)
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .5rem 1.2rem .7rem;
  opacity: 1;
  transition: opacity .3s
}

.chat-typing span {
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: dotType 1.4s infinite
}

.chat-typing span:nth-child(2) {
  animation-delay: .22s
}

.chat-typing span:nth-child(3) {
  animation-delay: .44s
}

@keyframes dotType {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .4
  }

  30% {
    transform: translateY(-5px);
    opacity: 1
  }
}

.mockup-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 50px;
  background: radial-gradient(ellipse, rgba(0, 245, 160, .12), transparent 70%);
  filter: blur(24px);
  pointer-events: none
}

/* ===== MTAB PANELS ===== */
.mtab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  height: 100%; /* پر کردن کامل ارتفاع والد */
  width: 100%;
}

.mtab-panel.active {
  display: grid;
}

/* ===== FORM BUILDER ===== */
.form-preview {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.25rem 1.75rem;
  overflow: hidden;
}

.form-field-block {
  display: flex;
  flex-direction: column;
  gap: .22rem;
}

.form-field-label {
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-secondary);
  letter-spacing: .04em;
}

.form-required {
  color: var(--accent-pink);
}

.form-field-input,
.form-field-select,
.form-field-textarea {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: .32rem .65rem;
  font-size: .71rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.form-field-textarea {
  min-height: 38px;
}

.form-submit-btn {
  margin-top: .3rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: .74rem;
  border-radius: 8px;
  padding: .45rem .9rem;
  text-align: center;
  cursor: pointer;
  letter-spacing: .03em;
}

/* ===== FORM / CAMPAIGN STATS PANEL ===== */
.form-stats-panel {
  border-left: 1px solid var(--border);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
}

.fstat-list {
  padding: .9rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.fstat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fstat-label {
  font-size: .7rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.fstat-val {
  font-size: .78rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.fstat-val.accent-cyan {
  color: var(--accent-cyan);
}

.fstat-val.accent-green {
  color: var(--accent-green);
}

.fstat-val.accent-pink {
  color: var(--accent-pink);
}

.fstat-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--bg-card);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: .2rem;
}

.fstat-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

/* ===== SHOWCASE BUILDER ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: 1rem 1.5rem;
  overflow: hidden;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .65rem .75rem;
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  transition: var(--transition);
}

.showcase-card.active-card {
  border-color: rgba(0, 245, 160, .3);
  box-shadow: 0 0 12px rgba(0, 245, 160, .08);
}

.sc-thumb {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.sc-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.sc-name {
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.sc-price {
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent-green);
}

.sc-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: .25rem;
  font-size: .68rem;
}

.sc-badge {
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 50px;
  background: rgba(0, 245, 160, .1);
  color: var(--accent-green);
  display: inline-block;
}

/* ===== CAMPAIGN BUILDER ===== */
.campaign-timeline {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ct-step {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.ct-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  margin-top: .25rem;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 245, 160, .5);
}

.active-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 217, 245, .7);
  animation: ctPulse 1.4s infinite;
}

@keyframes ctPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: .7;
  }
}

.muted-dot {
  background: var(--border-strong);
  box-shadow: none;
}

.ct-line {
  width: 2px;
  height: 14px;
  background: var(--accent-green);
  margin-left: 4px;
  opacity: .4;
}

.muted-line {
  background: var(--border);
}

.ct-body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-bottom: .35rem;
}

.ct-title {
  font-size: .74rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.muted-step .ct-title {
  color: var(--text-muted);
}

.ct-sub {
  font-size: .66rem;
  color: var(--text-muted);
}

.ct-status {
  font-size: .6rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 50px;
  font-family: var(--font-display);
}

.done-badge {
  background: rgba(0, 245, 160, .1);
  color: var(--accent-green);
}

.live-badge {
  background: rgba(0, 217, 245, .12);
  color: var(--accent-cyan);
}

.pending-badge {
  background: rgba(255, 255, 255, .05);
  color: var(--text-muted);
}

/* ===================== TICKER ===================== */
.ticker-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .9rem 0;
  overflow: hidden;
  white-space: nowrap
}

.ticker-track {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 160s linear;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .03em
}

.ticker-track .sep {
  color: var(--accent-green)
}

@keyframes ticker {
  from {
    transform: translateX(50%)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ===================== WHAT IS ===================== */
.what-is {
  padding: 8rem 0
}

.what-is-header {
  text-align: center;
  margin-bottom: 5rem
}

.what-is-header h2 {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 5vw, 4rem)
}

.what-is-header em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.what-is-header p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem
}

.what-is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0rem
}

.what-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.what-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0;
  transition: var(--transition)
}

.what-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card)
}

.what-card:hover::before {
  opacity: 1
}

.what-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-green);
  opacity: .12;
  line-height: 1;
  margin-bottom: 1rem
}

.what-card h3 {
  font-size: 1.3rem;
  margin-bottom: .65rem
}

.what-card p {
  color: var(--text-secondary);
  font-size: .87rem;
  margin-bottom: 1.5rem;
  line-height: 1.65
}

.channels-visual {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem
}

.channel-pill {
  padding: .32rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  border: 1px solid
}

.channel-pill.ig {
  background: rgba(214, 41, 118, .1);
  border-color: rgba(214, 41, 118, .3);
  color: #E1306C
}

.channel-pill.fb {
  background: rgba(24, 119, 242, .1);
  border-color: rgba(24, 119, 242, .3);
  color: #1877F2
}

.channel-pill.wa {
  background: rgba(37, 211, 102, .1);
  border-color: rgba(37, 211, 102, .3);
  color: #25D366
}

.channel-pill.tk {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .15);
  color: var(--text-primary)
}

.channel-pill.yt {
  background: rgba(255, 0, 0, .08);
  border-color: rgba(255, 0, 0, .25);
  color: #FF0000
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap
}

.mf-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: .35rem .65rem;
  font-size: .73rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-display)
}

.mf-node.accent {
  background: rgba(0, 245, 160, .08);
  border-color: rgba(0, 245, 160, .3);
  color: var(--accent-green)
}

.mf-node.purple {
  background: rgba(124, 58, 237, .08);
  border-color: rgba(124, 58, 237, .3);
  color: var(--accent-purple)
}

.mf-line {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent-green));
  flex-shrink: 0
}

.stats-visual {
  display: flex;
  gap: 1.5rem;
  margin-top: .5rem
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem
}

.stat-num-sm {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1
}

.stat-num-sm.green {
  color: var(--accent-green)
}

.mini-stat span:last-child {
  font-size: .68rem;
  color: var(--text-muted);
  font-weight: 500
}

.what-is-video {
  max-width: 760px;
  margin: 0 auto
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong)
}

.video-placeholder {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative
}

.video-placeholder:hover {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-card))
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(0, 245, 160, .2)
}

.play-btn {
  width: 68px;
  height: 68px;
  background: rgba(0, 245, 160, .12);
  border: 2px solid rgba(0, 245, 160, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.4rem
}

.video-placeholder>span {
  color: var(--text-secondary);
  font-size: .88rem
}

.video-label {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(0, 0, 0, .6);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .6rem;
  font-size: .7rem;
  color: var(--text-muted)
}

/* ===================== FEATURES ===================== */
.features {
  padding: 8rem 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 245, 160, .035) 0%, transparent 60%)
}

.tab-buttons {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .3rem;
  width: fit-content;
  margin: 0 auto 3rem;
  gap: .2rem;
  flex-wrap: wrap
}

.tab-btn {
  padding: .5rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
  letter-spacing: .02em
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14
}

.tab-btn:hover:not(.active) {
  color: var(--text-secondary)
}

.tab-content {
  display: none
}

.tab-content.active {
  display: block
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.feature-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem
}

.feature-info>p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: .96rem;
  line-height: 1.7
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 2rem
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .875rem;
  color: var(--text-secondary)
}

.check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0
}

.feature-screen {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  min-height: 300px
}

/* IG Mockup */
.ig-mockup {
  font-size: .8rem
}

.ig-post {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden
}

.ig-post-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem
}

.ig-post-header .av-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1306C, #F77737);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  color: white
}

.ig-post-header span {
  font-weight: 600;
  font-size: .77rem;
  font-family: var(--font-display)
}

.ig-post-image {
  height: 130px;
  background: linear-gradient(135deg, rgba(214, 41, 118, .25), rgba(124, 58, 237, .25));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.post-overlay {
  font-weight: 800;
  font-size: .88rem;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  text-align: center;
  padding: 0 1rem
}

.ig-comments {
  padding: .7rem;
  display: flex;
  flex-direction: column;
  gap: .45rem
}

.ig-comment {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .72rem
}

.ig-comment .av-xs {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .5rem;
  font-weight: 700;
  color: #080C14;
  flex-shrink: 0;
  margin-top: 1px
}

.ig-comment strong {
  font-family: var(--font-display);
  font-weight: 700;
  margin-right: .3rem
}

.ig-comment.bot-reply {
  background: rgba(0, 245, 160, .04);
  border-radius: 6px;
  padding: .3rem .5rem;
  border: 1px solid rgba(0, 245, 160, .12)
}

.ig-comment.bot-reply .av-xs {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan))
}

/* Messenger UI */
.messenger-ui {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: .8rem
}

.msg-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  background: #0866FF;
  color: white
}

.msg-av {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, .25);
  border-radius: 50%
}

.msg-header span:last-child {
  margin-left: auto;
  font-size: .68rem
}

.msg-body {
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .65rem
}

.msg-body .msg.bot {
  opacity: 1;
  animation: none;
  font-size: .76rem;
  padding: .55rem .85rem;
  align-self: flex-start
}

.quick-replies {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap
}

.quick-replies button {
  background: rgba(8, 102, 255, .1);
  border: 1px solid rgba(8, 102, 255, .3);
  color: #0866FF;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .7rem;
  cursor: pointer;
  transition: var(--transition)
}

.quick-replies button:hover {
  background: rgba(8, 102, 255, .2)
}

/* WA UI */
.wa-ui {
  background: #111B21;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: .8rem
}

.wa-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  background: #1F2C33
}

.wa-av {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .72rem;
  color: #080C14
}

.wa-header strong {
  color: white;
  font-size: .82rem;
  font-family: var(--font-display)
}

.wa-header small {
  color: #25D366;
  font-size: .65rem;
  display: block
}

.wa-msgs {
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .55rem
}

.wa-msg {
  background: #1F2C33;
  border-radius: 8px 8px 8px 2px;
  padding: .5rem .75rem;
  font-size: .75rem;
  color: #E8E8E8;
  max-width: 90%;
  line-height: 1.45
}

.wa-reply {
  background: #005C4B;
  border-radius: 8px 8px 2px 8px;
  padding: .5rem .75rem;
  font-size: .75rem;
  color: #E8E8E8;
  max-width: 80%;
  align-self: flex-end;
  line-height: 1.45
}

.wa-template-tag {
  display: inline-block;
  background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .2);
  color: #25D366;
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 4px;
  margin-top: .3rem
}

/* AI Terminal */
.ai-terminal {
  background: #060A12;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: 'Courier New', monospace
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  background: #0D1117;
  border-bottom: 1px solid var(--border);
  font-size: .75rem
}

.ai-badge {
  background: rgba(0, 245, 160, .1);
  border: 1px solid rgba(0, 245, 160, .2);
  color: var(--accent-green);
  padding: .12rem .55rem;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 700;
  font-family: var(--font-display)
}

.terminal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem
}

.t-line {
  display: flex;
  gap: .7rem;
  font-size: .74rem;
  line-height: 1.5
}

.t-comment {
  color: var(--text-muted);
  font-style: italic
}

.t-key {
  color: var(--text-muted)
}

.t-val {
  color: var(--text-secondary)
}

.t-val.green {
  color: var(--accent-green)
}

.t-val.cyan {
  color: var(--accent-cyan)
}

.t-val.purple {
  color: #a78bfa
}

.t-val.yellow {
  color: #FBBF24
}

.t-val.white {
  color: var(--text-primary)
}

.t-cursor {
  color: var(--accent-green);
  animation: cursorBlink 1s infinite
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4.5rem
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 245, 160, .04), transparent 60%);
  opacity: 0;
  transition: var(--transition)
}

.feat-card:hover {
  border-color: rgba(0, 245, 160, .18);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3)
}

.feat-card:hover::after {
  opacity: 1
}

.feat-icon {
  font-size: 2rem;
  margin-bottom: .9rem;
  display: block
}

.feat-card h4 {
  font-size: .95rem;
  margin-bottom: .4rem
}

.feat-card p {
  font-size: .83rem;
  color: var(--text-secondary);
  line-height: 1.6
}


/* ===================== SEMICIRCLE COMMAND CENTER ===================== */
.arch-features {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(ellipse at center top, rgba(0, 245, 160, 0.03) 0%, transparent 60%);
  overflow: hidden;
  direction: rtl;
}

/* Master Wrapper: Aspect Ratio 2:1 forces a perfect half-box */
.semicircle-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 2 / 1;
  margin: 4rem auto 2rem;
}

/* The Outer Arc Line */
.arc-line {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(0, 245, 160, 0.2);
  border-bottom: none;
  /* Open at the bottom */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  /* Perfect top semicircle */
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 20px 50px rgba(0, 245, 160, 0.02);
}

/* Nodes Positioning */
.node-container {
  position: absolute;
  left: var(--left);
  top: var(--top);
  transform: translate(-50%, -50%);
  /* Centers the pill exactly on the calculated point */
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pill Button */
.node-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  cursor: pointer;
}

/* Hover & Active States for Pill */
.node-container:hover .node-pill {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.node-container.active .node-pill {
  color: #080C14;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(0, 245, 160, 0.3);
  transform: scale(1.05);
}

/* Inner Semicircle Display */
.inner-semicircle {
  position: absolute;
  bottom: 0;
  left: 8%;
  /* Creates padding between outer arc and inner arc */
  right: 8%;
  height: 92%;
  /* Maintains proportionality */
  background: linear-gradient(to bottom, rgba(13, 18, 32, 0.8), var(--bg-card));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--accent-green);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  /* Space for the description */
  z-index: 5;
  overflow: hidden;
}

/* Fixed Master Description */
.master-description {
  width: 49%;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  min-height: 60px;
  /* Prevents layout shift when text changes */
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;

  transition: opacity 0.3s ease;
}

.master-description span.highlight {
  color: var(--accent-green);
  font-weight: 700;
}

/* Rectangular Display (Inside the Inner Semicircle) */
.rect-display {
  width: 100%;
  flex: 1;
  /* Takes up remaining height at the bottom */
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  /* Rounds only top corners */
  display: flex;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rect-display.fade-out {
  opacity: 0;
  transform: translateY(15px);
}

.rect-display.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Image Side */
.rect-image {
  flex: 1.2;
  background: #060A12;
  position: relative;
  overflow: hidden;
}

.rect-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.85;
}

.rect-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--bg-surface));
  pointer-events: none;
}

/* Content Side (Bullets) */
.rect-content {
  flex: 1;
  padding-Right: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rect-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rect-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.rect-bullets li i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-top: 2px;
}

/* ===================== RESPONSIVE (MOBILE) ===================== */
@media (max-width: 992px) {

  /* Break the semicircle structure on small screens */
  .semicircle-wrapper {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  .arc-line {
    display: none;
  }

  /* Create horizontal scroll for nodes */
  .semicircle-wrapper {
    padding-top: 1rem;
  }

  .node-container {
    position: static;
    transform: none;
  }

  /* Wrap nodes in a hidden pseudo-container using specific CSS targeting */
  .semicircle-wrapper {
    overflow: visible;
  }

  .inner-semicircle {
    position: static;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    background: var(--bg-card);
  }

  .master-description {
    width: 100%;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: auto;
  }

  .rect-display {
    width: 100%;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .rect-image {
    height: 250px;
  }

  .rect-image::after {
    background: linear-gradient(to top, transparent, var(--bg-surface));
  }

  .rect-content {
    padding: 1.5rem;
  }

  /* Horizontal scroll hack for mobile nodes */
  .semicircle-wrapper {
    display: block;
  }

  .semicircle-wrapper>.node-container {
    display: inline-block;
    margin-bottom: 2rem;
    margin-left: 0.5rem;
  }
}

/* ===================== BENEFITS ===================== */
.benefits {
  padding: 0 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(124, 58, 237, .05) 0%, transparent 50%)
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.metric-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  transform: scaleX(0);
  transition: var(--transition)
}

.metric-card:hover::before {
  transform: scaleX(1)
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card)
}

.metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .75rem
}

.metric-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: .3rem
}

.metric-sub {
  font-size: .75rem;
  color: var(--text-muted)
}

/* Benefits list */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-bottom: 6rem
}

.benefit-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  align-items: center
}

.benefit-item.reverse {
  grid-template-columns: 1fr 140px
}

.benefit-item.reverse .benefit-visual {
  order: 2
}

.benefit-item.reverse .benefit-text {
  order: 1
}

.benefit-visual {
  display: flex;
  align-items: center;
  justify-content: center
}

.ben-icon {
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(0, 245, 160, .04)
}

.benefit-item:hover .ben-icon {
  border-color: rgba(0, 245, 160, .25);
  box-shadow: 0 0 50px rgba(0, 245, 160, .1);
  transform: scale(1.06) rotate(-3deg)
}

.benefit-text h3 {
  font-size: 1.7rem;
  margin-bottom: .75rem
}

.benefit-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 580px
}

/* Testimonials */
.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem
}

.testimonials-header h3 {
  font-size: 1.8rem
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition)
}

.testi-card.featured {
  border-color: rgba(0, 245, 160, .22);
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 245, 160, .025))
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong)
}

.testi-stars {
  color: #FBBF24;
  font-size: .85rem;
  margin-bottom: .9rem;
  letter-spacing: 2px
}

.testi-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .75rem
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0
}

.testi-av img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-author strong {
  font-size: .85rem;
  display: block;
  font-family: var(--font-display)
}

.testi-author span {
  font-size: .72rem;
  color: var(--text-muted)
}

/* ===================== PRICING ===================== */
.pricing {
  padding: 8rem 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 217, 245, .04) 0%, transparent 60%)
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap
}

.toggle-label {
  font-size: .875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: .4rem
}

.save-badge {
  background: rgba(0, 245, 160, .1);
  border: 1px solid rgba(0, 245, 160, .25);
  color: var(--accent-green);
  padding: .1rem .5rem;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
  cursor: pointer
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  transition: var(--transition)
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition)
}

input:checked+.toggle-slider {
  background: rgba(0, 245, 160, .14);
  border-color: rgba(0, 245, 160, .4)
}

input:checked+.toggle-slider::before {
  transform: translate(21px, -50%);
  background: var(--accent-green)
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card)
}

.price-card.popular {
  border-color: rgba(0, 245, 160, .28);
  background: linear-gradient(180deg, rgba(0, 245, 160, .04) 0%, var(--bg-card) 30%);
  transform: scale(1.02)
}

.price-card.popular:hover {
  transform: scale(1.02) translateY(-5px)
}

.price-card.enterprise {
  border-style: dashed;
  border-color: var(--border-strong)
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .67rem;
  padding: .22rem 1rem;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
  letter-spacing: .04em
}

.price-plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: .9rem;
  margin-top: .4rem
}

.price-card.popular .price-plan-name {
  color: var(--accent-green)
}

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: .12rem;
  margin-bottom: .65rem
}

.price-currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: .4rem
}

.price-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  transition: var(--transition)
}

.price-period {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: auto;
  margin-bottom: .35rem
}

.price-custom {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.price-desc {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55
}

.btn-price {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: .7rem 1rem;
  font-size: .85rem
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem
}

.price-features li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  color: var(--text-secondary)
}

.pf-check {
  color: var(--accent-green);
  flex-shrink: 0;
  font-weight: 700
}

.pf-x {
  color: var(--text-muted);
  flex-shrink: 0
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 3rem auto 0;
  padding: 1.2rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 580px
}

.pricing-guarantee span:first-child {
  font-size: 1.4rem
}

.pricing-guarantee p {
  font-size: .85rem;
  color: var(--text-secondary)
}

/* ===================== PARTNERS ===================== */
.partners {
  padding: 8rem 0;
  background: radial-gradient(ellipse at 100% 50%, rgba(0, 245, 160, .03) 0%, transparent 50%)
}

/* ===================== PARTNERS ===================== */
.partners {
  padding: 8rem 0;
  background: radial-gradient(ellipse at 100% 50%, rgba(0, 245, 160, .03) 0%, transparent 50%);
}

/* این کلاس پوشاننده برای اعمال ماسک (محو شدن لبه‌ها) است */
.partners-wrapper {
  margin-top: -2rem;
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
  overflow: hidden; /* جلوگیری از بیرون زدگی ناخواسته */
  /* ماسک برای اینکه لبه‌های چپ و راست محو شوند */
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.brands-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0; /* پدینگ عمودی */
  width: 100%;
  
  /* تنظیمات اسکرول */
  scroll-behavior: auto; /* برای درگ کردن بهتر است smooth نباشد */
  -webkit-overflow-scrolling: touch;
  
  /* مخفی کردن اسکرول‌بار */
  scrollbar-width: none;
  -ms-overflow-style: none;
  
  /* تنظیمات نشانگر موس */
  cursor: grab; /* نشانگر دست باز */
  user-select: none; /* جلوگیری از انتخاب متن هنگام کشیدن */
}

/* وقتی کاربر کلیک کرده و نگه داشته است */
.brands-scroll-container.active {
  cursor: grabbing; /* نشانگر دست مشت شده */
  cursor: -webkit-grabbing;
}

.brands-scroll-container::-webkit-scrollbar {
  display: none;
}


/* مخفی کردن اسکرول‌بار در کروم و سافاری */
.brands-scroll-container::-webkit-scrollbar {
  display: none;
}

/* فعال کردن حالت گرفتن (Grabbing) موقع کلیک */
.brands-scroll-container:active {
  cursor: grabbing;
}

.brand-logo {
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: .65rem .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-muted);
  white-space: nowrap; /* جلوگیری از شکستن متن */
  transition: var(--transition);
  
  /* جلوگیری از کوچک شدن آیتم‌ها در فلکس */
  flex-shrink: 0; 
  
  /* غیرقابل انتخاب کردن متن موقع کشیدن */
  user-select: none; 
}

.brand-logo:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-2px); /* افکت کوچک بالا آمدن */
}


.creators-section {
  margin-bottom: 5rem
}

.creators-section h3 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem
}

.creator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  position: relative
}

.creator-card.featured {
  border-color: rgba(0, 245, 160, .25);
  background: linear-gradient(180deg, rgba(0, 245, 160, .035) 0%, var(--bg-card) 40%)
}

.creator-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong)
}

.creator-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  color: #080C14;
  font-size: .62rem;
  font-weight: 700;
  padding: .18rem .6rem;
  border-radius: 50px;
  white-space: nowrap;
  font-family: var(--font-display)
}

.creator-av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
  margin: 0 auto .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white
}

.creator-av img {

  border-radius: 50%;
  object-fit: cover;
}

.creator-handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: .2rem
}

.creator-niche {
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: .35rem
}

.creator-followers {
  font-size: .72rem;
  color: var(--text-secondary);
  margin-bottom: .55rem
}

.creator-result {
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0, 245, 160, .07);
  padding: .18rem .5rem;
  border-radius: 50px;
  display: inline-block
}

.integrations-showcase {
  text-align: center
}

.integrations-showcase h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem
}

.int-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .9rem .4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
  cursor: pointer
}

.int-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px)
}

.int-icon {
  font-size: 1.4rem
}

.int-item span:last-child {
  font-size: .65rem;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-display)
}

/* ===================== FAQ ===================== */
.faq-section {
  padding: 8rem 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(124, 58, 237, .04) 0%, transparent 60%)
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start
}

.faq-left .eyebrow {
  margin-bottom: 1rem
}

.faq-left h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem)
}

.faq-left>p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: .96rem;
  line-height: 1.7
}

.tutorial-cards {
  display: flex;
  flex-direction: column;
  gap: .7rem
}

.tutorial-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  transition: var(--transition);
  cursor: pointer
}

.tutorial-card:hover {
  border-color: var(--border-strong);
  transform: translateX(5px)
}

.tutorial-thumb {
  width: 50px;
  height: 36px;
  background: linear-gradient(135deg, var(--bg-surface), rgba(0, 245, 160, .08));
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.play-sm {
  font-size: .75rem;
  color: var(--accent-green)
}

.tutorial-info strong {
  font-size: .82rem;
  display: block;
  font-family: var(--font-display)
}

.tutorial-info span {
  font-size: .7rem;
  color: var(--text-muted)
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .65rem
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition)
}

.faq-item.active {
  border-color: rgba(0, 245, 160, .22)
}

.faq-item:hover {
  border-color: var(--border-strong)
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-display);
  gap: 1rem;
  transition: var(--transition)
}

.faq-q:hover {
  color: var(--accent-green)
}

.faq-item.active .faq-q {
  color: var(--accent-green)
}

.faq-arrow {
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .3s;
  line-height: 1
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: var(--accent-green)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1)
}

.faq-item.active .faq-a {
  max-height: 220px
}

.faq-a p {
  padding: 0 1.25rem 1.25rem;
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem
}

/* ===================== FINAL CTA ===================== */
.final-cta {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.cta-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 245, 160, .07) 0%, transparent 60%);
  border-radius: 50%;
  animation: orbFloat 10s ease-in-out infinite
}

.cta-orb-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 217, 245, .06) 0%, transparent 60%);
  border-radius: 50%;
  animation: orbFloat 7s ease-in-out infinite reverse
}

.final-cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
  position: relative
}

.final-cta>div>p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: .8rem;
  color: var(--text-muted);
  position: relative;
  flex-wrap: wrap
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem
}

.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .9rem;
  margin-bottom: 1.5rem;
  max-width: 290px;
  line-height: 1.75
}

.footer-socials {
  display: flex;
  gap: .65rem
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer
}

.social-link:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-2px)
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem
}

.footer-col h5 {
  color: var(--text-primary);
  margin-bottom: 1.2rem
}

.footer-col a {
  display: block;
  font-size: .83rem;
  color: var(--text-muted);
  padding: .22rem 0;
  transition: var(--transition)
}

.footer-col a:hover {
  color: var(--text-primary)
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .77rem;
  color: var(--text-muted);
  flex-wrap: wrap
}

.footer-legal a:hover {
  color: var(--text-primary)
}

.footer-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap
}

.badge-item {
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: .25rem .7rem;
  border-radius: 50px
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0;

  /* --- کدهای مربوط به تمام عرض کردن (خروج از باکس والد) --- */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;

  /* --- کد مربوط به چسبیدن به انتهای صفحه در صورت کم بودن محتوا --- */
  margin-top: auto;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

/* بقیه استایل‌های شما بدون تغییر باقی می‌مانند */
.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .9rem;
  margin-bottom: 1.5rem;
  max-width: 290px;
  line-height: 1.75;
}

.footer-socials {
  display: flex;
  gap: .65rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.social-link:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: .83rem;
  color: var(--text-muted);
  padding: .22rem 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .77rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.badge-item {
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: .25rem .7rem;
  border-radius: 50px;
}

/* ===================== AOS ===================== */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

[data-aos="fade-right"] {
  transform: translateX(-28px)
}

[data-aos="fade-left"] {
  transform: translateX(28px)
}

[data-aos="zoom-in"] {
  transform: scale(.93)
}

[data-aos="fade-down"] {
  transform: translateY(-18px)
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none
}
  /* این کلاس عمومی باعث می‌شود متن در هر حالتی (چه چپ باشد چه راست) راست‌چین بماند */
  .benefit-text {
    text-align: right !important; 
  }

  /* تنظیمات اضافی برای آیتم‌هایی که متنشان سمت چپ است (حالت عادی) */
  /* متن در سمت چپ تصویر قرار می‌گیرد، اما نوشته‌ها از سمت راستِ کادر خودشان شروع می‌شوند (سمتِ آیکون) */
  .benefit-item:not(.reverse) .benefit-text {
    /* نیاز به تنظیم خاصی نیست چون گرید جای آن را مشخص کرده و text-align: right بالا کار را انجام می‌دهد */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* برای اطمینان از اینکه اگر عرض متن کم بود، به سمت راست (سمت آیکون) بچسبد */
  }
  
  /* تنظیم برای آیتم‌های معکوس (متن سمت راست) */
  .benefit-item.reverse .benefit-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* یا flex-end بسته به سلیقه، اما text-align: right مهم است */
    /* نکته: در زبان فارسی چون همه چیز راست‌چین است، پیش‌فرض مرورگر معمولا درست عمل می‌کند */
  }

/* ===================== RESPONSIVE ===================== */
@media(max-width:1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .creators-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .integrations-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media(max-width:900px) {

  .nav-links,
  .nav-actions {
    display: none
  }

  .hamburger {
    display: flex
  }

  .what-is-grid {
    grid-template-columns: 1fr
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .mockup-content {
    grid-template-columns: 1fr
  }

  .flow-canvas {
    border-right: none;
    border-bottom: 1px solid var(--border)
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr)
  }

  .benefit-item,
  .benefit-item.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .benefit-item.reverse .benefit-visual,
  .benefit-item.reverse .benefit-text {
    order: 0
  }
}

@media(max-width:640px) {
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: 65% center; 
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.4;
  }
  .floating-hero-img{width: 150px;}
  .hero {
    padding: 4rem 0 1rem;
  }
  .hero-container{
    gap: 15rem;
  }
  .hero-subtitle{
    margin-bottom: .75rem;
  }
.mockup-section {
  padding: 2rem 2rem 2rem;

}
.mockup-content{
height: 520px;
}
.mockup-chat{
  height: 520px;
}
.what-is{
  padding:2rem 0;
}
.features{
  padding:2rem 0;

}
.pricing{
  padding:2rem 0;

}
.partners{
  padding:2rem 0;

}
.faq-section{
  padding:2rem 0;
 
}
.final-cta{
  padding:2rem 0;

}
.brands-scroll-container{
  gap: .5rem;
}
.partners-wrapper{
  margin-top: -2rem;
  margin-bottom: 1rem;
}
.tab-btn {  padding: .5rem .5rem;
  font-size: .6rem;
}
.arch-features{
  padding:2rem 0;

}
.semicircle-wrapper
{        margin-top: -4rem;}
.node-pill
{
  font-size: 0.75rem;
  padding: 0.5rem 0.5rem
}
.hide-on-mob{
  display: none;
}
.semicircle-wrapper .node-container
{        margin-bottom: 0.4rem;
  margin-left: 0.3rem;}
  .master-description{
    margin-top:0;
    margin-bottom: 0;
  }
  .rect-content{
    padding:  1rem .5rem;
  }
  .rect-bullets li{
    font-size: 0.8rem;
  }
  .metric-card{
    padding: .5rem;
  }
  .benefits-list {
    gap: 3rem; /* کاهش فاصله کلی در موبایل */
  }

  .benefit-item, 
  .benefit-item.reverse {
    /* تغییر از Grid به Flex برای کنترل راحت‌تر ترتیب */
    display: flex;
    flex-direction: column;
    text-align: center; /* وسط‌چین کردن متن و آیکون در موبایل برای زیبایی بیشتر */
    gap: 1.5rem;
  }

  /* نکته مهم: آیکون همیشه اول بیاید */
  .benefit-item .benefit-visual,
  .benefit-item.reverse .benefit-visual {
    order: -1; /* اولویت نمایش بالاتر (همیشه بالا) */
    width: 100%;
    justify-content: center;
  }

  .benefit-item .benefit-text,
  .benefit-item.reverse .benefit-text {
    order: 1; /* همیشه بعد از آیکون */
  }
  
  .benefit-text {
    text-align: center !important;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start
  }
  .flow-canvas {
    display: none;
  }
  .mtab-panel{
    grid-template-columns: 1fr
  }
  .features-grid {
    grid-template-columns: 1fr
  }

  .pricing-grid {
    grid-template-columns: 1fr
  }

  .price-card.popular {
    transform: scale(1)
  }

  .creators-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .cta-trust {
    flex-direction: column;
    gap: .5rem
  }

  .tab-buttons {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    margin: -3rem auto 1rem;
  }
  .feature-screen{
    padding: 0.5rem;
  }
}

/* =========================================
   AutoDM — Light Mode Override
   Add class "light-mode" to <body> or <html>
   to activate. All dark vars are remapped
   to crisp white-base equivalents while
   keeping the neon accent palette vivid.
   ========================================= */

.light-mode {
  --bg-base: #F5F7FA;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-border: rgba(0, 0, 0, 0.07);
  --accent-green: #00B87A;
  /* slightly deeper for contrast on white */
  --accent-cyan: #0099B8;
  --accent-purple: #6D28D9;
  --accent-pink: #DB2777;
  --text-primary: #0D1220;
  --text-secondary: #3D5066;
  --text-muted: #7C92A8;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.10);
}

/* ── Scrollbar ─────────────────────────── */
.light-mode ::-webkit-scrollbar-track {
  background: var(--bg-base);
}

.light-mode ::-webkit-scrollbar-thumb {
  background: var(--border-strong);
}

.light-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* ── Navbar ────────────────────────────── */
.light-mode .navbar.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;  border-bottom-color: var(--border);
}

.light-mode .logo-text {
  background: linear-gradient(135deg, #0D1220, rgba(13, 18, 32, 0.75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-mode .mobile-menu {
  background: rgba(245, 247, 250, 0.99);
  border-top-color: var(--border);
}

.light-mode .hamburger span {
  background: var(--text-primary);
}

/* ── Hero Orbs — lighter tints ─────────── */
.light-mode .orb-1 {
  background: radial-gradient(circle, rgba(0, 184, 122, .10), transparent 70%);
}

.light-mode .orb-2 {
  background: radial-gradient(circle, rgba(0, 153, 184, .08), transparent 70%);
}

.light-mode .orb-3 {
  background: radial-gradient(circle, rgba(109, 40, 217, .07), transparent 70%);
}

.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .035) 1px, transparent 1px);
}

/* ── Title ghost stroke ────────────────── */
.light-mode .title-ghost {
  -webkit-text-stroke: 2px var(--accent-green);
}

/* ── Trust avatars border ──────────────── */
.light-mode .trust-avatar {
  border-color: var(--bg-base);
}

/* ── Mockup Window ─────────────────────── */
.light-mode .mockup-window {
  background: #FFFFFF;
  border-color: var(--border-strong);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.12), 0 0 60px rgba(0, 184, 122, .04);
}

.light-mode .mockup-bar,
.light-mode .mockup-tabs {
  background: #F0F2F5;
  border-color: var(--border);
}

.light-mode .mockup-url {
  background: #FFFFFF;
  border-color: var(--border);
  color: var(--text-muted);
}

.light-mode .flow-canvas {
  border-right-color: var(--border);
}

.light-mode .flow-node {
  background: #F7F9FC;
  border-color: var(--border);
}

.light-mode .ft-btn {
  background: #EBEEF2;
  border-color: var(--border);
}

/* ── Chat side ─────────────────────────── */
.light-mode .mockup-chat {
  background: #F5F7FA;
}

.light-mode .chat-header {
  background: #FFFFFF;
  border-bottom-color: var(--border);
}

.light-mode .online-dot {
  border-color: #FFFFFF;
}

.light-mode .msg.bot {
  background: #FFFFFF;
  border-color: var(--border);
  color: var(--text-secondary);
}

.light-mode .msg.user {
  color: #FFFFFF;
}

/* keep white text on green gradient */
.light-mode .msg.link-msg {
  background: rgba(0, 184, 122, .06);
  border-color: rgba(0, 184, 122, .2);
  color: var(--accent-green);

}

.light-mode .qr-btn {
  background: rgba(0, 184, 122, .07);
  border-color: rgba(0, 184, 122, .25);
}

.light-mode .qr-btn:hover {
  background: rgba(0, 184, 122, .15);
}

/* ── Ticker ────────────────────────────── */
.light-mode .ticker-bar {
  background: #FFFFFF;
  border-color: var(--border);
}

/* ── Cards (What-Is, Features, Benefits, Pricing…) */
.light-mode .what-card,
.light-mode .feat-card,
.light-mode .metric-card,
.light-mode .testi-card,
.light-mode .price-card,
.light-mode .creator-card,
.light-mode .int-item,
.light-mode .brand-logo,
.light-mode .tutorial-card,
.light-mode .faq-item,
.light-mode .pricing-guarantee,
.light-mode .badge-item {
  background: #FFFFFF;
  border-color: var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.light-mode .what-card:hover,
.light-mode .feat-card:hover,
.light-mode .metric-card:hover,
.light-mode .testi-card:hover,
.light-mode .price-card:hover,
.light-mode .creator-card:hover {
  box-shadow: var(--shadow-card);
}

/* Featured / Popular variants */
.light-mode .testi-card.featured {
  border-color: rgba(0, 184, 122, .22);
  background: linear-gradient(135deg, #FFFFFF, rgba(0, 184, 122, .025));
}

.light-mode .price-card.popular {
  border-color: rgba(0, 184, 122, .28);
  background: linear-gradient(180deg, rgba(0, 184, 122, .04) 0%, #FFFFFF 30%);
}

.light-mode .creator-card.featured {
  border-color: rgba(0, 184, 122, .25);
  background: linear-gradient(180deg, rgba(0, 184, 122, .035) 0%, #FFFFFF 40%);
}

.light-mode .price-card.enterprise {
  border-color: var(--border-strong);
}

/* ── Mini flow nodes ───────────────────── */
.light-mode .mf-node {
  background: #F0F2F5;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.light-mode .mf-node.accent {
  background: rgba(0, 184, 122, .08);
  border-color: rgba(0, 184, 122, .3);
}

.light-mode .mf-node.purple {
  background: rgba(109, 40, 217, .08);
  border-color: rgba(109, 40, 217, .3);
}

/* ── TikTok channel pill on light ──────── */
.light-mode .channel-pill.tk {
  background: rgba(0, 0, 0, .05);
  border-color: rgba(0, 0, 0, .15);
  color: #0D1220;
}

/* ── Feature screen area ───────────────── */
.light-mode .feature-screen {
  background: #F7F9FC;
  border-color: var(--border-strong);
}

/* ── Instagram / Messenger / WA mockups ── */
.light-mode .ig-post {
  background: #FFFFFF;
  border-color: var(--border);
}

.light-mode .ig-post-header {
  background: transparent;
}

.light-mode .ig-comments {}

.light-mode .ig-comment.bot-reply {
  background: rgba(0, 184, 122, .04);
  border-color: rgba(0, 184, 122, .12);
}

.light-mode .messenger-ui {
  background: #FFFFFF;
  border-color: var(--border);
}

.light-mode .msg-body .msg.bot {
  background: #F0F2F5;
  border-color: var(--border);
}

.light-mode .quick-replies button {
  background: rgba(8, 102, 255, .08);
  border-color: rgba(8, 102, 255, .25);
}

/* WhatsApp keeps its brand dark bg — no override needed */

/* ── AI Terminal ───────────────────────── */
.light-mode .ai-terminal {
  background: #1A2033;
}

/* keep terminal dark for readability */
.light-mode .terminal-bar {
  background: #111827;
  border-color: rgba(255, 255, 255, .08);
}

/* ── Tab buttons ───────────────────────── */
.light-mode .tab-buttons {
  background: #FFFFFF;
  border-color: var(--border);
}

.light-mode .tab-btn.active {
  color: #FFFFFF;
}

/* white on green/cyan gradient */

/* ── Toggle switch ─────────────────────── */
.light-mode .toggle-slider {
  background: #E8ECF0;
  border-color: var(--border-strong);
}

.light-mode input:checked+.toggle-slider {
  background: rgba(0, 184, 122, .14);
  border-color: rgba(0, 184, 122, .4);
}

.light-mode .toggle-slider::before {
  background: #9AA8B8;
}

.light-mode input:checked+.toggle-slider::before {
  background: var(--accent-green);
}

/* ── Benefit icon boxes ────────────────── */
.light-mode .ben-icon {
  background: #FFFFFF;
  border-color: var(--border-strong);
}

.light-mode .benefit-item:hover .ben-icon {
  border-color: rgba(0, 184, 122, .25);
  box-shadow: 0 0 40px rgba(0, 184, 122, .10);
}

/* ── FAQ ───────────────────────────────── */
.light-mode .faq-item.active {
  border-color: rgba(0, 184, 122, .22);
}

.light-mode .faq-a p {
  border-top-color: var(--border);
}

/* ── Final CTA orbs ────────────────────── */
.light-mode .cta-orb {
  background: radial-gradient(circle, rgba(0, 184, 122, .06) 0%, transparent 60%);
}

.light-mode .cta-orb-2 {
  background: radial-gradient(circle, rgba(0, 153, 184, .05) 0%, transparent 60%);
}

/* ── Footer ────────────────────────────── */
.light-mode .footer {
  background: #FFFFFF;
  border-top-color: var(--border);
}

.light-mode .footer-bottom {
  border-top-color: var(--border);
}

.light-mode .social-link {
  background: #F0F2F5;
  border-color: var(--border);
}

.light-mode .social-link:hover {
  background: #E4E8ED;
  border-color: var(--border-strong);
}

/* ── Mockup glow ───────────────────────── */
.light-mode .mockup-glow {
  background: radial-gradient(ellipse, rgba(0, 184, 122, .08), transparent 70%);
}

/* ── btn-ghost ─────────────────────────── */
.light-mode .btn-ghost:hover {
  background: #F0F2F5;
}

.light-mode .btn-outline:hover {
  box-shadow: 0 4px 20px rgba(0, 184, 122, .12);
}

/* ── Backgrounds / section radials ─────── */
.light-mode .features {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 184, 122, .03) 0%, transparent 60%);
}

.light-mode .benefits {
  background: radial-gradient(ellipse at 0% 50%, rgba(109, 40, 217, .04) 0%, transparent 50%);
}

.light-mode .pricing {
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 153, 184, .04) 0%, transparent 60%);
}

.light-mode .partners {
  background: radial-gradient(ellipse at 100% 50%, rgba(0, 184, 122, .03) 0%, transparent 50%);
}

.light-mode .faq-section {
  background: radial-gradient(ellipse at 50% 100%, rgba(109, 40, 217, .03) 0%, transparent 60%);
}

/* ── Theme Toggle Button ───────────────── */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--accent-green);
  box-shadow: 0 6px 28px rgba(0, 184, 122, 0.2);
}

.light-mode .theme-toggle {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px; /* فاصله بین عکس لوگو و متن AutoDM */
  text-decoration: none;
}

.logo-image {
  height: 40px; /* ارتفاع لوگو را اینجا تنظیم کنید */
  width: auto;  /* عرض به صورت خودکار متناسب با ارتفاع تنظیم می‌شود */
  object-fit: contain; /* جلوگیری از کشیدگی یا دفرمه شدن عکس */
  display: block;
}

/* اگر در موبایل می‌خواهید لوگو کمی کوچکتر باشد */
@media (max-width: 768px) {
  .logo-image {
    height: 32px;
  }
}
