/**
 * اتوماسیون کسب‌وکار — full-bleed، mobile-first، Premium B2B
 */

.sol-layout--automation-enterprise {
  --auto-teal: #0d9488;
  --auto-teal-soft: rgb(13 148 136 / 0.1);
  --auto-teal-strong: #0f766e;
  --auto-blue: #1e40af;
  --auto-blue-soft: rgb(30 64 175 / 0.07);
  --auto-ink: #0f172a;
  --auto-muted: #64748b;
  --auto-line: rgb(15 23 42 / 0.08);
  --auto-bg: #f8fafc;
  --auto-surface: #ffffff;
  --auto-inner: min(1240px, 100% - clamp(1.25rem, 5vw, 2.5rem));
  /* فاصله عمودی بین سکشن‌ها: ~۳۲–۴۸px در هر لبه (ریتم استاندارد لندینگ) */
  --auto-pad-y: clamp(1.5rem, 2.8vw, 2.25rem);
  --auto-pad-y-sm: clamp(1.35rem, 3.5vw, 1.75rem);
  --auto-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --auto-radius: 16px;
  --auto-radius-lg: 22px;
  --auto-success: #059669;
  --auto-warn: #ea580c;
  --auto-danger: #dc2626;
  --auto-indigo: #4f46e5;
  --sol-scroll-offset: calc(var(--header-clearance, 4.5rem) + 2.75rem);
  --crm-accent: var(--auto-teal);
  --crm-accent-soft: var(--auto-teal-soft);
  --sol-accent: var(--auto-teal);
}

[data-theme="dark"] .sol-layout--automation-enterprise {
  --auto-teal: #2dd4bf;
  --auto-teal-soft: rgb(45 212 191 / 0.12);
  --auto-ink: #f1f5f9;
  --auto-muted: #94a3b8;
  --auto-line: rgb(148 163 184 / 0.18);
  --auto-bg: rgb(15 23 42 / 0.55);
  --auto-surface: rgb(15 23 42 / 0.85);
}

/* پس‌زمینهٔ صفحه: BG.webp سراسری (body::before در base.css) — بدون لایهٔ مات روی body */
.sol-layout--automation-enterprise {
  background-color: transparent;
  background-image: none;
}

/* —— صفحه تمام‌عرض —— */

.sol-layout--automation-enterprise .site-main.container.auto-page-main {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  padding-top: 0;
}

.sol-layout--automation-enterprise .breadcrumb {
  width: var(--auto-inner);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.25rem);
  padding-top: calc(var(--header-clearance, 4.5rem) + 0.35rem);
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
}

.auto-page {
  width: 100%;
  color: var(--auto-ink);
  overflow-x: clip;
  background: transparent;
}

.auto-page [id^="sol-"] {
  scroll-margin-top: var(--sol-scroll-offset);
}

.auto-band {
  width: 100%;
  padding-block: var(--auto-pad-y-sm);
}

@media (min-width: 48rem) {
  .auto-band {
    padding-block: var(--auto-pad-y);
  }
}

/* جلوگیری از دوباره‌شدن فاصله بین سکشن‌های پشت‌سرهم */
.auto-band + .auto-band,
.auto-band--nav + .auto-band,
.auto-band + .auto-band--nav {
  padding-block-start: 0;
}

.auto-band__inner {
  width: var(--auto-inner);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.25rem);
}

.auto-band--hero {
  padding-block: clamp(0.75rem, 2vw, 1.25rem) var(--auto-pad-y-sm);
  background: transparent;
  border: none;
}

.auto-band--muted,
.auto-band--accent,
.auto-band--callout,
.auto-band--cta {
  background: transparent;
  border: none;
}

.auto-band--cta {
  padding-block: var(--auto-pad-y-sm);
}

@media (min-width: 48rem) {
  .auto-band--cta {
    padding-block: var(--auto-pad-y);
  }
}

