/* ==========================================================================
   وب‌پایا — استایل سایت (HTML/CSS خالص، بدون فریم‌ورک)
   تم: همان تم نسخه‌ی React — پس‌زمینه‌ی تیره‌ی ink، آبی primary، فیروزه‌ای accent
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-950: #070c17;
  --ink-900: #0b1220;
  --ink-850: #0e1627;
  --ink-800: #111a2e;
  --ink-700: #17223a;
  --ink-600: #1f2a44;

  --p-50: #eef4ff;
  --p-100: #d9e6ff;
  --p-200: #b3ccff;
  --p-300: #80aaff;
  --p-400: #4d7fff;
  --p-500: #2456f5;
  --p-600: #153fd6;
  --p-700: #1032ab;

  --a-300: #7ee8e1;
  --a-400: #22d3c9;
  --a-500: #0fb8ad;
  --a-600: #0a9089;

  --gold: #d9b56b;
  --amber: #fbbf24;
  --danger: #f87171;
  --success: #34d399;

  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --muted-2: #64748b;

  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(36, 86, 245, 0.25);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 72px;
  --container: 1280px;
  --gutter: 16px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ---------- ریست و پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.35; font-weight: 800; color: #fff; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(36, 86, 245, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--p-400); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 8px; border: 2px solid var(--ink-900); }
::-webkit-scrollbar-thumb:hover { background: #2a3858; }

.i { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flip-y { transform: scaleY(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.skip-link { position: fixed; top: 12px; right: 12px; z-index: 200; background: var(--p-500); color: #fff; padding: 10px 18px; border-radius: 10px; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

/* ---------- چیدمان ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.container-mid { max-width: 1000px; }
.container-form { max-width: 760px; }
.section { position: relative; padding-block: clamp(64px, 5vw + 40px, 112px); }
.section-tight { padding-block: clamp(48px, 4vw + 24px, 80px); }
.section-alt { background: linear-gradient(180deg, transparent, rgba(17, 26, 46, 0.55) 18%, rgba(17, 26, 46, 0.55) 82%, transparent); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 3vw + 20px, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head-row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: start; flex-wrap: wrap; }
.section-head-row > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.section-title { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); letter-spacing: -0.01em; }
.section-title-sm { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin-bottom: 24px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.section-foot { margin-top: 44px; display: flex; justify-content: center; }
.note-center { margin-top: 28px; text-align: center; color: var(--muted-2); font-size: 0.92rem; }

.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions-center { justify-content: center; }

/* ---------- اجزای پایه ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass);
  color: var(--text-2); font-size: 0.8rem; font-weight: 500; line-height: 1.6;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
a.badge:hover { border-color: var(--p-400); color: var(--p-200); }
.badge .i { width: 14px; height: 14px; }
.badge-glow { border-color: rgba(77, 127, 255, 0.35); background: rgba(36, 86, 245, 0.12); color: var(--p-100); box-shadow: 0 0 24px rgba(36, 86, 245, 0.18); }
.badge-accent { border-color: rgba(34, 211, 201, 0.5); color: var(--a-400); background: rgba(15, 184, 173, 0.1); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a-400); box-shadow: 0 0 0 0 rgba(34, 211, 201, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 201, 0); } }

.gradient-text { background: linear-gradient(270deg, var(--p-400), var(--p-300) 45%, var(--a-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 14px; font-weight: 600; font-size: 0.95rem; line-height: 1.5;
  border: 1px solid transparent; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin 0.7s linear infinite; }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translateX(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--p-500), var(--p-600)); color: #fff; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%); transform: translateX(120%); transition: transform 0.7s var(--ease); }
.btn-primary:hover::before { transform: translateX(-120%); }
.btn-primary:hover { box-shadow: 0 0 56px rgba(36, 86, 245, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-outline { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, 0.02); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.btn-accent { background: linear-gradient(135deg, var(--a-400), var(--a-500)); color: var(--ink-900); box-shadow: 0 0 40px rgba(34, 211, 201, 0.25); }
.btn-accent:hover { box-shadow: 0 0 56px rgba(34, 211, 201, 0.45); }
.btn-ghost { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.btn-sm { padding: 8px 16px; font-size: 0.86rem; border-radius: 12px; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 16px; }
.btn-block { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.icon-btn:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.icon-btn .i { width: 20px; height: 20px; }

.card {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.input {
  width: 100%; padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.045);
  color: #fff; font-size: 0.95rem; line-height: 1.6; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus { border-color: var(--p-400); box-shadow: 0 0 0 4px rgba(77, 127, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12); }
textarea.input { resize: vertical; min-height: 110px; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-left: 42px; }
select.input option { background: var(--ink-800); color: #fff; }

/* ---------- هدر ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11, 18, 32, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.28rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.brand img { height: 36px; width: auto; filter: drop-shadow(0 0 12px rgba(217, 181, 107, 0.25)); transition: transform 0.4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a.is-active { color: var(--p-300); }
.nav-links a.is-active::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--a-400), var(--p-400)); }
.nav-actions { display: none; align-items: center; gap: 14px; }
.nav-account { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-2); transition: color 0.2s; }
.nav-account:hover { color: #fff; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; border: 1px solid var(--line); background: var(--glass); }
.menu-toggle .i { width: 24px; height: 24px; }
@media (min-width: 1180px) {
  .nav-links, .nav-actions { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 90; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 16, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.mobile-menu-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); background: linear-gradient(180deg, var(--ink-800), var(--ink-900)); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu-panel { transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 14px; color: var(--text-2); font-weight: 500; opacity: 0; transform: translateX(20px); transition: background 0.2s, color 0.2s, opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--i) * 35ms + 80ms); }
.mobile-menu-links a .i { opacity: 0.4; width: 16px; height: 16px; }
.mobile-menu-links a:hover, .mobile-menu-links a.is-active { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mobile-menu-links a.is-active { color: var(--p-300); }
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: none; }
.mobile-menu-actions { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); }
body.menu-open { overflow: hidden; }

/* ---------- پس‌زمینه‌های مشترک هیرو ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(36, 86, 245, 0.22), transparent 60%); }
.dot-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); animation: blob 14s ease-in-out infinite; }
.blob-1 { width: 380px; height: 380px; top: -120px; right: 18%; background: rgba(36, 86, 245, 0.22); }
.blob-2 { width: 300px; height: 300px; bottom: -80px; left: 6%; background: rgba(15, 184, 173, 0.13); animation-delay: -6s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 10px) scale(0.94); } }

/* ---------- صحنه‌های سه‌بعدی ---------- */
.scene { position: relative; width: 100%; height: 100%; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.scene.is-ready canvas { opacity: 1; }
.scene canvas { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.scene-fallback { display: none; }
.scene.no-webgl .scene-fallback { display: block; position: absolute; inset: 8% 4%; width: 92%; height: 84%; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow-glow); opacity: 0.9; }
.chip {
  position: absolute; inset-inline-start: var(--x); top: var(--y); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 16px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-2); white-space: nowrap;
  background: rgba(11, 18, 32, 0.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}
.chip:nth-child(2) { animation-delay: -1.5s; }
.chip:nth-child(3) { animation-delay: -3s; }
.chip:nth-child(4) { animation-delay: -4.5s; }
.chip .i { color: var(--a-400); width: 18px; height: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- هیروی صفحه‌ی اصلی ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 32px 96px; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 24px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero-title { margin-top: 22px; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.25; letter-spacing: -0.015em; }
.hero-rotator { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; color: var(--text-2); }
.rotator { position: relative; display: inline-flex; height: 1.7em; overflow: hidden; vertical-align: bottom; }
.rotator-word { display: inline-block; font-weight: 800; background: linear-gradient(90deg, var(--a-400), var(--a-300)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-in 0.6s var(--ease) both; }
.rotator-word.is-out { animation: word-out 0.45s var(--ease) both; }
@keyframes word-in { from { transform: translateY(100%); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes word-out { to { transform: translateY(-100%); opacity: 0; filter: blur(6px); } }
.hero .lead, .page-hero .lead { margin-top: 20px; max-width: 580px; font-size: 1.1rem; line-height: 2; color: var(--muted); }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 0.9rem; color: var(--muted); }
.check-list li { display: inline-flex; align-items: center; gap: 7px; }
.check-list .i { color: var(--a-400); width: 18px; height: 18px; }
.check-list-col { flex-direction: column; gap: 12px; margin-top: 22px; color: var(--text-2); }
.check-list-col li { align-items: flex-start; }
.check-list-col .i { margin-top: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 480px; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.3; }
.hero-stats dt { font-size: 0.78rem; color: var(--muted-2); }
.hero-stats-sm { margin-top: 26px; padding-top: 20px; }
.hero-stats-sm dd { font-size: 1.45rem; }

.hero-visual { position: relative; height: clamp(320px, 88vw, 440px); }
.scene-morph { position: absolute; inset: 0; }
.morph-chips { position: absolute; inset: 0; pointer-events: none; }
.morph-chips li {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 16px; font-size: 0.78rem; font-weight: 500; color: var(--muted);
  background: rgba(11, 18, 32, 0.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease), opacity 0.4s;
  animation: float 7s ease-in-out infinite; opacity: 0.75;
}
.morph-chips li .i { width: 18px; height: 18px; }
.morph-chips li:nth-child(1) { top: 5%; right: 3%; }
.morph-chips li:nth-child(2) { top: 5%; left: 1%; animation-delay: -1.7s; }
.morph-chips li:nth-child(3) { bottom: 7%; right: 3%; animation-delay: -3.4s; }
.morph-chips li:nth-child(4) { bottom: 7%; left: 1%; animation-delay: -5.1s; }
.morph-chips li.is-active { color: #fff; opacity: 1; border-color: rgba(34, 211, 201, 0.55); box-shadow: 0 0 30px rgba(34, 211, 201, 0.25); }
.morph-chips li.is-active .i { color: var(--a-400); }

.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted-2); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.22); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: var(--muted); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 40px; }
  .hero-visual { height: min(620px, 72vh); }
  .scroll-cue { display: flex; }
  .morph-chips li { font-size: 0.82rem; }
}

/* ---------- هیروی صفحات داخلی ---------- */
.page-hero { position: relative; padding-block: 36px 56px; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 28px); overflow: hidden; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.page-hero h1 { margin-top: 18px; font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem); line-height: 1.3; }
.page-hero-visual { position: relative; height: 260px; }
.page-hero-visual .scene { position: absolute; inset: 0; }
.scene-chips { position: absolute; inset: 0; pointer-events: none; }
.scene-chips .chip { font-size: 0.74rem; padding: 7px 11px; }
@media (min-width: 1024px) {
  .page-hero { padding-bottom: 72px; padding-top: calc(var(--header-h) + 44px); }
  .page-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; min-height: 420px; }
  .page-hero-visual { height: 440px; }
  .scene-chips .chip { font-size: 0.8rem; padding: 9px 14px; }
}
.search-box { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.search-box .btn { padding-inline: 16px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-inline-start: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; margin-inline-end: 2px; }
.breadcrumbs a:hover { color: var(--text-2); }
.breadcrumbs [aria-current] { color: var(--text-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- نوار متحرک و آمار ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(17, 26, 46, 0.5); padding-block: 16px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.marquee span .i { color: var(--p-400); width: 16px; height: 16px; }
@keyframes marquee { to { transform: translateX(50%); } }

.stats-band { position: relative; padding-block: 48px; background: radial-gradient(ellipse at center, rgba(36, 86, 245, 0.08), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 900; line-height: 1.2; background: linear-gradient(180deg, #fff, var(--p-200)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- کارت‌ها ---------- */
.tilt { transform-style: preserve-3d; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s; will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.1), transparent 45%); opacity: 0; transition: opacity 0.3s; z-index: 3; }
.tilt.is-tilting::after { opacity: 1; }
.tilt.is-tilting { transition: transform 0.08s linear, border-color 0.3s, box-shadow 0.3s; }

.card-link { display: flex; flex-direction: column; height: 100%; }
.service-card, .project-card, .post-card { overflow: hidden; }
.service-card:hover, .project-card:hover, .post-card:hover { border-color: rgba(77, 127, 255, 0.4); box-shadow: 0 30px 60px -30px rgba(36, 86, 245, 0.45); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; background: var(--ink-800); }
.card-media-tall { aspect-ratio: 4 / 3; }
.card-media > img, .card-media > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card-link:hover .card-media > img, .card-link:hover .card-media > .ph { transform: scale(1.08); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-900), rgba(11, 18, 32, 0.15) 55%, transparent); }
.card-icon { position: absolute; bottom: 12px; right: 14px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--p-300); background: rgba(11, 18, 32, 0.72); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateZ(30px); }
.card-icon .i { width: 22px; height: 22px; }
.card-icon-static { position: static; transform: none; }
.card-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(11, 18, 32, 0.6); }
.card-open { position: absolute; top: 14px; left: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink-900); transform: scale(0.6); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
.card-link:hover .card-open { transform: scale(1); opacity: 1; }
.card-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card-kicker { font-size: 0.76rem; font-weight: 600; color: var(--a-400); }
.card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.6; }
.card-text { font-size: 0.9rem; line-height: 1.85; color: var(--muted); }
.card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--p-300); transition: gap 0.3s var(--ease); }
.card-link:hover .card-more { gap: 11px; }
.card-more .i { width: 16px; height: 16px; }
.post-meta { margin-top: auto; padding-top: 10px; display: flex; gap: 16px; font-size: 0.78rem; color: var(--muted-2); }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .i { width: 14px; height: 14px; }

