:root {
  --bg: #0b1020;
  --bg-2: #10182c;
  --surface: #151d33;
  --panel: #1c2742;
  --line: rgba(248, 250, 252, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #8b5cf6;
  --secondary: #22d3ee;
  --accent: #f97316;
  --radius: 22px;
  --wrap: 1120px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  right: -999px;
  top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { right: 12px; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand__text { font-size: 1.15rem; }
.brand__mark img,
.brand--foot img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
}
.brand--foot img { width: 36px; height: 36px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__links a:hover { color: var(--text); }

.nav__toggle {
  display: none;
  background: var(--panel);
  color: var(--text);
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(700px 380px at 0% 20%, rgba(34, 211, 238, 0.12), transparent 55%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--secondary);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.03em; margin: 0 0 12px; }

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 900; }

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

.lede, .muted, .section__head p { color: var(--muted); }

.lede { font-size: 1.12rem; max-width: 38ch; }

.hero__cta, .hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__pills {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

.hero__pills li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0 18px;
  transition: transform 0.16s ease, background 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--lg { min-height: 54px; padding: 0 22px; font-size: 1.02rem; }
.btn--sm { min-height: 42px; padding: 0 14px; font-size: 0.9rem; }
.btn--primary { background: linear-gradient(135deg, var(--primary), #6d28d9); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }

.phone {
  background: linear-gradient(180deg, #1a2440, #12192c);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
  max-width: 380px;
  margin-inline: auto;
}

.phone__bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 800;
}

.dot { color: var(--muted); font-size: 0.82rem; font-weight: 500; }

.bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.bubble--bot { background: var(--panel); }
.bubble--me {
  margin-right: auto;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.strip {
  padding: 8px 0 28px;
}

.strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.strip article, .card, .tracks article, .cta__box, .faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.strip p, .card p, .tracks p, .steps p { color: var(--muted); margin: 8px 0 0; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 40rem; margin-bottom: 32px; }

.cards, .tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--secondary);
  font-weight: 900;
}

.faq details + details { margin-top: 10px; }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  min-height: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta { padding: 28px 0 88px; }
.cta__box { text-align: center; padding: 48px 24px; }
.cta__soon { color: var(--muted); }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__enamad img {
  width: 92px;
  height: auto;
  display: block;
}
.footer__meta { color: var(--muted); }
.footer__meta p { margin: 0 0 6px; }
.footer a { color: var(--secondary); }

@media (max-width: 900px) {
  .hero__grid, .strip__row, .cards, .tracks { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav__links.is-open { display: flex; }
}

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