/* ═══════════════════════════════════════════════════════════════
   صادق سامانی — معمار هوش مصنوعی
   صفحهٔ اصلی · دوحالته (Light + Dark) · RTL-first
   DNA: split_asymmetric_editorial · radius 28px · maxw 1160 · gap 104
   ═══════════════════════════════════════════════════════════════ */

/* ── ۱ · توکن‌های دوحالته ───────────────────────────────────── */
#ss {
  --ss-bg: #FBFAF7;
  --ss-bg-alt: #F3F1EC;
  --ss-surface: #FFFFFF;
  --ss-surface-2: #F1F7F8;
  --ss-ink: #17140f;
  --ss-ink-2: #3D3933;
  --ss-muted: #6E6A63;
  --ss-line: rgba(23, 20, 15, .10);
  --ss-line-2: rgba(23, 20, 15, .18);
  --ss-primary: #00899e;
  --ss-primary-deep: #006372;
  --ss-primary-soft: #E3F3F5;
  --ss-on-primary: #FFFFFF;
  --ss-accent: #17140f;
  --ss-glow: rgba(0, 137, 158, .16);
  --ss-shadow: 0 20px 50px -28px rgba(23, 20, 15, .30);
  --ss-shadow-lg: 0 34px 80px -40px rgba(23, 20, 15, .38);
  --ss-r: 28px;
  --ss-r-sm: 18px;
  --ss-maxw: 1160px;
  --ss-gap: 104px;
  --ss-ease: cubic-bezier(.22, .61, .36, 1);
  --ss-term-bg: #0E1116;
  --ss-term-ink: #CFE9EC;
  --ss-term-muted: #7E9199;

  position: relative;
  background: var(--ss-bg);
  color: var(--ss-ink);
  font-family: VazirMatn, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: clip;
  isolation: isolate;
}

html[data-theme="dark"] #ss {
  --ss-bg: #0A0A0F;
  --ss-bg-alt: #0F1017;
  --ss-surface: #12131B;
  --ss-surface-2: #181A24;
  --ss-ink: #F2F1EC;
  --ss-ink-2: #D2D5DC;
  --ss-muted: #A4AAB4;
  --ss-line: rgba(255, 255, 255, .10);
  --ss-line-2: rgba(255, 255, 255, .18);
  --ss-primary: #22C3DA;
  --ss-primary-deep: #5FD9EA;
  --ss-primary-soft: rgba(34, 195, 218, .12);
  --ss-on-primary: #062B31;
  --ss-accent: #F2F1EC;
  --ss-glow: rgba(34, 195, 218, .20);
  --ss-shadow: 0 22px 55px -30px rgba(0, 0, 0, .85);
  --ss-shadow-lg: 0 36px 90px -40px rgba(0, 0, 0, .95);
  --ss-term-bg: #0B0F14;
  --ss-term-ink: #D9F3F6;
  --ss-term-muted: #8AA0A8;
}

/* ── ۲ · پایه ───────────────────────────────────────────────── */
#ss *,
#ss *::before,
#ss *::after { box-sizing: border-box; }

#ss img { display: block; max-width: 100%; }
#ss figure { margin: 0; }
#ss ul { list-style: none; margin: 0; padding: 0; }

#ss h1, #ss h2, #ss h3, #ss h4 {
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif);
  color: var(--ss-ink);
  margin: 0;
  font-weight: 800;
  letter-spacing: 0;
}

#ss p { margin: 0; }
#ss a { color: inherit; }

#ss .ss-wrap {
  width: 100%;
  max-width: var(--ss-maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

#ss section[id] { scroll-margin-top: 96px; }

/* ── ۳ · تیتر و متن ─────────────────────────────────────────── */
#ss .ss-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ss-primary-deep);
}
#ss .ss-eyebrow .ss-dot,
#ss .ss-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ss-primary);
  box-shadow: 0 0 0 4px var(--ss-primary-soft);
  flex: 0 0 auto;
}
#ss .ss-eyebrow .ss-dot { display: inline-block; }

#ss .ss-h1 {
  font-size: clamp(2.05rem, 4.5vw, 3.45rem);
  line-height: 1.33;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ss-ink);
}
#ss .ss-h1 br { line-height: 0; }

