/* ═══════════════════════════════════════════════════════════
   الف CRM — ری‌دیزاین ۱۴۰۴
   تم: تیره پریمیوم | اکسنت: نارنجی برند + بنفش لوگو
   ═══════════════════════════════════════════════════════════ */

/* ─── فونت ───
   دستخط (نسخه متغیر) — همه وزن‌های ۱۰۰ تا ۹۰۰ در یک فایل ۱۵۱KB
   https://github.com/dastyar-io/dastkhat-font */
@font-face {
  font-family: "Dastkhat";
  src: url("https://cdn.jsdelivr.net/gh/dastyar-io/dastkhat-font@main/Webfonts/fonts/Dastkhat-Variable.woff2") format("woff2-variations"),
       url("https://cdn.jsdelivr.net/gh/dastyar-io/dastkhat-font@main/Webfonts/fonts/Dastkhat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── توکن‌های طراحی ─── */
:root {
  /* رنگ‌های برند (استخراج‌شده از سایت اصلی) */
  --orange: #ff6933;
  --orange-2: #ff9f1a;
  --purple: #7c65a1;
  --purple-2: #a64dff;
  --blue: #3381ff;
  --teal: #00d6c1;
  --green: #22c55e;
  --amber: #fbbf24;

  /* زمینه تیره */
  --bg: #0e0d14;
  --bg-2: #121118;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* متن */
  --text: #f4f2fa;
  --text-2: #b9b4cf;
  --text-3: #8b86a3;
  --muted: #a1a1aa;

  /* افکت‌ها */
  --glow-orange: 0 8px 32px -6px rgba(255, 105, 51, 0.45);
  --glow-purple: 0 8px 40px -6px rgba(166, 77, 255, 0.4);
  --shadow-card: 0 24px 48px -24px rgba(0, 0, 0, 0.55);

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;

  --grad-brand: linear-gradient(120deg, var(--orange) 10%, var(--orange-2) 90%);
  --grad-text: linear-gradient(100deg, #ffb38a 0%, var(--orange) 45%, var(--purple-2) 110%);
  --grad-text-2: linear-gradient(100deg, #b48cff, #8b5cf6 45%, var(--teal));

  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── ریست ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #3a3650 var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: "Dastkhat", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(255, 105, 51, 0.85);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple-2), var(--orange));
  border-radius: 99px;
  border: 2px solid var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ─── آیکون‌های خطی ─── */
.ico {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}

/* ═══════════════ پس‌زمینه صحنه ═══════════════ */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 85% -5%, rgba(124, 101, 161, 0.28), transparent 65%),
    radial-gradient(50% 40% at 8% 12%, rgba(166, 77, 255, 0.14), transparent 70%),
    var(--bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.orb-1 {
  width: 540px; height: 540px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(166, 77, 255, 0.5), transparent 70%);
  animation: drift-1 26s ease-in-out infinite alternate;
}
.orb-2 {
  width: 460px; height: 460px;
  top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(255, 105, 51, 0.4), transparent 70%);
  animation: drift-2 32s ease-in-out infinite alternate;
}
.orb-3 {
  width: 420px; height: 420px;
  bottom: -160px; left: 32%;
  background: radial-gradient(circle, rgba(51, 129, 255, 0.32), transparent 70%);
  animation: drift-3 38s ease-in-out infinite alternate;
}

@keyframes drift-1 { to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift-2 { to { transform: translate(-80px, -90px) scale(0.92); } }
@keyframes drift-3 { to { transform: translate(70px, -60px) scale(1.08); } }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 30%, transparent 100%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════ دکمه‌ها ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.btn .ico { transition: transform 0.35s var(--ease-spring); }
.btn:hover .ico { transform: translateX(-4px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--glow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--grad-brand);
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
  transition: opacity 0.35s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 0.65; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 105, 51, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(255, 105, 51, 0.35);
}

.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ═══════════════ نوار بالا ═══════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 0.9rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  padding-block: 0.55rem;
  background: rgba(14, 13, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 4px 14px rgba(166, 77, 255, 0.45));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  letter-spacing: 0.2px;
}
.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand-title b { color: var(--orange); }
.brand-text small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
}
.nav-link {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 1rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav-link--cta {
  color: var(--orange);
  border: 1px solid rgba(255, 105, 51, 0.4);
  margin-inline-start: 0.4rem;
}
.nav-link--cta:hover { background: rgba(255, 105, 51, 0.12); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ هیرو ═══════════════ */
.hero {
  position: relative;
  padding: 4.2rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  align-items: center;
  gap: 3.2rem;
}

/* ستون متن */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(255, 105, 51, 0.1);
  border: 1px solid rgba(255, 105, 51, 0.3);
  transition: background 0.3s ease;
}
a.pill:hover { background: rgba(255, 105, 51, 0.18); }
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 105, 51, 0.2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(255, 105, 51, 0.08); }
}

.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.5px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--2 {
  background: var(--grad-text-2);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  margin-top: 1.2rem;
  max-width: 34rem;
  color: var(--text-2);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--border-strong);
}
.hero-stats li { display: grid; gap: 0.1rem; }
.hero-stats b {
  font-size: 1.55rem;
  font-weight: 800;
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-stats li > span {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ─── ماکاپ داشبورد ─── */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.mock-glow {
  position: absolute;
  inset: -8% -6%;
  background:
    radial-gradient(55% 55% at 70% 20%, rgba(255, 105, 51, 0.28), transparent 70%),
    radial-gradient(55% 60% at 20% 80%, rgba(166, 77, 255, 0.3), transparent 70%);
  filter: blur(34px);
  z-index: 0;
  animation: glow-breathe 7s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  to { transform: scale(1.08); opacity: 0.85; }
}

.app-window {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(30, 28, 42, 0.92), rgba(18, 17, 24, 0.94));
  border: 1px solid var(--border-strong);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-4deg);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.hero-visual:hover .app-window { transform: rotateX(0deg) rotateY(0deg); }

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.tb-dots { display: inline-flex; gap: 6px; }
.tb-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.tb-dots i:nth-child(2) { background: #febc2e; }
.tb-dots i:nth-child(3) { background: #28c840; }
.tb-url {
  font-size: 0.72rem;
  color: var(--text-3);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  direction: ltr;
}
.tb-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}
.tb-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.app-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 380px;
}

.app-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.025);
  border-inline-end: 1px solid var(--border);
}
.side-logo {
  width: 26px; height: 26px;
  border-radius: 9px;
  margin-bottom: 0.5rem;
  background: var(--grad-brand);
  box-shadow: 0 4px 12px -2px rgba(255, 105, 51, 0.5);
}
.side-item {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--text-3);
  transition: color 0.3s, background 0.3s;
}
.side-item svg {
  width: 17px; height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.side-item.is-on {
  color: #fff;
  background: rgba(255, 105, 51, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 105, 51, 0.4);
}
.side-item:hover { color: var(--text); background: var(--surface-2); }

.app-main { padding: 1.1rem 1.2rem; }

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.app-topbar h3 { font-size: 0.98rem; font-weight: 800; }
.app-topbar p { font-size: 0.74rem; color: var(--text-3); }
.app-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  padding: 0.42rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(255, 105, 51, 0.6);
  white-space: nowrap;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.kb-col {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.kb-col header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-2);
  padding-inline: 0.25rem;
}
.kb-col header em {
  margin-inline-start: auto;
  font-style: normal;
  font-size: 0.68rem;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  color: var(--text-3);
}
.kb-dot { width: 8px; height: 8px; border-radius: 50%; }
.kb-dot--blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.kb-dot--orange { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.kb-dot--green { background: var(--green); box-shadow: 0 0 8px var(--green); }

.kb-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.3rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.kb-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.kb-card b { font-size: 0.78rem; font-weight: 700; }
.kb-card > span { font-size: 0.68rem; color: var(--text-3); }

.kb-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
}
.kb-ava {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--blue));
  flex: none;
}
.kb-amount {
  margin-inline-start: auto;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.66rem;
}

