/* HTX download page clone — tokens, fonts, and component styles extracted from source */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "harmonyos-sans-sc";
  src: url("fonts/harmonyos-sans-sc-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "harmonyos-sans-sc";
  src: url("fonts/harmonyos-sans-sc-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "harmonyos-sans-sc";
  src: url("fonts/harmonyos-sans-sc-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "htx-icon";
  src: url("fonts/htx-icon.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: block;
}

/* ---------- Icon glyphs (codepoints from source icon font CSS) ---------- */
.htx-icon {
  font-family: "htx-icon" !important;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
}
.htx-icon-googlepay::before { content: "\e72a"; }
.htx-icon-appstore::before { content: "\e72b"; }
.htx-icon-windows::before { content: "\e72c"; }
.htx-icon-ios::before { content: "\e72d"; }
.htx-icon-android::before { content: "\e729"; }
.htx-icon-download::before { content: "\e720"; }
.htx-icon-client-outline::before { content: "\e6e1"; }
.htx-icon-pc-outline::before { content: "\e6c0"; }
.htx-icon-tablet-outline::before { content: "\e6af"; }
.htx-icon-more::before { content: "\e625"; }
.htx-icon-serch-outline::before { content: "\e628"; }
.htx-icon-arrow-outline::before { content: "\e601"; }
.htx-icon-user-outline::before { content: "\e65b"; }
.htx-icon-translate-outline::before { content: "\e6aa"; }

/* ---------- Scope base ---------- */
.htx-page {
  --htx-bg-l1: rgba(255, 255, 255, 1);
  --htx-bg-l2: rgba(246, 246, 246, 1);
  --htx-bg-hover: #fafafa;
  --htx-text-l1: rgba(0, 0, 0, 1);
  --htx-text-l2: rgba(89, 89, 89, 1);
  --htx-text-l3: rgba(140, 140, 140, 1);
  --htx-border-l1: rgba(221, 221, 221, 1);
  --htx-border-l2: rgba(235, 235, 235, 1);
  --htx-btn-blue: rgba(0, 127, 255, 1);
  --htx-btn-blue-hover: rgba(0, 108, 217, 1);
  --htx-btn-blue-active: rgba(0, 95, 191, 1);
  --htx-header-bg: #000000;
  --htx-dropdown-bg: #1f1f1f;
  --htx-footer-bg: #1e1e1f;
  --htx-yellow-badge: #ebff39;

  font-family: "harmonyos-sans-sc", "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--htx-text-l1);
  background: var(--htx-bg-l1);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.htx-page * {
  box-sizing: border-box;
}
.htx-page :where(a) {
  text-decoration: none;
  color: inherit;
}
.htx-page :where(button) {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.htx-page img {
  display: block;
}

/* ---------- Header ---------- */
.htx-header {
  position: sticky;
  top: 0;
  z-index: 3001;
  background: var(--htx-header-bg);
  color: #fff;
  flex-shrink: 0;
}
.htx-header__body {
  height: 64px;
  margin: 0 auto;
  max-width: 1392px;
  width: 100%;
  display: flex;
  align-items: center;
}
.htx-header__brand {
  display: flex;
  align-items: center;
  margin-left: -10px;
  flex-shrink: 0;
}
.htx-header__brand img {
  width: 68px;
  height: 28px;
}
.htx-nav {
  display: flex;
  align-items: center;
  height: 64px;
  flex: 1;
  min-width: 0;
  margin-left: 24px;
}
.htx-nav__item {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-size: 16px;
  color: #fff;
  cursor: default;
  white-space: nowrap;
  background: transparent;
  transition: background 0.15s ease;
}
.htx-nav__item:hover,
.htx-nav__item--open {
  background: #161616;
}
.htx-nav__trigger {
  display: flex;
  align-items: center;
}
.htx-nav__triangle {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}
.htx-nav__item--open .htx-nav__triangle {
  transform: rotate(180deg);
}
/* 黄金/白银 ↔ 指数/股票 rotating badge */
.htx-nav__badge {
  position: relative;
  margin-left: 6px;
  width: 24px;
  height: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.htx-nav__badge-inner {
  position: absolute;
  inset: 0;
  animation: htx-badge-cycle 8s steps(1, end) infinite;
}
.htx-nav__badge-pair {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
}
.htx-nav__badge-pair b {
  background: var(--htx-yellow-badge);
  color: #000;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  height: 12px;
  padding: 0 3px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  transform: scale(0.8);
}
.htx-nav__badge-pair--a {
  animation: htx-badge-a 8s infinite;
}
.htx-nav__badge-pair--b {
  animation: htx-badge-b 8s infinite;
}
@keyframes htx-badge-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes htx-badge-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
.htx-nav__fire {
  position: absolute;
  top: 8px;
  right: 2px;
  width: 14px;
  height: 32px;
  object-fit: contain;
  pointer-events: none;
}
.htx-nav__item--fire {
  padding-right: 40px;
}

/* nav dropdown panel */
.htx-nav__panel {
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 100%;
  background: var(--htx-dropdown-bg);
  padding: 12px 4px;
  display: none;
  z-index: 10;
}
.htx-nav__item--open .htx-nav__panel {
  display: block;
}
.htx-tradfi {
  width: 420px;
  padding: 8px 0 12px;
}
.htx-tradfi__tabs {
  display: flex;
  gap: 16px;
  padding: 8px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.htx-tradfi__tab {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.htx-tradfi__tab--active {
  color: #fff;
}
.htx-tradfi__head {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.htx-tradfi__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #fff;
}
.htx-tradfi__row:hover {
  background: rgba(255, 255, 255, 0.06);
}
.htx-tradfi__row img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.htx-tradfi__pair {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.htx-tradfi__pair b {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.htx-tradfi__pair span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.htx-tradfi__px {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.htx-nav__menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 80px;
  padding: 0 24px 0 20px;
  min-width: 300px;
}
.htx-nav__menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.htx-nav__menu-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.htx-nav__menu-icon img {
  width: 24px;
  height: 24px;
}
.htx-nav__menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.htx-nav__menu-title {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}
.htx-nav__menu-sub {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* header right */
.htx-header__right {
  display: flex;
  align-items: center;
  height: 64px;
  flex-shrink: 0;
}
.htx-header__icon-btn {
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.htx-header__icon-btn img {
  width: 24px;
  height: 24px;
}
.htx-header__login {
  font-size: 14px;
  color: #828282;
  padding: 7px 14px;
  border-radius: 8px;
  height: 32px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.htx-header__login:hover {
  color: #fff;
}
.htx-header__register {
  font-size: 14px;
  color: #fff;
  background: var(--htx-btn-blue);
  padding: 7px 14px;
  border-radius: 8px;
  height: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.htx-header__register:hover {
  background: var(--htx-btn-blue-hover);
}
/* icon dropdown panels (download QR / language) */
.htx-icon-panel {
  position: absolute;
  top: 64px;
  right: 0;
  background: var(--htx-dropdown-bg);
  padding: 16px;
  display: none;
  z-index: 20;
  cursor: default;
}
.htx-header__icon-btn--open .htx-icon-panel {
  display: block;
}
.htx-download-pop {
  display: flex;
  gap: 16px;
  width: 200px;
}
.htx-download-pop img {
  width: 76px;
  height: 76px;
}
.htx-download-pop__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}
.htx-download-pop__more {
  font-size: 12px;
  color: #66a3ff;
}
.htx-lang-panel {
  width: 172px;
  max-height: 340px;
  overflow-y: auto;
}
.htx-lang-panel__item {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  white-space: nowrap;
}
.htx-lang-panel__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.htx-lang-panel__item--active {
  color: #fff;
}

/* mobile header */
.htx-header__mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  .htx-header__body {
    display: none;
  }
  .htx-header__mobile-bar {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 0 14px;
  }
  .htx-header__mobile-bar img.htx-header__logo {
    width: 68px;
    height: 20px;
  }
  .htx-header__mobile-right {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .htx-header__mobile-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .htx-header__mobile-btn img {
    width: 24px;
    height: 24px;
  }
  .htx-header__mobile-hamb {
    width: 16px;
    height: 13px;
    position: relative;
  }
  .htx-header__mobile-hamb span {
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
  }
  .htx-header__mobile-hamb span:nth-child(1) { top: 0; }
  .htx-header__mobile-hamb span:nth-child(2) { top: 5.5px; }
  .htx-header__mobile-hamb span:nth-child(3) { top: 11px; }
}

/* ---------- Main sections (desktop >=768) ---------- */
.htx-main {
  flex: 1;
  background: var(--htx-bg-l1);
  min-width: 0;
}
.htx-desktop-only {
  display: block;
}

.htx-section {
  width: 100%;
  background: var(--htx-bg-l1);
}
.htx-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 1240px) {
  .htx-container {
    width: 1200px;
    padding-inline: 0;
  }
}

/* Hero */
.htx-hero {
  position: relative;
}
.htx-hero__container {
  padding: 60px 0;
  position: relative;
}
.htx-hero__flex {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}
.htx-hero__left {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 68px;
}
.htx-hero__title {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}
.htx-hero__title-line {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--htx-text-l1);
}
.htx-hero__title-line span {
  color: var(--htx-btn-blue);
}
.htx-hero__sub {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--htx-text-l3);
}
.htx-hero__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(max-content, 1fr));
  gap: 12px;
  width: fit-content;
}
.htx-hero__buttons > div {
  width: 100%;
  min-width: 0;
}
.htx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s ease;
  outline: none;
  width: 100%;
  min-width: 68px;
}
.htx-btn--lg {
  height: 44px;
  padding: 12px 16px;
}
.htx-btn--blue {
  background: var(--htx-btn-blue);
  color: #fff;
}
.htx-btn--blue:hover {
  background: var(--htx-btn-blue-hover);
}
.htx-btn--blue:active {
  background: var(--htx-btn-blue-active);
}
.htx-btn--outline {
  border: 1px solid var(--htx-border-l1);
  background: var(--htx-bg-l1);
  color: var(--htx-text-l1);
  min-width: 80px;
}
.htx-btn--outline:hover {
  border-color: var(--htx-text-l3);
}
.htx-btn--outline:active {
  border-color: var(--htx-text-l1);
}

/* hero popovers */
.htx-pop {
  position: fixed;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  border-radius: 16px;
  background: var(--htx-bg-l1);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  gap: 32px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 80px);
  overflow: auto;
}
.htx-pop__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  flex-shrink: 0;
}
.htx-pop__label {
  font-size: 12px;
  line-height: 16px;
  color: var(--htx-text-l2);
  text-align: center;
  width: 100%;
  white-space: nowrap;
}
.htx-pop__list {
  display: flex;
  width: 148px;
  min-width: 148px;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.htx-pop__list--fit {
  width: max-content;
  min-width: 164px;
}
.htx-pop__list--fit .htx-pop__link {
  width: auto;
  min-width: 164px;
  justify-content: flex-start;
  padding: 0 12px;
}
.htx-pop__link {
  display: flex;
  height: 44px;
  width: 100%;
  min-width: 148px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px solid var(--htx-border-l1);
  background: var(--htx-bg-l1);
  padding: 12px 16px;
  color: var(--htx-text-l1);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.htx-pop__link:hover {
  border-color: var(--htx-text-l3);
}
.htx-pop__qr-wrap {
  display: flex;
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--htx-border-l2);
  background: var(--htx-bg-l1);
  padding: 12px;
}
.htx-pop__qr-wrap img {
  width: 124px;
  height: 124px;
}
.htx-pop__close {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* ---------- fed-dhmc carousel ---------- */
.fed-dhmc {
  --fed-dhmc-text-3: #8c8c8c;
  --fed-dhmc-line: #dddddd;
  --fed-dhmc-panel: #fafafa;
  --fed-dhmc-white: #ffffff;
  --fed-dhmc-title: #000000;
  box-sizing: border-box;
  color: var(--fed-dhmc-title);
  font-family: "harmonyos-sans-sc", "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  width: 458px;
  min-height: 356px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  flex-shrink: 0;
}
.fed-dhmc *,
.fed-dhmc *::before,
.fed-dhmc *::after {
  box-sizing: border-box;
}
.fed-dhmc__card {
  background: var(--fed-dhmc-panel);
  border-radius: 24px 24px 0 0;
  box-shadow: none;
  height: 356px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.fed-dhmc__slide {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 2;
}
.fed-dhmc__slide--active,
.fed-dhmc__slide--leaving {
  opacity: 1;
  visibility: visible;
}
.fed-dhmc__slide--leaving {
  z-index: 3;
}
.fed-dhmc__title {
  font-size: 28px;
  font-weight: 800;
  left: 0;
  letter-spacing: 0;
  line-height: 34px;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 28px;
  width: 100%;
  z-index: 3;
}
.fed-dhmc__subtitle {
  color: var(--fed-dhmc-text-3);
  font-size: 14px;
  font-weight: 500;
  left: 0;
  letter-spacing: 0;
  line-height: 20px;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 68px;
  width: 100%;
  z-index: 3;
}
.fed-dhmc__phone {
  bottom: -40px;
  filter: drop-shadow(rgba(0, 0, 0, 0.12) 0 14px 24px);
  height: 291px;
  left: 50%;
  object-fit: contain;
  position: absolute;
  transform: translate(-50%);
  width: 200px;
  z-index: 2;
}
.fed-dhmc__slide--active .fed-dhmc__phone {
  animation: 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal both running
    fedDhmcPhoneEnter;
}
.fed-dhmc__slide--active .fed-dhmc__title,
.fed-dhmc__slide--active .fed-dhmc__subtitle {
  animation: 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.24s 1 normal both running
    fedDhmcCopyEnter;
}
.fed-dhmc__slide--leaving .fed-dhmc__phone {
  animation: 0.52s ease-in 0s 1 normal both running fedDhmcPhoneExit;
}
.fed-dhmc__slide--leaving .fed-dhmc__title,
.fed-dhmc__slide--leaving .fed-dhmc__subtitle {
  animation: 0.42s ease-in 0.24s 1 normal both running fedDhmcCopyExit;
}
.fed-dhmc__circle-set {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.fed-dhmc__circle {
  background: transparent;
  border: 0.2px solid var(--fed-dhmc-line);
  border-radius: 50%;
  opacity: 0;
  position: absolute;
  transform-origin: center center;
}
.fed-dhmc__circle::after {
  background: var(--fed-dhmc-line);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: var(--fed-dhmc-dot-x, 50%);
  position: absolute;
  top: var(--fed-dhmc-dot-y, 50%);
  transform: translate(-50%, -50%);
  width: 8px;
}
.fed-dhmc__circle--one {
  height: 492px;
  width: 492px;
}
.fed-dhmc__circle--two {
  height: 624px;
  width: 624px;
}
.fed-dhmc__circle-set--variant-a .fed-dhmc__circle--one,
.fed-dhmc__circle-set--variant-e .fed-dhmc__circle--one {
  left: -246px;
  top: -246px;
}
.fed-dhmc__circle-set--variant-a .fed-dhmc__circle--two {
  bottom: -312px;
  right: -312px;
}
.fed-dhmc__circle-set--variant-b .fed-dhmc__circle--one {
  right: -246px;
  top: -246px;
}
.fed-dhmc__circle-set--variant-b .fed-dhmc__circle--two,
.fed-dhmc__circle-set--variant-f .fed-dhmc__circle--two {
  bottom: -312px;
  left: -312px;
}
.fed-dhmc__circle-set--variant-c .fed-dhmc__circle--one {
  bottom: -246px;
  left: -246px;
}
.fed-dhmc__circle-set--variant-c .fed-dhmc__circle--two,
.fed-dhmc__circle-set--variant-e .fed-dhmc__circle--two {
  right: -312px;
  top: -312px;
}
.fed-dhmc__circle-set--variant-d .fed-dhmc__circle--one,
.fed-dhmc__circle-set--variant-f .fed-dhmc__circle--one {
  bottom: -246px;
  right: -246px;
}
.fed-dhmc__circle-set--variant-d .fed-dhmc__circle--two {
  left: -312px;
  top: -312px;
}
.fed-dhmc__circle-set--active .fed-dhmc__circle--one {
  animation: 7s ease-in-out 0s infinite alternate none running
    fedDhmcCircleDriftOne;
  opacity: 1;
}
.fed-dhmc__circle-set--active .fed-dhmc__circle--two {
  animation: 8s ease-in-out 0s infinite alternate none running
    fedDhmcCircleDriftTwo;
  opacity: 1;
}
.fed-dhmc__circle-set--entering .fed-dhmc__circle--one {
  animation: 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal both running
    fedDhmcCircleEnterLeft;
}
.fed-dhmc__circle-set--entering .fed-dhmc__circle--two {
  animation: 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal both running
    fedDhmcCircleEnterRight;
}
.fed-dhmc__circle-set--exiting .fed-dhmc__circle--one {
  animation: 0.52s ease-in 0s 1 normal both running fedDhmcCircleExitLeft;
}
.fed-dhmc__circle-set--exiting .fed-dhmc__circle--two {
  animation: 0.52s ease-in 0s 1 normal both running fedDhmcCircleExitRight;
}

@keyframes fedDhmcPhoneEnter {
  0% {
    opacity: 0;
    transform: translate(calc(-50% - 96px));
  }
  100% {
    opacity: 1;
    transform: translate(-50%);
  }
}
@keyframes fedDhmcCopyEnter {
  0% {
    opacity: 0;
    transform: translate(-34px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes fedDhmcPhoneExit {
  0% {
    opacity: 1;
    transform: translate(-50%);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + 96px));
  }
}
@keyframes fedDhmcCopyExit {
  0% {
    opacity: 1;
    transform: translate(0);
  }
  100% {
    opacity: 0;
    transform: translate(120px);
  }
}
@keyframes fedDhmcCircleEnterLeft {
  0% {
    opacity: 0;
    transform: translate(-82px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}
@keyframes fedDhmcCircleEnterRight {
  0% {
    opacity: 0;
    transform: translate(82px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}
@keyframes fedDhmcCircleExitLeft {
  0% {
    opacity: 1;
    transform: translate(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-110px) scale(0.96);
  }
}
@keyframes fedDhmcCircleExitRight {
  0% {
    opacity: 1;
    transform: translate(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(110px) scale(0.96);
  }
}
@keyframes fedDhmcCircleDriftOne {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(4deg) scale(1.01);
  }
  100% {
    transform: translateY(5px) rotate(7deg) scale(1.004);
  }
}
@keyframes fedDhmcCircleDriftTwo {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(7px) rotate(-4deg) scale(1.01);
  }
  100% {
    transform: translateY(-5px) rotate(-7deg) scale(1.004);
  }
}

/* ---------- Feature sections (2 & 3) ---------- */
.htx-feature {
  display: flex;
  width: min(1200px, 100%);
  align-items: center;
  gap: 140px;
  padding-top: 120px;
  padding-bottom: 160px;
  margin: 0 auto;
}
.htx-feature__media {
  position: relative;
  width: 480px;
  flex-shrink: 0;
}
.htx-feature__media img {
  pointer-events: none;
  width: 100%;
  height: auto;
}
.htx-feature__media--fixed {
  height: 301px;
}
.htx-feature__media--fixed img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.htx-feature__text {
  position: relative;
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 42px;
}
.htx-feature__text-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  line-height: 1;
  width: 100%;
}
.htx-feature--end .htx-feature__text,
.htx-feature--end .htx-feature__text-inner {
  align-items: flex-end;
  text-align: right;
}
.htx-h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: var(--htx-text-l1);
}
.htx-h2 .htx-h2__sub {
  display: block;
}
.htx-feature__desc {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--htx-text-l2);
}
.htx-feature__desc + .htx-feature__desc {
  margin-top: 8px;
}

/* ---------- Download section ---------- */
.htx-dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 120px 0;
}
.htx-dl__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.htx-dl__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  color: var(--htx-text-l1);
  text-align: center;
}
.htx-dl__sub {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--htx-text-l3);
  text-align: center;
}
@media (min-width: 1240px) {
  .htx-dl__title,
  .htx-dl__sub {
    white-space: nowrap;
  }
}
.htx-dl__platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.htx-dl__btn {
  display: flex;
  height: 52px;
  width: 164px;
  min-width: 164px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  border: none;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.htx-dl__btn span {
  color: #fff;
}
a.htx-dl__btn:hover {
  background: var(--htx-text-l2);
}
.htx-dl__btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}
.htx-dl__btn .htx-icon {
  font-size: 20px;
  color: #fff;
}

/* ---------- Footer ---------- */
.htx-footer {
  background: var(--htx-footer-bg);
  color: #fff;
  flex-shrink: 0;
}
.htx-footer__main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 30px;
  display: flex;
  gap: 0;
}
.htx-footer__links {
  display: flex;
  gap: 20px;
  flex: 1;
  min-width: 0;
}
.htx-footer__col {
  width: 249px;
  flex-shrink: 0;
}
.htx-footer__head {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 16px;
  color: #fff;
}
.htx-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.htx-footer__list li {
  margin-bottom: 11px;
  height: 18px;
  line-height: 18px;
}
.htx-footer__list a {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.htx-footer__list a:hover {
  color: #fff;
}
.htx-footer__sider {
  width: 123px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.htx-footer__logo {
  width: 62px;
  height: 24px;
  margin-bottom: 23px;
}
.htx-lang-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 123px;
  height: 28px;
  padding: 0 8px 0 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background: transparent;
}
.htx-lang-toggle:hover {
  color: #fff;
}
.htx-lang-toggle__tri {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.htx-lang-menu {
  position: absolute;
  bottom: 34px;
  left: 0;
  width: 160px;
  max-height: 300px;
  overflow-y: auto;
  background: #2a2a2b;
  border-radius: 8px;
  padding: 8px 0;
  display: none;
  z-index: 10;
}
.htx-lang-menu--open {
  display: block;
}
.htx-lang-menu div {
  padding: 7px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  white-space: nowrap;
}
.htx-lang-menu div:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.htx-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.htx-footer__bar-inner {
  max-width: 1260px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}
.htx-footer__socials {
  display: flex;
  gap: 12px;
}
.htx-footer__socials a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}
.htx-footer__socials a:hover {
  opacity: 1;
}
.htx-footer__socials img {
  width: 24px;
  height: 24px;
}
.htx-footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 767px) {
  .htx-footer {
    display: block;
  }
  .htx-footer__main {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }
  .htx-footer__links {
    flex-direction: column;
    gap: 24px;
  }
  .htx-footer__bar-inner {
    padding: 0 16px;
  }
}

@media (max-width: 1100px) {
  .htx-hero__flex {
    flex-wrap: wrap;
  }
  .htx-hero__left {
    flex: 1 1 280px;
  }
  .fed-dhmc {
    width: min(458px, 100%);
    margin-inline: auto;
  }
  .htx-feature,
  .htx-feature--end {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 48px 16px 64px;
  }
  .htx-feature--end .htx-feature__text,
  .htx-feature--end .htx-feature__text-inner {
    align-items: flex-start;
    text-align: left;
  }
  .htx-feature__media,
  .htx-feature__media--fixed {
    width: min(480px, 100%);
    height: auto;
  }
  .htx-feature__media--fixed img {
    height: auto;
  }
  .htx-h2,
  .htx-dl__title {
    font-size: 28px;
    line-height: 36px;
  }
  .htx-dl {
    gap: 32px;
    padding: 48px 0 72px;
  }
  .htx-footer__links {
    flex-wrap: wrap;
  }
  .htx-footer__col {
    width: calc(50% - 10px);
  }
}

/* ---------- Mobile enterprise page (<768) ---------- */
.htx-mobile-page {
  display: none;
}
@media (max-width: 767px) {
  .htx-mobile-page {
    display: none;
    flex-direction: column;
    align-items: center;
    background: var(--htx-bg-l1);
    min-height: 100vh;
    max-width: 390px;
    margin: 0 auto;
    width: 100%;
  }
}
.htx-mob__title-wrap {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 50px 36px 0;
  text-align: center;
}
.htx-mob__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  color: var(--htx-text-l1);
}
.htx-mob__sub {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--htx-text-l3);
}
.htx-mob__tg {
  margin-top: 16px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--htx-border-l2);
  border-radius: 999px;
  height: 38px;
  padding: 0 12px;
  font-size: 16px;
  color: var(--htx-text-l1);
}
.htx-mob__tg:hover {
  background: var(--htx-bg-l2);
}
.htx-mob__tg svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.htx-mob__preview {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 46px;
  padding: 0 16px;
}
.htx-mob__preview img {
  width: 100%;
  height: auto;
  pointer-events: none;
}
.htx-mob__tutorial {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
.htx-mob__tutorial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f3f3f3;
  font-size: 12px;
  color: var(--htx-text-l1);
}
.htx-mob__tutorial-btn svg {
  width: 16px;
  height: 16px;
}
.htx-mob__spacer {
  height: calc(76px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  pointer-events: none;
}
.htx-mob__install-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: 390px;
  transform: translateX(-50%);
  flex-direction: column;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--htx-bg-l1);
  border-top: 1px solid var(--htx-border-l2);
}
.htx-mob__install {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  border-radius: 8px;
  background: var(--htx-btn-blue);
  color: #fff;
  font-size: 14px;
}
.htx-mob__install:hover {
  background: var(--htx-btn-blue-hover);
}