#ss .ss-h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 14px;
}

#ss .ss-lead {
  max-width: 48ch;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 2.1;
  color: var(--ss-ink-2);
}
#ss .ss-lead strong { color: var(--ss-ink); font-weight: 800; }

#ss .ss-head {
  max-width: 700px;
  margin: 0 auto clamp(36px, 4.5vw, 52px);
  text-align: center;
}
#ss .ss-head--start { margin-inline: 0; text-align: start; }
#ss .ss-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: start;
  flex-wrap: wrap;
}
#ss .ss-head--row > div { max-width: 640px; }
#ss .ss-head__sub {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ss-muted);
}

#ss .ss-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ss-primary-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color .25s, color .25s;
  white-space: nowrap;
}
#ss .ss-link:hover { border-color: var(--ss-primary-deep); }
#ss .ss-link i { width: 16px; height: 16px; }

/* ── ۴ · دکمه‌ها (تک‌خطی، استاندارد V14) ─────────────────────── */
#ss .ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: clamp(12px, .88vw, 13.5px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ss-ease), box-shadow .3s var(--ss-ease),
              background-color .3s, color .3s, border-color .3s;
}
#ss .ss-btn i { width: 16px; height: 16px; flex: 0 0 auto; }
#ss .ss-btn:hover { transform: translateY(-2px); }
#ss .ss-btn--primary {
  background: var(--ss-primary);
  color: var(--ss-on-primary);
  box-shadow: 0 14px 30px -16px var(--ss-glow);
}
#ss .ss-btn--primary:hover { box-shadow: 0 20px 40px -18px var(--ss-glow); }
#ss .ss-btn--ghost {
  background: var(--ss-surface);
  color: var(--ss-ink);
  border-color: var(--ss-line-2);
}
#ss .ss-btn--ghost:hover { border-color: var(--ss-primary); color: var(--ss-primary-deep); }
#ss .ss-btn--block { width: 100%; }

/* ── ۵ · هیرو ───────────────────────────────────────────────── */
#ss .ss-hero {
  position: relative;
  background: var(--ss-bg);
  padding: clamp(44px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
}
#ss .ss-hero .rb-aurora__layer { opacity: .55; }
html[data-theme="dark"] #ss .ss-hero .rb-aurora__layer { opacity: .85; }

#ss .ss-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  position: relative;
  z-index: 1;
}
#ss .ss-hero__copy { position: relative; z-index: 1; min-width: 0; }

#ss .ss-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
}
#ss .ss-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ss-muted);
}
#ss .ss-hero__trust i { width: 15px; height: 15px; color: var(--ss-primary); }

#ss .ss-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#ss .ss-hero__visual {
  position: relative;
  min-height: 460px;
}
#ss .ss-hero__frame {
  position: relative;
  height: 100%;
  max-height: 570px;
  aspect-ratio: 4 / 5;
  border-radius: 140px var(--ss-r) var(--ss-r) var(--ss-r);
  overflow: hidden;
  border: 1px solid var(--ss-line);
  box-shadow: var(--ss-shadow-lg);
  background: var(--ss-surface-2);
}
#ss .ss-hero__frame img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
#ss .ss-hero__tag {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 17, 22, .72);
  color: #E9FBFD;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  direction: ltr;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
}
#ss .ss-hero__tag i { width: 14px; height: 14px; }

#ss .ss-float {
  position: absolute;
  z-index: 3;
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 20px;
  box-shadow: var(--ss-shadow);
}
#ss .ss-float--stats {
  inset-inline-start: -24px;
  top: 28px;
  padding: 14px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--ss-surface) 88%, transparent);
}
#ss .ss-float--stats > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ss-muted);
  margin-top: 1px;
}
#ss .ss-float--terminal {
  inset-inline-end: 16px;
  bottom: 16px;
  width: min(262px, 74%);
  padding: 0;
  overflow: hidden;
  background: var(--ss-term-bg);
  border-color: rgba(34, 195, 218, .28);
}
#ss .ss-float--terminal .ss-term pre { padding: 11px 13px; font-size: 10.5px; line-height: 1.85; }
#ss .ss-float--terminal .ss-term__bar { padding: 7px 10px; }