.auto-band--nav {
  position: sticky;
  top: 0;
  z-index: 25;
  padding-block: 0;
  background: color-mix(in srgb, var(--page-bg, #f8fafc) 78%, transparent);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid transparent;
  transition:
    border-color 0.25s var(--auto-ease),
    box-shadow 0.25s var(--auto-ease);
}

.auto-band--nav.is-pinned {
  border-color: var(--auto-line);
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.06);
}

/* reading progress */
.sol-layout--automation-enterprise .sol-reading-progress {
  background: linear-gradient(90deg, var(--auto-teal), var(--auto-blue));
}

/* —— تایپو —— */

.auto-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--auto-teal-strong);
}

[data-theme="dark"] .auto-eyebrow {
  color: var(--auto-teal);
}

.auto-head {
  max-width: 40rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.auto-head--center {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.auto-head__title {
  margin: 0;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.auto-head__lead {
  margin: 0.65rem 0 0;
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  line-height: 1.75;
  color: var(--auto-muted);
}

.auto-lead-note {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--auto-muted);
}

.auto-lead-note--center {
  text-align: center;
  margin-inline: auto;
}

.auto-highlight {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--auto-radius);
  border-inline-start: 3px solid var(--auto-teal);
  background: var(--auto-teal-soft);
  font-weight: 600;
  line-height: 1.7;
}

/* —— Hero —— */

.auto-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 64rem) {
  .auto-hero {
    flex-direction: row;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    min-height: 0;
  }

  .auto-hero__content {
    flex: 1 1 55%;
    min-width: 0;
  }

  .auto-hero__visual {
    flex: 1 1 45%;
    min-width: 0;
  }
}

.auto-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.auto-hero__accent {
  display: block;
  color: var(--auto-teal);
}

.auto-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  line-height: 1.8;
  color: var(--auto-muted);
}

.auto-hero__flow {
  margin: 1rem 0 0;
  padding: 0.55rem 0.9rem;
  display: inline-block;
  max-width: 100%;
  font-size: clamp(0.8125rem, 2.2vw, 0.9rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--auto-ink);
  border: 1px solid var(--auto-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--auto-surface) 72%, transparent);
}

.auto-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.35rem;
  width: 100%;
}

@media (min-width: 30rem) {
  .auto-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

.auto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--auto-ease),
    background 0.2s var(--auto-ease),
    border-color 0.2s var(--auto-ease);
}

.auto-btn:focus-visible {
  outline: 2px solid var(--auto-teal);
  outline-offset: 3px;
}

.auto-btn--primary {
  background: var(--auto-teal);
  color: #fff;
  border-color: var(--auto-teal);
}

.auto-btn--primary:hover {
  transform: translateY(-1px);
  background: var(--auto-teal-strong);
}

.auto-btn--ghost {
  background: transparent;
  color: var(--auto-ink);
  border-color: var(--auto-line);
}

.auto-btn--ghost:hover {
  border-color: rgb(13 148 136 / 0.35);
  background: var(--auto-teal-soft);
}

.auto-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.auto-hero__chips li {
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--auto-line);
  color: var(--auto-muted);
  background: color-mix(in srgb, var(--auto-surface) 75%, transparent);
}

/* —— Hero illustration —— */

.auto-hero__visual {
  width: 100%;
  perspective: 900px;
}

.auto-hero__media {
  position: relative;
  width: 100%;
  max-width: min(100%, 520px);
  margin-inline: auto;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--auto-ease);
}

@media (min-width: 64rem) {
  .auto-hero__media {
    max-width: none;
    margin-inline: 0;
  }
}

.auto-hero__media::after {
  content: "";
  position: absolute;
  inset: 12% 8% -4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(13 148 136 / 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.auto-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 380px);
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  background: transparent;
  transform: translate3d(0, 0, 0);
  animation: auto-hero-float 5.5s var(--auto-ease) infinite;
  transition:
    transform 0.5s var(--auto-ease),
    filter 0.5s var(--auto-ease);
  will-change: transform;
}

