/* =========================================================
   آکادمی اصلاح مو — امیرحسام بوستانی
   استایل مشترک (RTL) — نسخه ۲.۰
   ========================================================= */

:root {
  --ink: #0a0a0c;
  --ink-2: #101014;
  --ink-3: #17171d;
  --line: rgba(242, 239, 233, 0.13);
  --line-soft: rgba(242, 239, 233, 0.07);
  --cream: #f2efe9;
  --cream-dim: #b8b3aa;
  --gold: #d8a75b;
  --gold-soft: #eac98f;
  --gold-deep: #a97b32;
  --green: #4bd08b;
  --red: #ff6b6b;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.78);
  --container: 1180px;
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.95;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 0.6em;
  letter-spacing: -0.2px;
}

p { margin: 0 0 1.05em; color: var(--cream-dim); }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #17130c; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { position: relative; padding: 92px 0; }
.section--tight { padding: 62px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(216, 167, 91, 0.05), transparent 42%), var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

/* ---------- تایپوگرافی ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); opacity: 0.7; }

.section-title { font-size: clamp(1.55rem, 4.2vw, 2.45rem); margin-bottom: 14px; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--gold); opacity: 0.7; }

.lead { font-size: 1.02rem; color: var(--cream-dim); }
.text-gold { color: var(--gold); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s, opacity 0.2s;
}

.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #1a1408;
  box-shadow: 0 14px 30px -14px rgba(216, 167, 91, 0.7);
}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(216, 167, 91, 0.85); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-3px); }

.btn--wide { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* =========================================================
   هدر + منوی سه‌خط (سمت راست بالا)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}

.nav { display: flex; align-items: center; gap: 14px; height: 74px; }

.menu-btn {
  order: 1;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.04);
  cursor: pointer;
  flex: none;
  transition: border-color 0.3s, background 0.3s;
}

.menu-btn:hover { border-color: rgba(216, 167, 91, 0.6); background: rgba(216, 167, 91, 0.1); }

.menu-btn span { display: block; height: 1.8px; border-radius: 2px; background: var(--cream); transition: width 0.3s var(--ease); }
.menu-btn span:nth-child(1) { width: 100%; }
.menu-btn span:nth-child(2) { width: 70%; }
.menu-btn span:nth-child(3) { width: 88%; }
.menu-btn:hover span { width: 100%; background: var(--gold-soft); }

.brand { order: 2; display: inline-flex; align-items: center; gap: 11px; flex: none; }

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 167, 91, 0.4);
  background: linear-gradient(160deg, rgba(216, 167, 91, 0.2), transparent);
}

.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name { font-weight: 800; font-size: 0.95rem; }
.brand__sub { font-size: 0.66rem; color: var(--gold); letter-spacing: 1.5px; direction: ltr; text-align: right; }

.nav__spacer { flex: 1; }
.nav__right { order: 3; display: flex; align-items: center; gap: 9px; flex: none; }
.nav__dm { padding: 11px 20px; font-size: 0.85rem; }

.user-chip {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 167, 91, 0.32);
  background: rgba(216, 167, 91, 0.09);
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--gold-soft);
  cursor: pointer;
  font-family: inherit;
}

.user-chip.is-visible { display: inline-flex; }
.user-chip .avatar { width: 25px; height: 25px; font-size: 0.73rem; }

/* ---------- کشوی منو ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  width: min(360px, 88vw);
  background: linear-gradient(180deg, #131318, #0b0b0e);
  border-left: 1px solid var(--line);
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.9);
}

.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}

.drawer__title { font-size: 0.76rem; letter-spacing: 1.4px; color: var(--gold); font-weight: 700; }

.drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer__close:hover { border-color: var(--gold); color: var(--gold-soft); }

.drawer a.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: background 0.25s, color 0.25s;
}

.drawer a.drawer__link:hover,
.drawer a.drawer__link.is-active { background: rgba(242, 239, 233, 0.07); color: var(--cream); }

.drawer a.drawer__link::after { content: "‹"; color: var(--gold); opacity: 0.7; font-size: 1.05rem; }

.drawer__divider { height: 1px; background: var(--line-soft); margin: 12px 0; }
.drawer__auth { display: grid; gap: 9px; }

.drawer__account {
  display: none;
  gap: 10px;
  padding: 13px;
  border-radius: 13px;
  border: 1px solid rgba(216, 167, 91, 0.3);
  background: rgba(216, 167, 91, 0.07);
}

.drawer__account.is-visible { display: block; }
.drawer__account b { display: block; font-size: 0.92rem; color: var(--cream); }
.drawer__account small { color: var(--cream-dim); font-size: 0.77rem; direction: ltr; display: block; }

.drawer__note { margin-top: auto; padding-top: 16px; font-size: 0.72rem; color: #79746d; line-height: 1.8; }

/* =========================================================
   مودال ورود / ثبت‌نام
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px 16px;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  overflow-y: auto;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__card {
  position: relative;
  width: min(430px, 100%);
  background: linear-gradient(180deg, #15151b, #0c0c10);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px 24px;
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
  margin: auto;
}

.modal.is-open .modal__card { transform: none; }

.modal__close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 20, 25, 0.9);
  color: var(--cream);
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.modal__close:hover { border-color: var(--gold); color: var(--gold-soft); }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(242, 239, 233, 0.06);
  margin: 6px 0 20px;
}

.auth-tab {
  border: 0;
  background: transparent;
  color: var(--cream-dim);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.auth-tab.is-active { background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); color: #1a1408; }

.auth-panel { display: none; }
.auth-panel.is-active { display: block; animation: fadeUp 0.4s var(--ease) both; }

.auth-title { font-size: 1.1rem; margin-bottom: 2px; }
.auth-sub { font-size: 0.83rem; color: var(--cream-dim); margin-bottom: 18px; }

.field { margin-bottom: 12px; }

.field label { display: block; font-size: 0.81rem; font-weight: 600; color: var(--cream); margin-bottom: 6px; }

.field__wrap { position: relative; display: flex; align-items: center; }

.field input {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 42px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.045);
  color: var(--cream);
  transition: border-color 0.25s, background 0.25s;
}

.field input::placeholder { color: #7d7871; }
.field input:focus { border-color: var(--gold); background: rgba(216, 167, 91, 0.07); outline: none; }
.field input.is-error { border-color: var(--red); }
.field input[dir="ltr"] { text-align: left; }

.field__icon { position: absolute; right: 13px; width: 17px; height: 17px; color: #8a847c; pointer-events: none; }

.field__toggle {
  position: absolute;
  left: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a847c;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.field__toggle:hover { color: var(--gold); }
.field__toggle svg { width: 16px; height: 16px; }

.auth-msg {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: 11px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.auth-msg.is-visible { display: flex; }
.auth-msg.is-error { background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.35); color: #ffb3b3; }
.auth-msg.is-success { background: rgba(75, 208, 139, 0.12); border: 1px solid rgba(75, 208, 139, 0.35); color: #9de9c1; }

.auth-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 0.75rem; color: #79746d; line-height: 1.8; text-align: center; }

.auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 13px;
  border: 1px solid rgba(216, 167, 91, 0.3);
  background: rgba(216, 167, 91, 0.07);
  margin-bottom: 14px;
}

.auth-user b { display: block; font-size: 0.93rem; }
.auth-user small { display: block; font-size: 0.78rem; color: var(--cream-dim); direction: ltr; }

/* =========================================================
   توست
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  right: 50%;
  transform: translate(50%, 22px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 19px;
  border-radius: 999px;
  background: rgba(20, 20, 26, 0.97);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cream);
  max-width: calc(100vw - 30px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.toast.is-visible { opacity: 1; visibility: visible; transform: translate(50%, 0); }
.toast.is-success { border-color: rgba(75, 208, 139, 0.45); }
.toast.is-error { border-color: rgba(255, 107, 107, 0.45); }
.toast svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.toast.is-success svg { color: var(--green); }
.toast.is-error svg { color: var(--red); }

/* =========================================================
   پس‌زمینهٔ ویدیویی
   ========================================================= */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: -2;
  filter: saturate(0.92) contrast(1.06) brightness(0.74);
  pointer-events: none;
}

