/* TeamZoom landing v6 — بنفش برند (logo_web.svg) + کرم، RTL-first */

:root {
  --brand: #170144;        /* رنگ اصلی لوگو */
  --brand-dark: #0c0130;   /* سایهٔ لوگو */
  --brand-soft: #2a1878;   /* گرادیان / هاور */
  --brand-rgb: 23, 1, 68;
  --sand: #dcd6ea;         /* بنفش روشن (از هایلایت لوگو) */
  --sand-deep: #cdc8da;
  --cream: #f5f2f8;        /* کرم با ته‌رنگ بنفش */
  --cream-soft: #faf9fc;
  --sky: #b8c4de;          /* آبی-بنفش ملایم */
  --sky-ink: #3d4a72;
  --ink: #1a1633;
  --muted: #5a5668;
  --line: rgba(var(--brand-rgb), .12);
  --white: #fff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 22px rgba(var(--brand-rgb), .07);
  --shadow: 0 18px 44px rgba(var(--brand-rgb), .12);
  --shadow-lg: 0 30px 70px -34px rgba(var(--brand-rgb), .55);

  --font-body: Vazirmatn, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.85 var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sand); color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .final :focus-visible { outline-color: var(--sand); }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 80;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(var(--brand-rgb), .28); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--saffron { background: var(--sand); color: var(--brand-dark); }
.btn--saffron:hover { background: var(--sand-deep); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--sky-ink); border-color: var(--sky); }
.btn--line:hover { background: var(--sky); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--sand); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: #fff; color: var(--brand); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 248, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(var(--brand-rgb), .06); }
.nav__in {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--brand); }
.brand img { width: 38px; height: 38px; }
.menu { display: flex; gap: 4px; margin-inline-end: auto; }
.menu a { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--brand); background: rgba(var(--brand-rgb), .06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.nav__login { padding: 8px 14px; font-weight: 700; color: var(--brand); }
.burger {
  display: none;
  margin-inline-start: auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.burger svg { width: 23px; height: 23px; }
.mnav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mnav.is-open { display: flex; }
.mnav a:not(.btn) { padding: 11px 6px; font-weight: 600; border-radius: 8px; }
.mnav a:not(.btn):hover { background: rgba(var(--brand-rgb), .06); color: var(--brand); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 68px 0 76px;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--brand-rgb), .08), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(184, 196, 222, .35), transparent 48%),
    linear-gradient(180deg, var(--cream-soft), var(--cream));
  overflow: hidden;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sky-ink);
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.28;
  font-weight: 800;
  color: var(--brand);
}
.hero__lead {
  margin-top: 20px;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { min-width: 228px; }
.hero__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 34em;
}
.hero__note::before { content: "🛡"; font-size: 15px; line-height: 1.6; }