#ss .ss-stat__num {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif);
}
#ss .ss-stat__num strong {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ss-ink);
}
#ss .ss-stat__num em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ss-primary);
}

/* ── ۶ · ترمینال ────────────────────────────────────────────── */
#ss .ss-term {
  background: var(--ss-term-bg);
  color: var(--ss-term-ink);
  border-radius: 18px;
  border: 1px solid rgba(34, 195, 218, .22);
  overflow: hidden;
  direction: ltr;
  text-align: left;
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .55);
}
#ss .ss-term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #161B21;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
#ss .ss-term__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33404A;
  flex: 0 0 auto;
}
#ss .ss-term__bar span:first-child { background: #1FAFC4; }
#ss .ss-term__bar em {
  margin-inline-start: auto;
  font-style: normal;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ss-term-muted);
  white-space: nowrap;
}
#ss .ss-term pre {
  margin: 0;
  padding: 14px 16px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ss-term-ink);
}
#ss .ss-term--flush { border-radius: 16px; }
#ss .ss-term--large pre { font-size: 12px; padding: 18px; }

/* ── ۷ · نوار متحرک ─────────────────────────────────────────── */
#ss .ss-marquee-sec {
  background: var(--ss-surface);
  border-block: 1px solid var(--ss-line);
  padding-block: 6px;
}
#ss .ss-marquee-sec .rb-marquee { padding-block: 12px; }
#ss .ss-marquee-sec .rb-marquee__track {
  gap: 18px;
  animation-duration: 34s;
}
#ss .ss-marquee-sec .rb-marquee__track span {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ss-ink-2);
  white-space: nowrap;
}
#ss .ss-marquee-sec .rb-marquee__track b {
  color: var(--ss-primary);
  font-size: 14px;
  font-weight: 400;
}

/* ── ۸ · آمار ───────────────────────────────────────────────── */
#ss .ss-proof {
  background: var(--ss-surface);
  border-bottom: 1px solid var(--ss-line);
  padding-block: clamp(26px, 3.4vw, 40px);
}
#ss .ss-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
#ss .ss-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--ss-line);
}
#ss .ss-stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
#ss .ss-stat > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ss-muted);
}

/* ── ۹ · سکشن‌ها ────────────────────────────────────────────── */
#ss .ss-sec { padding-block: var(--ss-gap); position: relative; }
#ss .ss-sec--alt {
  background: var(--ss-bg-alt);
  border-block: 1px solid var(--ss-line);
}

/* ── ۱۰ · خدمات ─────────────────────────────────────────────── */
#ss .ss-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
#ss .ss-svc {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 24px;
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 214px;
  transition: transform .35s var(--ss-ease), box-shadow .35s var(--ss-ease), border-color .35s;
}
#ss .ss-svc:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ss-primary) 45%, var(--ss-line));
  box-shadow: var(--ss-shadow);
}
#ss .ss-svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#ss .ss-svc__top i {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
}
#ss .ss-svc__n {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ss-muted);
  letter-spacing: .06em;
}
#ss .ss-svc h3 { font-size: 17px; line-height: 1.5; }
#ss .ss-svc p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ss-muted);
}

/* ── ۱۱ · کاوشگر اتوماسیون ──────────────────────────────────── */
#ss .ss-finder-sec { padding-block: var(--ss-gap); }
#ss .ss-finder {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(24px, 4vw, 52px);
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--ss-shadow);
  overflow: hidden;
}
#ss .ss-finder::before {
  content: "";
  position: absolute;
  inset-inline-end: -18%;
  top: -45%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, var(--ss-glow) 0%, transparent 68%);
  pointer-events: none;
}
#ss .ss-finder__copy { position: relative; z-index: 1; }
#ss .ss-finder__copy .ss-h2 { margin-bottom: 14px; }
#ss .ss-finder__copy > p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ss-muted);
}
#ss .ss-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
#ss .ss-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ss-ink-2);
}
#ss .ss-checks i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--ss-primary);
}
#ss .ss-finder__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ss-surface-2);
  border: 1px solid var(--ss-line);
}
#ss .ss-finder__note i {
  width: 18px;
  height: 18px;
  color: var(--ss-primary-deep);
  flex: 0 0 auto;
  margin-top: 2px;
}
#ss .ss-finder__note strong {
  display: block;
  font-size: 12.5px;
  color: var(--ss-ink);
}
#ss .ss-finder__note span {
  display: block;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ss-muted);
}