.bg-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(10, 10, 12, 0.26), rgba(10, 10, 12, 0.9) 74%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0.52) 42%, rgba(10, 10, 12, 0.98));
}

/* =========================================================
   هیرو
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(52px, 8vw, 96px) 0 clamp(58px, 7vw, 88px);
  min-height: min(86svh, 740px);
  display: flex;
  align-items: center;
  background: var(--ink);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  width: 100%;
}

.hero__title { font-size: clamp(1.8rem, 4.8vw, 3.1rem); line-height: 1.42; margin-bottom: 14px; }

.hero__title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero__text { max-width: 450px; font-size: 0.99rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.hero__quick { display: flex; flex-wrap: wrap; gap: 7px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cream-dim);
  background: rgba(242, 239, 233, 0.055);
  border: 1px solid var(--line-soft);
}

.tag svg { width: 13px; height: 13px; color: var(--gold); }

.tag--hot { color: #ffdca8; background: rgba(216, 167, 91, 0.14); border-color: rgba(216, 167, 91, 0.4); }

.hero__media { position: relative; justify-self: center; width: min(310px, 100%); }

.hero__phone {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 233, 0.16);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 15.4;
  background: var(--ink-3);
}

.hero__phone video { width: 100%; height: 100%; object-fit: cover; }

.hero__phone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.32), transparent 30%, rgba(10, 10, 12, 0.68));
}

.hero__live {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(242, 239, 233, 0.18);
  font-size: 0.67rem;
  color: var(--cream);
  backdrop-filter: blur(6px);
}

.hero__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(75, 208, 139, 0.22);
  animation: pulse 1.8s infinite;
}

@keyframes pulse { 50% { opacity: 0.35; } }

.hero__badge {
  position: absolute;
  bottom: -14px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 1px solid rgba(216, 167, 91, 0.35);
  background: rgba(17, 17, 22, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero__badge b { color: var(--gold-soft); font-size: 0.84rem; display: block; }
.hero__badge small { color: var(--cream-dim); font-size: 0.71rem; }
.hero__badge svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* =========================================================
   نوار متحرک
   ========================================================= */