@media (min-width: 48rem) {
  .auto-hero__img {
    max-height: min(56vh, 440px);
  }
}

@media (min-width: 64rem) {
  .auto-hero__img {
    max-height: min(58vh, 480px);
  }
}

.auto-hero__visual.is-hover .auto-hero__img,
.auto-hero__visual:hover .auto-hero__img,
.auto-hero__visual:focus-within .auto-hero__img {
  animation-play-state: paused;
  filter: drop-shadow(0 24px 40px rgb(15 23 42 / 0.14));
}

@keyframes auto-hero-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -14px, 0) scale(1.02);
  }
}

.auto-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--auto-line);
}

.auto-pill--run {
  color: var(--auto-indigo);
  border-color: rgb(79 70 229 / 0.22);
  background: rgb(79 70 229 / 0.06);
}

.auto-pill--ok,
.auto-pill--success {
  color: var(--auto-success);
  border-color: rgb(5 150 105 / 0.22);
  background: rgb(5 150 105 / 0.08);
}

.auto-pill--wait,
.auto-pill--waiting {
  color: var(--auto-muted);
}

.auto-pill--review {
  color: var(--auto-warn);
  border-color: rgb(234 88 12 / 0.22);
  background: rgb(234 88 12 / 0.06);
}

.auto-pill--retry {
  color: var(--auto-indigo);
}

.auto-pill--alert {
  color: var(--auto-danger);
  border-color: rgb(220 38 38 / 0.2);
  background: rgb(220 38 38 / 0.06);
}

/* —— Nav —— */

.auto-nav__scroll {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-block: 0.7rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.auto-nav__link {
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--auto-muted);
  border: 1px solid transparent;
  transition:
    color 0.2s var(--auto-ease),
    background 0.2s var(--auto-ease),
    border-color 0.2s var(--auto-ease);
}

.auto-nav__link:hover,
.auto-nav__link.is-active {
  color: var(--auto-teal-strong);
  background: var(--auto-teal-soft);
  border-color: rgb(13 148 136 / 0.2);
}

/* —— Grids —— */

.auto-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auto-grid--problems {
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .auto-grid--problems {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .auto-grid--problems {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.auto-grid--cases {
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .auto-grid--cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75rem) {
  .auto-grid--cases {
    grid-template-columns: repeat(3, 1fr);
  }
}

.auto-grid--cats,
.auto-grid--build {
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .auto-grid--cats,
  .auto-grid--build {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .auto-grid--cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .auto-grid--build {
    grid-template-columns: repeat(3, 1fr);
  }
}

.auto-grid--status {
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .auto-grid--status {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .auto-grid--status {
    grid-template-columns: repeat(4, 1fr);
  }
}

.auto-grid--outcomes {
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .auto-grid--outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .auto-grid--outcomes {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* —— Cards —— */

.auto-card,
.auto-case,
.auto-status-card,
.auto-split__pane,
.auto-ba__pane,
.auto-steps-rail__item,
.auto-process li,
.auto-hub__grid li,
.auto-fit__col,
.auto-human-panel,
.auto-callout-box,
.auto-cta {
  --auto-card-bg: color-mix(in srgb, var(--glass-l2-bg, var(--auto-surface)) 82%, transparent);
  --auto-card-border: color-mix(in srgb, var(--auto-line) 90%, rgb(13 148 136 / 0.12));
}

.auto-card {
  position: relative;
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius-lg);
  border: 1px solid var(--auto-card-border);
  background: var(--auto-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.55) inset,
    0 12px 32px rgb(15 23 42 / 0.04);
  transition:
    border-color 0.35s var(--auto-ease),
    transform 0.4s var(--auto-ease),
    box-shadow 0.4s var(--auto-ease);
}

.auto-card--shine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    125deg,
    transparent 38%,
    rgb(255 255 255 / 0.22) 48%,
    transparent 58%
  );
  transition: opacity 0.45s var(--auto-ease);
}

.auto-card--shine:hover::before,
.auto-card--shine:focus-within::before {
  opacity: 1;
}

[data-auto-card] {
  transform: perspective(900px) rotateX(var(--auto-tilt-x, 0deg)) rotateY(var(--auto-tilt-y, 0deg));
  transform-style: preserve-3d;
}

.auto-card:hover,
[data-auto-card]:hover {
  border-color: rgb(13 148 136 / 0.32);
  transform: perspective(900px) rotateX(var(--auto-tilt-x, 0deg)) rotateY(var(--auto-tilt-y, 0deg))
    translateY(-4px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.65) inset,
    0 20px 44px rgb(13 148 136 / 0.1);
}


@media (min-width: 64rem) {
  .auto-grid--bento .auto-card--feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    align-items: start;
  }

  .auto-grid--bento .auto-card--feature .auto-ico {
    grid-row: span 2;
  }
}

.auto-card h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.35;
}

.auto-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--auto-muted);
}