#ss .ss-form { position: relative; z-index: 1; }
#ss .ss-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
#ss .ss-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#ss .ss-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ss-ink-2);
}
#ss .ss-field input,
#ss .ss-field select {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid var(--ss-line-2);
  background: var(--ss-bg);
  color: var(--ss-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  appearance: none;
  -webkit-appearance: none;
}
#ss .ss-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300899e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 13px center;
  padding-left: 34px;
}
#ss .ss-field input::placeholder { color: var(--ss-muted); opacity: .8; }
#ss .ss-field input:focus,
#ss .ss-field select:focus {
  outline: none;
  border-color: var(--ss-primary);
  background: var(--ss-surface);
  box-shadow: 0 0 0 3px var(--ss-primary-soft);
}
#ss .ss-form__note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ss-muted);
  text-align: center;
}
#ss .aw-sandbox-result { margin-top: 18px; }
#ss .aw-sandbox-result:empty { display: none !important; }
#ss .aw-sandbox-result .aw-sb-res-card { border-radius: 18px !important; }

/* ── ۱۲ · بنتو ──────────────────────────────────────────────── */
#ss .ss-bento { gap: 16px !important; }
#ss .ss-bento__card {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
}
#ss .ss-bento__card > i {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 11px;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
  margin-bottom: 6px;
}
#ss .ss-bento__card h3 { font-size: 16.5px; line-height: 1.5; }
#ss .ss-bento__card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ss-muted);
}
#ss .ss-bento__card--terminal {
  background:
    radial-gradient(circle at 85% 0%, var(--ss-glow) 0%, transparent 55%),
    var(--ss-surface);
  gap: 16px;
  justify-content: flex-start;
}
#ss .ss-bento__txt h3 { font-size: 17px; margin-bottom: 4px; }
#ss .ss-bento__txt p { font-size: 13px; color: var(--ss-muted); }

#ss .ss-bento__wide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ss-primary);
  color: var(--ss-on-primary);
  border-radius: 24px;
  padding: 28px 30px;
  overflow: hidden;
  position: relative;
}
#ss .ss-bento__wide::after {
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  bottom: -60%;
  width: 46%;
  height: 160%;
  border-radius: 50%;
  border: 40px solid color-mix(in srgb, var(--ss-on-primary) 12%, transparent);
  pointer-events: none;
}
#ss .ss-bento__wide .ss-eyebrow {
  color: var(--ss-on-primary);
  opacity: .85;
  margin-bottom: 8px;
}
#ss .ss-bento__wide .ss-eyebrow::before { background: var(--ss-on-primary); box-shadow: none; }
#ss .ss-bento__wide h3 {
  color: var(--ss-on-primary);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.5;
  margin-bottom: 6px;
}
#ss .ss-bento__wide-txt p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ss-on-primary);
  opacity: .86;
  max-width: 52ch;
}
#ss .ss-bento__wide-stats {
  display: flex;
  gap: 26px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
#ss .ss-bento__wide-stats div { text-align: center; }
#ss .ss-bento__wide-stats strong {
  display: block;
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--ss-on-primary);
}
#ss .ss-bento__wide-stats span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ss-on-primary);
  opacity: .78;
}

/* ── ۱۳ · گام‌ها ────────────────────────────────────────────── */
#ss .ss-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
#ss .ss-step {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 22px;
  padding: 24px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .35s, border-color .35s;
}
#ss .ss-step:hover {
  border-color: color-mix(in srgb, var(--ss-primary) 40%, var(--ss-line));
  box-shadow: var(--ss-shadow);
}
#ss .ss-step__n {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ss-primary-deep);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ss-primary-soft);
  margin-bottom: 16px;
}
#ss .ss-step h3 { font-size: 17px; margin-bottom: 6px; }
#ss .ss-step p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ss-muted);
}

