/* پیشگیری از تداخل نوبت (نامِ داخلی: ضدتداخل) — صفحهٔ معرفی (۲۰۲۶-۱۰-۲۶). خودکفا: به styles.css وابسته نیست تا هر تغییرِ
   صفحهٔ اصلی این صفحه را نشکند. موبایل‌اول؛ صفحهٔ اولِ گوشی = تیتر + نمایش + دکمه. */
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --teal: #0d6e6a;
  --teal-dark: #0a5552;
  --teal-soft: #e6f3f2;
  --ink: #12202a;
  --ink-2: #44525c;
  --ink-3: #6b7780;
  --line: #e2e8ec;
  --bg: #f6f9fa;
  --card: #ffffff;
  --slate: #eef1f4;
  --slate-ink: #4a5560;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}
img { display: block; }
a { color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }

/* سربرگ: فقط لوگو و یک لینک — صفحه یک کار دارد */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none; color: var(--teal); }
.logo--sm { font-size: 15px; }
.top__link { font-size: 14px; color: var(--ink-2); text-decoration: none; }

/* ① هیرو */
.hero { text-align: center; padding-top: 22px; padding-bottom: 28px; }
.chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 4px 12px;
}
.hero h1 { font-size: clamp(30px, 9vw, 46px); line-height: 1.3; margin: 12px 0 6px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__sub { margin: 0 auto 16px; max-width: 30rem; font-size: 16.5px; color: var(--ink-2); }

/* نمایش: یک ساعت در شش سایت */
.demo {
  margin: 0 auto 18px;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(13, 110, 106, 0.08);
  padding: 10px 12px 12px;
  text-align: start;
}
.demo__head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 8px; color: var(--ink-3); font-size: 13px; }
.demo__head strong { color: var(--ink); font-size: 15px; }
.demo__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 12px;
  background: var(--bg);
  transition: background-color .35s ease;
}
.row img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; }
.row__name { font-size: 14px; font-weight: 600; }
.row__chip {
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--teal);
  background: var(--teal-soft);
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
  white-space: nowrap;
}
.row.is-booked { background: var(--teal-soft); }
.row.is-booked .row__chip { background: var(--teal); color: #fff; }
.row.is-locked .row__chip { background: var(--slate); color: var(--slate-ink); }
.row.is-flip .row__chip { transform: scale(1.08); }
.demo__cap { margin: 10px 4px 0; font-size: 13.5px; color: var(--ink-2); min-height: 2.6em; text-align: center; }

/* دکمهٔ اصلی: یک کار، بزرگ، با انگشت */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 56px;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(13, 110, 106, 0.28);
}
.cta:hover { background: var(--teal-dark); }
.cta:focus-visible { outline: 3px solid #f5b400; outline-offset: 3px; }
.cta__note { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }

/* ② سه نتیجه */
.gains { display: grid; gap: 10px; padding-bottom: 28px; }
.gain { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.gain b { font-size: 15.5px; }
.gain span { font-size: 14.5px; color: var(--ink-2); }

/* ③ قدم‌ها */
.steps h2, .faq h2 { font-size: 20px; margin: 0 0 12px; }
.steps { padding-bottom: 28px; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 12px 52px 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; color: var(--ink-2); }
.steps li b { display: block; color: var(--ink); font-size: 15.5px; }
.steps li::before {
  content: counter(s, persian);
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ④ پرسش‌ها */
.faq { padding-bottom: 20px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 10px; min-height: 48px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 14px 14px; font-size: 14.5px; color: var(--ink-2); }

.end { padding-bottom: 32px; }

.foot { border-top: 1px solid var(--line); background: var(--card); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--ink-3); }
.foot__in a:last-child { color: var(--ink-3); }

@media (min-width: 720px) {
  .hero { padding-top: 40px; }
  .gains { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .row, .row__chip { transition: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #3fb5ae;
    --teal-dark: #2f9a94;
    --teal-soft: #12302f;
    --ink: #e8eef1;
    --ink-2: #b8c3ca;
    --ink-3: #8f9ba3;
    --line: #26343c;
    --bg: #0f171c;
    --card: #152129;
    --slate: #22303a;
    --slate-ink: #c2ccd3;
  }
  .row.is-booked .row__chip { color: #06201f; }
  .cta { color: #06201f; }
}