.kb-card--hot {
  border-color: rgba(255, 105, 51, 0.45);
  background: linear-gradient(140deg, rgba(255, 105, 51, 0.14), rgba(255, 105, 51, 0.03));
}
.kb-card--win { border-color: rgba(34, 197, 94, 0.4); }

.kb-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.kb-bar i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  animation: bar-fill 1.4s var(--ease-out) both;
}
@keyframes bar-fill {
  from { width: 0; }
}

/* چیپ‌های شناور */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.05rem;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(22, 20, 32, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.7);
  animation: floaty 6s ease-in-out infinite;
}
.fc-1 { top: 4%; inset-inline-start: -7%; animation-delay: 0.2s; }
.fc-2 { top: 38%; inset-inline-end: -6%; animation-delay: 1.4s; }
.fc-3 { bottom: 12%; inset-inline-start: -4%; animation-delay: 2.6s; }
.fc-4 {
  bottom: -3%;
  inset-inline-end: 8%;
  color: var(--orange);
  animation-delay: 0.8s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.fc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: none;
}
.fc-dot--teal { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.fc-dot--orange { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.fc-dot--purple { background: var(--purple-2); box-shadow: 0 0 10px var(--purple-2); }

.fc-spark {
  width: 16px; height: 16px;
  fill: var(--orange);
  filter: drop-shadow(0 0 6px rgba(255, 105, 51, 0.8));
}

/* ─── مشتریان ─── */
.clients { margin-top: 4.5rem; }
.clients-title {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-3);
  margin-bottom: 1.6rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding-inline: 1.6rem;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(50%); }
}

.client {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-3);
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.client:hover { opacity: 1; color: var(--text-2); }
.client img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
}

/* ═══════════════ بخش‌های عمومی ═══════════════ */
.section { padding: 5.5rem 0; position: relative; }

.section-head {
  max-width: 46rem;
  margin: 0 auto 3.6rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.55;
}
.section-head > p { color: var(--text-2); font-size: 1rem; max-width: 40rem; }

/* ═══════════════ بنتو ═══════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.45s ease;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 40% at var(--fx, 85%) var(--fy, 0%),
      var(--card-glow, rgba(255, 105, 51, 0.14)), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.bento-card:hover::before { opacity: 1; }

.bento-card--wide { grid-column: span 2; }

/* رنگ‌گذاری کارت‌ها */
[data-hue="orange"] { --card-glow: rgba(255, 105, 51, 0.17); }
[data-hue="purple"] { --card-glow: rgba(166, 77, 255, 0.19); }
[data-hue="teal"]   { --card-glow: rgba(0, 214, 193, 0.15); }
[data-hue="blue"]   { --card-glow: rgba(51, 129, 255, 0.17); }
[data-hue="green"]  { --card-glow: rgba(34, 197, 94, 0.15); }

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease-spring);
}
.bento-card:hover .bento-icon { transform: scale(1.08) rotate(-4deg); }
.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 105, 51, 0.5));
}
[data-hue="purple"] .bento-icon svg { stroke: var(--purple-2); filter: drop-shadow(0 0 8px rgba(166, 77, 255, 0.55)); }
[data-hue="teal"] .bento-icon svg { stroke: var(--teal); filter: drop-shadow(0 0 8px rgba(0, 214, 193, 0.5)); }
[data-hue="blue"] .bento-icon svg { stroke: var(--blue); filter: drop-shadow(0 0 8px rgba(51, 129, 255, 0.5)); }
[data-hue="green"] .bento-icon svg { stroke: var(--green); filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5)); }

.bento-card h3 { font-size: 1.08rem; font-weight: 800; }
.bento-card > p { font-size: 0.88rem; color: var(--text-2); }

/* نوارهای AI */
.ai-bars {
  margin-top: auto;
  display: grid;
  gap: 0.7rem;
  padding-top: 0.8rem;
}
.ai-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: var(--text-3);
}
.ai-row b { color: var(--text-2); font-size: 0.8rem; }
.ai-track {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.ai-track i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-2), var(--orange));
  animation: bar-fill 1.6s var(--ease-out) both;
  box-shadow: 0 0 12px rgba(166, 77, 255, 0.5);
}

/* نمودار کوچک */
.mini-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 74px;
  padding-top: 0.6rem;
}
.mini-chart i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--teal), rgba(0, 214, 193, 0.25));
  animation: chart-grow 1.2s var(--ease-out) both;
  transform-origin: bottom;
  box-shadow: 0 0 14px rgba(0, 214, 193, 0.25);
}
@keyframes chart-grow {
  from { transform: scaleY(0); }
}

/* چیپ‌های آماری */
.chip-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.7rem;
}
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.chip b { color: var(--text); }
.chip--hot {
  color: var(--orange);
  border-color: rgba(255, 105, 51, 0.4);
  background: rgba(255, 105, 51, 0.1);
}
.chip--hot b { color: var(--orange); }

/* لیست وظایف */
.todo { margin-top: auto; display: grid; gap: 0.55rem; padding-top: 0.7rem; }
.todo li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}
.todo b { margin-inline-start: auto; font-size: 0.75rem; color: var(--text-3); }
.todo-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.todo-dot--teal { background: var(--teal); }
.todo-dot--orange { background: var(--orange); }