/* ── ۱۴ · کارت‌های محصول ────────────────────────────────────── */
#ss .dh-products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.8vw, 22px) !important;
  align-items: stretch;
}
#ss .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ss-surface) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: none;
  transition: transform .35s var(--ss-ease), box-shadow .35s var(--ss-ease), border-color .35s;
}
#ss .product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ss-primary) 45%, var(--ss-line)) !important;
  box-shadow: var(--ss-shadow);
}
#ss .product-card > a[href^="/product/"] {
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: var(--ss-surface-2);
}
#ss .product-card > a[href^="/product/"] img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform .6s var(--ss-ease);
}
#ss .product-card:hover > a[href^="/product/"] img { transform: scale(1.045); }
#ss .product-card > div { padding: 15px 16px 16px !important; gap: 7px !important; }
#ss .product-card h3 {
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  color: var(--ss-ink) !important;
  margin: 0 !important;
}
#ss .product-card [data-field="price"] span:first-child {
  color: var(--ss-primary-deep) !important;
  font-weight: 800 !important;
  font-size: 14.5px;
}
#ss .product-card [data-field="price"] span + span {
  font-size: 11.5px !important;
  color: var(--ss-muted) !important;
}
#ss .product-card [data-field="rating"] { font-size: 11px; }
#ss .product-card .btn {
  border-radius: 999px !important;
  min-height: 38px;
  padding: 9px 14px !important;
  font-size: clamp(11.5px, .82vw, 12.5px) !important;
  font-weight: 800 !important;
  white-space: nowrap;
  background: var(--ss-primary) !important;
  color: var(--ss-on-primary) !important;
  border: 1px solid transparent !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .25s, filter .25s;
}
#ss .product-card .btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
#ss .product-card .btn-dark,
#ss .product-card .btn-primary { color: var(--ss-on-primary) !important; }
#ss .product-card .badge-pill {
  border-radius: 999px !important;
  background: var(--ss-primary) !important;
  color: var(--ss-on-primary) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border: 1px solid transparent !important;
}
#ss .product-card .wish {
  background: color-mix(in srgb, var(--ss-surface) 82%, transparent) !important;
  color: var(--ss-ink) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(6px);
}

/* اسلایدر */
#ss .aw-hslider { --pv: 4; }
#ss .aw-hslider .aw-hs-track { gap: 16px; padding-block: 6px; }
#ss .aw-hs-prev,
#ss .aw-hs-next {
  background: var(--ss-surface) !important;
  color: var(--ss-ink) !important;
  border: 1px solid var(--ss-line-2) !important;
  box-shadow: var(--ss-shadow);
}
#ss .aw-hs-prev:hover,
#ss .aw-hs-next:hover {
  background: var(--ss-primary) !important;
  color: var(--ss-on-primary) !important;
  border-color: var(--ss-primary) !important;
}

/* ── ۱۵ · پلی‌بوک‌ها ────────────────────────────────────────── */
#ss .ss-plays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
#ss .ss-play {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .35s var(--ss-ease), box-shadow .35s var(--ss-ease);
}
#ss .ss-play:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow); }
#ss .ss-play__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ss-ink-2);
  margin-bottom: 10px;
}
#ss .ss-play__head i {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
}
#ss .ss-play__num {
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ss-primary-deep);
}
#ss .ss-play__unit {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ss-muted);
  margin-bottom: 10px;
}
#ss .ss-play p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ss-muted);
  margin-bottom: 14px;
}
#ss .ss-play__out {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
  font-size: 11.5px;
  font-weight: 700;
  width: fit-content;
}
#ss .ss-play__out i { width: 13px; height: 13px; }
#ss .ss-plays__more {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ss-muted);
}
#ss .ss-plays__more a {
  color: var(--ss-primary-deep);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

