/* ==========================================================================
   وب‌کار — استایل اصلی
   طراحی سایت / سئو / پشتیبانی
   ========================================================================== */

/* ---------- 1. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Vazirmatn', 'IRANSans', Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
  font-feature-settings: "ss02";
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: var(--brand-2); color: #fff; }

/* ---------- 2. Design Tokens ---------- */
:root {
  /* رنگ برند — آتش ققنوس */
  --brand-1: #fbbf24;
  --brand-2: #f97316;
  --brand-3: #ef4444;
  --gradient: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(251,191,36,.13), rgba(239,68,68,.13));

  /* تم تیره (پیش‌فرض) */
  --bg: #080604;
  --bg-alt: #100b07;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --border: rgba(255, 168, 76, .13);
  --border-strong: rgba(255, 168, 76, .28);
  --text: #fdf6ef;
  --text-dim: #b3a595;
  --text-faint: #82746a;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
  --glow: 0 0 60px -10px rgba(249, 115, 22, .5);

  /* ابعاد */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 76px;
}

[data-theme="light"] {
  --bg: #fdfaf6;
  --bg-alt: #ffffff;
  --surface: rgba(40, 20, 5, .028);
  --surface-2: rgba(40, 20, 5, .055);
  --border: rgba(40, 20, 5, .1);
  --border-strong: rgba(200, 90, 10, .3);
  --text: #1a0f06;
  --text-dim: #6b5645;
  --text-faint: #96826f;
  --shadow: 0 24px 60px -24px rgba(80, 40, 10, .22);
  --glow: 0 0 60px -14px rgba(249, 115, 22, .32);
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { line-height: 1.5; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); line-height: 1.35; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--text-dim); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 4. Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

section { position: relative; }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head p { margin-top: 1rem; font-size: 1.02rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--brand-1);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 12px var(--brand-1);
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: .96rem;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, .65);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(249, 115, 22, .8);
}

.btn--ghost {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--brand-2); transform: translateY(-3px); }

.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom-color: var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 6px 20px -6px rgba(79,124,255,.7);
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .95rem;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--text); background: var(--surface-2); }

.header__actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  transition: color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); transform: rotate(-15deg); }

.burger { display: none; }

/* منوی موبایل */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(24px);
  padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.mobile-nav a:hover, .mobile-nav a.is-active { background: var(--surface); border-color: var(--border); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 5rem) 5rem;
  overflow: hidden;
  text-align: center;
}

