/* ==========================================================================
   BlueCode — style.css
   فهرست: پایه · هدر و منوی همبرگری · هیرو · دکمه‌ها · خدمات · نمونه‌کارها · چرا BlueCode · روند کاری
          سطوح همکاری · سوالات متداول · فرم سفارش · تماس · صفحهٔ تیم · صفحهٔ بلاگ · صفحهٔ هر خدمت · صفحهٔ ثبت سفارش · دکمهٔ شناور
          انیمیشن‌ها · واکنش‌گرا
   ========================================================================== */

/* ---------- پایه ---------- */
:root {
  --bg: #14161c;
  --surface: #1c1f27;
  --ink: #f1f3f8;
  --muted: #a9afbb;
  --soft: #9aa3b5;
  --accent: #5b8cff;
  --line: rgba(255, 255, 255, .09);
  --code-bg: #1f1f21;
  --code-ink: #e9ecf3;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.9;
  font-size: 16px;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 6px; font-weight: 800; color: #fff; }
h3 { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.sub { margin: 0 0 32px; color: var(--soft); }
.svg-defs { position: absolute; }

/* فاصلهٔ عمودی بخش‌ها */
.sec, .pf { position: relative; padding: 40px 0 24px; }
.faq, .tiers, .proc { padding: 40px 0 10px; }

/* ---------- هدر و هیرو ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-bottom: 24px;
  background:
    radial-gradient(700px 380px at 12% 0, rgba(31, 99, 238, .42), transparent 70%),
    radial-gradient(500px 300px at 92% 65%, rgba(138, 108, 255, .18), transparent 70%);
}
.hero-wrap::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -140px;
  right: -100px;
  border-radius: 50%;
  background: #1f63ee;
  filter: blur(90px);
  opacity: .32;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-weight: 800; text-decoration: none; direction: ltr; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 32px 0 24px; }
.hero .logo {
  display: block;
  width: 124px;
  height: 124px;
  margin-bottom: 24px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 40px rgba(31, 99, 238, .35);
  animation: float 6s ease-in-out infinite;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.4; margin: 0 0 16px; font-weight: 800; }
.hero p { color: #c9cedb; max-width: 34em; margin: 0 0 28px; }

/* ---------- دکمه‌ها ---------- */
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; background: #1f63ee; color: #fff; font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s; }
.btn:hover { background: #3b7bff; }
.btn.alt { background: transparent; border: 1.5px solid rgba(255, 255, 255, .35); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: 34em; }
.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 210px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
}
.hero-actions .btn.alt { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.hero-actions .btn.alt:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.hero-actions svg { width: 20px; height: 20px; flex: none; }

/* پنجرهٔ کد در هیرو */
.win {
  overflow: hidden;
  border-radius: 16px;
  background: var(--code-bg);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 60px rgba(31, 99, 238, .22);
}
.bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .05); direction: ltr; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4f5c; }
.bar span { margin-inline-start: 10px; color: #8b93a5; font: 12px ui-monospace, Menlo, monospace; }
.code {
  direction: ltr;
  text-align: left;
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--code-ink);
  font: 14px/1.8 ui-monospace, Menlo, Consolas, monospace;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.win .code { border-radius: 0; background: transparent; box-shadow: none; }
.code .ln {
  display: block;
  min-height: 1.8em;
  overflow: hidden;
  white-space: pre;
  width: calc(var(--n) * 1ch);
  animation: type calc(var(--n) * .045s) steps(var(--n)) both;
  animation-delay: var(--d);
}
.code .ln:nth-child(1) { --n: 11; --d: .3s; }
.code .ln:nth-child(2) { --n: 14; --d: .8s; }
.code .ln:nth-child(3) { --n: 28; --d: 1.5s; }
.code .ln:nth-child(4) { --n: 30; --d: 2.8s; }
.code .ln:nth-child(5) { --n: 27; --d: 4.2s; }
.code .ln:nth-child(6) { --n: 2; --d: 5.5s; }
.code .ln:nth-child(7) { --n: 1; --d: 5.7s; }
.code .ln:nth-child(8) { --n: 21; --d: 5.8s; }
.code .cur {
  display: inline-block;
  width: .6ch;
  height: 1.1em;
  vertical-align: text-bottom;
  background: #7fa6ff;
  opacity: 0;
  animation: show 0s 4.2s forwards, blink 1s 4.2s steps(1) infinite;
}
.code .k { color: #7fa6ff; }
.code .s { color: #fff; }
.code .c { color: #9097a5; }

/* ---------- خدمات ---------- */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #050a1b;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, .55); }
.card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 16px 20px 0;
  object-fit: contain;
  margin-bottom: -18px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
  animation: float 7s ease-in-out infinite;
}
.card:nth-child(2) img { animation-delay: -2.3s; }
.card:nth-child(3) img { animation-delay: -4.6s; }
.card:nth-child(4) img { animation-delay: -1.2s; }
.card .txt { display: flex; flex-direction: column; flex: 1; padding: 8px 24px 24px; }
.card h3 { font-size: 1.15rem; color: #fff; }
.card p { margin: 6px 0 18px; color: #b4bccb; font-size: .95rem; }
.svc-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 2px 12px;
  font-size: .78rem;
  color: #bcd0ff;
  background: rgba(91, 140, 255, .14);
  border: 1px solid rgba(143, 178, 255, .28);
  border-radius: 20px;
}
.card .txt a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 16px;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(47, 123, 255, .14);
  border: 1px solid rgba(143, 178, 255, .35);
  border-radius: 12px;
  transition: background .25s, border-color .25s, gap .25s;
}
.card .txt a::after { content: "←"; }
.card .txt a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }  /* کل کارت قابل کلیک است */
.card:focus-within { border-color: rgba(91, 140, 255, .8); }
.card .txt a:hover, .card:hover .txt a { gap: 12px; background: #1f63ee; border-color: transparent; }

/* ---------- نمونه‌کارها ---------- */
.pf-grid { display: grid; gap: 20px; }
.pf-card {
  display: grid;
  gap: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: 26px;
}
.pf-card--video { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); align-items: center; }
.pf-media { justify-self: center; width: 100%; max-width: 270px; }
.pf-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #05060d; border: 1px solid rgba(143, 178, 255, .3); border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.pf-card--shots { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.pf-shots { min-width: 0; }
.pf-shot { display: block; width: 100%; height: auto; background: #0b0d18; border: 1px solid rgba(143, 178, 255, .25); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.pf-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pf-thumb { padding: 0; cursor: pointer; overflow: hidden; background: #0b0d18; border: 2px solid transparent; border-radius: 12px; opacity: .65; transition: opacity .2s, border-color .2s; }
.pf-thumb img { display: block; width: 100%; height: auto; }
.pf-thumb:hover { opacity: 1; }
.pf-thumb.on { opacity: 1; border-color: #5b8cff; }
.pf-info { min-width: 0; }
.pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.pf-tag { padding: 2px 12px; color: #8fb2ff; font-size: .8rem; border: 1px solid rgba(91, 140, 255, .45); border-radius: 20px; }
.pf-badge { padding: 2px 12px; color: #ffd37a; font-size: .8rem; font-weight: 600; background: rgba(255, 196, 77, .12); border: 1px solid rgba(255, 196, 77, .3); border-radius: 20px; }
.pf-info h3 { margin: 0 0 8px; font-size: 1.3rem; color: #fff; }
.pf-info p { margin: 0 0 16px; color: #c3c9d6; font-size: .95rem; line-height: 1.9; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- چیپ شبکه‌های اجتماعی (کارت اعضا) ---------- */
.ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 5px 10px;
  font-size: clamp(.72rem, 3.2vw, .85rem);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ig:hover { background: rgba(255, 255, 255, .15); }
.ig svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ---------- روند کاری ---------- */

/* ---------- سطوح همکاری ---------- */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.tier { display: flex; flex-direction: column; padding: 28px 24px; background: #050a1b; border: 1px solid var(--line); border-radius: 22px; transition: transform .25s, border-color .25s; }
.tier:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, .55); }
.tier.pop { position: relative; border-color: #5b8cff; }
.tier.pop::before { content: "پیشنهاد ما"; position: absolute; top: -13px; inset-inline-start: 24px; padding: 3px 12px; font-size: .75rem; color: #fff; background: #1f63ee; border-radius: 20px; }
.tier h3 { margin: 0 0 6px; font-size: 1.2rem; color: #fff; }
.tier .tag { display: block; margin-bottom: 16px; font-size: .88rem; color: #8fb2ff; }
.tier ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.tier li { position: relative; padding-inline-start: 26px; font-size: .92rem; line-height: 1.7; color: #c9cedb; }
.tier li::before { content: "✓"; position: absolute; inset-inline-start: 0; font-weight: 700; color: #4fd1a5; }
.tier .btn { margin-top: auto; text-align: center; }

/* ---------- سوالات متداول ---------- */
.faq-list { display: grid; gap: 10px; max-width: 720px; margin: 0 auto; }
.faq-list details { padding: 14px 18px; background: #0d1226; border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s, background .25s; }
.faq-list details:hover { border-color: rgba(91, 140, 255, .45); }
.faq-list details[open] { border-color: rgba(91, 140, 255, .55); background: #0f1630; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; color: #fff; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; font-size: 1.3rem; color: #8fb2ff; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 10px 0 0; color: var(--muted); line-height: 2; font-size: .95rem; }
.faq-list details[open] p { animation: faq-in .4s ease both; }

/* ---------- اجزای مشترک فرم (کپچا، پیام، تله‌ی ربات‌ها) ---------- */
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.cap-q { display: grid; place-items: center; flex: none; min-width: 84px; padding: 0 14px; color: #fff; font-weight: 700; background: rgba(91, 140, 255, .14); border: 1px solid rgba(143, 178, 255, .3); border-radius: 12px; }
.ord-msg { display: none; margin: 0 0 14px; padding: 12px 14px; font-size: .92rem; border-radius: 12px; }
.ord-msg.ok { display: block; color: #7ee6c4; background: rgba(15, 163, 127, .15); }
.ord-msg.err { display: block; color: #ffb0b0; background: rgba(255, 90, 90, .15); }

/* ---------- تماس و فوتر ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, #1f63ee, #0e2d84);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(31, 99, 238, .25);
}
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: skewX(-18deg);
  animation: sheen 6s ease-in-out infinite;
}
.cta h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.cta p { margin: 0; max-width: 28em; color: #dbe6ff; }

.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; }
.row:hover { background: rgba(255, 255, 255, .24); }
.row svg { width: 22px; height: 22px; flex: none; }
.row span { flex: 1; font-size: .9rem; color: #dbe6ff; }
.row b { direction: ltr; unicode-bidi: plaintext; font-weight: 600; font-size: .92rem; word-break: break-all; }
footer { padding: 48px 0 96px; text-align: center; color: var(--soft); }

/* ---------- دکمهٔ شناور پشتیبانی ---------- */
.fab {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #1f63ee;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(31, 99, 238, .5), 0 0 0 1px rgba(255, 255, 255, .2);
}
.fab:hover { background: #3b7bff; }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fab::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(31, 99, 238, .5); opacity: 0; pointer-events: none; will-change: transform, opacity; animation: pulse 2.4s ease-out infinite; }

/* ---------- انیمیشن‌ها ---------- */
@keyframes type { from { width: 0; } to { width: calc(var(--n) * 1ch); } }
@keyframes show { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift { to { transform: translate(-140px, 90px) scale(1.15); } }
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 140%; } }
@keyframes pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.22, 1.5); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ظاهر شدن بخش‌ها هنگام اسکرول (کلاس js را اسکریپت اضافه می‌کند) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- منوی همبرگری ---------- */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  order: -1;   /* اولین آیتم در راست‌به‌چپ = سمت راست هدر */
  width: 46px;
  height: 46px;
  padding: 0 13px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s;
}
.burger:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: width .25s; }
.burger span:nth-child(2) { width: 62%; }
.burger:hover span:nth-child(2) { width: 100%; }

.menu-open, .menu-open body { overflow: hidden; }
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 8, 14, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
}
.menu-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background:
    radial-gradient(420px 260px at 100% 0, rgba(31, 99, 238, .35), transparent 70%),
    radial-gradient(360px 260px at 0 100%, rgba(138, 108, 255, .2), transparent 70%),
    #12151d;
  border-left: 1px solid var(--line);
  border-radius: 28px 0 0 28px;
  box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), visibility 0s .38s;
}
.menu.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.menu-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.menu-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  color: #e9ecf5;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background .2s, border-color .2s;
}
.menu-link:hover, .menu-link:focus-visible, .menu-link[aria-current="page"] { background: rgba(255, 255, 255, .07); border-color: var(--line); }
.mi {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  color: #9db9ff;
  background: linear-gradient(145deg, rgba(91, 140, 255, .28), rgba(91, 140, 255, .08));
  border: 1px solid rgba(143, 178, 255, .25);
  border-radius: 12px;
}
.mi svg, .why-ico svg, .meet-go svg, .menu-cta svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mi svg { width: 20px; height: 20px; }
.mt { flex: 1; }
.mc { flex: none; width: 18px; height: 18px; fill: none; stroke: #7f8aa3; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, stroke .2s; }
.menu-link:hover .mc { transform: translateX(-4px); stroke: #fff; }
.tag { flex: none; padding: 1px 9px; font-size: .72rem; font-style: normal; font-weight: 700; border-radius: 999px; }
.tag-new { color: #7fe3b0; background: rgba(91, 255, 170, .14); border: 1px solid rgba(91, 255, 170, .3); }
.tag-soon { color: #ffd37a; background: rgba(255, 196, 77, .12); border: 1px solid rgba(255, 196, 77, .3); }
.menu-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 18px; }
.menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #1f63ee, #0e2d84);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(31, 99, 238, .35);
}
.menu-cta svg { width: 20px; height: 20px; }
.menu-social { display: flex; justify-content: center; gap: 10px; }
.menu-social a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 50%; }
.menu-cta:hover { background: linear-gradient(135deg, #3b7bff, #1f63ee); }
.menu-social a:hover { background: rgba(255, 255, 255, .14); }
.menu-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.menu-note { margin: 0; text-align: center; color: var(--soft); font-size: .78rem; }
.menu.open .menu-link, .menu.open .menu-foot { animation: menu-in .5s cubic-bezier(.22, 1, .36, 1) both; }
.menu.open .menu-link:nth-child(1) { animation-delay: 165ms; }
.menu.open .menu-link:nth-child(2) { animation-delay: 210ms; }
.menu.open .menu-link:nth-child(3) { animation-delay: 255ms; }
.menu.open .menu-link:nth-child(4) { animation-delay: 300ms; }
.menu.open .menu-link:nth-child(5) { animation-delay: 345ms; }
.menu.open .menu-link:nth-child(6) { animation-delay: 390ms; }
.menu.open .menu-link:nth-child(7) { animation-delay: 435ms; }
.menu.open .menu-link:nth-child(8) { animation-delay: 480ms; }
.menu.open .menu-foot { animation-delay: 540ms; }
@keyframes menu-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

/* ---------- چرا BlueCode ---------- */
.why { position: relative; padding: 56px 0 40px; }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 260px at 85% 10%, rgba(31, 99, 238, .26), transparent 70%),
    radial-gradient(420px 240px at 10% 90%, rgba(41, 182, 246, .12), transparent 70%);
}
.why-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 18px; }
.why-card { padding: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid var(--line); border-radius: 22px; }
.why-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; color: #9db9ff; background: linear-gradient(145deg, rgba(91, 140, 255, .3), rgba(91, 140, 255, .08)); border: 1px solid rgba(143, 178, 255, .25); border-radius: 14px; }
.why-ico svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 6px; font-size: 1.1rem; color: #fff; }
.why-card p { margin: 0; color: #c3c9d6; font-size: .95rem; }
.meet {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  overflow: hidden;
  text-decoration: none;
  background: radial-gradient(320px 160px at 0 0, rgba(31, 99, 238, .45), transparent 70%), linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(143, 178, 255, .3);
  border-radius: 24px;
  transition: transform .25s, border-color .25s;
}
.meet:hover { transform: translateY(-3px); border-color: rgba(143, 178, 255, .6); }
.meet-av { display: flex; flex: none; direction: ltr; }
.meet-av svg { width: 52px; height: 52px; margin-inline-start: -14px; border-radius: 50%; box-shadow: 0 0 0 3px #1b1f2b; }
.meet-av svg:first-child { margin-inline-start: 0; }
.meet-txt { flex: 1; min-width: 0; }
.meet-txt b { display: block; font-size: 1.1rem; color: #fff; }
.meet-txt span { color: #c3c9d6; font-size: .92rem; }
.meet-go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: #fff; background: #1f63ee; border-radius: 50%; transition: transform .25s; }
.meet:hover .meet-go { transform: translateX(-4px); }
.meet-go svg { width: 20px; height: 20px; stroke-width: 2; }

/* ---------- صفحات داخلی (تیم و بلاگ) ---------- */
.page-hero { position: relative; padding: 28px 0 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: #bcd0ff; font-size: .85rem; font-weight: 600; background: rgba(91, 140, 255, .14); border: 1px solid rgba(143, 178, 255, .3); border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; background: #5bffb0; border-radius: 50%; box-shadow: 0 0 0 4px rgba(91, 255, 176, .2); }
.eyebrow--soon { color: #ffe0a0; background: rgba(255, 196, 77, .12); border-color: rgba(255, 196, 77, .3); }
.eyebrow--soon i { background: #ffc44d; box-shadow: 0 0 0 4px rgba(255, 196, 77, .2); }
.page-hero h1 { margin: 14px 0 10px; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.4; font-weight: 800; }
.page-hero p { max-width: 36em; margin: 0; color: #c9cedb; }
.tm-sec, .blog-sec { position: relative; padding: 24px 0 0; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.tm {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: transform .3s, border-color .3s;
}
@media (hover: hover) and (pointer: fine) {
.tm:hover { transform: translateY(-6px); border-color: rgba(143, 178, 255, .4); }
}

.tm--a { --c1: #2f7bff; --c2: #0b2f8f; }
.tm--b { --c1: #22b8e8; --c2: #1f4fd8; }
.tm--c { --c1: #8a6cff; --c2: #1f63ee; }
.tm-ban { position: relative; height: 112px; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.tm-ban::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.tm-glyph { position: absolute; top: 50%; inset-inline-end: 20px; width: 76px; height: 76px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .38; transform: translateY(-50%) rotate(-8deg); }
.tm-av { position: relative; z-index: 1; display: block; width: 104px; height: 104px; margin: -52px 22px 0; border-radius: 50%; box-shadow: 0 0 0 5px #1a1e29, 0 12px 30px rgba(0, 0, 0, .4); }
img.tm-av { object-fit: cover; background: #1a1e29; }
.tm-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 22px 22px; }
.tm h2 { margin: 0; font-size: 1.3rem; color: #fff; }
.tm-role { align-self: flex-start; padding: 3px 12px; color: #bcd0ff; font-size: .85rem; font-weight: 600; background: rgba(91, 140, 255, .15); border: 1px solid rgba(143, 178, 255, .3); border-radius: 999px; }
.tm-bio { margin: 0; color: #c3c9d6; font-size: .95rem; }
.tm-skills { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .09); }
.tm-skills li { position: relative; padding: 0; padding-inline-start: 15px; color: #aab3c8; font-size: .86rem; background: none; border: 0; border-radius: 0; }
.tm-skills li::before { content: ""; position: absolute; top: .6em; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.tm-links { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; direction: rtl; }
.tm-link { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; transition: transform .2s, background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine) { .tm-link:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); border-color: rgba(143, 178, 255, .55); } }
.tm-link:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(143, 178, 255, .55); outline: none; }
.tl-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: #2aa3e6; }
.tm-link--ig .tl-ic { background: linear-gradient(135deg, #f9a03f, #e1306c 55%, #7b3fe4); }
.tm-link--tg .tl-ic { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.tl-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tl-tx { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 1px; line-height: 1.35; }
.tl-tx small { color: #9aa4ba; font-size: .74rem; }
.tl-tx b { overflow: hidden; font-size: .92rem; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.tl-go { flex: none; width: 18px; height: 18px; fill: none; stroke: #8fb2ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
@media (hover: hover) and (pointer: fine) { .tm-link:hover .tl-go { transform: translateX(-3px); } }
.tm-cta {
  margin: 28px 0 8px;
  padding: 30px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 28px;
}
.tm-cta h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.tm-cta p { max-width: 32em; margin: 0 auto 18px; color: #c3c9d6; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.blog-card { position: relative; padding: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); border-radius: 24px; }
.blog-chip { display: inline-block; padding: 2px 12px; color: #bcd0ff; font-size: .8rem; font-weight: 600; background: rgba(91, 140, 255, .15); border: 1px solid rgba(143, 178, 255, .3); border-radius: 999px; }
.blog-soon { margin-top: 16px; color: #ffd37a; font-size: .85rem; font-weight: 700; }

/* ---------- گروه «خدمات» در منو ---------- */
.menu-group { display: block; }
.menu-group > summary { list-style: none; cursor: pointer; }
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group[open] > summary { background: rgba(255, 255, 255, .07); border-color: var(--line); }
.menu-group[open] > summary .mc { transform: rotate(-90deg); stroke: #fff; }
.menu-group > summary:hover .mc { transform: translateX(-4px); }
.menu-group[open] > summary:hover .mc { transform: rotate(-90deg); }
.menu-sub { display: flex; flex-direction: column; gap: 2px; margin: 4px 30px 8px 0; padding-right: 14px; border-right: 2px solid rgba(143, 178, 255, .25); }
.menu-group[open] .menu-sub { animation: menu-in .35s cubic-bezier(.22, 1, .36, 1) both; }
.menu-sublink { padding: 9px 12px; color: #c9d3ea; font-size: .95rem; font-weight: 600; text-decoration: none; border-radius: 12px; transition: background .2s, color .2s; }
.menu-sublink:hover, .menu-sublink:focus-visible, .menu-sublink[aria-current="page"] { color: #fff; background: rgba(91, 140, 255, .16); }

/* ---------- صفحهٔ هر خدمت ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; color: #9aa3b8; font-size: .85rem; }
.crumbs a { color: #bcd0ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-inline-end: 8px; color: #6f7a93; }
.sv-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; padding: 8px 0 22px; }
.sv-hero h1 { margin: 8px 0 12px; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.4; font-weight: 800; }
.sv-hero p { max-width: 34em; margin: 0 0 22px; color: #c9cedb; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-art {
  display: block;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  height: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);   /* لبه‌های مربع تصویر نرم محو می‌شود */
  animation: float 7s ease-in-out infinite;
}
.sv-sec { position: relative; padding: 40px 0 6px; }
.sv-sec > .wrap > h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.sv-sec .sub { margin-bottom: 22px; }
.sv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.sv-step { position: relative; padding: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); border-radius: 20px; }
.sv-step::before {
  counter-increment: step;
  content: counter(step, persian);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #1f63ee, #0e2d84);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(31, 99, 238, .35);
}
.sv-step h3 { margin-bottom: 6px; font-size: 1.05rem; color: #fff; }
.sv-step p { margin: 0; color: #c3c9d6; font-size: .93rem; }
.sv-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.sv-more a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff; font-weight: 600; text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s, border-color .25s; }
.sv-more a:hover { transform: translateY(-2px); border-color: rgba(143, 178, 255, .5); }
.sv-more a:hover .mc { transform: translateX(-4px); stroke: #fff; }
.page-hero > h1:first-child { margin-top: 6px; }
@media (max-width: 760px) {
  .sv-hero { grid-template-columns: 1fr; gap: 6px; }
  .sv-art { order: -1; max-width: 250px; }
}

/* ---------- بنر شروع پروژه (صفحهٔ اصلی) ---------- */
.go { position: relative; padding: 36px 0 8px; }
.go-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  background: radial-gradient(520px 220px at 100% 0, rgba(31, 99, 238, .5), transparent 70%), linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(143, 178, 255, .3);
  border-radius: 28px;
}
.go-box h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.go-box p { margin: 0; color: #c9cedb; }
.go-box .btn { padding: 13px 28px; font-size: 1rem; border-radius: 14px; box-shadow: 0 12px 30px rgba(31, 99, 238, .4); }

/* ---------- صفحهٔ ثبت سفارش ---------- */
.od-sec { position: relative; padding: 24px 0 8px; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.od-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: radial-gradient(420px 200px at 100% 0, rgba(31, 99, 238, .25), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.od-steps { position: relative; display: flex; justify-content: space-between; gap: 8px; margin: 0 0 22px; padding: 0 0 16px; list-style: none; }
.od-steps[hidden] { display: none; }
.od-bar { position: absolute; inset-inline: 0; bottom: 0; height: 4px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 4px; }
.od-bar i { display: block; width: 33.33%; height: 100%; background: linear-gradient(90deg, #2f7bff, #6fa0ff); border-radius: 4px; transition: width .4s cubic-bezier(.22, 1, .36, 1); }
.od-steps[data-p="2"] .od-bar i { width: 66.66%; }
.od-steps[data-p="3"] .od-bar i { width: 100%; }
.od-steps li { display: flex; align-items: center; gap: 10px; color: #8b94a9; font-size: .85rem; font-weight: 600; }
.od-steps li b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; font-size: .85rem; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 50%; transition: background .3s, border-color .3s, box-shadow .3s; }
.od-steps li.on { color: #fff; }
.od-steps li.on b { background: #1f63ee; border-color: #1f63ee; box-shadow: 0 0 0 5px rgba(31, 99, 238, .25); }
.od-steps li.done b { color: #7fe3b0; background: rgba(91, 255, 176, .15); border-color: rgba(91, 255, 176, .5); }
.od-pane { min-width: 0; margin: 0; padding: 0; border: 0; animation: od-in .45s cubic-bezier(.22, 1, .36, 1) both; }
.od-pane[hidden] { display: none; }
.od-pane legend { margin-bottom: 6px; padding: 0; color: #fff; font-size: 1.25rem; font-weight: 800; }
.od-hint { margin: 0 0 16px; color: #b4bccb; font-size: .92rem; }
@keyframes od-in { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
.od-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.od-picks .pick:last-child { grid-column: 1 / -1; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick-in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; background: rgba(255, 255, 255, .04); border: 1.5px solid var(--line); border-radius: 18px; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.pick:hover .pick-in { border-color: rgba(143, 178, 255, .5); transform: translateY(-2px); }
.pick input:checked + .pick-in { background: linear-gradient(160deg, rgba(31, 99, 238, .38), rgba(31, 99, 238, .1)); border-color: #5b8cff; box-shadow: 0 10px 30px rgba(31, 99, 238, .3); }
.pick input:focus-visible + .pick-in { outline: 2px solid #8fb2ff; outline-offset: 2px; }
.pick-in::after { content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 20px; height: 20px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background .2s, border-color .2s; }
.pick input:checked + .pick-in::after { content: "✓"; display: grid; place-items: center; color: #fff; font-size: .75rem; font-weight: 800; background: #1f63ee; border-color: #1f63ee; }
.pick b { color: #fff; font-size: .98rem; }
.pick small { color: #aab3c7; font-size: .8rem; line-height: 1.6; }
.od-field { display: grid; gap: 6px; margin-bottom: 14px; color: #b4bccb; font-size: .9rem; }
.od-field input, .od-field textarea { width: 100%; padding: 12px 14px; font: inherit; color: #fff; background: #12172a; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.od-field textarea { min-height: 140px; resize: vertical; }
.od-field input:focus, .od-field textarea:focus { outline: none; border-color: #5b8cff; box-shadow: 0 0 0 4px rgba(91, 140, 255, .2); }
.od-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.od-chip { padding: 6px 14px; font: inherit; font-size: .85rem; color: #d6dbe8; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.od-chip:hover { border-color: rgba(143, 178, 255, .5); }
.od-chip.on { color: #fff; background: #1f63ee; border-color: transparent; }
.od-cap { display: flex; gap: 8px; }
.od-cap input { flex: 1; min-width: 0; }
.od-refresh { display: grid; place-items: center; flex: none; width: 46px; color: #fff; cursor: pointer; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; }
.od-refresh svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.od-sum { display: grid; gap: 8px; margin: 4px 0 16px; padding: 14px 16px; background: rgba(91, 140, 255, .08); border: 1px dashed rgba(143, 178, 255, .35); border-radius: 16px; }
.od-sum:empty { display: none; }
.od-sum div { display: flex; gap: 10px; font-size: .88rem; }
.od-sum span { flex: none; min-width: 78px; color: #9aa3b8; }
.od-sum b { min-width: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.od-nav { display: flex; gap: 10px; margin-top: 18px; }
.od-nav .btn { flex: 1; padding: 13px 24px; font: inherit; font-weight: 700; text-align: center; border: 0; border-radius: 14px; cursor: pointer; }
.od-nav .btn.alt { background: transparent; border: 1.5px solid rgba(255, 255, 255, .3); }
.od-nav .btn[hidden] { display: none; }
.od-nav .btn:disabled { opacity: .6; cursor: wait; }
.od-done { padding: 26px 6px 8px; text-align: center; animation: od-in .5s both; }
.od-done[hidden] { display: none; }
.od-done .tick { display: block; width: 96px; height: 96px; margin: 0 auto 10px; fill: none; stroke: #5bffb0; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.od-done .tick circle { stroke-dasharray: 252; stroke-dashoffset: 252; animation: od-draw .7s .1s forwards ease-out; }
.od-done .tick path { stroke-dasharray: 64; stroke-dashoffset: 64; animation: od-draw .5s .65s forwards ease-out; }
@keyframes od-draw { to { stroke-dashoffset: 0; } }
.od-done h2 { margin-bottom: 8px; font-size: 1.5rem; }
.od-done p { max-width: 28em; margin: 0 auto 18px; color: #c3c9d6; }
.od-side { display: grid; gap: 16px; }
.od-box { padding: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 24px; }
.od-box h2 { margin-bottom: 14px; font-size: 1.15rem; color: #fff; }
.od-flow { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.od-flow li { position: relative; padding-inline-start: 46px; color: #c3c9d6; font-size: .93rem; }
.od-flow li b { display: block; margin-bottom: 2px; color: #fff; }
.od-flow li::before { counter-increment: flow; content: counter(flow, persian); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; font-weight: 800; background: linear-gradient(135deg, #1f63ee, #0e2d84); border-radius: 11px; }
.od-flow li:not(:last-child)::after { content: ""; position: absolute; top: 38px; bottom: -14px; inset-inline-start: 16px; width: 2px; background: rgba(143, 178, 255, .25); }
.od-box .sv-more { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .od-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .od-card { padding: 18px 16px; }
  .od-steps li:not(.on) span { display: none; }
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 26px; }
  #services, #contact { padding-top: 24px; }
  .svc {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .svc::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 80%; scroll-snap-align: start; }
  .card img { aspect-ratio: 1 / .8; }
}
@media (max-width: 720px) {
  .pf-card { padding: 18px; }
  .pf-card--video, .pf-card--shots { grid-template-columns: minmax(0, 1fr); }
  .pf-actions .btn { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 600px) {
  .ord .two { grid-template-columns: 1fr; }
  .ord-box { padding: 20px; }
}


@media (max-width: 520px) {
  .meet { flex-wrap: wrap; }
  .meet-av svg { width: 46px; height: 46px; }
  .meet-txt { flex: 1 1 100%; order: 3; }
  .meet-go { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .logo, .card img, .hero-wrap::before, .cta::after, .fab::before { animation: none; }
  .code .ln { animation: none; width: auto; }
  .code .cur { animation: none; opacity: 1; }
  .faq-list details[open] p { animation: none; }
  .menu, .menu-backdrop { transition: none; }
  .od-pane, .od-done { animation: none; }
  .od-done .tick circle, .od-done .tick path { animation: none; stroke-dashoffset: 0; }
  .menu.open .menu-link, .menu.open .menu-foot, .sv-art, .menu-group[open] .menu-sub { animation: none; }
}


/* ---------- مقاله‌های بلاگ ---------- */
.blog-card--link { display: block; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
.blog-card--link:hover, .blog-card--link:focus-visible { transform: translateY(-3px); border-color: rgba(143, 178, 255, .5); }
.blog-card--link h3 { margin: 12px 0 8px; font-size: 1.1rem; line-height: 1.7; color: #fff; }
.blog-card--link p { margin: 0 0 12px; color: #c3c9d6; font-size: .92rem; line-height: 1.9; }
.blog-cover { display: grid; place-items: center; height: 120px; margin-bottom: 16px; border-radius: 16px; background: radial-gradient(220px 120px at 50% 0, rgba(31, 99, 238, .45), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid var(--line); }
.blog-cover svg { width: 46px; height: 46px; fill: none; stroke: #bcd0ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.blog-more { color: var(--soft); font-size: .82rem; font-weight: 600; }
.post-hero p { max-width: 40em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; color: var(--soft); font-size: .85rem; }
.post-body { max-width: 760px; margin: 0 auto; padding: 8px 0 8px; color: #d6dae5; font-size: 1.04rem; line-height: 2.1; }
.post-body h2 { margin: 34px 0 10px; font-size: clamp(1.25rem, 3.6vw, 1.6rem); line-height: 1.6; }
.post-body p { margin: 0 0 14px; }
.post-body ul { margin: 0 0 16px; padding: 0 22px 0 0; }
.post-body li { margin-bottom: 6px; }
.post-body code { padding: 1px 7px; font-size: .9em; color: var(--code-ink); background: var(--code-bg); border: 1px solid var(--line); border-radius: 8px; direction: ltr; unicode-bidi: embed; }

/* ---------- بلاگ مدرن ---------- */
.blog-grid--feat { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-grid--sm { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.blog-card--link { display: flex; flex-direction: column; padding: 0; color: inherit; text-decoration: none; background: #161922; border: 1px solid var(--line); border-radius: 22px; }
.blog-card--link:hover, .blog-card--link:focus-visible { border-color: rgba(143, 178, 255, .5); }
.blog-img { display: block; }
.blog-img img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 21px 21px 0 0; }
.blog-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px 20px 20px; }
.blog-card--link h3 { margin: 12px 0 8px; font-size: 1.12rem; line-height: 1.8; color: #fff; }
.blog-card--link p { margin: 0 0 14px; color: #c3c9d6; font-size: .93rem; line-height: 1.9; }
.blog-more { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; color: var(--soft); font-size: .82rem; font-weight: 600; }
.blog-more em { color: #8fb2ff; font-style: normal; }

.blog-card--sm .blog-info { padding: 14px 16px 16px; }
.blog-card--sm h3 { margin: 10px 0 10px; font-size: .98rem; }
.blog-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.blog-card--featured .blog-info { justify-content: center; padding: 28px; }
.blog-card--featured h3 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); line-height: 1.6; }
.blog-card--featured p { font-size: 1rem; }
.blog-card--featured .blog-img, .blog-card--featured .blog-img img { height: 100%; }
.blog-card--featured .blog-img img { border-radius: 0 21px 21px 0; }
.post-hero p { max-width: 38em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; color: var(--soft); font-size: .85rem; }
.post-meta span + span::before { content: "•"; margin-inline-end: 14px; color: #5d6780; }
.post-cover { max-width: 860px; margin: 8px auto 28px; }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border: 1px solid var(--line); border-radius: 22px; }
.post-body { max-width: 720px; margin: 0 auto; color: #d6dae5; font-size: 1.05rem; line-height: 2.1; }
.callout { margin: 0 0 24px; padding: 18px 22px; background: #1a1d27; border: 1px solid var(--line); border-radius: 20px; }
.callout strong { display: block; margin-bottom: 8px; color: #fff; font-size: 1rem; }
.callout ul { margin: 0; padding: 0 20px 0 0; }
.callout li { margin-bottom: 4px; }
.callout p { margin: 0; }
.callout--sum { border-right: 4px solid #5bffb0; }
.callout--end { margin: 28px 0 0; border-right: 4px solid #5b8cff; }
.tips { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: tip; }
.tip { position: relative; padding: 18px 22px 18px 18px; padding-right: 72px; background: #1a1d27; border: 1px solid var(--line); border-radius: 22px; }
.tip::before { counter-increment: tip; content: counter(tip, persian); position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; font-weight: 800; background: #1f63ee; border-radius: 13px; }
.tip h2 { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.7; }
.tip p { margin: 0; color: #c3c9d6; font-size: 1rem; line-height: 2; }
.tip code { padding: 1px 7px; font-size: .88em; color: var(--code-ink); background: var(--code-bg); border: 1px solid var(--line); border-radius: 8px; direction: ltr; unicode-bidi: embed; }
.hero-wrap--soft { padding-bottom: 48px; background: radial-gradient(700px 380px at 12% 0, rgba(31, 99, 238, .38), transparent 70%); }
.hero-wrap--soft::before { display: none; animation: none; }
.hero-wrap--soft::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 48px; pointer-events: none; background: linear-gradient(to bottom, rgba(20, 22, 28, 0), var(--bg)); }
@media (max-width: 760px) {
  .blog-grid--feat { grid-template-columns: 1fr; }
  .blog-card--featured { display: flex; }
  .blog-card--featured .blog-img, .blog-card--featured .blog-img img { height: auto; }
  .blog-card--featured .blog-img img { border-radius: 21px 21px 0 0; }
  .blog-card--featured .blog-info { padding: 18px 20px 20px; }
  .tip { padding-right: 66px; }
}


/* رفع نوار روی کارت‌های بلاگ در موبایل */
.blog-card--link { overflow: hidden; isolation: isolate; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; background-clip: padding-box; }
.blog-card--link:hover, .blog-card--link:focus-visible { transform: translateY(-3px) translateZ(0); }
.blog-img { background: #161922; }
.blog-info { background: #161922; }
@media (hover: none) { .blog-card--link:hover { transform: translateZ(0); } }

/* لینک داخل متن (تلگرام/اینستاگرام) */
.tlink { color: #8fb2ff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tlink:hover { color: #bcd0ff; }

/* رفع خط افقی روی دکمه‌های کارت اعضا در موبایل: لایهٔ مستقل + رنگ‌های یکدست به‌جای نیمه‌شفاف (مثل کارت‌های بلاگ) */
.tm { isolation: isolate; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #181c27; background-clip: padding-box; }
@media (hover: hover) and (pointer: fine) { .tm:hover { transform: translateY(-6px) translateZ(0); } }
.tm-skills { border-top-color: #2a2f3d; }
.tm-link { background: #252a38; border-color: #363c4e; background-clip: padding-box; }
.tm-link:focus-visible { background: #2c3243; border-color: #5a74b5; }
@media (hover: hover) and (pointer: fine) { .tm-link:hover { background: #2c3243; border-color: #5a74b5; } }
.tm-cta { background: #181c27; }

/* کارت «با اعضای تیم آشنا شوید»: عکس واقعی اعضا */
.meet-av img { display: block; width: 52px; height: 52px; margin-inline-start: -14px; object-fit: cover; background: #1b1f2b; border-radius: 50%; box-shadow: 0 0 0 3px #1b1f2b; }
.meet-av img:first-child { margin-inline-start: 0; }
@media (max-width: 560px) { .meet-av img { width: 46px; height: 46px; } }

/* برچسب «به‌زودی» */
.soon { display: inline-block; margin-inline-start: 6px; padding: 1px 9px; color: #ffd88a; font-size: .72rem; font-weight: 600; line-height: 1.7; vertical-align: middle; background: #3a3220; border: 1px solid #6b5a2e; border-radius: 999px; }
.soon--lg { font-size: .85rem; padding: 2px 12px; }
.pick--soon { opacity: .6; cursor: not-allowed; }
.pick--soon input { pointer-events: none; }

/* کارت اندروید در صفحهٔ اصلی: «به‌زودی» کنار برچسب، نه یک نوار تمام‌عرض */
.svc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.svc-tags .svc-tag { align-self: auto; margin-bottom: 0; }
.svc-tag--soon { display: inline-flex; align-items: center; gap: 6px; color: #ffd88a; background: #3a3220; border-color: #6b5a2e; }
.svc-tag--soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffc45c; }

/* ===== دکمه‌ی تغییر پوسته ===== */
.top-ctrl { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; order: -1; }
.theme-btn {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; padding: 0;
  color: #fff; cursor: pointer; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .2s;
}
.theme-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.theme-btn:active { transform: scale(.94); }
.theme-btn .ico-moon { display: none; }
