/* آرنوش — دموی معرفی | موبایل‌اول، روشن، بدون CDN */
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #5813cd;
  --brand-deep: #4a10ab;
  --brand-soft: rgba(88, 19, 205, .08);
  --ink: #1c1826;
  --ink-2: #5d5866;
  --ink-3: #8b8494;
  --bg: #f7f6fa;
  --surface: #ffffff;
  --border: #e9e6f0;
  --gold: #8a6226;
  --gold-soft: rgba(138, 98, 38, .10);
  --shadow: 0 1px 2px rgba(23, 20, 31, .04), 0 12px 30px -18px rgba(28, 12, 60, .25);
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Estedad', 'Segoe UI', Tahoma, system-ui, sans-serif;
  font-size: clamp(16px, 1vw + 12px, 17.5px);
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.5; margin: 0 0 .5em; }

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- سرآغاز ---------- */
.hero {
  background: linear-gradient(170deg, #faf9fd 0%, #f3effb 100%);
  border-bottom: 1px solid var(--border);
  padding: 24px 0 40px;
}
.hero__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero__logo { width: 40px; height: auto; }
.hero__name { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -0.2px; }
.hero__title { font-size: clamp(26px, 5.4vw, 42px); font-weight: 800; }
.hero__lead { color: var(--ink-2); font-size: clamp(16px, 2vw, 19px); max-width: 62ch; margin: 0 0 18px; }
.hero__benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--brand);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.hero__benefit p { margin: 0; }
.hero__shot {
  margin: 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px;
  box-shadow: var(--shadow);
}
.hero__shot img { border-radius: calc(var(--r) - 6px); }
.hero__shot figcaption {
  text-align: center; color: var(--ink-3); font-size: 13.5px; padding: 10px 6px 2px;
}

/* ---------- بخش‌ها ---------- */
.sec { padding: 40px 0 8px; }
.sec > h2 { font-size: clamp(21px, 3vw, 27px); font-weight: 800; }
.sec__lead { color: var(--ink-2); margin: -4px 0 20px; max-width: 68ch; }

.grid2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .grid3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }
.card--accent { border-top: 3px solid var(--brand); }
.card--flat { box-shadow: none; }
.card--wide { padding: 20px 22px; }
.card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 12px;
}
.card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* لوگوی گرد سرویس‌ها (z.ai / arena.ai) — مثل خود افزونه با گوشهٔ گرد */
.card__icon--svc { background: none; }
.card__icon--svc img { width: 42px; height: 42px; border-radius: 11px; display: block; }
.card__list { margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.card__list li { padding-inline-start: 20px; position: relative; margin-bottom: 8px; }
.card__list li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: .72em;
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--brand); border-radius: 2px;
}

/* ---------- مراحل ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow);
}
.steps__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 17px;
}
.steps__item h3 { font-size: 16.5px; margin-bottom: 4px; }
.steps__item p { margin: 0; color: var(--ink-2); }
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

/* ---------- حوزه‌های کاری ---------- */
.toolgroups {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 10px;
}
@media (min-width: 720px) {
  .toolgroups { grid-template-columns: 1fr 1fr; }
}
.toolgroups li {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 16px; background: #fcfbfe;
  display: flex; flex-direction: column; gap: 2px;
}
.toolgroups strong { color: var(--brand-deep); font-size: 15.5px; }
.toolgroups span { color: var(--ink-2); font-size: 14.5px; }

/* ---------- گالری ---------- */
.gallery { display: grid; gap: 16px; align-items: start; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.gallery__item {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.gallery__item a { display: block; min-height: 44px; }
.gallery__item img { width: 100%; height: auto; }
.gallery__item figcaption {
  padding: 10px 14px 12px; color: var(--ink-2); font-size: 13.5px;
  border-top: 1px solid var(--border);
}

/* ---------- لیست ساده ---------- */
.plainlist { margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.plainlist li {
  padding: 10px 34px 10px 0; position: relative;
  border-bottom: 1px dashed var(--border);
}
.plainlist li:last-child { border-bottom: 0; }
.plainlist li::before {
  content: ''; position: absolute; inset-inline-start: auto; inset-inline-end: 8px; top: 1.15em;
  width: 9px; height: 9px; transform: rotate(45deg);
  border: 2px solid var(--brand); border-radius: 2px;
}

/* ---------- پرسش‌ها ---------- */
.faq { display: grid; gap: 10px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow);
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px;
  font-weight: 700; min-height: 44px; display: flex; align-items: center;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; position: absolute; inset-inline-end: 16px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-inline-start: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-135deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); margin-top: -3px; }
.faq__item p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); }

/* ---------- پانوشت ---------- */
.footer {
  margin-top: 48px; border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer__row {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  justify-content: space-between; padding: 18px 0;
  color: var(--ink-2); font-size: 14px;
}
.footer__brand { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; }

/* ---------- ظاهر تدریجی ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