/* —— آیکن‌های Lucide —— */

.auto-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--auto-teal-strong);
}

/* بدون کادر/پس‌زمینه — فقط stroke آیکن */
.auto-ico__ring {
  display: none;
}

.auto-ico__svg {
  transition: transform 0.45s var(--auto-ease);
}

.auto-ico--card,
.auto-ico--case,
.auto-ico--split,
.auto-ico--process,
.auto-ico--hub,
.auto-ico--status,
.auto-ico--hero-inline,
.auto-ico--cta {
  margin-bottom: 0.5rem;
}

.auto-ico--step {
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.auto-ico--inline {
  margin-inline-end: 0.35rem;
  vertical-align: middle;
}

.auto-ico--muted {
  color: var(--auto-muted);
}

[data-auto-ico]:hover .auto-ico__svg,
[data-auto-card]:hover [data-auto-ico] .auto-ico__svg {
  transform: translateY(-2px) scale(1.06);
}

.auto-ico--retry:hover .auto-ico__svg {
  animation: auto-icon-spin 2.2s linear infinite;
}

@keyframes auto-icon-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes auto-ico-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.06);
  }
}

[data-auto-ico-pulse] .auto-ico__svg {
  animation: auto-ico-pulse 3.2s var(--auto-ease) infinite;
}

/* —— Before / after —— */

.auto-ba {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .auto-ba {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
  }

  .auto-ba__mid {
    display: flex;
    align-items: center;
  }

  .auto-ba__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: none;
    background: none;
    box-shadow: none;
    animation: auto-ba-arrow 2.8s var(--auto-ease) infinite;
  }
}

@keyframes auto-ba-arrow {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-4px);
  }
}

@media (max-width: 47.99rem) {
  .auto-ba__mid {
    display: flex;
    justify-content: center;
  }

  .auto-ba__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: none;
    background: none;
    transform: rotate(90deg);
  }
}

.auto-ba__pane {
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius);
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--auto-surface) 85%, transparent);
}

.auto-ba__pane--before {
  background: color-mix(in srgb, var(--auto-surface) 70%, transparent);
}

.auto-ba__pane--after {
  border-color: rgb(13 148 136 / 0.22);
  background: color-mix(in srgb, var(--auto-teal-soft) 55%, transparent);
}

.auto-ba__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--auto-muted);
}

.auto-ba__tag--accent {
  color: var(--auto-teal-strong);
}

.auto-ba__pane ol {
  margin: 0;
  padding: 0 1.15rem 0 0;
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* —— Steps rail —— */

.auto-steps-rail {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 64rem) {
  .auto-steps-rail {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
}

.auto-steps-rail__item {
  display: flex;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--auto-radius);
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--auto-surface) 88%, transparent);
}

.auto-steps-rail__num {
  order: -1;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--auto-muted);
  background: none;
  border: none;
  box-shadow: none;
  line-height: 1;
}

.auto-steps-rail__item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.auto-steps-rail__item p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--auto-muted);
}