/* ═══════════════ ماژول‌ها ═══════════════ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.module-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.5s ease;
}
.module-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 105, 51, 0.4);
  box-shadow: var(--shadow-card), 0 20px 60px -30px rgba(255, 105, 51, 0.35);
}

.module-shot {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #161522;
}
.module-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease-out), filter 0.5s ease;
  filter: saturate(0.92);
}
.module-card:hover .module-shot img {
  transform: scale(1.05) translateY(-4px);
  filter: saturate(1.05);
}
.module-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 13, 20, 0.88));
  pointer-events: none;
}

.module-body { padding: 1.3rem 1.5rem 1.5rem; display: grid; gap: 0.4rem; }
.module-tag {
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.35);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}
.module-body h3 { font-size: 1.05rem; font-weight: 800; }
.module-body p { font-size: 0.86rem; color: var(--text-2); }

/* کارت CTA آخر گرید ماژول‌ها */
.module-card--cta {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(255, 105, 51, 0.18), transparent 65%),
    var(--surface);
  border: 1px dashed var(--border-strong);
  padding: 2rem;
}
.module-card--cta:hover { border-style: solid; }
.module-card--cta h3 { font-size: 1.3rem; font-weight: 900; color: var(--orange); }
.module-card--cta p { color: var(--text-2); font-size: 0.9rem; margin-block: 0.5rem 1.2rem; }

/* ═══════════════ چرا الف CRM ═══════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.6rem;
  align-items: start;
}

.why-side {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(255, 105, 51, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}
.why-side h3 { font-size: 1.25rem; font-weight: 900; }
.why-side p { font-size: 0.92rem; color: var(--text-2); }
.why-side .btn { margin-top: 0.8rem; }

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}
.why-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.why-card:hover::before { opacity: 1; }

.why-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}
.why-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.55rem; }
.why-card p { font-size: 0.88rem; color: var(--text-2); }

/* نوار آمار */
.stats-band {
  margin-top: 4.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.stat {
  padding: 1.9rem 1rem;
  text-align: center;
  display: grid;
  gap: 0.15rem;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  inset-block: 22%;
  inset-inline-start: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.stat b {
  font-size: 2.2rem;
  font-weight: 900;
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat > span { font-size: 0.85rem; color: var(--text-3); }

/* ═══════════════ گردش کار ═══════════════ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 46px;
  inset-inline: 8% 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-2), var(--orange), var(--teal));
  opacity: 0.4;
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 0 0.6rem;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}
.flow-icon {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease-spring), border-color 0.3s ease;
}
.flow-step:hover .flow-icon {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(255, 105, 51, 0.55);
}
.flow-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 105, 51, 0.45));
}
.flow-step:nth-child(2) .flow-icon svg { stroke: var(--purple-2); }
.flow-step:nth-child(3) .flow-icon svg { stroke: var(--blue); }
.flow-step:nth-child(4) .flow-icon svg { stroke: var(--teal); }
.flow-step h3 { font-size: 1rem; font-weight: 800; margin-top: 0.4rem; }
.flow-step p { font-size: 0.85rem; color: var(--text-2); }

/* ═══════════════ داستان‌های موفقیت ═══════════════ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}

.story-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.45s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.story-card::before {
  content: "”";
  position: absolute;
  top: 0.6rem;
  inset-inline-end: 1.4rem;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 105, 51, 0.16);
  font-family: serif;
}

.story-stars {
  color: var(--orange);
  letter-spacing: 3px;
  font-size: 0.95rem;
  text-shadow: 0 0 14px rgba(255, 105, 51, 0.55);
}
.story-card blockquote {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 2;
  flex: 1;
}
.story-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.story-ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--blue));
  box-shadow: 0 6px 16px -6px rgba(166, 77, 255, 0.7);
  flex: none;
}
.story-card figcaption b { display: block; font-size: 0.95rem; }
.story-card figcaption span { font-size: 0.78rem; color: var(--text-3); }

.story-card--join {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(166, 77, 255, 0.16), transparent 60%),
    var(--surface);
}
.story-card--join h3 { font-size: 1.2rem; font-weight: 900; }
.story-card--join p { color: var(--text-2); font-size: 0.9rem; }

/* ═══════════════ تعرفه‌ها ═══════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.45s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.price-card h3 { font-size: 1.2rem; font-weight: 900; }
.price-sub { font-size: 0.84rem; color: var(--text-3); }

.price-amount {
  margin-block: 1.1rem 0.4rem;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.price-amount small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
}

.price-list {
  margin-block: 1rem 1.6rem;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-inline-start: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-2);
}
.price-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6933' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")
    center / 11px no-repeat,
    rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
}

.price-card--hot {
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255, 105, 51, 0.16), transparent 65%),
    linear-gradient(165deg, rgba(32, 28, 40, 0.9), rgba(20, 18, 28, 0.95));
  border-color: rgba(255, 105, 51, 0.5);
  box-shadow: 0 30px 80px -30px rgba(255, 105, 51, 0.35);
  z-index: 1;
}
.price-card--hot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 159, 26, 0.7), transparent 40%, rgba(255, 105, 51, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-card--hot:hover { box-shadow: 0 34px 90px -30px rgba(255, 105, 51, 0.5); }

.price-flag {
  position: absolute;
  top: -14px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--glow-orange);
  white-space: nowrap;
}

/* ═══════════════ سوالات متداول ═══════════════ */
.faq-wrap { max-width: 840px; }
.faq-list { display: grid; gap: 0.9rem; }

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  border-color: rgba(255, 105, 51, 0.4);
  background: var(--surface-2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.4s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: translate(-50%, -50%);
  transition: inherit;
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(255, 105, 51, 0.15);
  border-color: rgba(255, 105, 51, 0.4);
}
.faq-item[open] .faq-chevron::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item > p {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-2);
  font-size: 0.92rem;
  border-top: 1px dashed var(--border);
  padding-top: 1.1rem;
  margin-top: -0.2rem;
}

/* ═══════════════ CTA پایانی ═══════════════ */
.cta-panel {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: 4.2rem 2rem;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(30, 27, 42, 0.9), rgba(16, 15, 24, 0.95));
  border: 1px solid var(--border-strong);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 105, 51, 0.6), transparent 30%, transparent 70%, rgba(166, 77, 255, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(45% 55% at 30% 100%, rgba(255, 105, 51, 0.3), transparent 65%),
    radial-gradient(45% 55% at 75% 0%, rgba(166, 77, 255, 0.28), transparent 65%);
  filter: blur(40px);
  animation: glow-breathe 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
}
.cta-panel > p { color: var(--text-2); max-width: 36rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ═══════════════ فوتر ═══════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(124, 101, 161, 0.08));
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 20rem;
}
.footer-socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: transform 0.35s var(--ease-spring), color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.footer-socials a:hover {
  transform: translateY(-4px);
  color: var(--orange);
  border-color: rgba(255, 105, 51, 0.5);
  background: rgba(255, 105, 51, 0.1);
}
.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.footer-socials svg .fill { fill: currentColor; }
.footer-socials svg[fill="none"] { fill: none; }