/* ── ۱۶ · قبل و بعد ────────────────────────────────────────── */
#ss .ss-shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
#ss .ss-shift__copy > p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ss-muted);
  margin-bottom: 4px;
}
#ss .ss-shift__copy .ss-btn { margin-top: 22px; }
#ss .ss-shift__visual { position: relative; }
#ss .ss-shift__visual .rb-before-after {
  border-radius: var(--ss-r);
  border: 1px solid var(--ss-line);
  box-shadow: var(--ss-shadow);
  aspect-ratio: 16 / 11;
  background: var(--ss-surface-2);
}
#ss .ss-shift__cap {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ss-muted);
  text-align: center;
}
#ss .ss-ba {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
#ss .ss-ba--before {
  inset-inline-start: 14px;
  background: rgba(23, 20, 15, .68);
  color: #F5F3EE;
}
#ss .ss-ba--after {
  inset-inline-end: 14px;
  background: var(--ss-primary);
  color: var(--ss-on-primary);
}

/* ── ۱۷ · درباره ────────────────────────────────────────────── */
#ss .ss-about {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
#ss .ss-about__copy p {
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ss-ink-2);
  margin-bottom: 14px;
}
#ss .ss-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}
#ss .ss-tags span {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--ss-surface);
  border: 1px solid var(--ss-line-2);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--ss-ink-2);
}
#ss .ss-about__terminal { display: flex; flex-direction: column; gap: 14px; }
#ss .ss-about__facts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 20px;
  padding: 8px 6px;
}
#ss .ss-about__facts div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--ss-ink-2);
  border-bottom: 1px solid var(--ss-line);
}
#ss .ss-about__facts div:last-child { border-bottom: 0; }
#ss .ss-about__facts i { width: 16px; height: 16px; color: var(--ss-primary); flex: 0 0 auto; }

/* ── ۱۸ · سوالات متداول ────────────────────────────────────── */
#ss .ss-faq {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
#ss .ss-faq .ss-head { margin: 0; }
#ss .ss-faq__list { display: flex; flex-direction: column; gap: 10px; }
#ss .rb-faq-item {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s;
}
#ss .rb-faq-item.open { border-color: color-mix(in srgb, var(--ss-primary) 42%, var(--ss-line)); }
#ss .rb-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.7;
  text-align: start;
  color: var(--ss-ink);
}
#ss .rb-faq-q span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
  font-size: 16px;
  font-weight: 600;
  transition: transform .3s var(--ss-ease);
}
#ss .rb-faq-item.open .rb-faq-q span { transform: rotate(45deg); }
#ss .rb-faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 2.05;
  color: var(--ss-muted);
}
#ss .rb-faq-item.open .rb-faq-a { display: block; }

/* ── ۱۹ · فراخوان پایانی ───────────────────────────────────── */
#ss .ss-cta-sec { padding-block: var(--ss-gap); }
#ss .ss-cta {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  background:
    radial-gradient(circle at 8% 0%, var(--ss-glow) 0%, transparent 52%),
    var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--ss-shadow);
}
#ss .ss-cta__copy > p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ss-muted);
  max-width: 42ch;
}
#ss .ss-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ss-primary-soft);
  color: var(--ss-primary-deep);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s;
}
#ss .ss-cta__phone:hover { transform: translateY(-2px); }
#ss .ss-cta__phone i { width: 17px; height: 17px; }
#ss .ss-cta__hours {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ss-muted);
}
#ss .ss-cta__hours i { width: 15px; height: 15px; color: var(--ss-primary); }

/* فرم بلوک داینامیک */
#ss [data-aw-form] { max-width: none !important; margin: 0 !important; }
#ss [data-aw-form] h3 {
  font-family: Pinar, var(--font-heading, VazirMatn, sans-serif) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
  color: var(--ss-ink) !important;
}
#ss [data-aw-form] label {
  color: var(--ss-ink-2) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
