/* ===================== Fonts ===================== */
@font-face {
  font-family: "Mikhak";
  src: url("../fonts/mikhak_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../fonts/mikhak_medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../fonts/mikhak_semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../fonts/mikhak_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ===================== Tokens ===================== */
:root {
  --bg: #0d0a16;
  --bg-2: #131024;
  --bg-3: #191332;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f2eefc;
  --muted: #a89fc9;
  --muted-2: #7d74a0;
  --primary: #863bff;
  --primary-2: #a97bff;
  --accent: #4f7dff;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #863bff 0%, #6d4dff 55%, #4f7dff 100%);
  --grad-text: linear-gradient(120deg, #c4a8ff 0%, #8f6bff 50%, #6f9bff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  --header-h: 72px;
}

/* ===================== Base ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Mikhak", "Vazirmatn", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

p {
  margin: 0;
  color: var(--muted);
}

.container {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 14px 0 12px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-2);
  background: rgba(134, 59, 255, 0.12);
  border: 1px solid rgba(134, 59, 255, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Background orbs ===================== */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}

.orb--1 {
  width: 540px;
  height: 540px;
  background: rgba(134, 59, 255, 0.32);
  top: -180px;
  inset-inline-start: -120px;
  animation: drift 22s ease-in-out infinite alternate;
}

.orb--2 {
  width: 420px;
  height: 420px;
  background: rgba(79, 125, 255, 0.22);
  top: 30%;
  inset-inline-end: -160px;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

.orb--3 {
  width: 380px;
  height: 380px;
  background: rgba(134, 59, 255, 0.16);
  bottom: -160px;
  inset-inline-start: 30%;
  animation: drift 30s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(13, 10, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-soft);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 34px;
  height: 34px;
}

.brand__name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: var(--surface-2);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.9rem;
  border-radius: 11px;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(134, 59, 255, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(134, 59, 255, 0.65);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: #5b2bc0;
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4);
}

.btn--block {
  width: 100%;
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.hero__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero__trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero__trust svg {
  width: 19px;
  height: 19px;
  color: var(--primary-2);
  flex-shrink: 0;
}

.hero__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ===== Dashboard mockup ===== */
.hero__visual {
  position: relative;
}

.dash {
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(134, 59, 255, 0.08), 0 30px 80px -20px rgba(134, 59, 255, 0.25);
  overflow: hidden;
  transform: perspective(1600px) rotateX(7deg) rotateY(9deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  direction: rtl;
}

.hero__visual:hover .dash {
  transform: perspective(1600px) rotateX(2deg) rotateY(2deg);
}

.dash__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-soft);
}

.dash__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.dash__dot:nth-child(1) { background: #ff5f57; }
.dash__dot:nth-child(2) { background: #febc2e; }
.dash__dot:nth-child(3) { background: #28c840; }

.dash__url {
  margin-inline-start: 12px;
  font-size: 0.72rem;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3px 14px;
  direction: ltr;
}

.dash__body {
  display: flex;
  min-height: 380px;
}

.dash__side {
  width: 148px;
  flex-shrink: 0;
  border-inline-end: 1px solid var(--border-soft);
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.02);
}

.dash__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 12px;
}

.dash__brand-ic {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--grad);
  flex-shrink: 0;
}

.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash__nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  color: var(--muted-2);
  padding: 8px 10px;
  border-radius: 9px;
}

.dash__nav-item i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.dash__nav-item.is-active {
  color: #fff;
  background: rgba(134, 59, 255, 0.22);
}

.dash__nav-item.is-active i {
  background: var(--primary);
}

.dash__main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash__search {
  width: 46%;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
}

.dash__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
}

.dash__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dstat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dstat__label {
  font-size: 0.68rem;
  color: var(--muted-2);
}

.dstat__value {
  font-size: 1.05rem;
  font-weight: 700;
}

.dstat__spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 6px;
}

.dstat__spark i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(134, 59, 255, 0.35), rgba(134, 59, 255, 0.9));
}

.dash__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}

.dash__chart {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px 12px;
}

.dash__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.dash__chart-head em {
  font-style: normal;
  color: var(--green);
  font-weight: 700;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 84px;
}

.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, rgba(134, 59, 255, 0.3), rgba(169, 123, 255, 0.95));
  animation: grow 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.bars i:nth-child(1) { animation-delay: 0.15s; }
.bars i:nth-child(2) { animation-delay: 0.25s; }
.bars i:nth-child(3) { animation-delay: 0.35s; }
.bars i:nth-child(4) { animation-delay: 0.45s; }
.bars i:nth-child(5) { animation-delay: 0.55s; }
.bars i:nth-child(6) { animation-delay: 0.65s; }
.bars i:nth-child(7) { animation-delay: 0.75s; }

@keyframes grow {
  from { height: 0; }
}

.dash__donut {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.donut {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 72%, var(--accent) 72% 88%, rgba(255, 255, 255, 0.12) 88% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.donut::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--bg-2);
}

.donut span {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
}

.donut__legend {
  display: flex;
  gap: 10px;
  font-size: 0.62rem;
  color: var(--muted-2);
}

.donut__legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lg {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  display: inline-block;
}

.lg--1 { background: var(--primary); }
.lg--2 { background: var(--accent); }
.lg--3 { background: rgba(255, 255, 255, 0.25); }

.dash__table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.7rem;
}

.drow b {
  font-weight: 600;
}

.drow span {
  color: var(--muted-2);
}