.footer-socials a:first-child svg,
.footer-socials a:last-child svg {
  fill: currentColor;
}
.footer-socials a:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-col { display: grid; gap: 0.7rem; align-content: start; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-3);
  width: fit-content;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover { color: var(--orange); transform: translateX(-3px); }

.contact-line {
  font-weight: 800;
  font-size: 1.05rem !important;
  color: var(--text-2) !important;
}
.contact-note { font-size: 0.78rem; color: var(--text-3); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}
.heart { color: var(--orange); }

/* ═══════════════ داک ناوبری شیشه‌ای موبایل ═══════════════ */
.section[id],
main section[id] {
  scroll-margin-top: 84px; /* جایگاه درست لنگرها زیر نوار چسبان */
}

.dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  inset-inline: 1rem;
  z-index: 95;
  display: none;
  transition: transform 0.55s var(--ease-out), opacity 0.4s ease;
}

.dock-inner {
  display: flex;
  gap: 0.15rem;
  padding: 0.45rem;
  border-radius: 26px;
  background: rgba(19, 17, 27, 0.62);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.78),
    0 10px 34px -20px rgba(255, 105, 51, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.dock-item {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.52rem 0.15rem 0.42rem;
  border-radius: 18px;
  color: var(--text-3);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  position: relative;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}
.dock-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-spring), filter 0.3s ease;
}
.dock-item:active { transform: scale(0.9); }
.dock-item:hover { color: var(--text-2); }

.dock-item.is-active {
  color: var(--orange);
  background: linear-gradient(160deg, rgba(255, 105, 51, 0.2), rgba(255, 105, 51, 0.05));
  box-shadow: inset 0 0 0 1px rgba(255, 105, 51, 0.38), 0 8px 20px -10px rgba(255, 105, 51, 0.4);
}
.dock-item.is-active svg {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 9px rgba(255, 105, 51, 0.65));
}

body.menu-open .dock {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════ انیمیشن ظاهر شدن ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ═══════════════ ریسپانسیو ═══════════════ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3.4rem; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .fc-1 { inset-inline-start: -2%; }
  .fc-3 { inset-inline-start: 0; }

  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-side { position: static; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .story-card--join { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--hot { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); /* جا برای داک */
  }

  .nav-links {
    position: fixed;
    top: 74px;
    inset-inline: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 14, 22, 0.97);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 0.85rem 1.1rem; font-size: 1rem; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: rgba(255, 105, 51, 0.12); }
  .burger { display: inline-flex; }

  /* نمایش داک شیشه‌ای */
  .dock { display: block; }

  /* ماکاپ هیرو: نمای مستقیم بدون تیلت */
  .app-window { transform: none; }

  /* چیپ‌های شناور داخل کادر بمانند */
  .fc-1 { inset-inline-start: 1%; }
  .fc-2 { inset-inline-end: 1%; }
  .fc-3 { inset-inline-start: 2%; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--wide { grid-column: span 2; }
  .why-cards { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
  .flow-steps::before { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 480px) {
  .tb-url { display: none; }
  .app-topbar p { display: none; }
  .dock { inset-inline: 0.7rem; }
  .dock-item { font-size: 0.56rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-lg { padding: 0.95rem 1.4rem; }
}

@media (max-width: 520px) {
  /* فشرده‌سازی نوار بالا تا در عرض‌های کوچک اورفلو نسازد */
  .navbar-inner { gap: 0.7rem; }
  .brand { gap: 0.4rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-title { font-size: 0.98rem; }
  .brand-text small { display: none; }
  .navbar-actions { gap: 0.5rem; }
  .navbar-actions .btn-sm { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
}

@media (max-width: 620px) {
  .section { padding: 4rem 0; }
  .hero { padding-top: 2.6rem; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats b { font-size: 1.3rem; }
  .float-chip { display: none; }
  .app-body { min-height: 300px; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .kb-col:nth-child(3) { display: none; }

  .bento { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: auto; }
  .modules-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-card--join { grid-column: auto; }
  .flow-steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-panel { padding: 3rem 1.4rem; }
}

/* ═══════════════ کاهش حرکت ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════
   الف CRM — استایل صفحات داخلی، کروسل بلاگ و انیمیشن گردش کار
   (به همراه style.css لود می‌شود)
   ═══════════════════════════════════════════════════════════ */

/* ─── برند با لوگوی واقعی ─── */
.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(124, 101, 161, 0.5));
}
.footer .brand-mark { width: 42px; height: 42px; }

/* ═══════════════ هیرو صفحات داخلی ═══════════════ */
.page-hero {
  position: relative;
  padding: 4.6rem 0 2.4rem;
  text-align: center;
}
.page-hero-inner {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 46rem;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.55;
}
.page-hero > .container > p,
.page-hero-sub {
  color: var(--text-2);
  font-size: 1.02rem;
  max-width: 40rem;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.4rem;
}
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { opacity: 0.5; }
.crumbs [aria-current] { color: var(--orange); font-weight: 700; }

/* ═══════════════ گردش کار — انیمیشن مراحل ═══════════════ */
.flow-timeline { position: relative; }

.flow-track,
.flow-progress {
  position: absolute;
  top: 56px;
  inset-inline-start: 7%;
  width: 86%;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
}
.flow-track { background: rgba(255, 255, 255, 0.09); }
.flow-progress {
  background: linear-gradient(90deg, var(--teal), var(--orange) 55%, var(--purple-2));
  box-shadow: 0 0 14px rgba(255, 105, 51, 0.55);
  transform-origin: right center;
  transform: scaleX(var(--p, 0.25));
  transition: transform 1.1s var(--ease-out);
}

.flow-step {
  cursor: pointer;
  outline-offset: 6px;
}
.flow-step:focus-visible .flow-icon {
  border-color: var(--orange);
}

.flow-num {
  position: absolute;
  top: -4px;
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(-6px);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  background: rgba(255, 105, 51, 0.14);
  border: 1px solid rgba(255, 105, 51, 0.4);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s var(--ease-spring);
  z-index: 2;
}
.flow-step.is-lit .flow-num {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.flow-icon { position: relative; }
.flow-icon::after {
  /* حلقه پینگ مرحله فعال */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 1px solid rgba(255, 105, 51, 0.6);
  opacity: 0;
  pointer-events: none;
}
.flow-step.is-current .flow-icon::after { animation: flow-ping 1.9s ease-out infinite; }
@keyframes flow-ping {
  0% { transform: scale(0.92); opacity: 0.8; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}

.flow-step .flow-icon,
.flow-step h3,
.flow-step p {
  transition: transform 0.5s var(--ease-spring), color 0.4s ease, opacity 0.5s ease, border-color 0.4s ease, box-shadow 0.5s ease;
}
.flow-step:not(.is-current) p { opacity: 0.55; }
.flow-step.is-current .flow-icon {
  transform: translateY(-6px) scale(1.07);
  border-color: rgba(255, 105, 51, 0.65);
  box-shadow: 0 18px 40px -16px rgba(255, 105, 51, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.flow-step.is-current h3 { color: var(--orange); }

/* ═══════════════ کروسل بلاگ (صفحه اصلی) ═══════════════ */
.blog-carousel { position: relative; }

.blog-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.3rem 1.4rem;
  cursor: grab;
}
.blog-track::-webkit-scrollbar { display: none; }
.blog-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.blog-card {
  flex: 0 0 clamp(300px, 30vw, 370px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.5s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 105, 51, 0.4);
  box-shadow: var(--shadow-card);
}

.blog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  flex: 1;
}
.blog-cat {
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-2);
  background: rgba(166, 77, 255, 0.12);
  border: 1px solid rgba(166, 77, 255, 0.35);
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
}
.blog-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.8;
  color: var(--text);
}
.blog-meta {
  margin-top: auto;
  font-size: 0.76rem;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-meta .ico { width: 1em; height: 1em; }

.blog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 0.6rem;
}
.blog-btn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  transition: transform 0.3s var(--ease-spring), color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.blog-btn:hover {
  color: var(--orange);
  border-color: rgba(255, 105, 51, 0.5);
  background: rgba(255, 105, 51, 0.1);
  transform: translateY(-2px);
}
.blog-btn:active { transform: scale(0.92); }
.blog-btn .ico { width: 20px; height: 20px; }

.blog-dots { display: flex; gap: 0.45rem; }
.blog-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: width 0.35s var(--ease-out), background 0.3s ease;
}
.blog-dots i.is-on { width: 26px; background: var(--grad-brand); }

.blog-more { text-align: center; margin-top: 2.4rem; }

/* ═══════════════ صفحه تعرفه‌ها ═══════════════ */
.license-toggle {
  display: inline-flex;
  padding: 0.35rem;
  gap: 0.25rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  margin-top: 1.2rem;
}
.license-toggle button {
  padding: 0.6rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-3);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.license-toggle button.is-on {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--glow-orange);
}

.pricing-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 3rem;
}
.plan-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--orange);
}
.plan-audience { font-size: 0.86rem; color: var(--text-3); }
.plan-instead {
  font-size: 0.8rem;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 0.45rem 0.9rem;
  width: fit-content;
}
.plan-instead b { color: var(--text-2); }

/* جدول مقایسه */
.compare-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: auto;
  scrollbar-width: thin;
}
.compare {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.compare th, .compare td {
  padding: 0.85rem 1.15rem;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare td:first-child, .compare th:first-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-2);
  position: sticky;
  inset-inline-start: 0;
  min-width: 200px;
  z-index: 2;
  border-inline-end: 1px solid var(--border);
}
.compare th:first-child {
  background: #14131e;
}
.compare td:first-child {
  background: linear-gradient(90deg, #14131e 82%, rgba(20, 19, 30, 0));
}
.compare thead th {
  position: sticky;
  top: 0;
  background: #14131e;
  z-index: 3;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}
.compare thead th:first-child { z-index: 4; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(255, 105, 51, 0.05); }
.compare tbody tr:hover td:first-child { background: linear-gradient(90deg, #171624 82%, rgba(23, 22, 36, 0)); }
.compare-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 1rem;
}

/* سکشن تحول */
.evolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.evolution-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(166, 77, 255, 0.14), transparent 60%),
    var(--surface);
  padding: 2.4rem 2rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}
