@font-face {
  font-family: "Vazirmatn";
  src: url("../resume_fonts/Vazirmatn-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/*
 * آئورا ۳.۳۱: همه‌ی رنگ‌ها از این متغیرها می‌آیند — تم تاریک پیش‌فرض و تم روشن با `data-theme="light"`
 * (اسکریپت `<head>` هر صفحه از انتخاب کاربر یا تم سیستم می‌گذارد). جهت صفحه از `dir` خود html است، پس
 * فاصله‌ها با ویژگی‌های منطقی (inline-start/end) نوشته شده‌اند تا انگلیسیِ چپ‌به‌راست هم درست بنشیند.
 */
:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-glow-1: rgba(101, 168, 255, 0.16);
  --bg-glow-2: rgba(110, 231, 216, 0.09);
  --surface: #0e1b2c;
  --surface-2: #13243a;
  --surface-3: #0b1828;
  --soft: rgba(255, 255, 255, 0.04);
  --soft-2: rgba(255, 255, 255, 0.025);
  --line: rgba(180, 207, 237, 0.14);
  --line-strong: rgba(180, 207, 237, 0.24);
  --text: #f5f8fc;
  --text-2: #dce6f0;
  --muted: #a8b8cb;
  --subtle: #71869b;
  --brand: #6ee7d8;
  --brand-ink: #a7f3e9;
  --brand-2: #65a8ff;
  --brand-2-ink: #9fc6ff;
  --purple: #a78bfa;
  --gold: #fbbf24;
  --on-brand: #06201d;
  --brand-soft: rgba(110, 231, 216, 0.08);
  --brand-border: rgba(110, 231, 216, 0.28);
  --danger: #fb7185;
  --danger-ink: #fecdd3;
  --success: #34d399;
  --success-ink: #86efac;
  --warning-ink: #fde68a;
  --header-bg: rgba(9, 20, 35, 0.72);
  --header-bg-scrolled: rgba(9, 20, 35, 0.9);
  --input-bg: rgba(255, 255, 255, 0.04);
  --placeholder: #62778e;
  --paper: #fbfcfe;
  --paper-ink: #13263b;
  --paper-muted: #5b6f84;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.46);
  --cta-bg: linear-gradient(120deg, #123457, #123944);
  --radius: 18px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-glow-1: rgba(59, 130, 246, 0.12);
  --bg-glow-2: rgba(20, 184, 166, 0.1);
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --surface-3: #ffffff;
  --soft: rgba(15, 23, 42, 0.035);
  --soft-2: rgba(15, 23, 42, 0.022);
  --line: rgba(15, 35, 70, 0.1);
  --line-strong: rgba(15, 35, 70, 0.18);
  --text: #0d1b2c;
  --text-2: #1e3148;
  --muted: #52657b;
  --subtle: #74879b;
  --brand: #0d9488;
  --brand-ink: #0f766e;
  --brand-2: #2563eb;
  --brand-2-ink: #1d4ed8;
  --purple: #7c3aed;
  --gold: #d97706;
  --on-brand: #ffffff;
  --brand-soft: rgba(13, 148, 136, 0.08);
  --brand-border: rgba(13, 148, 136, 0.3);
  --danger: #e11d48;
  --danger-ink: #be123c;
  --success: #059669;
  --success-ink: #047857;
  --warning-ink: #b45309;
  --header-bg: rgba(255, 255, 255, 0.7);
  --header-bg-scrolled: rgba(255, 255, 255, 0.9);
  --input-bg: #ffffff;
  --placeholder: #94a3b8;
  --paper: #ffffff;
  --shadow: 0 20px 55px rgba(15, 35, 70, 0.1);
  --shadow-lg: 0 34px 90px rgba(15, 35, 70, 0.18);
  --cta-bg: linear-gradient(120deg, #0f766e, #1d4ed8);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% -10%, var(--bg-glow-1), transparent 36rem),
    radial-gradient(circle at 4% 28%, var(--bg-glow-2), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.75;
  transition: background-color 240ms ease, color 240ms ease;
}

:root[lang="en"] body { font-family: "Vazirmatn", "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.6; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; inset-inline-start: 16px; top: -60px; padding: 8px 14px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.skip-link:focus { top: 16px; }

/* ---- سرصفحه‌ی کپسولی شناور ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 14px 0;
  pointer-events: none;
}

.nav {
  position: relative;
  width: min(1160px, 100%);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-inline: auto;
  padding: 7px;
  padding-inline-start: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--header-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  pointer-events: auto;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled .nav { background: var(--header-bg-scrolled); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.06); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 850; letter-spacing: -0.3px; white-space: nowrap; }
.brand__logo { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; box-shadow: 0 6px 16px rgba(59, 130, 246, 0.28); }
.brand__mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--brand-border); border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 16px; }

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
}
.nav__links a { position: relative; z-index: 1; padding: 7px 15px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 650; white-space: nowrap; transition: color 160ms ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: transform 260ms cubic-bezier(.3, .7, .2, 1), width 260ms cubic-bezier(.3, .7, .2, 1), opacity 160ms ease;
  pointer-events: none;
}

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggles { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft-2); }

.icon-toggle {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.icon-toggle:hover { background: var(--soft); color: var(--text); }
.icon-toggle:active { transform: scale(0.94); }
.icon-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-toggle .icon-moon { fill: currentColor; stroke: none; }
:root[data-theme="light"] .icon-toggle .icon-sun, :root:not([data-theme="light"]) .icon-toggle .icon-moon { display: none; }
.icon-toggle--lang { width: auto; min-width: 36px; padding-inline: 10px; font-size: 12px; font-weight: 850; letter-spacing: 0.3px; }
.nav__menu { display: none; border: 1px solid var(--line); background: var(--soft-2); }
.account-chip { max-width: 210px; overflow: hidden; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* ---- دکمه‌ها ---------------------------------------------------------------- */

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  color: var(--text);
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--brand-border); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .icon-toggle:focus-visible, .chip:focus-visible { outline: 3px solid rgba(101, 168, 255, 0.4); outline-offset: 2px; }
.button:disabled { cursor: wait; opacity: 0.58; transform: none; }
.button--primary { border-color: transparent; background: linear-gradient(135deg, #6ee7d8, #8cf2ca); color: #06201d; }
:root[data-theme="light"] .button--primary { background: linear-gradient(135deg, #0d9488, #0ea5a4 50%, #2563eb); color: #fff; }
.button--primary:hover { border-color: transparent; box-shadow: 0 13px 34px rgba(45, 212, 191, 0.25); }
.button--secondary { background: linear-gradient(145deg, rgba(101, 168, 255, 0.18), rgba(167, 139, 250, 0.12)); }
.button--ghost { background: transparent; }
.button--danger { color: var(--danger-ink); border-color: rgba(251, 113, 133, 0.3); }
.button--google { background: var(--surface); border-color: var(--line-strong); }
.button--small { min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.button--lg { min-height: 54px; padding-inline: 26px; border-radius: 16px; font-size: 16px; }
.button--wide { width: 100%; }
.google-g { width: 20px; height: 20px; flex: 0 0 auto; }
:root[dir="ltr"] .arrow { display: inline-block; transform: scaleX(-1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.gradient-text { background: linear-gradient(100deg, var(--brand), var(--brand-2-ink) 55%, var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- قهرمان صفحه‌ی اول و «کاغذی که خودش می‌نویسد» -------------------------- */

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 64px;
  padding-block: 64px 80px;
}
.hero__copy h1 { max-width: 700px; margin: 22px 0 18px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.18; letter-spacing: -2px; }
:root[lang="en"] .hero__copy h1 { letter-spacing: -2.5px; line-height: 1.06; }
.hero__copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.hero__note li::before { content: "✓"; margin-inline-end: 7px; color: var(--brand); font-weight: 900; }

.writer { position: relative; display: grid; gap: 14px; justify-items: center; }
.writer::before { content: ""; position: absolute; inset: 14% 4% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(101, 168, 255, 0.24), rgba(110, 231, 216, 0.12) 50%, transparent 72%); filter: blur(40px); }
.writer__ask {
  width: min(470px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  padding-inline-start: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.writer__ask:focus-within { border-color: var(--brand-border); box-shadow: var(--shadow), 0 0 0 4px var(--brand-soft); }
.writer__spark { color: var(--gold); font-size: 18px; animation: spark 2.4s ease-in-out infinite; }
@keyframes spark { 50% { transform: rotate(90deg) scale(1.2); } }
.writer__input { min-width: 0; flex: 1; height: 38px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.writer__input::placeholder { color: var(--placeholder); }
.writer__chips { width: min(520px, 100%); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft-2); color: var(--muted); font-size: 12px; transition: color 150ms ease, border-color 150ms ease, background 150ms ease; }
.chip:hover { border-color: var(--brand-border); color: var(--text); background: var(--brand-soft); }

.paper-stage { width: 100%; display: grid; place-items: center; padding-block: 8px; perspective: 1400px; }
.paper {
  position: relative;
  width: min(400px, 88vw);
  min-height: 470px;
  padding: 30px 30px 26px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.6deg);
  transform-origin: 50% 0;
}
.paper.is-in { animation: paper-in 620ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes paper-in {
  0% { opacity: 0; transform: rotateX(-62deg) translateY(-30px) rotate(-1.6deg); }
  60% { opacity: 1; transform: rotateX(8deg) rotate(-1.6deg); }
  100% { transform: rotateX(0) rotate(-1.6deg); }
}
/* گوشه‌ی تاخورده در انتهای سطر: بیرون مثلث رنگ پس‌زمینه، درون رنگ پشت کاغذ */
.paper__fold { position: absolute; top: 0; inset-inline-end: 0; width: 46px; height: 46px; background: linear-gradient(135deg, var(--bg) 50%, #dfe7f1 50%); border-end-start-radius: 8px; box-shadow: 3px 3px 8px rgba(15, 35, 70, 0.12); }
:root[dir="ltr"] .paper__fold { background: linear-gradient(225deg, var(--bg) 50%, #dfe7f1 50%); box-shadow: -3px 3px 8px rgba(15, 35, 70, 0.12); }
.paper__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid #e7edf4; }
.paper__avatar { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 38% 52% 44% 56%; background: linear-gradient(145deg, #2dd4bf, #3b82f6 60%, #7c3aed); }
.paper__name { display: block; font-size: 20px; font-weight: 900; line-height: 1.3; }
.paper__role { display: block; min-height: 22px; color: #1d6fa5; font-size: 14px; font-weight: 750; }
.paper__section { margin-top: 16px; }
.paper__section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #0f5e74; font-size: 13px; font-weight: 900; }
.paper__section h3::after { content: ""; flex: 1; height: 1px; background: #e2e9f1; }
.paper__summary { min-height: 108px; margin: 0; color: #34485e; font-size: 13.5px; line-height: 1.95; }
:root[lang="en"] .paper__summary { line-height: 1.65; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 2px; vertical-align: -2px; background: #0d9488; animation: caret 900ms steps(1) infinite; }
.paper.is-done .caret { opacity: 0; animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.paper__skills { display: flex; min-height: 34px; flex-wrap: wrap; gap: 6px; }
.paper__tag { padding: 3px 10px; border-radius: 999px; background: #e7f6f4; color: #0f5e57; font-size: 12px; font-weight: 750; animation: tag-pop 260ms cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes tag-pop { from { opacity: 0; transform: scale(0.6); } }
.paper__lines { display: grid; gap: 8px; margin-top: 22px; }
.paper__lines i { display: block; height: 6px; border-radius: 6px; background: #edf2f7; }
.paper__lines i.short { width: 62%; }
.paper__stamp { position: absolute; bottom: 18px; inset-inline-end: 18px; padding: 4px 11px; border: 1.5px solid #0d9488; border-radius: 999px; color: #0d9488; font-size: 12px; font-weight: 850; opacity: 0; transform: scale(1.6) rotate(-8deg); transition: opacity 220ms ease, transform 320ms cubic-bezier(.3, 1.6, .5, 1); }
.paper.is-done .paper__stamp { opacity: 1; transform: scale(1) rotate(-8deg); }
.writer__use { color: var(--brand-ink); font-size: 14px; font-weight: 800; }
.writer__use:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- بخش‌های صفحه‌ی اول ---------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--soft-2); }
.proof-item { padding: 24px; text-align: center; }
.proof-item + .proof-item { border-inline-start: 1px solid var(--line); }
.proof-item strong { display: block; color: var(--text); font-size: 27px; line-height: 1.3; }
.proof-item span { color: var(--muted); font-size: 13px; }

.section-block { padding-block: 80px; }
.section-heading { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 { margin: 14px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.28; letter-spacing: -1px; }
.section-heading p { margin: 0; color: var(--muted); }

.ai-flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.ai-flow__step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, var(--soft), var(--soft-2)); }
.ai-flow__step:nth-child(2) { border-color: var(--brand-border); background: linear-gradient(160deg, var(--brand-soft), var(--soft-2)); }
.ai-flow__icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; background: var(--soft); color: var(--brand-ink); font-size: 21px; font-weight: 900; }
.ai-flow__icon--spark { background: linear-gradient(135deg, #2dd4bf, #3b82f6 60%, #7c3aed); color: #fff; animation: spark 3s ease-in-out infinite; }
.ai-flow__step h3 { margin: 18px 0 6px; font-size: 19px; }
.ai-flow__step p { margin: 0; color: var(--muted); font-size: 14px; }
.ai-demo { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--text-2); font-size: 13px; }
.ai-demo--input { color: var(--muted); }
.ai-demo--done { border-style: solid; border-color: rgba(52, 211, 153, 0.35); color: var(--success-ink); font-weight: 750; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, var(--soft), var(--soft-2)); transition: transform 200ms ease, border-color 200ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--brand-border); }
.feature-card--accent { border-color: var(--brand-border); background: linear-gradient(145deg, var(--brand-soft), var(--soft-2)); }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-size: 20px; font-weight: 900; }
.feature-card h3 { margin: 20px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 28px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: "۰" counter(step); display: block; margin-bottom: 18px; color: var(--brand); font-size: 30px; font-weight: 900; }
:root[lang="en"] .step::before { content: "0" counter(step); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.plans { width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: var(--soft-2); }
.plan--pro { border-color: var(--brand-border); background: linear-gradient(150deg, var(--brand-soft), rgba(101, 168, 255, 0.06)); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -13px; inset-inline-start: 28px; padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, #2dd4bf, #3b82f6); color: #fff; font-size: 12px; font-weight: 850; }
.plan h3 { margin: 0; font-size: 21px; }
.plan__price { display: grid; margin: 14px 0 20px; }
.plan__price strong { font-size: 34px; line-height: 1.25; }
.plan__price > span { color: var(--muted); font-size: 13px; }
.plan__list { display: grid; flex: 1; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 14px; }
.plan__list li::before { content: "✓"; margin-inline-end: 9px; color: var(--brand); font-weight: 900; }
.plan__list li.is-off { color: var(--muted); }
.plan__list li.is-off::before { content: "◌"; color: var(--warning-ink); }

/* قیمت قدیمی (صفحه‌های دیگر هنوز دارند) */
.pricing-card { width: min(720px, 100%); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin: auto; padding: 38px; border: 1px solid var(--brand-border); border-radius: 28px; background: linear-gradient(145deg, var(--brand-soft), rgba(101, 168, 255, 0.06)); box-shadow: var(--shadow); }
.pricing-card h3 { margin: 0 0 8px; font-size: 27px; }
.pricing-card p { margin: 0; color: var(--muted); }
.price { margin-bottom: 13px; text-align: center; }
.price strong { display: block; font-size: 32px; line-height: 1.25; }
.price span { color: var(--muted); font-size: 12px; }
.pricing-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; }
.pricing-list li::before { content: "✓"; margin-inline-end: 8px; color: var(--brand); }

.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-block: 70px; padding: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--cta-bg); color: #fff; }
.cta-panel h2 { margin: 0 0 7px; font-size: 31px; }
.cta-panel p { margin: 0; color: rgba(255, 255, 255, 0.78); }
:root[data-theme="light"] .cta-panel .button--primary { background: #fff; color: #0f3b4a; }

.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer .brand { color: var(--text); font-size: 15px; }
.site-footer .brand__logo { width: 30px; height: 30px; border-radius: 9px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; }
.footer-links a:hover { color: var(--text); }
.site-footer__version { color: var(--subtle); font-size: 12px; }
/* نماد اعتماد: تصویر محلی (نه logo.aspx اینماد) تا بارگذاری صفحه منتظر سرور بیرونی نماند؛ فقط پیوند به صفحه‌ی تایید است. */
.enamad-seal { display: inline-flex; border-radius: 14px; line-height: 0; transition: transform 160ms ease, box-shadow 160ms ease; }
.enamad-seal:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.enamad-seal img { width: 84px; height: auto; }

.faq-grid { width: min(850px, 100%); display: grid; gap: 11px; margin: auto; }
.faq-grid details { border: 1px solid var(--line); border-radius: 16px; background: var(--soft-2); transition: border-color 160ms ease; }
.faq-grid details[open] { border-color: var(--brand-border); }
.faq-grid summary { padding: 17px 20px; color: var(--text); font-weight: 750; cursor: pointer; }
.faq-grid summary::marker { color: var(--brand); }
.faq-grid details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* ---- صفحه‌های مقاله --------------------------------------------------------- */

.content-hero { padding-block: 60px 50px; text-align: center; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--brand); }
.content-hero h1 { max-width: 850px; margin: 13px auto 14px; font-size: clamp(36px, 5vw, 60px); line-height: 1.25; letter-spacing: -1.5px; }
.content-hero > p { max-width: 760px; margin: auto; color: var(--muted); font-size: 17px; }
.article-note { max-width: 760px; margin: 0 auto 26px; padding: 10px 16px; border: 1px solid var(--brand-border); border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; text-align: center; }
.article-note:empty { display: none; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 28px; padding-bottom: 95px; }
.article-content { min-width: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 25px; background: var(--soft-2); }
.article-content h2 { margin: 44px 0 12px; padding-top: 8px; font-size: 28px; line-height: 1.45; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 28px 0 8px; font-size: 20px; }
.article-content p, .article-content li { color: var(--text-2); }
.article-content ul, .article-content ol { padding-inline-start: 22px; }
.article-content li + li { margin-top: 7px; }
.article-content strong { color: var(--text); }
.article-content a { color: var(--brand-2-ink); text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft-2); }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--brand); }
.checklist { display: grid; gap: 9px; padding: 0 !important; list-style: none; }
.checklist li { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft-2); }
.checklist li::before { content: "✓"; margin-inline-end: 9px; color: var(--brand); font-weight: 900; }
.seo-cta { margin-top: 42px; padding: 26px; border: 1px solid var(--brand-border); border-radius: 20px; background: linear-gradient(130deg, var(--brand-soft), rgba(101, 168, 255, 0.07)); }
.seo-cta h2 { margin: 0 0 6px; padding: 0; }
.seo-cta p { margin: 0 0 18px; }
.template-catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 22px; }
.template-item { min-height: 145px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--soft-2); }
.template-item__head { display: flex; align-items: center; gap: 10px; }
.template-item__swatch { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.template-item:nth-child(3n+2) .template-item__swatch { background: linear-gradient(135deg, #fb7185, #fbbf24); }
.template-item:nth-child(3n) .template-item__swatch { background: linear-gradient(135deg, #a78bfa, #65a8ff); }
.template-item h3 { margin: 0; font-size: 17px; }
.template-item p { margin: 9px 0 0; font-size: 13px; }

/* ---- ورود ------------------------------------------------------------------ */

.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(28px, 5vw, 78px); border-inline-end: 1px solid var(--line); background: linear-gradient(150deg, #0e2846, #0a1b2d 58%, #0d2f33); color: #f5f8fc; }
:root[data-theme="light"] .auth-art { background: linear-gradient(150deg, #0f766e, #1e40af 70%, #4c1d95); }
.auth-art::after { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -120px; bottom: -100px; border: 1px solid rgba(110, 231, 216, 0.25); border-radius: 42% 58% 63% 37%; box-shadow: 0 0 0 42px rgba(110, 231, 216, 0.04), 0 0 0 92px rgba(101, 168, 255, 0.03); }
.auth-art .brand, .auth-art .eyebrow { color: #f5f8fc; }
.auth-art .eyebrow { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.auth-art .gradient-text { background: linear-gradient(100deg, #6ee7d8, #9fc6ff 55%, #c4b5fd); -webkit-background-clip: text; background-clip: text; }
.auth-art__copy { position: relative; z-index: 1; max-width: 580px; margin-block: auto; }
.auth-art h1 { margin: 20px 0 14px; font-size: clamp(38px, 5vw, 66px); line-height: 1.2; letter-spacing: -2px; }
.auth-art p { color: rgba(240, 246, 252, 0.8); font-size: 17px; }
.auth-quote { position: relative; z-index: 1; max-width: 480px; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; background: rgba(255, 255, 255, 0.06); color: rgba(240, 246, 252, 0.86); font-size: 14px; }
.auth-panel { position: relative; display: grid; place-items: center; padding: 34px; }
.auth-panel__toggles { position: absolute; top: 18px; inset-inline-end: 18px; }
.auth-card { width: min(430px, 100%); }
.auth-card h2 { margin: 24px 0 5px; font-size: 31px; }
.auth-card > p { margin: 0 0 24px; color: var(--muted); }
.auth-google { width: 100%; min-height: 52px; margin-bottom: 18px; font-size: 15px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--subtle); font-size: 12px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft-2); }
.auth-tab { padding: 9px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.auth-tab.is-active { background: var(--surface-2); color: var(--text); font-weight: 750; }

.form { display: grid; gap: 17px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--text-2); font-size: 13px; font-weight: 700; }
.input { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--input-bg); color: var(--text); }
.input::placeholder { color: var(--placeholder); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(14px) 50%, calc(19px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
:root[dir="ltr"] select.input { background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; }
.form-message { min-height: 26px; margin: 0; color: var(--danger-ink); font-size: 13px; }
.form-hint { margin: -7px 0 0; color: var(--muted); font-size: 12px; }
.form-hint a { color: var(--brand-2-ink); }

/* ---- داشبورد --------------------------------------------------------------- */

.dashboard { padding-block: 42px 90px; }
.dashboard-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.dashboard-hero h1 { margin: 0 0 4px; font-size: 38px; }
.dashboard-hero p { margin: 0; color: var(--muted); }
/* ۳.۳۲: دو راه ساختن رزومه */
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(620px, 100%); }
.mode-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 8px; align-items: center; min-height: 92px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: border-color .15s, transform .15s; }
.mode-card:hover { border-color: var(--brand-border); transform: translateY(-1px); }
.mode-card:disabled { opacity: .6; cursor: wait; transform: none; }
.mode-card__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 20px; grid-row: span 2; }
.mode-card--ai { border-color: rgba(167, 139, 250, .38); background: linear-gradient(140deg, rgba(167, 139, 250, .12), var(--surface) 60%); }
.mode-card--ai .mode-card__icon { background: rgba(167, 139, 250, .16); color: #c4b5fd; }
.mode-card__text { display: grid; gap: 2px; }
.mode-card__text strong { font-size: 15.5px; }
.mode-card__text span { color: var(--muted); font-size: 12.5px; }
.mode-card__price { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--brand-ink); font-size: 12px; font-weight: 800; }
.mode-card--ai .mode-card__price { color: #c4b5fd; }
:root[data-theme="light"] .mode-card--ai .mode-card__price, :root[data-theme="light"] .mode-card--ai .mode-card__icon { color: #6d28d9; }
.tier-badge { padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 11.5px; font-weight: 800; }
.tier-badge--ai { background: rgba(167, 139, 250, .14); color: #c4b5fd; }
@media (max-width: 560px) { .mode-cards { grid-template-columns: 1fr; } .mode-card { min-height: 0; } }
.notice { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 14px 18px; border: 1px solid rgba(52, 211, 153, 0.3); border-radius: 14px; background: rgba(52, 211, 153, 0.08); color: var(--success-ink); font-size: 14px; }
.notice.is-visible { display: flex; }
.dashboard-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 22px; }
.summary-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--soft-2); }
.summary-card strong { display: block; font-size: 26px; }
.summary-card span { color: var(--muted); font-size: 12px; }
.resume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resume-card { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(155deg, var(--soft), var(--soft-2)); }
.resume-card__preview { position: relative; height: 155px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 70% 10%, var(--brand-soft), transparent 50%), var(--surface-2); }
.resume-card__page { width: 83px; height: 116px; padding: 8px; border-radius: 5px; background: #f7f9fb; box-shadow: 0 13px 35px rgba(0, 0, 0, 0.25); transform: rotate(3deg); }
.mini-head { height: 25%; margin: -8px -8px 7px; border-radius: 5px 5px 0 0; background: linear-gradient(120deg, #19466e, #257488); }
.mini-line { height: 3px; margin: 5px 0; border-radius: 4px; background: #c4d0d9; }
.mini-line:nth-child(3n) { width: 68%; }
.status-badge { position: absolute; top: 13px; inset-inline-start: 13px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11px; }
.status-badge--live { border-color: rgba(52, 211, 153, 0.3); color: var(--success-ink); }
.resume-card__body { padding: 20px; }
.resume-card__body h2 { overflow: hidden; margin: 0 0 4px; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.resume-card__meta { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.resume-card__actions { display: flex; flex-wrap: wrap; gap: 7px; }
.resume-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.paid-label { color: var(--success-ink); font-size: 12px; }
.unpaid-label { color: var(--warning-ink); font-size: 12px; }
.link-button { padding: 0; border: 0; background: transparent; color: var(--brand-2-ink); font-size: 12px; }
.link-button:hover { color: var(--text); }
.empty-state { grid-column: 1 / -1; padding: 74px 30px; border: 1px dashed var(--line-strong); border-radius: 22px; color: var(--muted); text-align: center; }
.empty-state__icon { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 16px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); font-size: 28px; }
.empty-state h2 { margin: 0; color: var(--text); }
.empty-state p { margin: 5px 0 0; }

/* انیمیشن ورود منوی گوشی (پیش از ۳.۳۲ مال راهنمای مرحله‌ای هم بود) */
@keyframes wizard-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* ---- پرداخت، پیغام و ۴۰۴ ----------------------------------------------------- */

.toast { position: fixed; z-index: 100; inset-inline-start: 24px; bottom: 24px; max-width: min(400px, calc(100% - 48px)); padding: 13px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); box-shadow: var(--shadow); color: var(--text); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-error { border-color: rgba(251, 113, 133, 0.4); }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; }
.not-found h1 { margin: 0; color: var(--brand); font-size: 90px; line-height: 1; }
.not-found h2 { margin: 15px 0 5px; }
.not-found p { margin: 0 0 25px; color: var(--muted); }

/* ---- پاسخ‌گو ---------------------------------------------------------------- */

@media (max-width: 1040px) {
  .nav__login { display: none; }
}

@media (max-width: 960px) {
  .nav__menu { display: inline-grid; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 24px;
    background: var(--header-bg-scrolled);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .site-header.is-open .nav__links { display: flex; animation: wizard-enter .2s ease both; }
  .nav__links a { padding: 11px 16px; border-radius: 16px; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--soft); }
  .nav__pill { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; text-align: center; }
  .hero__copy > p { margin-inline: auto; }
  .hero__actions, .hero__note { justify-content: center; }
  .feature-grid, .resume-grid, .ai-flow { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1160px); }
  .site-header { padding: 10px 10px 0; }
  .nav { min-height: 56px; padding: 5px; padding-inline-start: 12px; gap: 6px; }
  .brand__text { display: none; }
  .nav__toggles { padding: 2px; }
  .icon-toggle { width: 34px; height: 34px; }
  .nav__actions .button--small { padding-inline: 12px; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__copy h1 { font-size: 40px; letter-spacing: -1.4px; }
  .hero__copy > p { font-size: 15px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .paper { min-height: 430px; padding: 24px 22px 22px; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3), .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .proof-item:nth-child(3) { border-inline-start: 0; }
  .section-block { padding-block: 56px; }
  .feature-grid, .steps, .resume-grid, .dashboard-summary, .ai-flow, .plans { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr; text-align: center; }
  .pricing-list { grid-template-columns: 1fr; text-align: start; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 30px; }
  .site-footer .container, .dashboard-hero { align-items: stretch; flex-direction: column; }
  .article-shell { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .template-catalog { grid-template-columns: 1fr; }
  .dashboard { padding-top: 26px; }
  .dashboard-hero h1 { font-size: 31px; }
  .account-chip { display: none; }
  .auth-panel { padding: 70px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==== ۳.۳۳: پنل کاربری — خوش‌آمد، زبانه‌ها، پیش‌نمایش زنده‌ی کارت، منوی ویرایش، سایت رزومه، حساب ==== */
.dash-welcome { display: grid; gap: 20px; margin-bottom: 22px; }
.dash-welcome h1 { margin: 0 0 4px; font-size: clamp(28px, 4vw, 38px); }
.dash-welcome p { margin: 0; color: var(--muted); }
.dash-welcome .dashboard-summary { grid-template-columns: repeat(4, 1fr); margin: 0; }
.summary-card--site strong { font-size: 19px; line-height: 1.9; }
.dash-tabs { position: sticky; top: 76px; z-index: 30; display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 0 26px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); scrollbar-width: none; }
.dash-tabs button { min-height: 40px; padding: 7px 17px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; white-space: nowrap; cursor: pointer; }
.dash-tabs button:hover { color: var(--text); }
.dash-tabs button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-border); }
.dash-panel[hidden] { display: none !important; }
.dashboard-hero h2 { margin: 0; font-size: 22px; }

.resume-card__preview { height: 230px; }
.resume-card__frame { position: absolute; top: 0; left: 0; width: 880px; height: 1200px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity 280ms ease; background: transparent; }
.resume-card__preview.is-ready { place-items: start; background: #e9eef5; }
.resume-card__preview.is-ready .resume-card__frame { opacity: 1; }
.resume-card__preview.is-ready .resume-card__page { display: none; }
.resume-card__preview .status-badge { z-index: 2; }
.resume-card__preview::after { content: ""; position: absolute; inset: auto 0 0; height: 46px; z-index: 1; background: linear-gradient(transparent, rgba(7, 17, 31, 0.18)); pointer-events: none; }

.edit-menu { position: relative; }
.edit-menu > summary { list-style: none; cursor: pointer; }
.edit-menu > summary::-webkit-details-marker { display: none; }
.edit-menu__list { position: absolute; z-index: 40; inset-inline-start: 0; top: calc(100% + 6px); width: 270px; display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3); }
.edit-menu__item { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--text); text-align: start; cursor: pointer; }
.edit-menu__item:hover, .edit-menu__item:focus-visible { background: var(--brand-soft); }
.edit-menu__item strong { font-size: 14px; }
.edit-menu__item span { color: var(--muted); font-size: 12px; }

/* سایت رزومه */
.site-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: 22px; align-items: start; margin-bottom: 24px; }
.site-hero h2 { margin: 0 0 8px; font-size: 26px; }
.site-hero p { margin: 0; color: var(--muted); line-height: 2; }
.site-sub { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); }
.site-sub.is-active { border-color: var(--brand-border); background: linear-gradient(150deg, var(--brand-soft), var(--surface) 70%); }
.site-sub strong { font-size: 17px; }
.site-sub > span, .site-sub small { color: var(--muted); font-size: 12.5px; }
/* ۳.۳۷: سه دوره‌ی اشتراک */
.site-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.site-plan { display: grid; gap: 2px; padding: 9px 8px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: inherit; font: inherit; text-align: center; cursor: pointer; }
.site-plan b { font-size: 13px; }
.site-plan span { font-size: 12px; color: var(--muted); }
.site-plan s { font-size: 11px; color: var(--muted); }
.site-plan em { justify-self: center; padding: 1px 7px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-style: normal; font-weight: 700; }
.site-plan[aria-checked="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.site-plan:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* ۳.۳۷: طراحی با هوش مصنوعی */
.site-ai { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--brand-border); border-radius: 18px; background: linear-gradient(160deg, var(--brand-soft), transparent 75%); }
.site-ai__lead, .site-ai__state { margin: 0; color: var(--muted); font-size: 12.5px; }
.site-ai__state.is-on { color: inherit; font-weight: 600; }
.site-ai textarea { min-height: 84px; resize: vertical; }
.site-ai__ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.site-ai__ideas button { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.site-ai__ideas button:hover { border-color: var(--brand); }
.site-ai[data-locked="true"] textarea, .site-ai[data-locked="true"] .site-ai__ideas { opacity: 0.55; }
@media (max-width: 420px) { .site-plans { grid-template-columns: 1fr; } }
.site-sub__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.site-sub__pay .input { flex: 1 1 120px; min-height: 44px; }
.site-sub__pay .button { flex: 1 1 auto; }
.site-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.site-form { display: grid; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft-2); }
.site-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.site-form legend, .site-form .field > span:first-child { margin-bottom: 8px; color: var(--text-2); font-size: 13px; font-weight: 700; }
.site-address { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--input-bg); overflow: hidden; }
.site-address .input { border: 0; border-radius: 0; background: transparent; min-height: 48px; }
.site-address__domain { display: grid; place-items: center; padding: 0 12px; background: var(--soft); color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-check { color: var(--muted); font-size: 12px; }
.site-check.is-ok { color: var(--success); }
.site-check.is-bad { color: var(--danger); }
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice { display: grid; gap: 3px; padding: 10px; border: 1.5px solid var(--line-strong); border-radius: 15px; background: var(--surface); color: var(--text); text-align: start; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.choice:hover { transform: translateY(-1px); }
.choice[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.choice strong { font-size: 14px; }
.choice small { color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.tpl-thumb { height: 64px; margin-bottom: 4px; border-radius: 10px; background: #eef2f7; position: relative; overflow: hidden; }
.tpl-thumb::before, .tpl-thumb::after { content: ""; position: absolute; border-radius: 4px; }
.tpl-thumb--aurora::before { inset: 0 0 55% 0; border-radius: 0; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.tpl-thumb--aurora::after { inset: 52% 12% 10%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.tpl-thumb--minimal { background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.tpl-thumb--minimal::before { top: 14px; left: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translateX(-50%); background: #cbd5e1; }
.tpl-thumb--minimal::after { top: 38px; left: 25%; right: 25%; height: 4px; background: #94a3b8; box-shadow: 0 9px 0 #cbd5e1, 0 16px 0 #e2e8f0; }
.tpl-thumb--sidebar::before { inset: 0 auto 0 0; width: 34%; border-radius: 0; background: linear-gradient(160deg, #1d4ed8, #0ea5e9); }
.tpl-thumb--sidebar::after { top: 12px; left: 42%; right: 10%; height: 14px; background: #fff; box-shadow: 0 20px 0 #fff; }
.tpl-thumb--cards::before { inset: 8px 8px 50% 8px; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); border-radius: 7px; }
.tpl-thumb--cards::after { inset: 56% 52% 8px 8px; background: #fff; box-shadow: calc(var(--dir, 1) * 46px) 0 0 #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.choice--theme { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border-radius: 999px; font-size: 12.5px; }
.swatch { width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto; }
.font-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.choice--font .font-sample { font-family: var(--rs-font); }
.choice--font strong { font-size: 16px; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch > span { position: relative; width: 44px; height: 25px; flex: 0 0 auto; border-radius: 999px; background: var(--line-strong); transition: background-color 0.15s; }
.switch > span::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(calc(var(--switch-dir, -1) * 19px)); }
:root[dir="ltr"] .switch { --switch-dir: 1; }
.switch input:focus-visible + span { outline: 3px solid rgba(101, 168, 255, 0.4); outline-offset: 2px; }
.switch b { font-weight: 600; font-size: 14px; color: var(--text-2); }
.site-note { margin: -6px 0 0; color: var(--muted); font-size: 12px; }
.site-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-preview { position: sticky; top: 140px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2); }
.site-preview__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.site-preview__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.site-preview__bar span { margin-inline-start: 10px; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-preview__frame { position: relative; height: min(70vh, 640px); overflow: hidden; background: #f6f8fc; }
.site-preview__frame iframe { position: absolute; top: 0; left: 0; width: 1200px; border: 0; transform-origin: 0 0; }
:root[dir="rtl"] .site-preview__frame iframe { left: auto; right: 0; transform-origin: 100% 0; }
.site-preview__empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; color: #64748b; text-align: center; }

/* حساب */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; align-items: start; }
.account-card { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft-2); }
.account-card h2 { margin: 0; font-size: 20px; }
.account-card p { margin: 0; line-height: 2; }
.muted { color: var(--muted); }
.pay-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pay-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pay-item:first-child { border-top: 0; }
.pay-item div { display: grid; gap: 2px; min-width: 0; }
.pay-item strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-item small { font-size: 12px; }
.pay-amount { flex: 0 0 auto; font-size: 13px; font-weight: 700; }
.pay-amount--paid { color: var(--success); }
.pay-amount--pending { color: var(--gold); }

@media (max-width: 980px) {
  .site-hero, .site-layout, .account-grid { grid-template-columns: 1fr; }
  .site-preview { position: relative; top: 0; order: -1; }
  .site-preview__frame { height: 420px; }
}
@media (max-width: 640px) {
  .dash-welcome .dashboard-summary { grid-template-columns: repeat(2, 1fr); }
  .dash-tabs { top: 64px; }
}

/* ۳.۳۳: پس‌زمینه‌ی فیلدها در تم تاریک نیمه‌شفاف است و فهرست بازشونده‌ی select در ویندوز همان را با متن روشن روی زمینه‌ی سفید می‌کشید (نوشته‌ها دیده نمی‌شدند) */
select option, select optgroup { background-color: var(--surface); color: var(--text); }

/* ==== ۳.۳۳: صفحه‌ی اول — دو راه ساختن، سایت رزومه، چهار بسته؛ و صفحه‌ی قیمت‌ها ==== */
.ways { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.way { position: relative; display: grid; align-content: start; gap: 12px; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--soft-2); }
.way--ai { border-color: var(--brand-border); background: radial-gradient(circle at 90% 0%, rgba(167, 139, 250, 0.16), transparent 50%), linear-gradient(150deg, var(--brand-soft), var(--soft-2)); }
.way__tag { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--brand-ink); font-size: 12.5px; font-weight: 800; }
.way h3 { margin: 0; font-size: 22px; line-height: 1.6; }
.way p { margin: 0; color: var(--muted); line-height: 2; }
.way__list { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.way__list li { position: relative; padding-inline-start: 24px; color: var(--text-2); font-size: 14.5px; line-height: 1.9; }
.way__list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.way__demo { display: grid; gap: 6px; margin-top: 8px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 18px; }
.way__bubble { padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.way__bubble--out { border: 1px solid var(--brand-border); color: var(--text); }
.way__arrow { justify-self: center; color: var(--brand); }

.showcase__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.browser-mock { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #f6f8fc; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
:root[dir="ltr"] .browser-mock { transform: perspective(1200px) rotateY(4deg) rotateX(2deg); }
.browser-mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #e8edf4; }
.browser-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-mock__bar span { margin-inline-start: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; color: #475569; font-size: 12px; }
.browser-mock__hero { display: flex; align-items: center; gap: 16px; padding: 34px 26px 44px; background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.6), transparent 45%), linear-gradient(135deg, #1e3a8a, #1d4ed8); color: #fff; }
.browser-mock__hero b { display: block; font-size: 22px; }
.browser-mock__hero small { opacity: 0.85; }
.browser-mock__avatar { width: 64px; height: 64px; flex: 0 0 auto; border: 3px solid rgba(255, 255, 255, 0.8); border-radius: 50%; background: linear-gradient(135deg, #fde68a, #f472b6); }
.browser-mock__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 22px 26px 26px; }
.browser-mock__body i { grid-column: 1 / -1; height: 9px; border-radius: 9px; background: #dbe3ee; }
.browser-mock__body i.short { width: 60%; }
.browser-mock__body span { height: 62px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.showcase__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.showcase__list li { display: grid; gap: 3px; padding-inline-start: 18px; border-inline-start: 3px solid var(--brand-border); }
.showcase__list strong { font-size: 17px; }
.showcase__list span { color: var(--muted); line-height: 1.9; }
.showcase__price { margin: 28px 0 0; color: var(--muted); text-align: center; }
.showcase__price strong { color: var(--text); font-size: 20px; }

.plans--4 { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plans--4 .plan { padding: 24px; }
.plan--site { border-color: rgba(167, 139, 250, 0.35); background: linear-gradient(150deg, rgba(167, 139, 250, 0.1), var(--soft-2)); }
.plans__more { margin: 24px 0 0; text-align: center; }

/* صفحه‌ی قیمت‌ها */
.pricing-hero { padding: 70px 0 30px; text-align: center; }
.pricing-hero h1 { margin: 10px 0 12px; font-size: clamp(32px, 5vw, 50px); line-height: 1.4; }
.pricing-hero p { width: min(680px, 100%); margin: auto; color: var(--muted); line-height: 2.1; }
.compare { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--soft-2); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--text-2); font-weight: 600; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-size: 15px; }
.compare thead small { display: block; color: var(--muted); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--success); font-weight: 800; }
.compare .no { color: var(--subtle); }
.compare .col-ai { background: var(--brand-soft); }
.site-explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site-explain article { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft-2); }
.site-explain h3 { margin: 0 0 6px; font-size: 17px; }
.site-explain p { margin: 0; color: var(--muted); line-height: 2; }

@media (max-width: 1080px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ways, .showcase__grid, .site-explain { grid-template-columns: 1fr; }
  .browser-mock, :root[dir="ltr"] .browser-mock { transform: none; }
}
@media (max-width: 560px) { .plans--4 { grid-template-columns: 1fr; } .way { padding: 22px; } }

/* ۳.۳۴.۱: «باز کردن سایتم» پیش از فعال‌سازی، کارت اشتراک را نشان می‌دهد */
@keyframes site-flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 6px var(--brand-soft), 0 0 0 1px var(--brand); } }
.site-sub.is-flash { animation: site-flash 1.6s ease 2; }
