/* ==========================================================================
   AFA Holding — Design System
   طراحی: تیره / مدرن / تکنولوژی — راست‌چین (RTL)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* --------------------------------------------------------------------------
   1. متغیرها
   -------------------------------------------------------------------------- */
:root {
  /* رنگ‌های پایه */
  --bg: #05070f;
  --bg-soft: #080b16;
  --bg-elev: #0c1020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* متن */
  --text: #e9edf7;
  --text-dim: #b3bcd4;
  --muted: #7f8aa8;

  /* برند */
  --brand: #6d5efc;
  --brand-2: #00d4ff;
  --brand-3: #b06cff;
  --accent: #ff8a3d;
  --ok: #34d399;
  --warn: #fbbf24;

  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-3) 45%, var(--brand-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(109, 94, 252, .18), rgba(0, 212, 255, .12));

  /* فرم */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);

  /* سایه */
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --shadow-glow: 0 20px 60px -20px rgba(109, 94, 252, .55);

  --header-h: 76px;
  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* --------------------------------------------------------------------------
   2. ریست
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, 'Iranian Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: rgba(109, 94, 252, .45); color: #fff; }

/* اسکرول‌بار */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand), var(--brand-2));
  border-radius: 99px;
  border: 2px solid var(--bg-soft);
}

/* --------------------------------------------------------------------------
   3. پس‌زمینه سراسری
   -------------------------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 88% -8%, rgba(109, 94, 252, .20), transparent 62%),
    radial-gradient(760px 560px at 6% 8%, rgba(0, 212, 255, .13), transparent 60%),
    radial-gradient(700px 700px at 50% 108%, rgba(176, 108, 255, .12), transparent 62%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. تایپوگرافی
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #fff;
}

h1 { font-size: clamp(2rem, 5.4vw, 3.9rem); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.06rem; font-weight: 700; }

p { color: var(--text-dim); }

.lead {
  font-size: clamp(1rem, 1.65vw, 1.16rem);
  color: var(--text-dim);
  line-height: 2.1;
}

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

/* --------------------------------------------------------------------------
   5. لایه‌بندی
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 60px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-2);
  background: rgba(0, 212, 255, .08);
  border: 1px solid rgba(0, 212, 255, .22);
  padding: 7px 15px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-2);
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* --------------------------------------------------------------------------
   6. دکمه‌ها
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s, border-color .28s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -18px rgba(109, 94, 252, .8); }

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

.btn-sm { padding: 10px 20px; font-size: .87rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   7. هدر
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5, 7, 15, .78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-weight: 800; font-size: 1.08rem; color: #fff; }
.brand__tag { font-size: .68rem; color: var(--muted); letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 99px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .25s, background .25s;
}
.nav a:hover { color: #fff; background: var(--surface); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: '';
  position: absolute;
  inset-block-end: 2px;
  inset-inline: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 19px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* منوی موبایل */
.mobile-nav {
  position: fixed;
  inset-block-start: var(--header-h);
  inset-inline: 0;
  z-index: 99;
  background: rgba(5, 7, 15, .97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 18px var(--gutter) 30px;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a.is-active {
  color: #fff;
  background: var(--surface);
  border-color: var(--border);
}
.mobile-nav .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   8. هیرو
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(50px, 8vw, 96px)) clamp(56px, 8vw, 100px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

.hero__title { margin-bottom: 22px; }
.hero__title span { display: block; }
.hero p { max-width: 58ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--text-dim);
}
.hero__meta li::before {
  content: '';
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 212, 255, .4);
}

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}
.orb--1 { width: 380px; height: 380px; background: var(--brand); inset-block-start: -80px; inset-inline-end: -60px; animation: drift 14s ease-in-out infinite; }
.orb--2 { width: 320px; height: 320px; background: var(--brand-2); inset-block-end: -60px; inset-inline-start: -40px; animation: drift 18s ease-in-out infinite reverse; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.12); }
}

/* --------------------------------------------------------------------------
   9. کارت‌ها
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .38s var(--ease), border-color .38s, background .38s, box-shadow .38s;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
  color: var(--brand-2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* --------------------------------------------------------------------------
   10. کارت محصول
   -------------------------------------------------------------------------- */
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  height: 100%;
}
.product:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.product__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev);
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.06); }