.evolution-card img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(166, 77, 255, 0.35));
  transition: transform 0.5s var(--ease-spring);
}
.evolution-card:hover img { transform: translateY(-8px) scale(1.04); }
.evolution-card h3 { font-size: 1.15rem; font-weight: 900; }
.evolution-card p { font-size: 0.9rem; color: var(--text-2); }

/* ═══════════════ صفحه چرا الف CRM ═══════════════ */
.story-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.why-narrative {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  gap: 1.2rem;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 2.1;
}
.why-narrative strong { color: var(--text); }

.quote-band {
  position: relative;
  max-width: 46rem;
  margin: 2.6rem auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 105, 51, 0.35);
  background:
    radial-gradient(85% 90% at 50% 0%, rgba(255, 105, 51, 0.14), transparent 65%),
    var(--surface);
  padding: 2.6rem 2.4rem;
  text-align: center;
}
.quote-band p {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 2;
  color: var(--text);
}
.quote-band .qmark {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 1.6rem;
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 105, 51, 0.2);
  font-family: serif;
}

.benefit-list {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
  margin: 2rem auto 0;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  font-size: 0.96rem;
  color: var(--text-2);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease;
}
.benefit-list li:hover { transform: translateX(-4px); border-color: rgba(255, 105, 51, 0.4); }
.benefit-list .has-ico { flex: none; }

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.why-feature {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.5s ease;
}
.why-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(166, 77, 255, 0.4);
  box-shadow: var(--shadow-card);
}
.why-feature-shot {
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.why-feature-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-out);
}
.why-feature:hover .why-feature-shot img { transform: scale(1.05); }
.why-feature-body { padding: 1.5rem 1.6rem 1.7rem; display: grid; gap: 0.5rem; align-content: start; }
.why-feature-body h3 { font-size: 1.08rem; font-weight: 800; }
.why-feature-body p { font-size: 0.9rem; color: var(--text-2); }

.insta-band {
  margin-top: 2.6rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(166, 77, 255, 0.5);
  background:
    radial-gradient(70% 100% at 20% 0%, rgba(166, 77, 255, 0.16), transparent 60%),
    var(--surface);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.insta-band p { flex: 1 1 320px; font-size: 0.9rem; color: var(--text-2); margin: 0; }
.insta-band .btn { flex: none; }

.why-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.why-testimonials .story-card { height: 100%; }

/* ═══════════════ صفحه مقالات ═══════════════ */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
}
.blog-filter button {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.blog-filter button:hover { color: var(--text); transform: translateY(-2px); }
.blog-filter button.is-on {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--glow-orange);
}

