/* احیا — دموی معرفی افزونه | فونت متغیر استعداد (همان فونت جاسازی‌شده در خود افزونه) */
@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 {
  --green: #2f5d3a;
  --green-hover: #387046;
  --green-deep: #24472c;
  --green-tint: #eef3ee;
  --green-tint-2: #f6f8f5;
  --ink: #0f1412;
  --ink-2: #232927;
  --muted: #5b6561;
  --muted-2: #8b948f;
  --bg: #f5f5f3;
  --card: #ffffff;
  --line: #e8eae6;
  --line-2: #d6dad5;
  --amber: #a9803f;
  --amber-tint: #faf4e9;
  --danger: #c0362e;
  --danger-tint: #faeceb;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 20, 19, 0.05), 0 12px 32px rgba(16, 20, 19, 0.06);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Estedad", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

.icon { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

/* ---------- هدر معرفی ---------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-tint) 100%);
  border-bottom: 1px solid var(--line);
  padding: 32px 0 0;
}
.hero__top { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.hero__logo { width: 34px; height: 34px; color: var(--green); }
.hero__brand { font-size: 22px; font-weight: 800; letter-spacing: -0.2px; }
.hero__badge {
  margin-inline-start: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px 14px;
}
.hero__body { padding-block: 26px 34px; max-width: 640px; }
.hero__title { font-size: clamp(30px, 7vw, 44px); font-weight: 900; line-height: 1.35; margin: 0 0 14px; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__intro { font-size: clamp(16px, 2.5vw, 18.5px); color: var(--ink-2); margin: 0 0 14px; }
.hero__benefit {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15.5px; font-weight: 600; color: var(--green-deep);
  background: #ffffff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; margin: 0 0 22px;
  box-shadow: var(--shadow);
}
.hero__benefit .icon { color: var(--green); margin-top: 5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--green); color: #ffffff; }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: #ffffff; color: var(--green-deep); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green); }

/* ---------- قاب پنجره اسکرین‌شات ---------- */
.window {
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.window__bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-tint-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
}
.window__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.window__dot:nth-child(1) { background: #c0362e; opacity: 0.55; }
.window__dot:nth-child(2) { background: #a9803f; opacity: 0.55; }
.window__dot:nth-child(3) { background: var(--green); opacity: 0.55; }
.window__caption {
  font-size: 12.5px; color: var(--muted); margin-inline-start: 8px; direction: ltr;
}
.window img { width: 100%; height: auto; border-top: 1px solid var(--line); }
.hero__shot { margin-top: 30px; }

/* ---------- بخش‌ها ---------- */
.section { padding-block: 58px; }
.section--alt { background: #ffffff; border-block: 1px solid var(--line); }
.section__head { max-width: 620px; margin-bottom: 34px; }
.section__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--green-deep);
  background: var(--green-tint); border-radius: 999px; padding: 5px 14px; margin: 0 0 12px;
}
.section__kicker .icon { width: 1.15em; height: 1.15em; }
.section__title { font-size: clamp(22px, 4.5vw, 30px); font-weight: 800; line-height: 1.5; margin: 0 0 8px; }
.section__lead { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-tint); color: var(--green); margin-bottom: 14px;
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-inline-start: 18px; margin-bottom: 8px; color: var(--muted); font-size: 15.5px; }
.card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 7px; height: 7px; border-radius: 2px; background: var(--green); opacity: 0.5; }

/* ---------- گام‌ها ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #ffffff; font-weight: 800; font-size: 16px;
}
.step__title { font-weight: 800; font-size: 16px; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- هشدار صادقانه ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--danger-tint); border: 1px solid rgba(192, 54, 46, 0.2);
  border-radius: var(--radius); padding: 16px 18px; margin-top: 22px;
}
.notice .icon { color: var(--danger); margin-top: 4px; }
.notice p { margin: 0; font-size: 15px; color: var(--ink-2); }
.notice strong { color: var(--danger); }

/* ---------- فهرست پوسته‌ها ---------- */
.themelist { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.themelist__lead { margin: 0 0 16px; font-size: 16px; }
.themelist__items { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 16px; }
@media (min-width: 680px) { .themelist__items { grid-template-columns: repeat(2, 1fr); } }
.themelist__item {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--green-tint-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.themelist__item .icon { color: var(--green); margin-top: 4px; }
.themelist__item strong { font-weight: 700; direction: ltr; unicode-bidi: embed; }
.themelist__item span { color: var(--muted); }
.themelist__note { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- گالری ---------- */
.gallery { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr; gap: 30px; } }
.shot { margin: 0; }
.shot a { display: block; border-radius: 14px; }
.shot img { width: 100%; height: auto; }
.shot figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.shot figcaption .icon { color: var(--green); }

/* ---------- سرعت ---------- */
.speed { display: grid; gap: 14px; }
@media (min-width: 800px) { .speed { grid-template-columns: repeat(3, 1fr); } }
.speed__row {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.speed__row .card__icon { margin: 0; }
.speed__row p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- سازگاری ---------- */
.compat { display: grid; gap: 14px; }
@media (min-width: 800px) { .compat { grid-template-columns: repeat(2, 1fr); } }

/* ---------- پرسش‌ها ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 0; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 12px 18px;
  font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--green); margin-inline-start: auto; transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 15px; }

/* ---------- پابرگ ---------- */
.footer { background: #ffffff; border-top: 1px solid var(--line); padding-block: 30px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer__logo { width: 28px; height: 28px; color: var(--green); }
.footer__name { font-weight: 800; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; width: 100%; }

/* ---------- ظاهر تدریجی ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