.marquee { border-block: 1px solid var(--line-soft); background: rgba(242, 239, 233, 0.03); overflow: hidden; padding: 12px 0; }

.marquee__track { display: flex; gap: 36px; width: max-content; animation: marqueeMove 40s linear infinite; }

.marquee span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.79rem; color: var(--cream-dim); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--gold); font-size: 0.65rem; }

@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* =========================================================
   قلاب‌ها
   ========================================================= */
.hooks { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 15px; }

.hook {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(242, 239, 233, 0.045), rgba(242, 239, 233, 0.012));
  transition: transform 0.4s var(--ease), border-color 0.35s;
  overflow: hidden;
}

.hook:hover { transform: translateY(-5px); border-color: rgba(216, 167, 91, 0.34); }

.hook--feature {
  border-color: rgba(216, 167, 91, 0.42);
  background: linear-gradient(155deg, rgba(216, 167, 91, 0.18), rgba(17, 17, 21, 0.7));
}

.hook__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(216, 167, 91, 0.13);
  border: 1px solid rgba(216, 167, 91, 0.28);
  color: var(--gold);
}

.hook__icon svg { width: 20px; height: 20px; }
.hook h3 { font-size: 0.98rem; margin-bottom: 5px; }
.hook p { font-size: 0.85rem; margin: 0; line-height: 1.85; }

.hook__flag {
  position: absolute;
  top: 13px;
  left: 13px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1408;
}

/* =========================================================
   روزهای دوره
   ========================================================= */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 38px; }

.day-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.035);
  overflow: hidden;
}

.day-card--solid {
  background: linear-gradient(150deg, rgba(216, 167, 91, 0.16), rgba(17, 17, 21, 0.75));
  border-color: rgba(216, 167, 91, 0.38);
}

.day-card__num {
  font-family: var(--display);
  font-size: clamp(2.3rem, 6.5vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.day-card__num small { font-family: var(--font); font-size: 0.83rem; font-weight: 600; color: var(--cream-dim); }
.day-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.day-card p { font-size: 0.86rem; margin: 0; }

.day-card ul { display: grid; gap: 6px; margin-top: 12px; }

.day-card li { display: flex; gap: 8px; font-size: 0.83rem; color: var(--cream-dim); align-items: flex-start; }
.day-card li::before { content: "•"; color: var(--gold); line-height: 1.7; }

/* سرفصل‌ها */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: 11px; }

.topic {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(242, 239, 233, 0.028);
  transition: border-color 0.3s, background 0.3s;
}

.topic:hover { border-color: rgba(216, 167, 91, 0.32); background: rgba(216, 167, 91, 0.055); }

.topic__i {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(216, 167, 91, 0.14);
  color: var(--gold);
  font-size: 0.71rem;
  font-weight: 700;
  font-family: var(--display);
}

.topic b { display: block; font-size: 0.89rem; color: var(--cream); margin-bottom: 2px; }
.topic small { font-size: 0.78rem; color: var(--cream-dim); line-height: 1.75; display: block; }

/* =========================================================
   نمونه‌کار — ویدیو
   ========================================================= */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: 16px; }