/* —— Cases —— */

.auto-case {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius-lg);
  border: 1px solid var(--auto-card-border, var(--auto-line));
  background: var(--auto-card-bg, color-mix(in srgb, var(--auto-surface) 88%, transparent));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auto-case__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

.auto-case__head .auto-ico--case {
  margin-bottom: 0;
}

.auto-case__tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--auto-teal);
}

.auto-case h3 {
  margin: 0;
  font-size: 1.05rem;
}

.auto-case__before {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--auto-muted);
}

.auto-case__before span {
  font-weight: 700;
  color: var(--auto-ink);
}

.auto-case__flow {
  margin: 0.25rem 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 10px;
  background: color-mix(in srgb, var(--page-bg, #f8fafc) 65%, transparent);
  border: 1px solid var(--auto-line);
  word-break: break-word;
}

.auto-case__out {
  margin: 0.35rem 0 0;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.55;
}

/* —— Human panel —— */

.auto-human-panel__flow {
  margin: 1rem 0 0.35rem;
  font-weight: 700;
  font-size: 1rem;
}

.auto-human-panel__ex {
  margin: 0;
  color: var(--auto-muted);
  font-size: 0.9375rem;
}

/* —— Status cards —— */

.auto-status-card {
  padding: 1rem;
  border-radius: var(--auto-radius-lg);
  border: 1px solid var(--auto-card-border, var(--auto-line));
  background: var(--auto-card-bg, color-mix(in srgb, var(--auto-surface) 88%, transparent));
  backdrop-filter: blur(10px);
}

.auto-status-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.auto-status-card__head .auto-ico--status {
  margin-bottom: 0;
}

.auto-status-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--auto-muted);
}

/* —— Callout road —— */

.auto-callout-box {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.auto-road {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .auto-road {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.auto-road__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--glass-l2-bg, var(--auto-surface)) 86%, transparent);
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    border-color 0.3s var(--auto-ease),
    transform 0.3s var(--auto-ease);
}

.auto-road li:hover .auto-road__pill {
  border-color: rgb(13 148 136 / 0.28);
  transform: translateY(-2px);
}

/* —— Split —— */

.auto-split {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .auto-split {
    grid-template-columns: 1fr 1fr;
  }
}

.auto-split__pane {
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius);
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--auto-surface) 88%, transparent);
}

.auto-split__pane--alt {
  border-color: rgb(79 70 229 / 0.18);
  background: color-mix(in srgb, var(--auto-surface) 82%, rgb(79 70 229 / 0.04));
}

.auto-split__pane h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.auto-split__tag {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--auto-teal-strong);
}

.auto-split__pane--alt .auto-split__tag {
  color: var(--auto-indigo);
}

.auto-split__pane p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--auto-muted);
}

/* —— Process timeline —— */

.auto-process {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  position: relative;
}

@media (min-width: 48rem) {
  .auto-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.auto-process li {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--auto-radius);
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--auto-surface) 88%, transparent);
}

.auto-ico--process {
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.auto-process__idx {
  order: -1;
  font-weight: 700;
  font-size: 0.6875rem;
  color: var(--auto-muted);
  background: none;
  border: none;
}

.auto-process strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.auto-process p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--auto-muted);
}

/* —— Hub integrations —— */