.hero__art { position: relative; }
.hero__art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(var(--brand-rgb), .2));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- generic section ---------- */
.band { padding: 90px 0; }
.band--tight { padding: 72px 0; }
.band + .band { padding-top: 0; }
.head { max-width: 42rem; margin: 0 auto 44px; text-align: center; }
.head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--ink); }
.head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.eyebrow-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sky-ink); margin-bottom: 12px; }
.eyebrow-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- reasons ---------- */
.reasons { background: linear-gradient(180deg, #eef3f6, #e7eef3); }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.reason { text-align: center; padding: 6px 14px; position: relative; }
.reason + .reason::before {
  content: "";
  position: absolute;
  inset-inline-start: -20px;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(31, 38, 51, .12);
}
.reason-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.reason-icon svg { width: 34px; height: 34px; }
.reason-icon--photo {
  padding: 0;
  overflow: hidden;
  background: #0d0d12;
}
.reason-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reason h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 15px; }

/* ---------- scenario cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  container-type: inline-size;
  transition: transform .28s, box-shadow .28s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.badge {
  position: absolute;
  z-index: 1;
  top: 26px;
  inset-inline-end: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), .32);
}
.card-art {
  height: 214px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 62%, var(--sand), transparent 68%), var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}
.card-art img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-art img.cover { object-fit: cover; padding: 0; }
.card h3 { font-size: 1.1rem; margin-bottom: 14px; padding-inline: 2px; line-height: 1.6; }
.card dl {
  flex: 1;
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 20px;
  align-items: stretch;
}
.card dl > div {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  column-gap: 20px;
  align-items: center;
  margin: 0;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}
.card dl > div:first-child { padding-top: 2px; }
.card dl > div:last-child { border-bottom: 0; padding-bottom: 2px; }
.card dt {
  margin: 0;
  justify-self: stretch;
  width: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), .08);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--brand);
  text-align: center;
  white-space: nowrap;
}
.card dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.7;
  text-align: start;
}
@container (max-width: 280px) {
  .card dl { grid-template-columns: 1fr; }
  .card dl > div {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 4px;
  }
  .card dt { white-space: normal; }
}
.card dd .fact-url {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  margin-left: auto;
  margin-right: 0;
  padding: 2px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--sky-ink);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.6;
  direction: ltr;
  unicode-bidi: isolate;
}
.card .btn { margin-top: 18px; width: 100%; }

/* ---------- featured people ---------- */
.people-band { background: linear-gradient(180deg, var(--cream), var(--cream-soft)); }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .24s, box-shadow .24s;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__av {
  position: relative;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.person__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__body { min-width: 0; flex: 1; }
.person__body b { display: block; font-size: 1rem; color: var(--ink); }
.person__body small {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.person__skills span {
  unicode-bidi: isolate;
  background: rgba(174, 196, 212, .28);
  color: var(--sky-ink);
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}
.people-cta { text-align: center; margin-top: 36px; }

/* ---------- perks ---------- */
.perks { padding: 76px 0; background: linear-gradient(180deg, var(--cream-soft), #ebe6f2); }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.perk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.perk-icon {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sky);
  color: #fff;
  display: grid;
  place-items: center;
}
.perk-icon svg { width: 26px; height: 26px; }
.perk-icon--photo {
  flex: 0 0 76px;
  height: 76px;
  padding: 0;
  overflow: hidden;
  background: #0d0d12;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.perk-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.perk h4 { font-size: 1rem; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: .9rem; }
.perk code {
  direction: ltr;
  display: inline-block;
  margin-top: 8px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .78rem;
  color: var(--sky-ink);
  background: #eef3f6;
  padding: 2px 8px;
  border-radius: 6px;
}

/* ---------- final CTA ---------- */
.final { padding: 40px 0 96px; }
.final-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 30px;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 36px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.final-box::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(220, 214, 234, .35);
  inset-inline-end: -140px;
  bottom: -220px;
}
.final-art { position: relative; z-index: 1; display: flex; justify-content: center; }
.final-art img { width: min(320px, 92%); filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .3)); }
.final-text { position: relative; z-index: 1; }
.final-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.final-text p { color: #e8e3f0; margin-bottom: 28px; font-size: 17px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cbd3dd; padding: 64px 0 0; font-size: .92rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}
.footer .brand { color: #fff; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 14px; color: #9aa6b4; font-size: .88rem; max-width: 24em; }
.fcol h4, .footer__news h4 { margin: 0 0 14px; font-size: .95rem; color: #fff; }
.fcol a { display: block; padding: 4px 0; color: #9aa6b4; font-size: .88rem; transition: color .2s; }
.fcol a:hover { color: var(--sand); }
.footer__news p { color: #9aa6b4; font-size: .88rem; margin-bottom: 12px; }
.nl { display: flex; gap: 8px; }
.nl input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.nl input::placeholder { color: #7f8b99; }
.nl input:focus { border-color: var(--sand); outline: none; }
.footer__bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 44px auto 0;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #8a96a4;
}
.footer__seal img { height: 74px; width: auto; max-width: none; }

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  .cards, .people-grid { align-items: stretch; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; }
}

@media (max-width: 1040px) {
  .menu, .nav__actions { display: none; }
  .burger { display: grid; place-items: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__lead, .hero__note { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .kicker { justify-content: center; }
  .hero__art { max-width: 560px; margin-inline: auto; }
  .reasons-grid, .cards, .perks-grid, .people-grid { grid-template-columns: 1fr; gap: 22px; }
  .reason + .reason::before { display: none; }
  .final-box { grid-template-columns: 1fr; padding: 42px 26px; text-align: center; }
  .final-actions { justify-content: center; }
  .band { padding: 64px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .nav__in, .footer__bottom { width: calc(100% - 32px); }
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 2.2rem; }
  .hero__actions, .final-actions { flex-direction: column; }
  .hero__actions .btn, .final-actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .nl { flex-direction: column; }
  .final-box { padding: 34px 20px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__art img { animation: none; }
  .btn { transition: none; }
}