#ss [data-aw-form] input[type="text"],
#ss [data-aw-form] input[type="email"],
#ss [data-aw-form] input[type="tel"],
#ss [data-aw-form] input[type="number"],
#ss [data-aw-form] input[type="date"],
#ss [data-aw-form] input[type="time"],
#ss [data-aw-form] select,
#ss [data-aw-form] textarea {
  background: var(--ss-bg) !important;
  border: 1px solid var(--ss-line-2) !important;
  border-radius: 13px !important;
  color: var(--ss-ink) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  padding: 11px 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .25s, box-shadow .25s;
}
#ss [data-aw-form] input:focus,
#ss [data-aw-form] select:focus,
#ss [data-aw-form] textarea:focus {
  outline: none !important;
  border-color: var(--ss-primary) !important;
  box-shadow: 0 0 0 3px var(--ss-primary-soft) !important;
}
#ss [data-aw-form] input::placeholder,
#ss [data-aw-form] textarea::placeholder { color: var(--ss-muted) !important; opacity: .8 !important; }
#ss [data-aw-form] button[type="submit"] {
  background: var(--ss-primary) !important;
  color: var(--ss-on-primary) !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 44px !important;
  padding: 10px 20px !important;
  font-family: inherit !important;
  font-size: clamp(12px, .88vw, 13.5px) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: transform .25s, filter .25s;
}
#ss [data-aw-form] button[type="submit"]:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ── ۱۹.۵ · اصلاحات آیکون‌ها، بنتو و جزئیات ─────────────────── */
/* Lucide هر <i data-lucide> را به <svg> تبدیل می‌کند؛ پس استایل آیکون باید روی svg هم بنشیند. */
#ss .ss-btn > svg { width: 16px; height: 16px; flex: 0 0 auto; }
#ss .ss-link svg { width: 16px; height: 16px; }
#ss .ss-hero__trust svg { width: 15px; height: 15px; color: var(--ss-primary); flex: 0 0 auto; }
#ss .ss-hero__tag svg { width: 14px; height: 14px; }
#ss .ss-svc__top > svg {
  width: 38px; height: 38px; padding: 9px; border-radius: 12px;
  background: var(--ss-primary-soft); color: var(--ss-primary-deep);
}
#ss .ss-checks svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--ss-primary); }
#ss .ss-finder__note svg { width: 18px; height: 18px; color: var(--ss-primary-deep); flex: 0 0 auto; margin-top: 2px; }
#ss .ss-bento__card > svg {
  width: 36px; height: 36px; padding: 8px; border-radius: 11px;
  background: var(--ss-primary-soft); color: var(--ss-primary-deep); margin-bottom: 6px;
}
#ss .ss-play__head svg {
  width: 30px; height: 30px; padding: 7px; border-radius: 9px;
  background: var(--ss-primary-soft); color: var(--ss-primary-deep);
}
#ss .ss-play__out svg { width: 13px; height: 13px; }
#ss .ss-about__facts svg { width: 16px; height: 16px; color: var(--ss-primary); flex: 0 0 auto; }
#ss .ss-cta__phone svg { width: 17px; height: 17px; }
#ss .ss-cta__hours svg { width: 15px; height: 15px; color: var(--ss-primary); }
#ss .ss-cta__list svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px; color: var(--ss-primary); }

#ss .ss-bento__card,
#ss .ss-bento__card--terminal { justify-content: flex-start; }

#ss .ss-ba--before { inset-inline-start: auto; inset-inline-end: 14px; }
#ss .ss-ba--after { inset-inline-end: auto; inset-inline-start: 14px; }

#ss .product-card [data-field="price"] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
#ss .product-card [data-field="price"] span:first-child { line-height: 1.5; }
#ss .product-card [data-field="price"] span + span { line-height: 1.4; }
#ss .product-card [data-field="rating"] { display: none; }
#ss .product-card .wish { display: none !important; }

#ss .aw-sandbox-result button[data-pid],
#ss .aw-sandbox-result button[data-pids] { display: none !important; }

#ss .ss-h1, #ss .ss-h2 { text-wrap: balance; }

@media (min-width: 1025px) {
  #ss .aw-hs-prev,
  #ss .aw-hs-next { display: none !important; }
}

#ss .ss-cta__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--ss-line);
}
#ss .ss-cta__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ss-ink-2);
}

/* ── ۲۰ · ریسپانسیو ───────────────────────────────────────── */
@media (max-width: 1024px) {
  #ss { --ss-gap: 78px; }
  #ss .ss-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #ss .ss-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ss .dh-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #ss .ss-hero__visual { min-height: 420px; }
  #ss .ss-float--stats { inset-inline-start: 10px; }
  #ss .ss-bento__wide { gap: 18px; }
}