.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; }
.ph span { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; color: rgba(255, 255, 255, 0.35); }
.ph::before, .ph::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.ph::before { width: 64%; aspect-ratio: 1; top: -30%; right: -12%; }
.ph::after { width: 48%; aspect-ratio: 1; bottom: -30%; left: -10%; background: rgba(255, 255, 255, 0.06); }
.ph-0 { background: linear-gradient(135deg, #2456f5, #0fb8ad); }
.ph-1 { background: linear-gradient(135deg, #7c3aed, #2456f5); }
.ph-2 { background: linear-gradient(135deg, #0fb8ad, #0b1220); }
.ph-3 { background: linear-gradient(135deg, #f59e0b, #7c3aed); }
.ph-4 { background: linear-gradient(135deg, #ef4444, #2456f5); }
.ph-5 { background: linear-gradient(135deg, #0ea5e9, #7c3aed); }

.feature-card { padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.85; }
.feature-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--p-200); background: linear-gradient(135deg, rgba(36, 86, 245, 0.28), rgba(15, 184, 173, 0.14)); border: 1px solid rgba(77, 127, 255, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px -10px rgba(36, 86, 245, 0.5); transform: translateZ(40px); }
.feature-icon .i { width: 28px; height: 28px; }
.feature-card:hover { border-color: rgba(77, 127, 255, 0.35); }

/* ---------- تایم‌لاین فرآیند ---------- */
.timeline { position: relative; display: grid; grid-template-columns: 1fr; gap: 36px; counter-reset: step; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline-line { display: none; }
@media (min-width: 1024px) {
  .timeline-line { display: block; position: absolute; top: 36px; inset-inline: 12%; height: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
  .timeline-line span { position: absolute; inset-block: 0; right: 0; width: calc(var(--progress, 0) * 100%); background: linear-gradient(270deg, var(--p-500), var(--a-400)); box-shadow: 0 0 12px var(--a-400); transition: width 0.2s linear; }
}
.timeline-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.timeline-icon { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(160deg, var(--ink-700), var(--ink-800)); border: 1px solid var(--line-2); color: var(--p-200); box-shadow: var(--shadow-glow); margin-bottom: 8px; transition: transform 0.4s var(--ease), border-color 0.3s; }
.timeline-step:hover .timeline-icon { transform: translateY(-6px) rotate(-4deg); border-color: var(--a-400); }
.timeline-icon .i { width: 28px; height: 28px; }
.timeline-icon b { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--p-500); color: #fff; font-size: 0.8rem; font-weight: 800; box-shadow: 0 0 0 4px var(--ink-900); }
.timeline-step h3 { font-size: 1.05rem; margin-top: 8px; }
.timeline-step p { font-size: 0.9rem; color: var(--muted); max-width: 260px; }

/* ---------- گالری سه‌بعدی نمونه‌کارها (Coverflow) ---------- */
.showcase { overflow: hidden; }
.showcase-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(36, 86, 245, 0.16), transparent 70%); pointer-events: none; }
.coverflow { position: relative; }
.coverflow-stage { position: relative; height: 470px; perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.coverflow-item { position: absolute; top: 0; left: 50%; width: min(78vw, 420px); margin-left: calc(min(78vw, 420px) / -2); transition: transform 0.8s var(--ease), opacity 0.6s, filter 0.6s; transform-style: preserve-3d; }
.coverflow-item a { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-800); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.coverflow-item.is-active a { border-color: rgba(77, 127, 255, 0.5); box-shadow: 0 40px 90px -30px rgba(36, 86, 245, 0.55); }
.coverflow-media { aspect-ratio: 4 / 3; overflow: hidden; }
.coverflow-media > img, .coverflow-media > .ph { width: 100%; height: 100%; object-fit: cover; }
.coverflow-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.coverflow-body h3 { font-size: 1.05rem; }
.coverflow-body p { font-size: 0.86rem; color: var(--muted); }
.coverflow-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.coverflow-dots { display: flex; gap: 8px; }
.coverflow-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); transition: width 0.4s var(--ease), background 0.3s; }
.coverflow-dots button[aria-selected="true"] { width: 26px; background: var(--a-400); }
@media (min-width: 768px) { .coverflow-stage { height: 520px; } }

/* ---------- باند هوش مصنوعی ---------- */
.ai-band { position: relative; overflow: hidden; padding-block: clamp(80px, 8vw + 40px, 140px); background: radial-gradient(ellipse at 20% 50%, rgba(15, 184, 173, 0.1), transparent 55%), linear-gradient(180deg, var(--ink-900), var(--ink-950) 50%, var(--ink-900)); border-block: 1px solid var(--line); }
.ai-band-3d { position: absolute; inset: 0; }
.ai-band-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ai-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(7, 12, 23, 0.25) 45%, rgba(7, 12, 23, 0.85) 100%); pointer-events: none; }
.ai-band-grid { position: relative; z-index: 1; display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
.ai-band-text h2 { margin-top: 18px; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); line-height: 1.4; }
.ai-band-text p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 560px; line-height: 2; }
.ai-points { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ai-points li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(11, 18, 32, 0.66); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color 0.3s, transform 0.4s var(--ease); }
.ai-points li:hover { border-color: rgba(34, 211, 201, 0.45); transform: translateX(-6px); }
.ai-points .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; color: var(--a-400); background: rgba(15, 184, 173, 0.12); }
.ai-points strong { display: block; color: #fff; font-size: 1rem; }
.ai-points span { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 640px) { .ai-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ai-band-grid { grid-template-columns: 1.1fr 1fr; } .ai-points { grid-template-columns: 1fr 1fr; } }

/* ---------- چرخ‌فلک سه‌بعدی نظرات ---------- */
.testimonials { overflow: hidden; }
.carousel3d { position: relative; }
.carousel3d-ring { position: relative; height: 380px; perspective: 1600px; transform-style: preserve-3d; }
.carousel3d-item { position: absolute; top: 20px; left: 50%; width: min(84vw, 360px); margin-left: calc(min(84vw, 360px) / -2); transition: transform 0.9s var(--ease), opacity 0.6s, filter 0.6s; transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.carousel3d-nav { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.testimonial-card { height: 320px; padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(160deg, rgba(23, 34, 58, 0.95), rgba(14, 22, 39, 0.95)); }
.testimonial-quote { position: absolute; top: 18px; left: 22px; color: rgba(77, 127, 255, 0.25); }
.testimonial-quote .i { width: 42px; height: 42px; }
.stars { display: flex; gap: 3px; }
.stars .i { width: 17px; height: 17px; color: rgba(255, 255, 255, 0.15); }
.stars .i.on { color: var(--amber); }
.testimonial-card blockquote { margin: 0; color: var(--text-2); font-size: 0.95rem; line-height: 2; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption strong { display: block; font-size: 0.92rem; color: #fff; }
.testimonial-card figcaption small { display: block; font-size: 0.78rem; color: var(--muted-2); }
.avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(77, 127, 255, 0.35); }
.avatar img, .avatar .ph { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph span { font-size: 1.1rem; }

/* ---------- CTA با موج سه‌بعدی ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgba(77, 127, 255, 0.28); background: radial-gradient(ellipse at 70% 0%, rgba(36, 86, 245, 0.35), transparent 60%), radial-gradient(ellipse at 10% 100%, rgba(15, 184, 173, 0.2), transparent 55%), var(--ink-850); padding: clamp(48px, 5vw + 24px, 96px) clamp(20px, 4vw, 64px); text-align: center; isolation: isolate; }
.cta-3d { position: absolute; inset: 0; z-index: -1; }
.cta-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cta-content { position: relative; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-content h2 { margin-top: 18px; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); }
.cta-content p { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; }

/* ---------- فوتر ---------- */
.site-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 26, 46, 0.6), var(--ink-950)); overflow: hidden; }
.footer-glow { position: absolute; top: -200px; left: 50%; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(36, 86, 245, 0.16), transparent 70%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 0.9fr 1.3fr; } }
.footer-about p { margin-top: 16px; font-size: 0.9rem; color: var(--muted); line-height: 2; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.socials a:hover { color: #fff; border-color: var(--p-400); transform: translateY(-2px); }
.socials-sm a { width: 34px; height: 34px; border-radius: 10px; }
.footer-title { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-title-sm { margin-top: 28px; margin-bottom: 12px; font-size: 0.95rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.footer-col a { transition: color 0.2s, padding 0.3s var(--ease); }
.footer-col ul a:hover { color: #fff; padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .i { margin-top: 5px; color: var(--p-400); width: 16px; height: 16px; }
.footer-contact span, .footer-contact a { min-width: 0; overflow-wrap: anywhere; }
.newsletter { display: flex; gap: 8px; }
.newsletter .btn { padding-inline: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px; font-size: 0.8rem; color: var(--muted-2); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.to-top:hover { color: #fff; }
.to-top .i { width: 14px; height: 14px; }

/* ---------- صفحات جزئیات ---------- */
.detail { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 32px); padding-bottom: 40px; overflow: hidden; }
.detail > .container { position: relative; z-index: 1; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; } .detail-grid-even { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.detail-narrow { max-width: 900px; }
.detail-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.detail-head h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.4; }
.detail-head .lead { color: var(--muted); font-size: 1.08rem; line-height: 2; }
.detail-section { margin-top: 48px; }
.detail-section > h2 { font-size: 1.35rem; margin-bottom: 20px; }
.detail-cta { margin-top: 48px; }
.cover-3d { position: relative; margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: var(--ink-800); box-shadow: 0 50px 100px -40px rgba(36, 86, 245, 0.45); transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.cover-3d > img, .cover-3d > .ph { width: 100%; height: 100%; object-fit: cover; }
.cover-3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%); pointer-events: none; }

.feature-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); }
.feature-list strong { color: #fff; font-weight: 600; font-size: 0.95rem; }
.feature-list p { font-size: 0.85rem; color: var(--muted); }
.feature-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; color: var(--a-400); background: rgba(15, 184, 173, 0.12); }
.feature-check .i { width: 16px; height: 16px; }

.detail-aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .sticky-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.price { font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1.4; }
.price small, .plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.mini-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.mini-list li { display: flex; align-items: center; gap: 8px; }
.mini-list .i { color: var(--a-400); width: 16px; height: 16px; }
.plan-card { padding: 24px; }
.plan-card.is-highlighted { border-color: rgba(77, 127, 255, 0.5); background: linear-gradient(160deg, rgba(36, 86, 245, 0.16), rgba(255, 255, 255, 0.03)); box-shadow: var(--shadow-glow); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head strong { font-size: 1.08rem; color: #fff; }
.plan-price { margin-top: 10px; font-size: 1.4rem; font-weight: 800; }
.plan-card .muted { margin-top: 6px; font-size: 0.9rem; }

.pricing-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pricing-top { display: flex; align-items: center; justify-content: space-between; }
.pricing-price { margin-top: 8px; font-size: 1.3rem; font-weight: 800; color: #fff; }
.pricing-price small { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.pricing-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; }
.pricing-actions .btn { flex: 1; }
.plans-compare { max-width: 900px; margin-inline: auto; }

.project-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.project-facts dt { font-size: 0.75rem; color: var(--muted-2); }
.project-facts dd { font-size: 0.95rem; color: #fff; font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-item img, .gallery-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(4, 8, 16, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 60px 16px; opacity: 0; transition: opacity 0.3s; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-height: 80vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--text-2); font-size: 0.9rem; }
.lightbox .icon-btn { position: absolute; top: 16px; }
.lightbox [data-lb-close] { left: 16px; }
.lightbox [data-lb-prev] { right: 16px; top: 50%; }
.lightbox [data-lb-next] { left: 16px; top: 50%; }

/* ---------- مقاله ---------- */
.post-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.post-main { min-width: 0; max-width: 820px; }
.post-byline { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.85rem; color: var(--muted); }
.post-byline span { display: inline-flex; align-items: center; gap: 6px; }
.post-byline .i { width: 15px; height: 15px; color: var(--p-400); }
.post-aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1100px) { .post-aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; } }
.toc { padding: 20px 20px 16px; }
.toc strong { display: block; font-size: 0.95rem; color: #fff; margin-bottom: 10px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.84rem; line-height: 1.7; color: var(--muted); border-inline-start: 2px solid transparent; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.toc a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.toc a.is-active { color: var(--p-200); border-color: var(--a-400); background: rgba(36, 86, 245, 0.1); }
.toc .toc-sub a { padding-inline-start: 22px; font-size: 0.8rem; }
.aside-cta { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.aside-cta strong { color: #fff; font-size: 1.02rem; }
.aside-cta p { font-size: 0.86rem; color: var(--muted); }
.author-box { margin-top: 40px; padding: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.author-box img { height: 44px; width: auto; }
.author-box div { flex: 1; min-width: 220px; }
.author-box strong { color: #fff; }
.author-box p { font-size: 0.86rem; color: var(--muted); }

.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments > h2 { font-size: 1.3rem; margin-bottom: 22px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment { padding: 18px 20px; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.comment-head strong { color: #fff; }
.comment-head time { font-size: 0.78rem; color: var(--muted-2); }
.comment p { margin-top: 8px; font-size: 0.92rem; color: var(--text-2); }
.comment-replies { margin-top: 14px; padding-inline-start: 18px; border-inline-start: 2px solid rgba(77, 127, 255, 0.35); display: flex; flex-direction: column; gap: 12px; }
.comment-reply { padding: 4px 0; }
.comment-form { margin-top: 26px; padding: 24px; }

/* ---------- محتوای HTML (مقالات، توضیحات خدمات و ...) ---------- */
.prose { margin-top: 36px; color: var(--text-2); font-size: 1.04rem; line-height: 2.1; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { color: #fff; line-height: 1.6; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; padding-bottom: 0.45em; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 1.22rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.06rem; margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--p-300); text-decoration: underline; text-decoration-color: rgba(128, 170, 255, 0.35); text-underline-offset: 4px; transition: text-decoration-color 0.2s, color 0.2s; }
.prose a:hover { color: var(--p-200); text-decoration-color: currentColor; }
.prose strong, .prose b { color: #fff; font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--a-400); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin-inline: auto; }
.prose figure figcaption { margin-top: 8px; text-align: center; font-size: 0.85rem; color: var(--muted-2); }
.prose blockquote { margin-inline: 0; padding: 16px 22px; border-inline-start: 3px solid var(--a-400); background: rgba(15, 184, 173, 0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.2em; }
.prose code { direction: ltr; unicode-bidi: embed; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--a-300); }
.prose pre { direction: ltr; text-align: left; overflow-x: auto; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--ink-950); border: 1px solid var(--line); line-height: 1.7; font-size: 0.88rem; }
.prose pre code { padding: 0; background: none; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: start; }
.prose th { background: rgba(255, 255, 255, 0.05); color: #fff; font-weight: 700; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* ---------- فیلترها، صفحه‌بندی، حالت خالی ---------- */
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); background: var(--glass); transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s; }
.filter-chips a .i { width: 16px; height: 16px; opacity: 0.8; }
.filter-chips a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.filter-chips a.is-active { color: #fff; border-color: var(--p-400); background: rgba(36, 86, 245, 0.22); box-shadow: 0 0 24px rgba(36, 86, 245, 0.25); }
.search-note { margin: -16px 0 28px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.search-note a { color: var(--p-300); margin-inline-start: 8px; }
.is-filtered-out { display: none !important; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pagination ol { display: flex; gap: 6px; }
.page-num, .page-btn, .page-gap { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding-inline: 12px; border-radius: 12px; font-size: 0.9rem; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.page-gap { border-color: transparent; background: none; }
.page-num:hover, .page-btn:hover { border-color: var(--p-400); color: #fff; }
.page-num.is-current { background: var(--p-500); border-color: var(--p-500); color: #fff; box-shadow: var(--shadow-glow); }
.page-btn .i { width: 16px; height: 16px; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--glass-2); color: var(--muted); }
.empty-icon .i { width: 28px; height: 28px; }
.empty-state h3 { font-size: 1.05rem; color: var(--text-2); }
.empty-state p { color: var(--muted); font-size: 0.9rem; }

/* ---------- فرم‌ها ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-card { padding: clamp(22px, 3vw, 36px); }
.form-title { font-size: 1.25rem; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field > legend { font-size: 0.88rem; color: var(--text-2); font-weight: 500; }
.field > legend { margin-bottom: 7px; }
.field-error { font-size: 0.8rem; color: var(--danger); }
.field-hint { font-size: 0.8rem; color: var(--muted-2); margin-top: -6px; }
.form-error { padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; color: #fecaca; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--muted-2); }
.form-note a { color: var(--p-300); }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px 8px; animation: pop 0.6s var(--ease) both; }
.form-success h2 { font-size: 1.35rem; }
.form-success p { color: var(--muted); }
.success-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: var(--a-400); background: rgba(15, 184, 173, 0.12); box-shadow: 0 0 0 10px rgba(15, 184, 173, 0.05), 0 0 50px rgba(34, 211, 201, 0.3); }
.success-icon .i { width: 44px; height: 44px; }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
.budget-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .budget-grid { grid-template-columns: repeat(3, 1fr); } }
.budget-option { position: relative; cursor: pointer; }
.budget-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.budget-option span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px; border-radius: 12px; font-size: 0.8rem; line-height: 1.6; color: var(--muted); border: 1px solid var(--line-2); transition: all 0.2s; }
.budget-option:hover span { border-color: rgba(255, 255, 255, 0.3); color: var(--text-2); }
.budget-option input:checked + span { border-color: var(--p-400); color: var(--p-100); background: rgba(36, 86, 245, 0.2); box-shadow: 0 0 20px rgba(36, 86, 245, 0.2); }
.budget-option input:focus-visible + span { outline: 2px solid var(--p-400); outline-offset: 2px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--glass); color: var(--muted); font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.file-drop:hover, .file-drop.has-file { border-color: var(--p-400); color: var(--text-2); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .i { color: var(--p-400); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--muted-2); text-align: center; }
.trust-row span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-row .i { width: 20px; height: 20px; color: var(--p-400); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s var(--ease); }
.info-list li:hover { border-color: rgba(77, 127, 255, 0.35); transform: translateX(-4px); }
.info-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: rgba(36, 86, 245, 0.18); color: var(--p-300); }
.info-list small { display: block; font-size: 0.76rem; color: var(--muted-2); }
.info-list div { min-width: 0; display: flex; flex-direction: column; }
.info-list div span, .info-list div a { color: #fff; font-size: 0.95rem; overflow-wrap: anywhere; }
.info-list div a:hover { color: var(--p-200); }
.map { margin-top: 20px; width: 100%; height: 280px; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h2 { font-size: 1.2rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.faq-group > h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--p-400), var(--a-400)); transform: rotate(45deg); }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); transition: border-color 0.3s, background 0.3s; }
.faq-item[open] { border-color: rgba(77, 127, 255, 0.35); background: linear-gradient(160deg, rgba(36, 86, 245, 0.1), rgba(255, 255, 255, 0.03)); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { transition: transform 0.35s var(--ease); color: var(--muted); }
.faq-item[open] summary .i { transform: rotate(180deg); color: var(--a-400); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; line-height: 2; }
.faq-cta { margin-top: 56px; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.faq-cta h2 { font-size: 1.2rem; }
.faq-cta p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.faq-cta .actions { margin-top: 0; }
@media (min-width: 768px) { .faq-cta { flex-direction: row; justify-content: space-between; text-align: start; } }

.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-card { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; border-radius: var(--radius); transition: border-color 0.3s, transform 0.4s var(--ease); }
.job-card:hover { border-color: rgba(77, 127, 255, 0.4); transform: translateX(-6px); }
.job-card h3 { font-size: 1.08rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 0.84rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .i { width: 15px; height: 15px; color: var(--p-400); }
@media (min-width: 640px) { .job-card { flex-direction: row; align-items: center; justify-content: space-between; } }

.story-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.story-grid .section-title { margin-top: 14px; }
.story-grid .section-subtitle { margin-top: 16px; line-height: 2.05; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card { padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.value-card > .i { width: 34px; height: 34px; color: var(--a-400); margin-bottom: 6px; }
.value-card strong { color: #fff; }
.value-card span { font-size: 0.85rem; color: var(--muted); }
.values-grid .value-card:nth-child(2), .values-grid .value-card:nth-child(4) { transform: translateY(24px); }
.team-card { padding: 24px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.team-photo { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; border: 2px solid rgba(77, 127, 255, 0.4); }
.team-photo img, .team-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.team-card strong { color: #fff; }
.team-card p { font-size: 0.84rem; color: var(--muted); }

/* ---------- ورود/ثبت‌نام و پنل کاربری ---------- */
.auth { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; min-height: 80vh; }
.auth > .container { position: relative; z-index: 1; }
.auth-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; max-width: 1000px; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: 440px 1fr; } }
.auth-narrow { max-width: 620px; }
.auth-card { padding: clamp(24px, 4vw, 40px); }
.auth-card h1 { font-size: 1.6rem; text-align: center; }
.auth-card > .muted { text-align: center; margin-top: 8px; font-size: 0.9rem; }
.auth-card .form { margin-top: 28px; }
.auth-switch { margin-top: 22px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.auth-switch a { color: var(--p-300); font-weight: 600; }
.auth-side h2 { font-size: 1.6rem; }

.dashboard { padding-block: 40px 80px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .dashboard-grid { grid-template-columns: 270px 1fr; } }
.dashboard-nav { padding: 14px; height: fit-content; }
@media (min-width: 1024px) { .dashboard-nav { position: sticky; top: calc(var(--header-h) + 20px); } }
.dashboard-user { display: flex; align-items: center; gap: 12px; padding: 10px 10px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dashboard-user div { min-width: 0; }
.dashboard-user strong { display: block; color: #fff; font-size: 0.95rem; }
.dashboard-user small { display: block; color: var(--muted-2); font-size: 0.76rem; overflow: hidden; text-overflow: ellipsis; }
.avatar-letter { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; font-weight: 800; background: linear-gradient(135deg, var(--p-500), var(--a-500)); color: #fff; }
.dashboard-nav nav { display: flex; flex-direction: column; gap: 2px; }
.dashboard-nav a, .dashboard-logout { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 0.9rem; color: var(--text-2); transition: background 0.2s, color 0.2s; width: 100%; text-align: start; }
.dashboard-nav a:hover, .dashboard-logout:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.dashboard-nav a.is-active { background: rgba(36, 86, 245, 0.2); color: var(--p-100); }
.dashboard-logout { color: var(--muted); margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; padding-top: 14px; }
.dashboard-logout:hover { color: var(--danger); }
.dashboard-main { min-width: 0; }
.dashboard-main h1 { font-size: 1.6rem; margin-bottom: 24px; }
.dash-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .dash-cards { grid-template-columns: repeat(2, 1fr); } }
.dash-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.dash-card-top { display: flex; align-items: center; justify-content: space-between; }
.dash-card-top strong { font-size: 2rem; font-weight: 900; }
.dash-card .muted { font-size: 0.88rem; }
.dash-card a { color: var(--p-300); font-size: 0.88rem; margin-top: 6px; }
.dash-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.list-rows { display: flex; flex-direction: column; gap: 12px; }
.row-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: var(--radius); transition: border-color 0.2s; }
a.row-card:hover { border-color: rgba(77, 127, 255, 0.4); }
.row-card strong { color: #fff; font-weight: 600; }
.row-card small { display: block; color: var(--muted-2); font-size: 0.78rem; margin-top: 2px; }
.row-card p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, 0.06); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-open { color: var(--amber); }
.status-answered, .status-won { color: var(--success); }
.status-customer_replied, .status-contacted, .status-negotiating { color: var(--p-300); }
.status-closed, .status-lost { color: var(--muted-2); }
.status-new { color: var(--a-400); }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 640px; padding: 16px 18px; border-radius: var(--radius); }
.msg-mine { margin-inline-start: auto; border-color: rgba(77, 127, 255, 0.4); background: rgba(36, 86, 245, 0.12); }
.msg-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: var(--muted-2); }
.msg-head strong { color: var(--text-2); }
.msg p { margin-top: 8px; white-space: pre-line; font-size: 0.93rem; color: var(--text-2); }
.msg a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.82rem; color: var(--p-300); }
.reply-box { margin-top: 20px; padding: 20px; }
.loader { display: flex; justify-content: center; padding: 48px 0; }
.loader span:first-child { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.1); border-top-color: var(--p-400); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ۴۰۴ ---------- */
.not-found { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 60px) 0 100px; overflow: hidden; min-height: 80vh; display: flex; align-items: center; }
.not-found-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.not-found h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 8px; }
.not-found .lead { margin-top: 12px; color: var(--muted); }
.not-found .search-box { margin-top: 32px; width: 100%; }
.glitch { position: relative; font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--p-400), var(--a-400)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(36, 86, 245, 0.4)); animation: float 6s ease-in-out infinite; }
.nf-links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-size: 0.9rem; }
.nf-links a { color: var(--p-300); }

/* ---------- توست‌ها و افکت‌های سراسری ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; font-size: 0.9rem; background: rgba(17, 26, 46, 0.96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: toast-in 0.45s var(--ease) both; pointer-events: auto; }
.toast.is-leaving { animation: toast-out 0.35s var(--ease) both; }
.toast .i { margin-top: 3px; }
.toast-success .i { color: var(--success); }
.toast-error .i { color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(0.96); } }

.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(var(--p, 0)); background: linear-gradient(270deg, var(--p-500), var(--a-400)); box-shadow: 0 0 10px rgba(34, 211, 201, 0.6); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(36, 86, 245, 0.09), transparent 65%); opacity: 0; transition: opacity 0.4s; will-change: transform; }
.has-cursor .cursor-glow { opacity: 1; }
main { position: relative; z-index: 1; }

/* انیمیشن ورود هنگام اسکرول: فقط عناصری که هنگام بارگذاری خارج از دید هستند توسط
   جاوااسکریپت «مسلح» (is-armed) می‌شوند؛ بدون JS همه‌چیز همیشه دیده می‌شود. */
.reveal.is-armed { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-armed.is-visible { opacity: 1; transform: none; }
.tilt.reveal.is-armed.is-visible.is-done { transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s; transition-delay: 0s; }

.hero-text > *, .page-hero-text > *, .detail-head > *, .not-found-inner > * { animation: fade-up 0.9s var(--ease) both; }
.hero-text > :nth-child(2), .page-hero-text > :nth-child(2), .detail-head > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3), .page-hero-text > :nth-child(3), .detail-head > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4), .page-hero-text > :nth-child(4), .detail-head > :nth-child(4) { animation-delay: 0.24s; }
.hero-text > :nth-child(5), .page-hero-text > :nth-child(5), .detail-head > :nth-child(5) { animation-delay: 0.32s; }
.hero-text > :nth-child(n+6), .page-hero-text > :nth-child(n+6), .detail-head > :nth-child(n+6) { animation-delay: 0.4s; }
.hero-visual, .page-hero-visual { animation: fade-in 1.4s 0.2s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

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

/* ───── لینک صفحات هاب خدمات و بخش‌های سئو (خانه، خدمات، مقاله) ───── */
.hub-links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hub-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: inherit; }
.hub-link:hover { border-color: rgba(77, 127, 255, 0.45); }
.hub-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hub-link strong { color: #fff; font-size: 1rem; }
.hub-link small { color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.hub-link .card-icon { position: static; transform: none; flex: none; }
.hub-link .hub-arrow { color: var(--p-300); flex: none; transition: transform 0.3s var(--ease); }
.hub-link:hover .hub-arrow { transform: translateX(-4px); }
.section-foot-links { margin-top: 28px; }
.seo-text { display: grid; gap: 28px; }
@media (min-width: 900px) { .seo-text { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.seo-text .prose h2 { margin-top: 0; }
.aside-services { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.aside-services a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); color: #fff; font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; }
.aside-services a:hover { border-color: rgba(77, 127, 255, 0.45); background: rgba(36, 86, 245, 0.08); }
.aside-services .i { color: var(--p-300); flex: none; }
.hero-title-kicker { display: block; font-size: 0.42em; font-weight: 600; color: var(--p-300); letter-spacing: 0; margin-bottom: 0.5em; line-height: 1.6; }
.pricing-guide .prose h2:first-child { margin-top: 0; }
.prose + .faq-group { margin-top: 48px; }

@media print {
  .site-header, .site-footer, .scroll-progress, .cursor-glow, .page-hero-visual, .hero-visual, .cta-section, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose * { color: #000 !important; }
}