.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(200deg, rgba(166, 77, 255, 0.12), var(--surface) 55%);
  overflow: hidden;
  margin-top: 2.8rem;
  transition: border-color 0.3s ease, box-shadow 0.5s ease;
}
.featured-post:hover { border-color: rgba(255, 105, 51, 0.4); box-shadow: var(--shadow-card); }
.featured-post .featured-thumb { position: relative; min-height: 280px; }
.featured-post .featured-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.featured-post:hover .featured-thumb img { transform: scale(1.05); }
.featured-body {
  padding: 2.2rem 2.2rem;
  display: grid;
  gap: 0.9rem;
  align-content: center;
  justify-items: start;
}
.featured-body .flag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  border: 1px solid rgba(255, 105, 51, 0.4);
  background: rgba(255, 105, 51, 0.12);
  padding: 0.22rem 0.9rem;
  border-radius: 999px;
}
.featured-body h2 { font-size: 1.5rem; font-weight: 900; line-height: 1.8; }
.featured-body p { color: var(--text-2); font-size: 0.95rem; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.post-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.5s ease, opacity 0.4s ease;
}
.post-card.is-hidden { display: none; }
.post-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 105, 51, 0.4);
  box-shadow: var(--shadow-card);
}
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 1.25rem 1.4rem 1.4rem; display: grid; gap: 0.55rem; align-content: start; flex: 1; }
.post-body h3 { font-size: 1rem; font-weight: 800; line-height: 1.85; }
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
  font-size: 0.76rem;
  color: var(--text-3);
}
.post-foot .read {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--orange);
  font-weight: 700;
}

/* ═══════════════ صفحه درباره ما ═══════════════ */
.about-story { max-width: 52rem; margin-inline: auto; position: relative; }

.about-block {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  padding-block: 2.4rem;
}
.about-block + .about-block { border-top: 1px dashed var(--border); }

.about-marker {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(166, 77, 255, 0.25), rgba(255, 105, 51, 0.12));
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  flex: none;
}
.about-marker img { width: 40px; height: 40px; object-fit: contain; }
.about-marker span {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-block h2 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-block p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 2.15;
  margin-bottom: 0.9rem;
}
.about-block p:last-child { margin-bottom: 0; }
.about-block li {
  position: relative;
  padding-inline-start: 1.7rem;
  margin-bottom: 0.65rem;
  color: var(--text-2);
  font-size: 0.96rem;
}
.about-block li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6933' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")
    center / 10px no-repeat,
    rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
}

.about-quote {
  margin: 1.8rem 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 105, 51, 0.35);
  background: rgba(255, 105, 51, 0.07);
  padding: 1.6rem 1.8rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 2;
}

.about-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.about-media figure {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  min-height: 180px;
}
.about-media figure.tall { grid-row: span 2; }
.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-media figure:hover img { transform: scale(1.05); }

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-2);
  background: rgba(166, 77, 255, 0.12);
  border: 1px solid rgba(166, 77, 255, 0.35);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.about-final {
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 105, 51, 0.4);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(255, 105, 51, 0.16), transparent 65%),
    var(--surface);
  padding: 2.8rem 2.2rem;
  margin-top: 3rem;
}
.about-final p {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 2;
  color: var(--text);
}

/* ═══════════════ صفحه تماس با ما ═══════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-form-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(170deg, rgba(30, 27, 42, 0.85), rgba(17, 16, 24, 0.95));
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.contact-form-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 105, 51, 0.55), transparent 35%, transparent 70%, rgba(166, 77, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.contact-form-panel > * { position: relative; }
.contact-form-panel h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 0.4rem; }
.contact-form-panel > p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 1.6rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: grid; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
}
.form-field label b { color: var(--orange); }
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  padding: 0.8rem 1.05rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  resize: vertical;
  min-height: 46px;
}
.form-field textarea { min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255, 105, 51, 0.6);
  background: rgba(255, 105, 51, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 105, 51, 0.12);
}
.form-field input.is-error,
.form-field textarea.is-error {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form-note { font-size: 0.76rem; color: var(--text-3); }

.contact-aside { display: grid; gap: 1.1rem; }

.contact-illustration {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(85% 85% at 50% 0%, rgba(124, 101, 161, 0.3), transparent 70%),
    var(--surface);
  overflow: hidden;
  display: grid;
}
.contact-illustration img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  padding: 1.4rem;
}

.info-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.3rem 1.5rem;
  display: grid;
  gap: 0.55rem;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}
.info-card:hover { border-color: rgba(255, 105, 51, 0.4); transform: translateY(-3px); }
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 800;
}
.info-card h3 .ico { color: var(--orange); width: 20px; height: 20px; }
.info-card p, .info-card a {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.9;
}
.info-card a:hover { color: var(--orange); }
.info-card .ltr { direction: ltr; text-align: end; unicode-bidi: plaintext; }

.social-row { display: flex; gap: 0.7rem; }

/* ═══════════════ منوی کشویی قابلیت‌ها (دسکتاپ) ═══════════════ */
.nav-drop { position: relative; }

