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

:root {
  --bg: #222629;
  --header: #151719;
  --card: rgba(45, 47, 53, 0.92);
  --line: rgba(255,255,255,.14);
  --text: #fff;
  --muted: rgba(235,235,235,.70);
  --yellow: #ffc107;
  --purple: #a02689;
  --blue: #4a5bbe;
  --green: #20d980;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 7% 24%, rgba(176,38,137,.23), transparent 25%),
    radial-gradient(circle at 92% 28%, rgba(74,91,190,.20), transparent 25%),
    radial-gradient(circle at 63% 88%, rgba(46,112,168,.10), transparent 28%),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.22), transparent 75%);
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 88px;
  background: rgba(21,23,25,.97);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-shell {
  width: min(100% - 36px, 1230px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(90px,1fr) auto minmax(150px,1fr);
  align-items: center;
  direction: ltr;
}
.instagram-link { justify-self: start; width: 64px; height: 64px; }
.instagram-link img { width: 64px; height: 64px; object-fit: contain; display: block; }
.nav { display: flex; gap: 44px; align-items: center; direction: rtl; }
.nav-link { font-weight: 850; color: #fff; transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--yellow); }
.brand { justify-self: end; width: 176px; height: 72px; }
.brand img { width: 176px; height: 72px; display: block; object-fit: contain; }

.main { flex: 1; position: relative; z-index: 1; }
.hero { padding: clamp(44px, 6vw, 84px) 0 64px; }
.hero-shell { width: min(100% - 32px, 1110px); margin: 0 auto; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto 34px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(32,217,128,.25);
  border-radius: 999px;
  background: rgba(32,217,128,.065);
  color: #8beeba;
  font-size: .9rem;
  font-weight: 800;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(32,217,128,.75); }
h1 {
  margin: 18px 0 0;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: -.03em;
}
h1 span { color: var(--yellow); }
.hero-copy p { margin: 18px auto 0; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.9; }

.cta-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 52px);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(49,50,58,.96), rgba(37,39,44,.94));
  box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035);
}
.card-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  left: -170px;
  top: -180px;
  background: radial-gradient(circle, rgba(176,38,137,.25), transparent 65%);
}
.secure-badge {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(32,217,128,.25);
  color: #8beeba;
  background: rgba(32,217,128,.06);
  font-size: .82rem;
  font-weight: 800;
}
.bot-mark {
  width: 72px;
  height: 72px;
  margin: 22px auto 15px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(145deg, rgba(176,38,137,.34), rgba(74,91,190,.28));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}
.cta-card h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 950; }
.cta-card > p { max-width: 680px; margin: 15px auto 27px; color: var(--muted); line-height: 2; font-size: 1rem; }
.primary-cta {
  width: min(100%, 520px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 17px;
  color: #181818;
  background: linear-gradient(135deg, #ffd54a, var(--yellow));
  box-shadow: 0 14px 34px rgba(255,193,7,.18);
  font-weight: 950;
  font-size: 1.12rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(255,193,7,.25); }
.arrow { font-size: 1.45rem; }
.trust-row { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; color: rgba(235,235,235,.62); font-size: .88rem; }
.trust-row span::first-letter { color: var(--green); }
.microcopy { text-align: center; color: rgba(235,235,235,.48); font-size: .86rem; margin: 18px 0 0; }
.microcopy strong { color: rgba(255,255,255,.72); direction: ltr; unicode-bidi: isolate; }

.footer { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); background: rgba(21,23,25,.78); }
.footer-shell { width: min(100% - 36px, 1110px); min-height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); font-size: .88rem; }
.footer a:hover { color: var(--yellow); }

@media (max-width: 720px) {
  .site-header { height: 76px; }
  .header-shell { width: min(100% - 22px, 680px); grid-template-columns: 54px 1fr 126px; }
  .instagram-link, .instagram-link img { width: 48px; height: 48px; }
  .brand, .brand img { width: 126px; height: 58px; }
  .nav { justify-self: center; gap: 0; }
  .nav-link { display: none; }
  .nav-link.active { display: inline-block; }
  .hero { padding-top: 42px; }
  .cta-card { border-radius: 22px; padding: 28px 20px; }
  .trust-row { flex-direction: column; gap: 8px; }
  .footer-shell { justify-content: center; flex-direction: column; padding: 18px 0; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