.drow em {
  font-style: normal;
  font-size: 0.64rem;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.drow em.ok {
  color: var(--green);
  background: rgba(52, 211, 153, 0.14);
}

.drow em.warn {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.14);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(25, 19, 50, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
  z-index: 2;
}

.float-card b {
  display: block;
  font-size: 0.85rem;
}

.float-card small {
  font-size: 0.7rem;
  color: var(--muted-2);
}

.float-card__ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(134, 59, 255, 0.2);
  color: var(--primary-2);
  flex-shrink: 0;
}

.float-card__ic svg {
  width: 19px;
  height: 19px;
}

.float-card__ic--green {
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
}

.float-card--1 {
  top: 8%;
  inset-inline-start: -34px;
}

.float-card--2 {
  bottom: 12%;
  inset-inline-end: -26px;
  animation-delay: 2.2s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===================== Stats ===================== */
.stats {
  position: relative;
  padding: 0 0 30px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===================== Features ===================== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fcard {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s, border-color 0.35s, background 0.35s;
  position: relative;
  overflow: hidden;
}

.fcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 160px at 20% 0%, rgba(134, 59, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}

.fcard:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 59, 255, 0.4);
  background: var(--surface-2);
}

.fcard:hover::before {
  opacity: 1;
}

.fcard__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(134, 59, 255, 0.14);
  border: 1px solid rgba(134, 59, 255, 0.3);
  color: var(--primary-2);
  margin-bottom: 20px;
}

.fcard__ic svg {
  width: 25px;
  height: 25px;
}

.fcard h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.fcard p {
  font-size: 0.92rem;
}

/* ===================== How ===================== */
.how {
  background: linear-gradient(180deg, transparent, rgba(134, 59, 255, 0.05) 40%, transparent);
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  transition: transform 0.35s, border-color 0.35s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 59, 255, 0.4);
}

.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 10px 26px -8px rgba(134, 59, 255, 0.6);
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

/* ===================== Platforms ===================== */
.platforms__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.platforms__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 14px 0 12px;
}

.platforms__content p {
  margin-bottom: 22px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-inline-start: 30px;
  font-size: 0.95rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.checklist li::after {
  content: "";
  position: absolute;
  inset-inline-start: 5px;
  top: 11px;
  width: 8px;
  height: 5px;
  border-inline-start: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* phone mockup */
.platforms__visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: 250px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  padding: 12px;
  box-shadow: var(--shadow), 0 30px 70px -24px rgba(134, 59, 255, 0.35);
  position: relative;
  transform: rotate(-4deg);
}

.phone__notch {
  width: 90px;
  height: 20px;
  background: var(--bg-3);
  border-radius: 999px;
  margin: 0 auto 10px;
  border: 1px solid var(--border-soft);
}

.phone__screen {
  background: var(--bg-2);
  border-radius: 24px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 330px;
}

.pstat {
  background: var(--grad);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pstat span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
}

.pstat b {
  font-size: 1.4rem;
}

.pbar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.pbar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 68%;
  border-radius: 999px;
  background: var(--grad);
  animation: fillbar 1.6s ease-out backwards 0.4s;
}

@keyframes fillbar {
  from { width: 0; }
}

.prow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 0.7rem;
}

.prow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.prow span {
  flex: 1;
}

.prow em {
  font-style: normal;
  color: var(--muted-2);
  font-size: 0.62rem;
}

/* ===================== About ===================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.about__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 14px 0 16px;
}

.about__text p + p {
  margin-top: 12px;
}

.about__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.about__card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.about__card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__card li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.about__card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* ===================== Legal ===================== */
.legal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.legal__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
}

.legal__card h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.legal__card ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.legal__card li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal__card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary-2);
}

/* ===================== Contact ===================== */
.contact {
  background: linear-gradient(180deg, transparent, rgba(134, 59, 255, 0.06));
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cinfo {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.3s, transform 0.3s;
}

a.cinfo:hover {
  border-color: rgba(134, 59, 255, 0.4);
  transform: translateY(-3px);
}

.cinfo__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(134, 59, 255, 0.14);
  border: 1px solid rgba(134, 59, 255, 0.3);
  color: var(--primary-2);
  flex-shrink: 0;
}

.cinfo__ic svg {
  width: 21px;
  height: 21px;
}

.cinfo b {
  display: block;
  font-size: 0.95rem;
}

.cinfo span {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(134, 59, 255, 0.18);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 12px;
  text-align: center;
}

/* ===================== CTA band ===================== */
.cta-band {
  padding: 30px 0 100px;
}

.cta-band__inner {
  background: var(--grad);
  border-radius: 26px;
  padding: 54px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -140px;
  inset-inline-end: -60px;
}

.cta-band__inner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  bottom: -90px;
  inset-inline-start: 12%;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

/* ===================== Footer ===================== */
.footer {
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 0 40px;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--text);
}

.enamad-slot {
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
}

.enamad-slot span {
  font-size: 0.72rem;
  color: var(--muted-2);
}

.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding: 18px 0;
  font-size: 0.82rem;
  color: var(--muted-2);
  text-align: center;
}

/* ===================== Reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__lead {
    max-width: 560px;
  }

  .hero__visual {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(19, 16, 36, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 99;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
    padding: 28px 20px;
  }

  .how__grid {
    grid-template-columns: 1fr;
  }

  .platforms__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .legal__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .float-card--1 {
    inset-inline-start: -8px;
    top: 4%;
  }

  .float-card--2 {
    inset-inline-end: -8px;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
    padding: 44px 26px;
  }
}

@media (max-width: 560px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .dash__body {
    min-height: 320px;
  }

  .dash__side {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
  }

  .dash__cards {
    grid-template-columns: 1fr 1fr;
  }

  .dstat:last-child {
    grid-column: 1 / -1;
  }

  .dash__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .float-card {
    padding: 9px 13px;
  }

  .float-card b {
    font-size: 0.76rem;
  }
}

/* ===================== Motion preference ===================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