.nav-link--drop {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.nav-caret { width: 0.9em; height: 0.9em; transition: transform 0.35s var(--ease-out); }
.nav-drop.is-open .nav-caret { transform: rotate(180deg); }
.nav-drop.is-open .nav-link--drop { color: var(--text); background: var(--surface); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(-8px);
  width: 430px;
  padding: 0.6rem;
  border-radius: 22px;
  background: rgba(17, 16, 25, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: var(--shadow-card), 0 20px 60px -20px rgba(255, 105, 51, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.3s;
  z-index: 120;
}
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 15px;
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}
.drop-item:hover { background: rgba(255, 105, 51, 0.1); transform: translateX(-3px); }
.drop-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
  flex: none;
}
.drop-ico svg {
  width: 20px; height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drop-item b { display: block; font-size: 0.9rem; font-weight: 800; }
.drop-item small { display: block; font-size: 0.72rem; color: var(--text-3); }

/* ═══════════════ شیت قابلیت‌ها (موبایل) ═══════════════ */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(8, 7, 13, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.feature-sheet {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 110;
  border-radius: 28px 28px 0 0;
  background: rgba(19, 17, 27, 0.9);
  backdrop-filter: blur(26px) saturate(1.6);
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  box-shadow: 0 -30px 70px -20px rgba(0, 0, 0, 0.8), 0 -10px 40px -20px rgba(255, 105, 51, 0.25);
  padding: 0.7rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(112%);
  transition: transform 0.55s var(--ease-out);
  max-height: 82dvh;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-sheet.is-open { transform: translateY(0); }

.sheet-grabber {
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: var(--border-strong);
  margin: 0.2rem auto 0.3rem;
  flex: none;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.sheet-head h3 { font-size: 1.05rem; font-weight: 900; }
.sheet-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.sheet-close:hover { color: var(--orange); border-color: rgba(255, 105, 51, 0.5); }
.sheet-close:active { transform: scale(0.9); }
.sheet-close .ico { width: 16px; height: 16px; }

.sheet-list {
  display: grid;
  gap: 0.4rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.sheet-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.sheet-item:active { transform: scale(0.98); }
.sheet-item:hover { background: rgba(255, 105, 51, 0.08); border-color: rgba(255, 105, 51, 0.35); }
.sheet-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
  flex: none;
}
.sheet-ico svg {
  width: 20px; height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sheet-txt { flex: 1; min-width: 0; }
.sheet-txt b { display: block; font-size: 0.92rem; font-weight: 800; }
.sheet-txt small { display: block; font-size: 0.72rem; color: var(--text-3); }
.sheet-arrow { width: 16px; height: 16px; color: var(--text-3); flex: none; }

.sheet-all {
  flex: none;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  border: 1px dashed rgba(255, 105, 51, 0.45);
  border-radius: 14px;
  padding: 0.7rem;
  transition: background 0.3s ease;
}
.sheet-all:hover { background: rgba(255, 105, 51, 0.1); }

/* ═══════════════ صفحات ماژول — طراحی جدید ═══════════════ */
.module-hero {
  position: relative;
  padding: 3.4rem 0 2.6rem;
  overflow: clip;
}

.module-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.module-copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
}
.module-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 105, 51, 0.25), rgba(166, 77, 255, 0.15));
  border: 1px solid rgba(255, 105, 51, 0.45);
  box-shadow: 0 14px 40px -12px rgba(255, 105, 51, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: floaty 6s ease-in-out infinite;
  margin-bottom: 0.3rem;
}
.module-hero-icon svg {
  width: 32px; height: 32px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 105, 51, 0.55));
}
.module-copy h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.module-intro {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 2.1;
  max-width: 34rem;
}
.module-copy .hero-actions { margin-top: 0.6rem; }

/* قاب فشرده محصول */
.module-visual { position: relative; }
.module-visual-glow {
  position: absolute;
  inset: -12% -10%;
  background:
    radial-gradient(55% 55% at 75% 10%, rgba(255, 105, 51, 0.24), transparent 70%),
    radial-gradient(55% 60% at 15% 90%, rgba(166, 77, 255, 0.26), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.module-frame {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(30, 28, 42, 0.92), rgba(18, 17, 24, 0.95));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), 0 30px 80px -30px rgba(255, 105, 51, 0.3);
  overflow: hidden;
}
.module-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.module-frame-title {
  font-size: 0.72rem;
  color: var(--text-2);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  padding: 0.16rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-frame-body { margin: 0; }
.module-frame-body img {
  width: 100%;
  aspect-ratio: 16 / 9.6;
  object-fit: cover;
  object-position: top;
  display: block;
}

.fc-m1 { top: -14px; inset-inline-start: 4%; }
.fc-m2 { bottom: -16px; inset-inline-end: 3%; z-index: 2; }

/* سکشن‌های شماره‌دار */
.mod-sections {
  display: grid;
}
.mod-section {
  padding: 3.4rem 0;
}
.mod-sections > .mod-section + .mod-section,
.mod-sections + .mod-section {
  border-top: 1px dashed var(--border);
}
.mod-section > .container,
.mod-section .mod-sec-head,
.mod-section .mod-sec-body {
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
}

.mod-sec-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.sec-num {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(160deg, rgba(255, 105, 51, 0.2), rgba(166, 77, 255, 0.12));
  border: 1px solid rgba(255, 105, 51, 0.4);
  box-shadow: 0 10px 26px -10px rgba(255, 105, 51, 0.4);
  color: var(--orange);
}
.mod-sec-head h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 900;
  line-height: 1.6;
}

.mod-sec-body {
  display: grid;
  gap: 1.2rem;
}
.mod-prose {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 2.2;
  max-width: 52rem;
}
.mod-prose + .mod-prose { margin-top: -0.4rem; }

/* لیست چک */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 0.95rem 1.2rem;
  font-size: 0.94rem;
  color: var(--text-2);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease;
}
.check-item:hover { transform: translateX(-4px); border-color: rgba(255, 105, 51, 0.4); }
.check-item .has-ico { flex: none; }

/* کارت‌های جفت عنوان/توضیح */
.pair-grid,
.mod-section--pairs .mod-sec-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.mod-section--pairs .mod-sec-body > .mod-prose { grid-column: 1 / -1; }
.mod-section--pairs .mod-sec-body > .insta-band { grid-column: 1 / -1; }

.pair-card {
  position: relative;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}
.pair-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 3px;
  height: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s ease, height 0.4s var(--ease-out);
}
.pair-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 105, 51, 0.4);
  box-shadow: var(--shadow-card);
}
.pair-card:hover::before { opacity: 1; height: 70%; }
.pair-ico {
  width: 34px; height: 34px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}
.pair-card h3 { font-size: 0.98rem; font-weight: 800; }
.pair-card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.95; }

/* کارت‌های سناریو */
.scen-grid,
.mod-sec-body > .scen-card { }
.mod-sec-body > .scen-card,
.mod-sec-body > .scen-card + .scen-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 100% at 90% 0%, rgba(166, 77, 255, 0.13), transparent 60%),
    var(--surface);
  padding: 1.6rem 1.7rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}
.mod-sec-body > .scen-card:hover { transform: translateY(-4px); border-color: rgba(166, 77, 255, 0.4); }
.scen-tag {
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--purple-2);
  background: rgba(166, 77, 255, 0.12);
  border: 1px solid rgba(166, 77, 255, 0.35);
  padding: 0.28rem 1rem;
  border-radius: 999px;
}
.scen-card p { font-size: 0.94rem; color: var(--text-2); line-height: 2.05; }

/* ماژول‌های هم‌خانواده */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.related-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.9rem 1.1rem;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.related-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 105, 51, 0.45);
  background: rgba(255, 105, 51, 0.07);
}
.related-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
  flex: none;
}
.related-ico svg {
  width: 20px; height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.related-item b { display: block; font-size: 0.9rem; font-weight: 800; }
.related-item small { display: block; font-size: 0.72rem; color: var(--text-3); }
.related-item .ico { width: 16px; height: 16px; color: var(--text-3); margin-inline-start: auto; }

/* نقل قول‌ها */
.quote-grid,
.mod-sec-body > .story-card {
  display: grid;
}
.mod-sec-body > .story-card { max-width: none; }
.mod-sec-body > .story-card + .story-card { margin-top: 0; }

/* ریسپانسیو ماژول‌ها در بخش ریسپانسیو پایین تنظیم می‌شود */

/* ═══════════════ ریسپانسیو صفحات ═══════════════ */
@media (max-width: 1080px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 240px; position: relative; }

  /* هیرو ماژول: تک‌ستونه با قاب کوچک‌تر */
  .module-hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .module-copy { justify-items: center; text-align: center; }
  .module-intro { margin-inline: auto; }
  .module-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .check-grid { grid-template-columns: 1fr; }
  .pair-grid, .mod-section--pairs .mod-sec-body { grid-template-columns: 1fr; }
  .mod-sec-body > .story-card { margin-inline: auto; width: 100%; max-width: 640px; }
}