@media (max-width: 900px) {
  #ss .ss-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  #ss .ss-hero__visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  #ss .ss-hero__frame {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 12;
    border-radius: 28px;
  }
  #ss .ss-float { position: static; width: 100%; }
  #ss .ss-float--stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    text-align: start;
  }
  #ss .ss-float--stats > span { margin-top: 0; }
  #ss .ss-float--terminal { display: none; }
  #ss .ss-finder { grid-template-columns: 1fr; }
  #ss .ss-shift { grid-template-columns: 1fr; }
  #ss .ss-about { grid-template-columns: 1fr; }
  #ss .ss-faq { grid-template-columns: 1fr; }
  #ss .ss-cta { grid-template-columns: 1fr; }
  #ss .ss-plays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ss .ss-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  #ss .ss-stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  #ss .ss-bento__wide { flex-direction: column; align-items: flex-start; }
  #ss .ss-bento__wide-stats { gap: 22px; }
  #ss .ss-hero__tag { display: none; }
}

@media (max-width: 720px) {
  #ss .ss-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ss .ss-plays { grid-template-columns: 1fr; }
  #ss .ss-head--row { align-items: flex-start; }
  #ss .ss-h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
}

@media (max-width: 560px) {
  #ss { --ss-gap: 62px; }
  #ss .ss-wrap { padding-inline: 16px; }
  #ss .ss-h1 { font-size: 1.95rem; line-height: 1.4; }
  #ss .ss-h2 { font-size: 1.5rem; }
  #ss .ss-lead { font-size: 14px; line-height: 2.05; }
  #ss .ss-services { grid-template-columns: 1fr; }
  #ss .ss-svc { min-height: 0; }
  #ss .ss-steps { grid-template-columns: 1fr; }
  #ss .ss-step { min-height: 0; }
  #ss .dh-products { grid-template-columns: 1fr !important; }
  #ss .ss-form__grid { grid-template-columns: 1fr; }
  #ss .ss-finder { border-radius: 24px; padding: 22px 18px; }
  #ss .ss-cta { border-radius: 24px; padding: 22px 18px; }
  #ss .ss-hero__cta { gap: 10px; }
  #ss .ss-hero__cta .ss-btn { flex: 1 1 auto; }
  #ss .ss-hero__trust { gap: 8px 16px; }
  #ss .ss-hero__frame { aspect-ratio: 4 / 3.4; }
  #ss .ss-float--stats { justify-content: flex-start; }
  #ss .ss-proof__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  #ss .ss-bento__wide { padding: 22px 18px; }
  #ss .ss-bento__wide-stats { width: 100%; justify-content: space-between; gap: 12px; }
  #ss .ss-bento__card { padding: 20px; }
  #ss .ss-faq__list { gap: 8px; }
  #ss .rb-faq-q { font-size: 13px; padding: 14px 15px; }
  #ss .rb-faq-a { padding: 0 15px 14px; font-size: 12.5px; }
  #ss .aw-hslider .aw-hs-item { flex: 0 0 calc((100% - 12px) / 2) !important; }
  #ss .aw-hs-prev, #ss .aw-hs-next { display: none; }
  #ss .product-card h3 { font-size: 13.5px !important; }
  #ss .product-card .btn {
    font-size: 11px !important;
    padding: 8px 10px !important;
    min-height: 36px;
  }
}

@media (max-width: 390px) {
  #ss .ss-wrap { padding-inline: 14px; }
  #ss .ss-h1 { font-size: 1.8rem; }
  #ss .ss-proof__grid { grid-template-columns: 1fr; }
  #ss .ss-stat { border-inline-start: 0; padding-inline-start: 0; }
  #ss .ss-hero__cta .ss-btn { width: 100%; }
  #ss .ss-cta__phone { font-size: 14px; padding: 9px 14px; }
}

/* ── ۲۱ · کاهش حرکت ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #ss *,
  #ss *::before,
  #ss *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