.work {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c10;
  aspect-ratio: 9 / 14;
}

.work video { width: 100%; height: 100%; object-fit: cover; display: block; }

.work__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.14), rgba(10, 10, 12, 0.5));
  border: 0;
  cursor: pointer;
  transition: opacity 0.3s;
  color: var(--cream);
  width: 100%;
}

.work__play i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(242, 239, 233, 0.92);
  color: #12121a;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease);
}

.work__play:hover i { transform: scale(1.08); }
.work__play svg { width: 19px; height: 19px; margin-right: -2px; }

.work.is-playing .work__play { opacity: 0; pointer-events: none; }

.work__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 15px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.95));
  pointer-events: none;
}

.work__cap b { display: block; font-size: 0.87rem; color: var(--cream); margin-bottom: 2px; }
.work__cap small { font-size: 0.73rem; color: var(--gold-soft); }

.works__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 11px; margin-top: 26px; }

/* =========================================================
   قیمت
   ========================================================= */
.price {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 167, 91, 0.3);
  background: radial-gradient(circle at 85% 10%, rgba(216, 167, 91, 0.2), transparent 48%), var(--ink-2);
  padding: clamp(26px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.price h2 { font-size: clamp(1.35rem, 3.4vw, 1.95rem); }

.price__ask {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1a1408;
  background: var(--gold);
  margin-bottom: 12px;
}

.price ul { display: grid; gap: 8px; margin: 14px 0 0; }

.price li { display: flex; gap: 9px; font-size: 0.86rem; color: var(--cream-dim); align-items: flex-start; }
.price li svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 5px; }

.price__box {
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.6);
  text-align: center;
}

.price__box p { font-size: 0.82rem; margin-bottom: 16px; }

/* =========================================================
   پرداخت
   ========================================================= */
.pay {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.032);
  padding: clamp(24px, 4vw, 42px);
}

.pay__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 24px; align-items: start; }

.pay__card {
  position: relative;
  border-radius: 20px;
  padding: 22px 20px;
  background: radial-gradient(circle at 92% 8%, rgba(216, 167, 91, 0.3), transparent 56%), linear-gradient(145deg, #1b1b22, #0e0e12);
  border: 1px solid rgba(216, 167, 91, 0.32);
  box-shadow: var(--shadow);
}

.pay__label { font-size: 0.71rem; letter-spacing: 1.3px; color: var(--gold); font-weight: 700; margin-bottom: 14px; }

.pay__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px dashed rgba(216, 167, 91, 0.4);
  margin-bottom: 14px;
}

.pay__number code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.93rem, 2.5vw, 1.1rem);
  letter-spacing: 1.1px;
  color: var(--cream);
  direction: ltr;
  user-select: all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(216, 167, 91, 0.5);
  background: rgba(216, 167, 91, 0.14);
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.copy-btn:hover { background: rgba(216, 167, 91, 0.26); transform: translateY(-2px); }
.copy-btn svg { width: 14px; height: 14px; }

.pay__owner { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.83rem; color: var(--cream-dim); flex-wrap: wrap; }
.pay__owner b { color: var(--cream); font-size: 0.94rem; }

.pay__steps { counter-reset: pstep; display: grid; gap: 11px; margin-bottom: 18px; }

.pay__step { display: flex; gap: 11px; align-items: flex-start; font-size: 0.86rem; color: var(--cream-dim); }

.pay__step i {
  counter-increment: pstep;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.71rem;
  font-weight: 700;
  font-style: normal;
  color: #1a1408;
  background: var(--gold);
}

.pay__step i::before { content: counter(pstep); }
.pay__step b { color: var(--cream); }

.telegram-btn { background: linear-gradient(135deg, #59bdf0, #1f7fc0); color: #04202f; box-shadow: 0 14px 30px -14px rgba(79, 179, 232, 0.8); }
.telegram-btn:hover { transform: translateY(-3px); }

.pay__warn {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(216, 167, 91, 0.09);
  border: 1px solid rgba(216, 167, 91, 0.24);
  font-size: 0.77rem;
  color: #e3cfae;
  line-height: 1.85;
}

.pay__warn svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--gold); }