.hero__orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.orb--1 { width: 480px; height: 480px; background: #f97316; top: -140px; inset-inline-start: -80px; }
.orb--2 { width: 420px; height: 420px; background: #ef4444; top: 60px; inset-inline-end: -100px; animation-delay: -6s; }
.orb--3 { width: 360px; height: 360px; background: #fbbf24; bottom: -160px; inset-inline-start: 40%; animation-delay: -12s; }
[data-theme="light"] .orb { opacity: .28; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 25px) scale(.94); }
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { max-width: 900px; margin-inline: auto; }
.hero__sub {
  max-width: 620px;
  margin: 1.6rem auto 2.4rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero__trust {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  color: var(--text-faint);
  font-size: .9rem;
  font-weight: 600;
}
.hero__trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust svg { color: var(--brand-1); flex-shrink: 0; }

/* ---------- 8. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 4rem;
}
.stat {
  background: var(--bg);
  padding: 2rem 1rem;
  text-align: center;
}
.stat__num {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: .88rem; color: var(--text-dim); font-weight: 600; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: '';
  position: absolute;
  inset-block-start: 0; inset-inline: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--brand-1);
  margin-bottom: 1.3rem;
}
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; }

.card__list { margin-top: 1.2rem; display: grid; gap: .55rem; }
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-dim);
}
.card__list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: .35rem;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- 10. Process ---------- */
.process { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.process__item {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  counter-increment: step;
}
.process__item::before {
  content: '0' counter(step);
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1.3rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
}
.process__item h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.process__item p { font-size: .9rem; }

/* ---------- 11. Portfolio ---------- */
.work {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .4s cubic-bezier(.2,.8,.3,1), box-shadow .4s;
  display: block;
}
.work:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.work__thumb {
  aspect-ratio: 16 / 10;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.work:hover .work__thumb img { transform: scale(1.06); }
.work__thumb-fallback {
  font-size: 2.4rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.work__body { padding: 1.5rem 1.6rem 1.7rem; }
.work__tag {
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-1);
  margin-bottom: .5rem;
  display: block;
}
.work__body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.work__body p { font-size: .9rem; }
.work__metrics {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.work__metric b { display: block; font-size: 1.15rem; color: var(--brand-1); }
.work__metric span { font-size: .78rem; color: var(--text-faint); }

/* فیلتر نمونه‌کار */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.3rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 600;
  transition: all .25s;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- 12. Testimonials ---------- */
.quote {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 1rem; font-size: .95rem; }
.quote p { font-size: .97rem; color: var(--text); flex-grow: 1; }
.quote__author { display: flex; align-items: center; gap: .85rem; margin-top: 1.5rem; }
.quote__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.quote__author b { display: block; font-size: .95rem; }
.quote__author span { font-size: .82rem; color: var(--text-faint); }

/* ---------- 13. Pricing ---------- */
.plan {
  position: relative;
  padding: 2.2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--brand-2);
  background: var(--gradient-soft);
  box-shadow: var(--glow);
}
.plan__badge {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: var(--gradient);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  padding: .35rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; }
.plan__desc { font-size: .88rem; margin-top: .4rem; min-height: 3.2rem; }
.plan__price {
  margin: 1.4rem 0;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}
.plan__price b { font-size: 2.1rem; font-weight: 900; letter-spacing: -.02em; }
.plan__price small { font-size: .85rem; color: var(--text-faint); font-weight: 600; }
.plan .card__list { flex-grow: 1; margin-bottom: 1.8rem; }

/* ---------- 14. Accordion / FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item.is-open { border-color: var(--border-strong); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  text-align: start;
  font-weight: 700;
  font-size: 1rem;
}
.faq__q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-1);
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.8,.3,1);
}
.faq__a p { padding: 0 1.5rem 1.4rem; font-size: .94rem; }

/* ---------- 15. CTA ---------- */
.cta-box {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--gradient-soft);
  text-align: center;
  overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--brand-2);
  filter: blur(120px);
  opacity: .3;
  inset-block-start: -250px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { max-width: 520px; margin: 1rem auto 2rem; }

/* ---------- 16. Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-block: 4rem 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__about p { font-size: .93rem; margin: 1.1rem 0 1.4rem; max-width: 320px; }
.footer h4 { font-size: 1rem; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a, .footer__links li {
  font-size: .92rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer__links a:hover { color: var(--brand-1); }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  transition: all .25s;
}
.socials a:hover { color: #fff; background: var(--gradient); border-color: transparent; transform: translateY(-3px); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .87rem;
  color: var(--text-faint);
}

/* ---------- 17. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9rem; font-weight: 700; }
.field label span { color: var(--brand-1); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .25s, box-shadow .25s;
  font-size: .95rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3bd' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 1rem center; background-size: 16px; }
.field select option { background: var(--bg-alt); color: var(--text); }

.form__note { font-size: .85rem; color: var(--text-faint); }
.form-status { padding: .9rem 1.2rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #4ade80; }
.form-status.is-err { display: block; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #f87171; }

/* ---------- 18. Page header (صفحات داخلی) ---------- */
.page-head {
  position: relative;
  padding-block: calc(var(--header-h) + 4rem) 3.5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-head p { max-width: 600px; margin: 1.1rem auto 0; }
.breadcrumb {
  display: flex; justify-content: center; gap: .5rem;
  font-size: .85rem; color: var(--text-faint);
  margin-top: 1.5rem;
}
.breadcrumb a:hover { color: var(--brand-1); }

/* ---------- 19. Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card__thumb {
  aspect-ratio: 16/9;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  display: grid; place-items: center;
  color: var(--brand-2);
  overflow: hidden;
}
.post-card__meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--text-faint); margin-bottom: .7rem; }
.post-card h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.7; }
.post-card p { font-size: .9rem; }
.post-card__more { margin-top: 1.1rem; color: var(--brand-1); font-size: .9rem; font-weight: 700; display: inline-flex; gap: .4rem; }

.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.article h3 { margin: 2rem 0 .8rem; }
.article p { margin-bottom: 1.2rem; font-size: 1.02rem; line-height: 2.1; }
.article ul { margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.article ul li { position: relative; padding-inline-start: 1.6rem; color: var(--text-dim); }
.article ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; inset-block-start: .8rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient);
}
.article blockquote {
  border-inline-start: 3px solid var(--brand-2);
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* ---------- 20. Floating actions ---------- */
.fab {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 90;
  display: grid;
  gap: .7rem;
}
.fab a, .fab button {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.5);
  transition: transform .25s;
}
.fab a:hover, .fab button:hover { transform: scale(1.1); }
.fab__wa { background: #25d366; }
.fab__top {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .25s;
}
.fab__top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- 21. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 22. Responsive ---------- */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .card, .plan { padding: 1.6rem 1.4rem; }
  .fab { inset-block-end: 1rem; inset-inline-start: 1rem; }
}

/* ---------- 23. جلوه‌های ویژه ---------- */

/* بافت نویز ظریف روی کل صفحه */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] body::after { opacity: .02; }

/* نورافکن دنبال‌کننده ماوس روی کارت‌ها */
.card, .plan, .work, .quote {
  --mx: 50%;
  --my: 50%;
}
.card::after, .plan::after, .work::after, .quote::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my),
              rgba(249, 115, 22, .18), transparent 42%);
}
.card:hover::after, .plan:hover::after, .work:hover::after, .quote:hover::after { opacity: 1; }
.quote, .plan { position: relative; overflow: hidden; }