.product__body { padding: clamp(20px, 2.6vw, 28px); display: flex; flex-direction: column; flex: 1; }
.product__body h3 { margin-bottom: 8px; }
.product__body p { font-size: .93rem; flex: 1; }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live { color: var(--ok); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); }
.badge--soon { color: var(--warn); background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); }
.badge--dev  { color: var(--brand-2); background: rgba(0, 212, 255, .1); border: 1px solid rgba(0, 212, 255, .3); }

.product__badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   11. آمار
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: rgba(8, 11, 22, .82);
  padding: clamp(24px, 3vw, 34px) 20px;
  text-align: center;
  transition: background .3s;
}
.stat:hover { background: rgba(16, 20, 38, .9); }
.stat__num {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* --------------------------------------------------------------------------
   12. بنیان‌گذاران
   -------------------------------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  height: 100%;
}
.founder:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.founder__avatar {
  width: 96px; height: 96px;
  border-radius: 24px;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
}
.founder__role {
  font-size: .85rem;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 12px;
}
.founder p { font-size: .93rem; }
.founder__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-dim);
  transition: border-color .25s, color .25s, background .25s;
  direction: ltr;
}
.chip svg { width: 15px; height: 15px; }
a.chip:hover { color: #fff; border-color: var(--brand-2); background: rgba(0, 212, 255, .08); }

/* --------------------------------------------------------------------------
   13. بخش دو ستونه (متن + تصویر)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.split__content, .hero__content { min-width: 0; }

.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  align-items: start;
  font-size: .95rem;
  color: var(--text-dim);
}
.check-list li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 212, 255, .35);
  background-image:
    linear-gradient(rgba(0, 212, 255, .12), rgba(0, 212, 255, .12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 100% 100%, 13px 13px;
  background-position: center, center;
  background-repeat: no-repeat;
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   14. تایم‌لاین
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-inline-start: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2), transparent);
}
.timeline li { position: relative; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  inset-block-start: 9px;
  inset-inline-start: -34px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 5px rgba(109, 94, 252, .14);
}
.timeline h4 { margin-bottom: 6px; }
.timeline span { font-size: .8rem; color: var(--brand-2); font-weight: 700; }
.timeline p { font-size: .93rem; margin-top: 4px; }

/* --------------------------------------------------------------------------
   15. فرم
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-dim); }
.field label span { color: var(--brand-2); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.9; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-elev); color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: #5d688a; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-2);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, .1);
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.9;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: var(--ok); }

/* --------------------------------------------------------------------------
   16. CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  padding: clamp(34px, 6vw, 70px) clamp(22px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(109, 94, 252, .28), transparent 70%),
    linear-gradient(180deg, rgba(12, 16, 32, .9), rgba(8, 11, 22, .9));
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 62ch; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* --------------------------------------------------------------------------
   17. صفحه داخلی — هدر صفحه
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(48px, 7vw, 82px)) clamp(38px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 68ch; margin-inline: auto; margin-top: 16px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 22px;
}
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb span { opacity: .5; }

/* --------------------------------------------------------------------------
   18. فوتر
   -------------------------------------------------------------------------- */
.footer {
  margin-top: clamp(50px, 8vw, 90px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 11, 22, .5), rgba(5, 7, 15, .95));
  padding-block: clamp(44px, 6vw, 70px) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 4vw, 44px);
}
.footer__about { max-width: 42ch; }
.footer__about p { font-size: .92rem; margin-top: 16px; }
.footer h4 { margin-bottom: 18px; font-size: .98rem; }
.footer ul { display: grid; gap: 11px; }
.footer li a, .footer li span { font-size: .91rem; color: var(--muted); transition: color .25s; }
.footer li a:hover { color: var(--brand-2); }

.footer__bottom {
  margin-top: clamp(34px, 5vw, 52px);
  padding-block: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .84rem;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--brand-2); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all .28s var(--ease);
}
.socials a:hover { color: #fff; border-color: var(--brand-2); background: rgba(0, 212, 255, .1); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   19. بازگشت به بالا
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   20. انیمیشن اسکرول
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   21. ریسپانسیو
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 620px) {
  body { font-size: 15px; line-height: 1.8; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__avatar { width: 76px; height: 76px; border-radius: 20px; }
  .btn { padding: 13px 22px; font-size: .92rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .to-top { inset-block-end: 16px; inset-inline-start: 16px; width: 44px; height: 44px; }
  .timeline { padding-inline-start: 26px; }
  .timeline li::before { inset-inline-start: -26px; width: 14px; height: 14px; }
}

/* --------------------------------------------------------------------------
   22. کمکی‌ها
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.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;
}