/* =========================================================
   درباره
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.about__media { position: relative; }

.about__media video {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__quote {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 10, 12, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 0.84rem;
  color: var(--cream);
  line-height: 1.85;
}

.about__list { display: grid; gap: 12px; margin: 20px 0; }

.about__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.91rem; color: var(--cream-dim); }
.about__list svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 5px; }
.about__list b { color: var(--cream); }

.signature { font-family: var(--display); font-style: italic; font-size: 1.45rem; color: var(--gold-soft); direction: ltr; text-align: right; }

/* =========================================================
   اینستاگرام
   ========================================================= */
.insta {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 167, 91, 0.24);
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 167, 91, 0.18), transparent 44%),
    radial-gradient(circle at 4% 92%, rgba(150, 90, 200, 0.16), transparent 46%),
    var(--ink-2);
  padding: clamp(26px, 4.5vw, 46px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.insta__handle { display: inline-flex; align-items: center; gap: 9px; font-size: 0.98rem; font-weight: 700; color: var(--cream); direction: ltr; margin-bottom: 8px; }
.insta__handle svg { width: 21px; height: 21px; color: var(--gold); }
.insta h2 { font-size: clamp(1.25rem, 3.2vw, 1.85rem); margin-bottom: 6px; }
.insta p { max-width: 460px; margin-bottom: 0; font-size: 0.91rem; }
.insta__actions { display: flex; flex-direction: column; gap: 10px; }

.avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1408;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  flex: none;
}

/* =========================================================
   سوالات
   ========================================================= */
.faq { display: grid; gap: 10px; max-width: 790px; margin-inline: auto; }

.faq__item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(242, 239, 233, 0.025);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq__item.is-open { border-color: rgba(216, 167, 91, 0.32); background: rgba(216, 167, 91, 0.05); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: none;
  border: 0;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.91rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
}

.faq__q::after { content: "+"; font-size: 1.2rem; color: var(--gold); line-height: 1; transition: transform 0.3s var(--ease); flex: none; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }

.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { margin: 0; padding: 0 18px 17px; font-size: 0.86rem; line-height: 1.95; }

/* =========================================================
   فوتر
   ========================================================= */
.site-footer { border-top: 1px solid var(--line-soft); padding: 42px 0 28px; background: #08080a; }

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer__brand p { font-size: 0.84rem; max-width: 300px; margin-top: 11px; }
.footer__col h4 { font-size: 0.84rem; color: var(--cream); margin-bottom: 10px; }

.footer__col a {
  display: block;
  font-size: 0.82rem;
  color: var(--cream-dim);
  padding: 5px 0;
  transition: color 0.25s, padding-right 0.25s;
}

.footer__col a:hover { color: var(--gold-soft); padding-right: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  color: #7d7871;
}

.footer__bottom a { color: var(--gold-soft); }

/* ---------- بازگشت به بالا ---------- */
.to-top {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(17, 17, 22, 0.92);
  backdrop-filter: blur(8px);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold-soft); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- ورود با اسکرول ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .bg-video { display: none; }
}

/* =========================================================
   واکنش‌گرا
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero__media { order: -1; width: min(252px, 72%); margin-bottom: 10px; }
  .hero__badge { left: -6px; bottom: -10px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 320px; }

  .price { grid-template-columns: 1fr; }
  .pay__grid { grid-template-columns: 1fr; }
  .insta { grid-template-columns: 1fr; }
  .insta__actions { flex-direction: row; flex-wrap: wrap; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .days { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .container { padding-inline: 16px; }

  .nav { height: 66px; gap: 9px; }
  .nav__dm { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 0.86rem; }
  .menu-btn { width: 42px; height: 42px; padding: 0 11px; }
  .user-chip { padding: 6px 10px 6px 7px; font-size: 0.75rem; }
  .user-chip .avatar { width: 22px; height: 22px; }

  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title { font-size: clamp(1.65rem, 6.5vw, 2.1rem); }

  .pay__number { flex-direction: column; align-items: flex-start; gap: 11px; }
  .pay__number code { font-size: 0.98rem; }

  .works { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .work { border-radius: 14px; }
  .work__cap { padding: 26px 9px 9px; }
  .work__cap b { font-size: 0.74rem; }
  .work__cap small { font-size: 0.64rem; }
  .work__play i { width: 40px; height: 40px; }

  .modal__card { padding: 22px 16px 20px; }
  .toast { bottom: 14px; font-size: 0.81rem; padding: 11px 15px; }

  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .to-top { bottom: 12px; left: 12px; width: 38px; height: 38px; }
  .about__quote { position: static; margin-top: 10px; }
}