/* درخشش متحرک روی تیتر اصلی */
.hero h1 .gradient-text {
  background-size: 220% auto;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% center; } }

/* نوار متحرک ابزارها */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color .25s;
}
.marquee__item:hover { color: var(--brand-1); }
.marquee__item::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--gradient);
  flex-shrink: 0;
}
@keyframes slide { to { transform: translateX(50%); } }

/* نوار مقایسه سرعت */
.speed { display: grid; gap: 1.4rem; max-width: 620px; }
.speed__row { display: grid; gap: .5rem; }
.speed__top { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 700; }
.speed__bar { height: 12px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.speed__fill {
  height: 100%;
  border-radius: 100px;
  width: 0;
  transition: width 1.6s cubic-bezier(.2,.8,.3,1);
}
.speed__fill--bad  { background: linear-gradient(90deg, #f87171, #fb923c); }
.speed__fill--good { background: var(--gradient); }

/* برچسب‌های شناور کنار هیرو */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2rem; }
.chip {
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: all .25s;
}
.chip:hover { color: var(--text); border-color: var(--brand-2); transform: translateY(-2px); }

/* جعبه دو ستونه تصویر/متن */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.split h2 { margin-bottom: 1.2rem; }
.split p { margin-bottom: 1rem; }

/* ---------- 24. اطلاعات تماس آیکون‌دار ---------- */
.contact-list { display: grid; gap: .85rem; }
.contact-list li { margin: 0; }

.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all .25s;
}
a.contact-item:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  transform: translateX(-4px);
}
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(249, 115, 22, .7);
}
.contact-item__icon--wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .6); }
.contact-item > span:last-child { display: grid; line-height: 1.45; min-width: 0; }
.contact-item b { color: var(--text); font-size: .93rem; font-weight: 700; }
.contact-item small { color: var(--text-faint); font-size: .76rem; }
a.contact-item:hover b { color: var(--brand-1); }

/* دکمه شناور تماس */
.fab__call {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(249, 115, 22, .8);
  transition: transform .25s;
}
.fab__call:hover { transform: scale(1.09); }

/* لینک سایت روی کارت نمونه‌کار */
.work__link {
  display: inline-block;
  margin-top: 1rem;
  padding: .35rem .8rem;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-1);
  direction: ltr;
}
.work:hover .work__link { background: var(--gradient); color: #fff; border-color: transparent; }

/* آیکون داخل باکس ستون‌ها */
.stat__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto .9rem;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  color: var(--brand-2);
}
.stat__label b { display: block; color: var(--text); font-weight: 800; font-size: .98rem; margin-bottom: .15rem; }

/* ---------- 25. Utilities ---------- */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.is-hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