.auto-hub {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.auto-hub__core {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgb(13 148 136 / 0.35);
  font-weight: 800;
  background: color-mix(in srgb, var(--auto-teal-soft) 70%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgb(13 148 136 / 0.12);
}

.auto-hub__grid {
  width: 100%;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

@media (min-width: 30rem) {
  .auto-hub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .auto-hub__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.auto-hub__grid li {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--auto-card-border, var(--auto-line));
  background: var(--auto-card-bg, color-mix(in srgb, var(--auto-surface) 88%, transparent));
}

.auto-hub__grid .auto-ico--hub {
  margin-bottom: 0.45rem;
}

.auto-hub__grid strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.auto-hub__grid span {
  font-size: 0.8125rem;
  color: var(--auto-muted);
  line-height: 1.5;
}

/* —— Fit —— */

.auto-fit {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .auto-fit {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.auto-fit__col {
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius);
  border: 1px solid var(--auto-line);
  background: color-mix(in srgb, var(--auto-surface) 88%, transparent);
}

.auto-fit__col--soft {
  background: color-mix(in srgb, var(--auto-surface) 72%, transparent);
}

.auto-fit__col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.auto-fit__col h3 {
  display: flex;
  align-items: center;
}

.auto-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.75;
  font-size: 0.9rem;
  color: var(--auto-muted);
}

.auto-checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
}

.auto-checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--auto-teal);
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.15);
}

.auto-checklist--soft li::before {
  background: var(--auto-muted);
  box-shadow: none;
}

/* —— FAQ —— */

.auto-band--faq {
  padding-block-end: var(--auto-pad-y-sm);
}

.auto-faq-shell {
  max-width: min(1080px, 100%);
}

.auto-faq__head {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.auto-faq {
  display: grid;
  gap: 0;
  border-radius: var(--auto-radius-lg);
  border: 1px solid color-mix(in srgb, var(--auto-line) 85%, rgb(13 148 136 / 0.12));
  background: color-mix(in srgb, var(--glass-l2-bg, var(--auto-surface)) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset;
}

@media (min-width: 56rem) {
  .auto-faq--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auto-faq--grid .auto-faq__item:nth-child(odd) {
    border-inline-end: 1px solid var(--auto-line);
  }
}

.auto-faq__item {
  border-block-end: 1px solid var(--auto-line);
  transition:
    background 0.3s var(--auto-ease),
    border-color 0.3s var(--auto-ease);
}

@media (min-width: 56rem) {
  .auto-faq--grid .auto-faq__item:nth-last-child(-n + 2) {
    border-block-end: none;
  }
}

@media (max-width: 55.99rem) {
  .auto-faq__item:last-child {
    border-block-end: none;
  }
}

.auto-faq__item.is-open {
  background: color-mix(in srgb, var(--auto-teal-soft) 35%, transparent);
  box-shadow: inset 3px 0 0 var(--auto-teal);
}

.auto-faq__q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.auto-faq__btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: right;
  color: var(--auto-ink);
  cursor: pointer;
  transition: color 0.2s var(--auto-ease);
}

.auto-faq__btn:hover {
  color: var(--auto-teal-strong);
}

.auto-faq__btn:focus-visible {
  outline: 2px solid var(--auto-teal);
  outline-offset: -2px;
  border-radius: 4px;
}

.auto-faq__q-text {
  flex: 1;
  text-wrap: pretty;
}

.auto-faq__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  color: var(--auto-muted);
}

.auto-faq__icon-svg {
  transition: transform 0.3s var(--auto-ease), color 0.2s var(--auto-ease);
}

.auto-faq__item.is-open .auto-faq__icon-svg {
  transform: rotate(180deg);
  color: var(--auto-teal-strong);
}

.auto-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.35s var(--auto-ease),
    opacity 0.28s var(--auto-ease);
}

.auto-faq__item.is-open .auto-faq__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.auto-faq__panel-inner {
  overflow: hidden;
}

.auto-faq__panel-inner p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--auto-muted);
}

/* —— پایین صفحه: مرتبط + CTA —— */

.auto-finale {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.auto-band--related {
  padding-block: var(--auto-pad-y-sm);
}

.auto-related-grid {
  display: grid;
  gap: 0.85rem;
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 40rem) {
  .auto-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.auto-related-card {
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--auto-radius-lg);
  border: 1px solid var(--auto-card-border, var(--auto-line));
  background: var(--auto-card-bg, color-mix(in srgb, var(--auto-surface) 88%, transparent));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.45) inset;
}

.auto-related-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--auto-ink);
}