@media (max-width: 860px) {
  /* در منوی موبایل، پنل کشویی مخفی می‌شود (بجایش شیت پایین باز می‌شود) */
  .nav-drop-panel { display: none; }
  .nav-drop.is-open .nav-link--drop { background: rgba(255, 105, 51, 0.12); }

  /* فلو در موبایل: عمودی با خط کنار مراحل */
  .flow-track, .flow-progress {
    top: 0;
    bottom: 0;
    inset-inline-start: 31px;
    width: 2px;
    height: auto;
  }
  .flow-progress {
    transform: none;
    height: calc(var(--p, 0.25) * 100%);
    width: 2px;
    transform-origin: top center;
    transition: height 1.1s var(--ease-out);
  }
  .flow-steps { gap: 2.2rem; }
  .flow-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    text-align: right;
    justify-items: start;
    align-items: start;
    gap: 0.2rem 1.2rem;
    padding: 0;
  }
  .flow-step .flow-icon { width: 64px; height: 64px; border-radius: 20px; }
  .flow-step .flow-icon svg { width: 26px; height: 26px; }
  .flow-step h3, .flow-step p { text-align: right; }
  .flow-num { inset-inline-start: 0; transform: translateY(-14px); }
  .flow-step.is-lit .flow-num { transform: translateY(-14px); }

  .pricing-page-grid { grid-template-columns: 1fr; max-width: 470px; margin-inline: auto; }
  .why-features { grid-template-columns: 1fr; }
  .why-testimonials { grid-template-columns: 1fr; }
  .evolution-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  /* جدول مقایسه در موبایل: بدون ستون چسبان، نمایش روان */
  .compare th, .compare td {
    white-space: normal;
    font-size: 0.8rem;
    padding: 0.7rem 0.8rem;
  }
  .compare td:first-child, .compare th:first-child {
    position: static;
    min-width: 118px;
    font-size: 0.82rem;
  }
  .compare td:first-child,
  .compare tbody tr:hover td:first-child {
    background: rgba(255, 255, 255, 0.03);
  }
  .posts-grid { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; gap: 1rem; }
  .about-media { grid-template-columns: 1fr; }
  .about-media figure.tall { grid-row: auto; }
  .blog-card { flex-basis: 82vw; }
  .compare td:first-child, .compare th:first-child { min-width: 140px; }
  .related-grid { grid-template-columns: 1fr; }
  .module-hero { padding-top: 2.2rem; }
  .module-hero-icon { width: 56px; height: 56px; border-radius: 17px; }
  .module-hero-icon svg { width: 26px; height: 26px; }
  .mod-sec-head { gap: 0.9rem; }
  .sec-num { width: 46px; height: 46px; border-radius: 14px; font-size: 1.1rem; }
  .mod-section { padding: 2.6rem 0; }
}

@media (min-width: 861px) {
  /* شیت فقط برای موبایل است */
  .feature-sheet, .sheet-backdrop { display: none; }
}

/* گرید نقل قول‌ها */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.quote-grid .story-card { height: 100%; }
@media (max-width: 1080px) {
  .quote-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ صفحه تک‌مقاله (single.php) ═══════════════ */
.single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.8rem;
  align-items: start;
  padding: 2.6rem 0 4rem;
}

.single-article {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.4rem 2.3rem;
  overflow: hidden;
}
.single-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.single-crumbs a:hover { color: var(--orange); }
.single-crumbs .sep { opacity: 0.5; }

.single-article h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.8rem;
  color: var(--text-3);
  padding-bottom: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border);
}
.post-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.post-meta .ico { width: 15px; height: 15px; stroke: var(--orange); }

.post-thumb { margin: 0 0 1.8rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.post-thumb img { width: 100%; display: block; }

.post-content { font-size: 1rem; color: var(--text-2); }
.post-content > *:first-child { margin-top: 0; }
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.7;
  margin: 2.1rem 0 0.9rem;
}
.post-content h2 { font-size: 1.45rem; }
.post-content h2::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--grad-brand);
  margin-inline-end: 0.6rem;
  vertical-align: middle;
}
.post-content h3 { font-size: 1.2rem; }
.post-content h4 { font-size: 1.05rem; }
.post-content p { line-height: 2.15; margin-bottom: 1.15rem; }
.post-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--orange-2); }
.post-content ul, .post-content ol { margin: 0 0 1.3rem; padding-inline-start: 0; display: grid; gap: 0.6rem; }
.post-content ul li, .post-content ol li {
  position: relative;
  padding-inline-start: 1.9rem;
  line-height: 2;
}
.post-content ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6933' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")
    center / 10px no-repeat,
    rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
}
.post-content ol { counter-reset: oli; }
.post-content ol li { counter-increment: oli; }
.post-content ol li::before {
  content: counter(oli);
  inset-inline-start: 0;
  top: 0.35em;
  width: auto; height: auto;
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange);
  background: rgba(255, 105, 51, 0.12);
  border: 1px solid rgba(255, 105, 51, 0.3);
}
.post-content img { max-width: 100%; height: auto; border-radius: 14px; }
.post-content blockquote {
  margin: 1.6rem 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 105, 51, 0.35);
  background: rgba(255, 105, 51, 0.07);
  padding: 1.4rem 1.7rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  line-height: 2;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.post-content th, .post-content td {
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  text-align: right;
}
.post-content th { background: var(--surface-2); font-weight: 800; }

/* سایدبار تک‌مقاله */
.single-sidebar { display: grid; gap: 1.2rem; position: sticky; top: 96px; }

.side-cta {
  border-radius: 20px;
  border: 1px solid rgba(255, 105, 51, 0.45);
  background:
    radial-gradient(85% 90% at 50% 0%, rgba(255, 105, 51, 0.18), transparent 62%),
    var(--surface);
  padding: 1.8rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}
.side-cta .pill { font-size: 0.75rem; }
.side-cta h3 { font-size: 1.15rem; font-weight: 900; line-height: 1.7; }
.side-cta p { font-size: 0.84rem; color: var(--text-2); }
.side-cta .btn { margin-top: 0.5rem; width: 100%; }

.sidebar-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 1.4rem;
}
.sidebar-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.sidebar-card h4::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.side-posts { display: grid; gap: 0.85rem; }
.side-post {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border);
}
.side-post:last-child { border-bottom: 0; padding-bottom: 0; }
.side-post a { font-size: 0.88rem; font-weight: 700; line-height: 1.8; color: var(--text-2); transition: color 0.3s ease; }
.side-post a:hover { color: var(--orange); }
.side-post time { font-size: 0.72rem; color: var(--text-3); }

@media (max-width: 1080px) {
  .single-grid { grid-template-columns: 1fr; }
  .single-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .single-sidebar { grid-template-columns: 1fr; }
  .single-article { padding: 1.6rem 1.3rem; }
}
