/* طراحی صفحهٔ اصلی؛ توکن‌ها و اجزای این صفحه به پنل‌ها نشت نمی‌کنند. */
.hx-home {
  --hx-bg: var(--background);
  --hx-surface: var(--card);
  --hx-raised: var(--muted);
  --hx-text: var(--muted-foreground);
  --hx-white: var(--foreground);
  --hx-purple: var(--primary);
  --hx-pink: var(--primary);
  --hx-gold: var(--primary);
  --hx-line: var(--border);
  --hx-positive: var(--success);
  --hx-negative: var(--destructive);

  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color-scheme: dark;
}
.hx-home *,
.hx-home *::before,
.hx-home *::after {
  box-sizing: border-box;
}
.hx-home h1,
.hx-home h2,
.hx-home h3 {
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0;
}
.hx-home p {
  margin: 0;
}
.hx-home a {
  text-decoration: none;
}
.hx-home a:focus-visible,
.hx-home summary:focus-visible,
.hx-home [tabindex]:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 5px;
}
.hx-home [hidden] {
  display: none !important;
}
.hx-container {
  width: min(100% - 48px, 1248px);
  margin-inline: auto;
}
.hx-section {
  padding-block: 96px;
}
.hx-section--surface {
  background: linear-gradient(
    145deg,
    rgba(19, 28, 58, 0.6),
    rgba(15, 23, 48, 0.3)
  );
  border-block: 1px solid var(--hx-line);
}
.hx-home h2 {
  font-size: clamp(30px, 3.2vw, 40px);
}
.hx-home h3 {
  font-size: 24px;
}
.hx-heading {
  max-width: 680px;
  margin-block-end: 40px;
}
.hx-heading p:last-child:not(.hx-eyebrow) {
  margin-block-start: 16px;
  font-size: 17px;
  max-width: 60ch;
}
.hx-eyebrow {
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-block-end: 16px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 28px;
}
.hx-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.hx-icon-tile {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.22),
    rgba(139, 92, 246, 0.03)
  );
  color: #c4b5fd;
  flex: 0 0 auto;
}
.hx-label,
.hx-micro {
  font-size: 13px;
  line-height: 1.6;
  color: var(--hx-text);
}
.hx-micro {
  margin-block-start: 16px !important;
}
.hx-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hx-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.hx-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--hx-line);
  background: linear-gradient(
    145deg,
    rgba(19, 28, 58, 0.95),
    rgba(15, 23, 48, 0.75)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.025),
    0 20px 60px rgba(67, 39, 121, 0.045);
  min-width: 0;
}
.hx-card h3 {
  margin-block: 24px 12px;
}
.hx-card p {
  font-size: 15px;
}
.hx-text-link {
  color: #c4b5fd;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.hx-text-link .hx-icon {
  width: 18px;
  transition: transform 0.2s;
}
.hx-card:hover .hx-text-link .hx-icon {
  transform: translateX(4px);
}
.hx-brand-dot,
.hx-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  background: #b59aff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
  flex-shrink: 0;
}
.hx-status-dot {
  background: var(--hx-positive);
  box-shadow: 0 0 12px rgba(100, 221, 176, 0.25);
}
.hx-pill,
.hx-demo,
.hx-risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #c4b5fd;
}
.hx-demo {
  color: var(--hx-text);
  background: rgba(255, 255, 255, 0.025);
  border-style: dashed;
}
.hx-inline {
  margin-block-end: 24px;
}
.hx-hero {
  position: relative;
  isolation: isolate;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 75% 40%,
      rgba(113, 58, 214, 0.12),
      transparent 55%
    ),
    linear-gradient(140deg, #0a1020, #0f1730);
}
.hx-hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.12;
  pointer-events: none;
}
.hx-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(0.3);
}
.hx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 32, 0.9), rgba(10, 16, 32, 0.25)),
    linear-gradient(0deg, #0a1020, transparent 35%);
}
.hx-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  padding-block: 88px 72px;
}
.hx-hero__copy {
  grid-column: span 6;
  min-width: 0;
}
.hx-home h1 {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  max-width: 11ch;
}
.hx-home h1 span {
  background: linear-gradient(120deg, #c4b5fd, #a78bfa 40%, #e0c7ff);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.hx-hero__description {
  max-width: 48ch;
  margin-block-start: 24px !important;
  font-size: 18px;
  line-height: 1.7;
}
.hx-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-block-start: 28px;
  font-size: 12px;
}
.hx-hero__trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hx-hero__trust .hx-icon {
  width: 15px;
  height: 15px;
  color: #c4b5fd;
}
.hx-hero__trust a {
  color: #d6c7ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hx-hero .hx-micro {
  max-width: 53ch;
  font-size: 11px;
}
.hx-hero__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 24px;
  font-size: 11px;
  color: #b9b4aa;
  border-top: 1px solid var(--hx-line);
}
.hx-hero__foot a {
  margin-inline-start: auto;
  color: var(--hx-text);
}
.hx-heritage-line {
  height: 1px;
  width: 40px;
  background: var(--hx-gold);
}
.hx-product {
  grid-column: span 6;
  position: relative;
  min-width: 0;
  padding-block: 30px 72px;
  transform: translateY(var(--hx-parallax, 0));
}
.hx-product__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.2),
    transparent 65%
  );
  filter: blur(30px);
  pointer-events: none;
}
.hx-dashboard {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 67, 0.98),
    rgba(12, 20, 40, 0.98)
  );
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 16px;
  box-shadow:
    0 32px 100px rgba(78, 40, 143, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
}
.hx-dashboard__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--hx-line);
  padding: 16px;
  font-size: 12px;
}
.hx-dashboard__bar .hx-label {
  font-size: 10px;
}
.hx-dashboard__bar .hx-demo {
  margin-inline-start: auto;
  font-size: 9px;
}
.hx-dashboard__bar strong {
  color: white;
  letter-spacing: 0.05em;
}
.hx-dashboard__body {
  display: flex;
}
.hx-dashboard__rail {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 24px 16px;
  border-inline-end: 1px solid var(--hx-line);
  color: #8b91ac;
}
.hx-dashboard__main {
  padding: 24px;
  flex: 1;
  min-width: 0;
}
.hx-preview-value {
  color: white;
  font-size: 18px;
  margin-block: 8px 24px !important;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hx-chart {
  height: 160px;
}
.hx-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hx-chart__grid {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}
.hx-dashboard__main > .hx-label {
  font-size: 9px;
  margin-block-start: 8px;
}
.hx-preview-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-block-start: 24px;
}
.hx-preview-controls > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hx-line);
  border-radius: 10px;
  color: #c4b5fd;
}
.hx-preview-controls span {
  font-size: 10px;
  color: var(--hx-text);
}
.hx-preview-controls strong {
  display: block;
  font-size: 12px;
  color: white;
}
.hx-floating {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(21, 29, 54, 0.97);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 12px;
  padding: 16px;
  width: max-content;
  max-width: 94%;
  box-shadow: 0 16px 40px rgba(58, 27, 106, 0.2);
}
.hx-floating--trader {
  margin-block-start: -24px;
  margin-inline-start: -12px;
  z-index: 2;
}
.hx-floating--event {
  margin-block-start: 12px;
  margin-inline-start: auto;
  margin-inline-end: -8px;
}
.hx-floating strong,
.hx-floating span:not(.hx-avatar, .hx-status-dot, .hx-icon-tile) {
  display: block;
}
.hx-floating strong {
  color: white;
  font-size: 12px;
}
.hx-floating small,
.hx-floating div > span {
  font-size: 10px;
}
.hx-floating .hx-status-dot {
  margin-inline-start: 12px;
}
.hx-avatar {
  object-fit: cover;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: #d8caff;
  background: linear-gradient(140deg, #453169, #24203e);
  border: 1px solid rgba(167, 139, 250, 0.18);
  font-size: 13px;
}
.hx-ticker {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 25;
  background: rgba(13, 20, 40, 0.96);
  backdrop-filter: blur(16px);
  border-block: 1px solid var(--hx-line);
}
.hx-ticker__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}
.hx-ticker__label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: white;
  font-size: 12px;
}
.hx-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2%,
    #000 98%,
    transparent
  );
  direction: ltr;
}
.hx-ticker__track {
  display: flex;
  width: max-content;
  min-height: 40px;
  align-items: center;
}
.hx-ticker__track.is-running {
  animation: hx-marquee 38s linear infinite;
}
.hx-quote-group {
  display: flex;
  flex: 0 0 auto;
}
.hx-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 22px;
  font-size: 12px;
  white-space: nowrap;
}
.hx-quote strong {
  color: #e8eaf4;
  font-size: 11px;
}
.hx-quote em {
  font-style: normal;
  font-size: 11px;
}
.hx-quote small {
  color: var(--hx-text);
  font-size: 10px;
}
.hx-quote .is-up {
  color: var(--hx-positive);
}
.hx-quote .is-down {
  color: var(--hx-negative);
}
.hx-ticker:hover .hx-ticker__track,
.hx-ticker:focus-within .hx-ticker__track,
.hx-ticker.is-paused .hx-ticker__track {
  animation-play-state: paused;
}
.hx-ticker__pause {
  background: transparent;
  border: 1px solid var(--hx-line);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.hx-ticker__note {
  font-size: 10px;
  min-height: 20px;
  padding-inline: 24px;
  padding-block-end: 5px;
  text-align: center;
}
.hx-skeleton {
  display: inline-block;
  width: 72px;
  height: 12px;
  border-radius: 5px;
  background: linear-gradient(90deg, #242d47, #39415a, #242d47);
  background-size: 200% 100%;
  animation: hx-skeleton 1.5s linear infinite;
}
.hx-platform-band {
  padding-block: 40px;
  text-align: center;
  border-bottom: 1px solid var(--hx-line);
}
.hx-platform-band .hx-eyebrow {
  justify-content: center;
}
.hx-platform-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.hx-platform-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 600;
  color: #a7aabd;
  filter: grayscale(1);
  transition:
    color 0.2s,
    filter 0.2s;
}
.hx-platform-logos a:hover {
  color: #c4b5fd;
  filter: none;
}
.hx-platform-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 8px;
}
.hx-platform-band .hx-micro {
  font-size: 11px;
}
.hx-step {
  grid-column: span 4;
  position: relative;
  padding-inline-end: 32px;
}
.hx-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 24px;
}
.hx-step__number {
  color: #a89abb;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.hx-step h3 {
  margin-block-end: 16px;
}
.hx-step p {
  font-size: 15px;
}
.hx-step__connector {
  position: absolute;
  inset-inline-end: -12px;
  top: 10px;
  color: #786392;
}
.hx-step:last-child .hx-step__connector {
  display: none;
}
.hx-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hx-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block-end: 24px;
}
.hx-filter {
  border: 1px solid var(--hx-line);
  background: transparent;
  color: var(--hx-text);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
}
.hx-filter[aria-pressed="true"] {
  background: rgba(139, 92, 246, 0.17);
  border-color: rgba(167, 139, 250, 0.45);
  color: #e0d4ff;
}
.hx-trader {
  grid-column: span 4;
  padding: 24px;
}
.hx-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.hx-person h3 {
  font-size: 17px;
  margin: 0;
  overflow-wrap: anywhere;
}
.hx-person .hx-label {
  font-size: 11px;
  display: block;
  margin-block-start: 4px;
}
.hx-risk {
  font-size: 10px;
  white-space: nowrap;
}
.hx-risk--a {
  color: #84e5bf;
  background: rgba(52, 211, 153, 0.07);
  border-color: rgba(52, 211, 153, 0.25);
}
.hx-risk--b {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
}
.hx-risk--c,
.hx-risk--d,
.hx-risk--e {
  color: #ffb3b8;
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.3);
}
.hx-trader__chart,
.hx-empty-chart {
  height: 112px;
  display: grid;
  align-content: center;
  margin-block: 16px;
  color: var(--hx-positive);
}
.hx-trader__chart.is-negative {
  color: var(--hx-negative);
}
.hx-trader__chart svg {
  width: 100%;
  height: 90px;
}
.hx-empty-chart {
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: var(--hx-text);
  border-block: 1px dashed var(--hx-line);
  font-size: 12px;
}
.hx-placeholder .hx-demo {
  font-size: 9px;
}
.hx-placeholder p {
  font-size: 13px;
  margin-block-end: 24px;
}
.hx-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding-block: 16px;
  margin: 0 0 16px;
  border-top: 1px solid var(--hx-line);
}
.hx-metrics dt {
  font-size: 10px;
}
.hx-metrics dd {
  margin: 6px 0 0;
  color: white;
  font-size: 20px;
  font-weight: 600;
}
.hx-full {
  width: 100%;
}
.hx-risk-note {
  display: flex;
  gap: 10px;
  font-size: 12px;
  margin-block-start: 24px !important;
  line-height: 1.8;
}
.hx-risk-note .hx-icon {
  width: 16px;
  margin-block-start: 4px;
}
.hx-empty-filter {
  padding: 24px;
  border: 1px dashed var(--hx-line);
  border-radius: 12px;
}
.hx-bento__card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  color: var(--hx-text);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.hx-bento__card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 24px 64px rgba(88, 49, 150, 0.15);
}
.hx-bento__card .hx-text-link {
  margin-block-start: auto;
  padding-block-start: 24px;
}
.hx-delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hx-delivery-tabs {
  display: flex;
  border-bottom: 1px solid var(--hx-line);
  gap: 24px;
  margin-block-end: 32px;
}
.hx-delivery-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--hx-text);
  padding: 12px 0;
  font-size: 14px;
}
.hx-delivery-tab[aria-selected="true"] {
  color: #d2bdff;
  border-bottom-color: #a78bfa;
}
.hx-delivery [role="tabpanel"] h3 {
  margin-block-end: 16px;
}
.hx-delivery [role="tabpanel"] .hx-text-link {
  margin-block-start: 24px;
}
.hx-control-preview {
  padding: 32px;
}
.hx-control-preview h3 {
  font-size: 20px;
}
.hx-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--hx-line);
  font-size: 12px;
}
.hx-setting strong {
  font-weight: 500;
  color: #ded9eb;
  text-align: end;
}
.hx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 32px 48px;
  border-block: 1px solid var(--hx-line);
}
.hx-stats > div {
  padding-inline: 24px;
  border-inline-end: 1px solid var(--hx-line);
}
.hx-stats > div:last-child {
  border: 0;
}
.hx-stats strong {
  display: block;
  font-size: 44px;
  line-height: 1.2;
  color: white;
  font-weight: 500;
}
.hx-stats span {
  display: block;
  margin-block-start: 16px;
  font-size: 14px;
}
.hx-stats small {
  font-size: 11px;
  color: #a9acc5;
}
.hx-testimonial-heading {
  margin-block: 64px 24px;
}
.hx-testimonial-heading p {
  font-size: 14px;
  margin-block-start: 12px;
}
.hx-carousel-controls {
  display: flex;
  gap: 8px;
}
.hx-testimonials {
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 2px;
  padding: 2px 2px 16px;
}
.hx-testimonial {
  scroll-snap-align: start;
}
.hx-testimonial .hx-demo {
  font-size: 10px;
}
.hx-testimonial > .hx-quote-mark {
  font-size: 64px;
  font-family: Georgia, serif;
  color: #9a76e5;
  line-height: 1;
  margin-block: 24px 0;
}
.hx-testimonial .hx-person {
  margin-block-start: 32px;
  font-size: 13px;
}
.hx-testimonial strong {
  color: white;
}
.hx-security-grid > .hx-card {
  grid-column: span 4;
}
.hx-security-grid > .hx-card:nth-last-child(-n + 2) {
  grid-column: span 6;
}
.hx-security-grid h3 {
  font-size: 20px;
}
.hx-license-strip {
  margin-block-start: 40px;
  padding: 24px;
  border: 1px dashed var(--hx-line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.hx-license-strip h3 {
  font-size: 17px;
}
.hx-license-strip p,
.hx-license-slot {
  font-size: 12px;
  margin-block-start: 8px;
}
.hx-license-slot {
  padding: 16px;
  border: 1px dashed rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  color: #d0c3ed;
}
.hx-guides > .hx-card {
  grid-column: span 4;
  color: var(--hx-text);
}
.hx-guides h3 {
  font-size: 22px;
}
.hx-guides .hx-text-link {
  margin-block-start: 24px;
}
.hx-community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block-start: 40px;
  margin-block-start: 40px;
  border-top: 1px solid var(--hx-line);
}
.hx-community h3 {
  font-size: 20px;
}
.hx-community p {
  font-size: 14px;
  margin-block-start: 8px;
}
.hx-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.hx-faqs details {
  border-bottom: 1px solid var(--hx-line);
}
.hx-faqs summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  padding-block: 24px;
  color: #ece9f6;
  font-size: 16px;
}
.hx-faqs summary::-webkit-details-marker {
  display: none;
}
.hx-faqs summary span {
  font-size: 24px;
  font-weight: 300;
  color: #c4b5fd;
}
.hx-faqs details[open] summary span {
  transform: rotate(45deg);
}
.hx-faqs p {
  padding-block-end: 24px;
  font-size: 14px;
  line-height: 1.9;
}
.hx-final {
  text-align: center;
  padding: 72px 32px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 50% 0,
      rgba(139, 92, 246, 0.16),
      transparent 70%
    ),
    linear-gradient(rgba(15, 23, 48, 0.96), rgba(15, 23, 48, 0.96)),
    url("../../images/landing/heritage-guards-quote.webp");
  position: relative;
  overflow: hidden;
}
.hx-final::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(212, 168, 75, 0.14);
  border-radius: 12px;
  pointer-events: none;
}
.hx-final .hx-eyebrow,
.hx-final .hx-actions {
  justify-content: center;
}
.hx-final h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.hx-final > p:not(.hx-eyebrow) {
  max-width: 60ch;
  margin: 24px auto 0;
}
.hx-heritage-caption {
  font-size: 11px;
  margin-block-start: 32px;
  color: #c1b18f;
}
.hx-risk-disclosure {
  padding-block: 0 64px;
}
.hx-risk-disclosure h2 {
  font-size: 18px;
  margin-block-end: 16px;
}
.hx-risk-disclosure p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 110ch;
}
.hx-risk-disclosure > a {
  display: inline-block;
  margin-block-start: 12px;
  color: #c4b5fd;
  font-size: 13px;
  text-decoration: underline;
}
.hx-footer {
  border-top: 1px solid var(--hx-line);
  background: #090f1d;
  padding-block: 64px 24px;
}
.hx-footer__top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 56px;
}
.hx-footer__brand {
  font-style: italic;
  font-size: 28px;
  font-weight: 800;
  color: white;
}
.hx-footer__brand span {
  display: block;
  color: var(--hx-text);
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  margin-block-start: 16px;
  max-width: 22ch;
}
.hx-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hx-footer__columns h2 {
  font-size: 13px;
  letter-spacing: 0;
  margin-block-end: 20px;
}
.hx-footer__columns a {
  color: var(--hx-text);
  font-size: 12px;
  display: block;
  margin-block: 12px;
}
.hx-footer__columns a:hover {
  color: #c4b5fd;
}
.hx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block-start: 32px;
  margin-block-start: 48px;
  border-top: 1px solid var(--hx-line);
  font-size: 11px;
}
.hx-footer-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.hx-footer-extra form {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.hx-cookie-shell .cookie-banner {
  position: static;
  width: min(100% - 48px, 1248px);
  margin-block: 0 24px;
  padding: 16px;
  box-shadow: none;
  border-radius: 12px;
}
.hx-cookie-shell .cookie-banner p {
  font-size: 12px;
}
.hx-cookie-shell .cookie-banner strong {
  font-size: 13px;
}
.hx-cookie-shell .site-footer {
  display: none;
}
.hx-home [id] {
  scroll-margin-block-start: 160px;
}
.hx-home [data-home-reveal] {
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.hx-home .hx-will-reveal {
  opacity: 0;
  transform: translateY(16px);
}
.hx-home .hx-revealed {
  opacity: 1;
  transform: none;
}
@keyframes hx-marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes hx-skeleton {
  to {
    background-position: -200% 0;
  }
}
@media (min-width: 1280px) {
  .hx-hero__grid {
    gap: 48px;
  }
  .hx-dashboard {
    margin-inline-end: -16px;
  }
}
@media (max-width: 1023px) {
  .hx-home h1 {
    font-size: 56px;
  }
  .hx-hero__copy,
  .hx-product {
    grid-column: span 12;
  }
  .hx-hero__grid {
    padding-block: 64px 24px;
  }
  .hx-hero__copy {
    max-width: 700px;
  }
  .hx-product {
    width: min(100%, 620px);
    margin-inline: auto;
    padding-block: 8px 24px;
  }
  .hx-dashboard {
    transform: none;
  }
  .hx-hero__foot {
    margin-block-start: 24px;
  }
  .hx-bento__card,
  .hx-trader,
  .hx-guides > .hx-card {
    grid-column: span 6;
  }
  .hx-delivery {
    gap: 32px;
  }
  .hx-faq-layout {
    gap: 40px;
  }
  .hx-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hx-license-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hx-license-strip > div:first-child {
    grid-column: span 2;
  }
  .hx-platform-logos {
    gap: 16px;
  }
  .hx-platform-logos a {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .hx-container {
    width: calc(100% - 32px);
  }
  .hx-section {
    padding-block: 64px;
  }
  .hx-heading {
    margin-block-end: 32px;
  }
  .hx-home h1 {
    font-size: clamp(42px, 9vw, 56px);
  }
  .hx-home h2 {
    font-size: 32px;
  }
  .hx-home h3 {
    font-size: 22px;
  }
  .hx-hero__grid {
    padding-block: 56px 16px;
    gap: 40px;
  }
  .hx-hero__description {
    font-size: 16px;
  }
  .hx-hero__foot {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .hx-hero__foot a {
    display: none;
  }
  .hx-hero .hx-micro {
    font-size: 11px;
  }
  .hx-dashboard__main {
    padding: 16px;
  }
  .hx-dashboard__bar > .hx-label {
    display: none;
  }
  .hx-floating--trader {
    margin-inline-start: 0;
  }
  .hx-floating--event {
    margin-inline-end: 0;
  }
  .hx-product {
    padding-block-end: 0;
  }
  .hx-preview-value {
    font-size: 16px;
  }
  .hx-chart {
    height: 130px;
  }
  .hx-hero__trust {
    gap: 12px;
  }
  .hx-ticker__inner {
    gap: 12px;
  }
  .hx-ticker__label {
    font-size: 10px;
  }
  .hx-platform-logos {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hx-platform-logos a {
    font-size: 17px;
  }
  .hx-platform-band .hx-micro {
    font-size: 10px;
  }
  .hx-step {
    grid-column: span 12;
    padding: 24px;
    border: 1px solid var(--hx-line);
    border-radius: 16px;
  }
  .hx-step__connector {
    display: none;
  }
  .hx-step__top {
    margin-block-end: 16px;
  }
  .hx-section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    margin-block-end: 24px;
  }
  .hx-section-top .hx-heading {
    margin-block-end: 24px;
  }
  .hx-traders {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 16px;
  }
  .hx-trader {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .hx-bento {
    gap: 16px;
  }
  .hx-bento__card {
    padding: 24px;
  }
  .hx-bento__card h3 {
    font-size: 21px;
  }
  .hx-card p {
    font-size: 14px;
  }
  .hx-delivery,
  .hx-faq-layout {
    grid-template-columns: 1fr;
  }
  .hx-delivery-tabs {
    gap: 20px;
  }
  .hx-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 8px;
    padding-block: 24px;
  }
  .hx-stats > div {
    padding-inline: 16px;
    border: 0;
  }
  .hx-stats strong {
    font-size: 36px;
  }
  .hx-testimonials {
    grid-auto-columns: 85%;
    gap: 16px;
  }
  .hx-testimonial-heading {
    gap: 24px;
  }
  .hx-security-grid > .hx-card,
  .hx-security-grid > .hx-card:nth-last-child(-n + 2),
  .hx-guides > .hx-card {
    grid-column: span 12;
  }
  .hx-license-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hx-license-strip > div:first-child {
    grid-column: auto;
  }
  .hx-faq-layout {
    gap: 32px;
  }
  .hx-final {
    padding: 56px 24px;
  }
  .hx-final .hx-actions {
    flex-direction: column;
  }
  .hx-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hx-footer-extra form {
    flex-wrap: wrap;
  }
  .hx-cookie-shell .cookie-banner {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: stretch;
  }
  .hx-cookie-shell .cookie-banner__actions {
    justify-content: flex-start;
  }
  .hx-home .site-header__inner {
    min-height: 64px;
  }
  .hx-home {
    --header-height: 64px;
  }
}
@media (max-width: 479px) {
  .hx-hero .hx-actions {
    flex-direction: column;
  }
  .hx-dashboard__rail {
    padding: 20px 8px;
  }
  .hx-preview-controls {
    grid-template-columns: 1fr;
  }
  .hx-preview-controls > div:last-child {
    display: none;
  }
  .hx-dashboard__bar .hx-demo {
    font-size: 8px;
  }
  .hx-dashboard__main > .hx-label {
    font-size: 8px;
  }
  .hx-bento__card {
    grid-column: span 12;
  }
  .hx-floating {
    padding: 12px;
  }
  .hx-hero__trust {
    font-size: 10px;
  }
  .hx-ticker__label {
    width: 60px;
    white-space: normal;
  }
  .hx-ticker__label .hx-status-dot {
    display: none;
  }
  .hx-setting {
    gap: 12px;
  }
  .hx-control-preview {
    padding: 24px;
  }
}
html[dir="rtl"] .hx-home .hx-icon {
  transform: scaleX(-1);
}
html[dir="rtl"] .hx-home .hx-hero::after {
  background:
    linear-gradient(270deg, rgba(10, 16, 32, 0.9), rgba(10, 16, 32, 0.25)),
    linear-gradient(0deg, #0a1020, transparent 35%);
}
html[dir="rtl"] .hx-home .hx-dashboard {
  transform: perspective(1100px) rotateY(5deg) rotateX(2deg);
}
html[dir="rtl"] .hx-home .hx-card:hover .hx-text-link .hx-icon {
  transform: scaleX(-1) translateX(-4px);
}
@media (prefers-reduced-motion: reduce) {
  .hx-home *,
  .hx-home *::before,
  .hx-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hx-home .hx-will-reveal {
    opacity: 1;
    transform: none;
  }
  .hx-product,
  .hx-dashboard {
    transform: none !important;
  }
  .hx-ticker__viewport {
    overflow-x: auto;
    mask-image: none;
  }
  .hx-ticker__track > [aria-hidden="true"] {
    display: none;
  }
}

.hx-trader:first-child {
  border-color: rgba(167, 139, 250, 0.45);
  background-image:
    linear-gradient(145deg, #131c3a, #0f1730),
    linear-gradient(100deg, #8b5cf6, #131c3a, #a855f7);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  background-size:
    100% 100%,
    200% 100%;
  animation: hx-featured 9s linear infinite;
}
@keyframes hx-featured {
  50% {
    background-position:
      0 0,
      100% 0;
  }
}

/* حالت روشن از همان اجزا استفاده می‌کند و به نگاشت رنگ وابسته است. */
html[data-theme="light"] .hx-home {
  --hx-bg: var(--background);
  --hx-surface: var(--card);
  --hx-raised: var(--muted);
  --hx-text: var(--muted-foreground);
  --hx-white: var(--foreground);
  --hx-line: var(--border);
  --hx-positive: var(--success);
  --hx-negative: var(--destructive);

  color-scheme: light;
}
html[data-theme="light"] .hx-home h1,
html[data-theme="light"] .hx-home h2,
html[data-theme="light"] .hx-home h3 {
  color: var(--hx-white);
}
html[data-theme="light"] .hx-home .hx-eyebrow,
html[data-theme="light"] .hx-home .hx-text-link {
  color: #6d28d9;
}
html[data-theme="light"] .hx-home h1 span {
  background-image: linear-gradient(120deg, #5b21b6, #7e22ce);
}
html[data-theme="light"] .hx-hero {
  background:
    radial-gradient(
      ellipse at 80% 30%,
      rgba(139, 92, 246, 0.1),
      transparent 60%
    ),
    linear-gradient(140deg, #f7f8fd, #f0eef9);
}
html[data-theme="light"] .hx-hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(247, 248, 253, 0.97),
      rgba(247, 248, 253, 0.45)
    ),
    linear-gradient(0deg, #f7f8fd, transparent 35%);
}
html[data-theme="light"][dir="rtl"] .hx-hero::after {
  background:
    linear-gradient(
      270deg,
      rgba(247, 248, 253, 0.97),
      rgba(247, 248, 253, 0.45)
    ),
    linear-gradient(0deg, #f7f8fd, transparent 35%);
}
html[data-theme="light"] .hx-hero__trust a {
  color: #6d28d9;
}
html[data-theme="light"] .hx-hero__trust .hx-icon {
  color: #6d28d9;
}
html[data-theme="light"] .hx-hero__foot {
  color: #655a43;
}
html[data-theme="light"] .hx-section--surface {
  background: linear-gradient(145deg, #f0eef9, #f6f5fb);
}
html[data-theme="light"] .hx-card,
html[data-theme="light"] .hx-trader:first-child {
  background: #fff;
  box-shadow: 0 16px 48px rgba(94, 73, 148, 0.045);
  border-color: var(--hx-line);
}
html[data-theme="light"] .hx-icon-tile {
  color: #6d28d9;
  background: linear-gradient(145deg, #ede5ff, #faf7ff);
  border-color: #d9c9f5;
}
html[data-theme="light"] .hx-product {
  --hx-text: var(--muted-foreground);
  --hx-white: var(--foreground);
  --hx-line: var(--border);
}
html[data-theme="light"] .hx-product .hx-icon-tile {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(139, 92, 246, 0.15);
}
html[data-theme="light"] .hx-product .hx-preview-value {
  color: white;
}
html[data-theme="light"] .hx-demo {
  color: var(--hx-text);
}
html[data-theme="light"] .hx-platform-logos a {
  color: #53617a;
}
html[data-theme="light"] .hx-platform-logos a:hover {
  color: #6d28d9;
}
html[data-theme="light"] .hx-step__number {
  color: #695a83;
}
html[data-theme="light"] .hx-filter {
  color: #4a516b;
}
html[data-theme="light"] .hx-filter[aria-pressed="true"] {
  color: #5b21b6;
  background: #ece4fc;
  border-color: #b8a0e3;
}
html[data-theme="light"] .hx-risk--a {
  color: #066445;
  background: #e4f7ef;
}
html[data-theme="light"] .hx-risk--b {
  color: #6d28d9;
  background: #f1eafd;
}
html[data-theme="light"] .hx-risk--c,
html[data-theme="light"] .hx-risk--d,
html[data-theme="light"] .hx-risk--e {
  color: #ae2741;
  background: #fff0f3;
}
html[data-theme="light"] .hx-metrics dd,
html[data-theme="light"] .hx-stats strong,
html[data-theme="light"] .hx-testimonial strong,
html[data-theme="light"] .hx-setting strong {
  color: #14213d;
}
html[data-theme="light"] .hx-stats small {
  color: #5d657a;
}
html[data-theme="light"] .hx-delivery-tab[aria-selected="true"] {
  color: #6d28d9;
}
html[data-theme="light"] .hx-license-slot {
  color: #65418a;
  background: #f7f3ff;
}
html[data-theme="light"] .hx-faqs summary {
  color: #14213d;
}
html[data-theme="light"] .hx-faqs summary span {
  color: #6d28d9;
}
html[data-theme="light"] .hx-final {
  background:
    radial-gradient(ellipse at 50% 0, rgba(139, 92, 246, 0.1), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
    url("../../images/landing/heritage-guards-quote.webp");
}
html[data-theme="light"] .hx-heritage-caption {
  color: #705b30;
}
html[data-theme="light"] .hx-risk-disclosure > a {
  color: #6d28d9;
}
html[data-theme="light"] .hx-footer {
  background: #eef0f8;
}
html[data-theme="light"] .hx-footer__brand {
  color: #14213d;
}

html[data-effective-theme="light"] .hx-ticker {
  background: rgba(255, 255, 255, 0.96);
}
html[data-effective-theme="light"] .hx-ticker__label,
html[data-effective-theme="light"] .hx-quote strong,
html[data-effective-theme="light"] .hx-ticker__pause {
  color: #14213d;
}
html[data-effective-theme="light"] .hx-ticker__pause {
  border-color: rgba(25, 39, 73, 0.16);
}
html[data-effective-theme="light"]
  .hx-home
  .site-header
  .site-nav__column-title {
  color: #eee9dd;
}

/* هیروی هخامنشی از نوار ناوبری مشترک مستقل است. */
.hx-hero__art {
  opacity: 0.42;
}
.hx-hero__art img {
  filter: saturate(0.55);
  object-position: center 60%;
}
.hx-hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(10, 16, 32, 0.92),
      rgba(10, 16, 32, 0.7) 40%,
      rgba(10, 16, 32, 0.18)
    ),
    linear-gradient(0deg, #0a1020, transparent 40%);
}
.hx-hero__heritage-eyebrow {
  color: #e0c487;
}
.hx-heritage-emblem {
  color: #d4a84b;
  font-size: 20px;
}
.hx-hero__copy {
  position: relative;
  padding-inline-start: 24px;
  border-inline-start: 1px solid rgba(212, 168, 75, 0.4);
}
.hx-hero__copy::before,
.hx-hero__copy::after {
  content: "";
  position: absolute;
  inset-inline-start: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid #d4a84b;
  background: #151c2d;
  transform: rotate(45deg);
}
.hx-hero__copy::before {
  top: 0;
}
.hx-hero__copy::after {
  bottom: 0;
}
html[data-effective-theme="light"] .hx-hero__heritage-eyebrow {
  color: #79551b;
}
html[data-effective-theme="light"] .hx-hero__copy::before,
html[data-effective-theme="light"] .hx-hero__copy::after {
  background: #f7f8fd;
}
html[dir="rtl"] .hx-hero::after {
  background:
    linear-gradient(
      270deg,
      rgba(10, 16, 32, 0.92),
      rgba(10, 16, 32, 0.7) 40%,
      rgba(10, 16, 32, 0.18)
    ),
    linear-gradient(0deg, #0a1020, transparent 40%);
}
html[data-effective-theme="light"] .hx-hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(247, 248, 253, 0.93),
      rgba(247, 248, 253, 0.8) 40%,
      rgba(247, 248, 253, 0.25)
    ),
    linear-gradient(0deg, #f7f8fd, transparent 40%);
}
html[data-effective-theme="light"][dir="rtl"] .hx-hero::after {
  background:
    linear-gradient(
      270deg,
      rgba(247, 248, 253, 0.93),
      rgba(247, 248, 253, 0.8) 40%,
      rgba(247, 248, 253, 0.25)
    ),
    linear-gradient(0deg, #f7f8fd, transparent 40%);
}
@media (max-width: 767px) {
  .hx-hero__copy {
    padding-inline-start: 16px;
  }
  .hx-hero__art img {
    object-position: 65% center;
  }
}

.hx-walkthrough {
  color: var(--hx-text);
  background: var(--hx-surface);
  border: 1px solid var(--hx-line);
  border-radius: 20px;
  padding: 32px;
  width: min(640px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 30px 120px rgba(91, 48, 168, 0.25);
}
.hx-walkthrough::backdrop {
  background: rgba(5, 10, 22, 0.8);
  backdrop-filter: blur(6px);
}
.hx-walkthrough h2 {
  font-size: 28px;
  margin-block: 32px;
}
.hx-walkthrough__steps {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--hx-line);
  border-radius: 12px;
}
.hx-walkthrough__steps .hx-eyebrow {
  margin-block: 16px;
}
.hx-walkthrough__steps h3 {
  margin-block-end: 16px;
}
html:not(.js) .hx-skeleton {
  animation: none;
}
/* حداقل خوانایی متن‌های واقعی صفحه؛ مقیاس کوچک‌تر فقط در تصویر نمایشی محصول است. */
.hx-card > p,
.hx-step > p {
  font-size: 16px;
}
.hx-home .hx-micro,
.hx-risk-note,
.hx-risk-disclosure p,
.hx-license-strip p,
.hx-license-slot,
.hx-footer__columns a,
.hx-footer__bottom,
.hx-hero__trust,
.hx-stats small,
.hx-metrics dt,
.hx-trader .hx-person .hx-label {
  font-size: 13px;
}
.hx-eyebrow {
  font-size: 13px;
}