.auto-related-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auto-related__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-block-end: 1px solid color-mix(in srgb, var(--auto-line) 70%, transparent);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--auto-ink);
  text-decoration: none;
  transition:
    color 0.2s var(--auto-ease),
    padding-inline-start 0.25s var(--auto-ease);
}

.auto-related-card__list li:last-child .auto-related__link {
  border-block-end: none;
  padding-bottom: 0;
}

.auto-related__link:hover {
  color: var(--auto-teal-strong);
  padding-inline-start: 0.25rem;
}

.auto-related__arrow {
  flex-shrink: 0;
  color: var(--auto-muted);
  transition:
    transform 0.25s var(--auto-ease),
    color 0.2s var(--auto-ease);
}

.auto-related__link:hover .auto-related__arrow {
  color: var(--auto-teal-strong);
  transform: translate(-2px, -2px);
}

.auto-cta-spotlight {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgb(13 148 136 / 0.22);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgb(13 148 136 / 0.12), transparent 58%),
    color-mix(in srgb, var(--glass-l2-bg, var(--auto-surface)) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.55) inset,
    0 24px 56px rgb(13 148 136 / 0.08);
  overflow: hidden;
}

.auto-cta-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), transparent 42%);
}

.auto-cta-spotlight > * {
  position: relative;
  z-index: 1;
}

.auto-cta-spotlight .auto-ico--cta {
  margin-inline: auto;
  margin-bottom: 0.35rem;
}

.auto-cta__title {
  margin: 0.35rem auto 0.55rem;
  max-width: 26ch;
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.28;
  text-wrap: balance;
}

.auto-cta__lead {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  font-size: clamp(0.9375rem, 2.4vw, 1.02rem);
  line-height: 1.8;
  color: var(--auto-muted);
  text-wrap: pretty;
}

.auto-cta__actions {
  justify-content: center;
}

.auto-cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--auto-muted);
}

.auto-cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— ورود سکشن و استagger —— */

[data-auto-landing] [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

[data-auto-landing] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s var(--auto-ease),
    transform 0.65s var(--auto-ease);
}

@keyframes auto-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.auto-hero-band.is-visible .auto-eyebrow {
  animation: auto-fade-up 0.65s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__title {
  animation: auto-fade-up 0.7s 0.06s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__lead {
  animation: auto-fade-up 0.7s 0.12s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__flow {
  animation: auto-fade-up 0.65s 0.18s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__cta {
  animation: auto-fade-up 0.7s 0.22s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__chips {
  animation: auto-fade-up 0.7s 0.28s var(--auto-ease) both;
}

.auto-hero-band.is-visible .auto-hero__visual {
  animation: auto-fade-up 0.85s 0.1s var(--auto-ease) both;
}

[data-auto-landing] [data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
}

[data-auto-landing] [data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s var(--auto-ease),
    transform 0.55s var(--auto-ease);
  transition-delay: calc(var(--stagger-index, 0) * 60ms);
}

.auto-human-panel {
  padding: clamp(1.15rem, 3.5vw, 1.5rem);
  border-radius: var(--auto-radius-lg);
  border: 1px solid rgb(13 148 136 / 0.18);
}

.auto-callout-box {
  padding: clamp(1.15rem, 3.5vw, 1.5rem);
  border-radius: var(--auto-radius-lg);
  border: 1px dashed rgb(13 148 136 / 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .auto-card:hover,
  [data-auto-card]:hover {
    transform: none;
  }

  .auto-hero__img {
    animation: none;
  }

  .auto-hero__visual:hover .auto-hero__img,
  .auto-hero__visual:focus-within .auto-hero__img {
    filter: none;
  }

  .auto-faq__panel {
    transition: none;
  }

  [data-auto-landing] [data-reveal],
  [data-auto-landing] [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .auto-ba__arrow,
  [data-auto-ico-pulse] .auto-ico__svg,
  .auto-ico--retry:hover .auto-ico__svg {
    animation: none !important;
  }
}
