/* ============================================================
   site.css · 完美体育平台 Perfect Sports · 全站共享样式
   文件路径: /assets/site.css
   说明: 全站 header / footer / 通用组件 / 网格 / 按钮 / 状态
   ============================================================ */

/* ---------- 0. Focus & accessibility ---------- */
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--qhl-orange);
  outline-offset: 3px;
  border-radius: 2px;
}
#main-content:focus {
  outline: none;
}
#main-content {
  scroll-margin-top: 90px;
}
::selection {
  background: rgba(255, 107, 44, 0.4);
  color: var(--qhl-snow);
}

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: var(--qhl-deep);
  color: var(--qhl-snow);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--qhl-ice);
  text-underline-offset: 3px;
}

/* ---------- 2. Theme variables ---------- */
:root {
  --qhl-deep: #0B1B3D;
  --qhl-blue: #0F2A5E;
  --qhl-orange: #FF6B2C;
  --qhl-purple: #8B3DFF;
  --qhl-snow: #F4F7FA;
  --qhl-ice: #BDE0FE;
  --qhl-mountain: #6B7B96;
  --qhl-moss: #3A5F4B;
  --qhl-terracotta: #E08D62;
  --qhl-ink: #0A0E1A;
  --font-heading: Impact, 'Arial Black', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'Roboto Mono', 'SF Mono', 'Cascadia Code', monospace;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--qhl-snow);
  letter-spacing: 0.01em;
  transform: skewX(-1.5deg);
}
h1 { font-size: clamp(44px, 8vw, 88px); }
h2 { font-size: clamp(30px, 6vw, 56px); }
h3 { font-size: clamp(22px, 3.6vw, 34px); }
h4 { font-size: clamp(18px, 2.4vw, 24px); }
p { margin-bottom: 16px; }

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow {
  max-width: 920px;
}
.site-main {
  display: block;
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -200px;
  left: 16px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--qhl-orange);
  color: var(--qhl-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 10px 0 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: top 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
}

/* ---------- 6. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--qhl-orange), var(--qhl-purple), var(--qhl-ice));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 2001;
  pointer-events: none;
}

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--qhl-deep);
  border-bottom: 1px solid rgba(189, 224, 254, 0.12);
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72%;
  height: 3px;
  background: linear-gradient(90deg, var(--qhl-orange) 0%, var(--qhl-purple) 55%, rgba(139, 61, 255, 0) 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%, 12% 100%);
  pointer-events: none;
}
.header-inner {
  position: relative;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text__cn {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--qhl-snow);
  letter-spacing: 0.08em;
  transform: skewX(-3deg);
  white-space: nowrap;
}
.brand-text__en {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--qhl-orange);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg, var(--qhl-orange) 0%, var(--qhl-purple) 100%);
  clip-path: polygon(50% 0%, 93% 22%, 97% 76%, 61% 100%, 12% 87%, 0% 39%, 23% 7%);
  box-shadow: 0 4px 18px rgba(139, 61, 255, 0.35);
  animation: heptagonGlow 4s ease-in-out infinite;
}
.brand-mark::after {
  content: "7";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  color: var(--qhl-snow);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: skewX(-8deg);
}
.brand-mark__ring {
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(189, 224, 254, 0.35);
  border-radius: 50%;
  border-top-color: var(--qhl-orange);
  animation: brandSpin 18s linear infinite;
}
.brand-mark--footer {
  width: 38px;
  height: 38px;
}
.brand-mark--footer::after {
  font-size: 18px;
}

/* Status badge */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 6px 16px;
  border: 1px solid rgba(189, 224, 254, 0.18);
  border-radius: 999px;
  background: rgba(15, 42, 94, 0.65);
  color: var(--qhl-ice);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.header-status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qhl-moss);
  box-shadow: 0 0 8px rgba(58, 95, 75, 0.7);
}
.header-status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(58, 95, 75, 0.55);
  animation: pulseRing 3s cubic-bezier(0.28, 0.44, 0.42, 1) infinite;
}
.header-status__label {
  line-height: 1;
}
.header-status__num {
  color: var(--qhl-orange);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- 8. Navigation ---------- */
.site-nav {
  position: relative;
  z-index: 1001;
  border-top: 1px solid rgba(189, 224, 254, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
}
.nav-list__item {
  margin: 0;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 16px;
  color: rgba(244, 247, 250, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link__index {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--qhl-orange);
  opacity: 0.9;
  line-height: 1;
}
.nav-link__label {
  display: inline-block;
  line-height: 1.4;
}
.nav-link:hover {
  color: var(--qhl-snow);
  background: linear-gradient(180deg, rgba(139, 61, 255, 0.12) 0%, rgba(139, 61, 255, 0.02) 100%);
}
.nav-link[aria-current="page"] {
  color: var(--qhl-snow);
  background: linear-gradient(180deg, rgba(255, 107, 44, 0.18) 0%, rgba(139, 61, 255, 0.06) 100%);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--qhl-orange);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
}
.nav-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  color: rgba(189, 224, 254, 0.45);
  letter-spacing: 0.12em;
  white-space: nowrap;
  padding-right: 4px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 44px;
  padding: 8px;
  background: rgba(15, 42, 94, 0.5);
  border: 1px solid rgba(189, 224, 254, 0.2);
  border-radius: 0 10px 0 10px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover {
  background: rgba(255, 107, 44, 0.15);
  border-color: rgba(255, 107, 44, 0.5);
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--qhl-snow);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.site-header[data-open] .nav-toggle__bar--one {
  transform: translateY(7px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__bar--two {
  opacity: 0;
  transform: scaleX(0.4);
}
.site-header[data-open] .nav-toggle__bar--three {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 9. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 48px;
  padding: 72px 0 28px;
  background: var(--qhl-ink);
  border-top: 1px solid rgba(189, 224, 254, 0.12);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--qhl-orange) 0%, var(--qhl-purple) 45%, rgba(189, 224, 254, 0.15) 100%);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  background: repeating-linear-gradient(135deg, rgba(139, 61, 255, 0.07) 0, rgba(139, 61, 255, 0.07) 2px, transparent 2px, transparent 12px);
  clip-path: polygon(100% 0, 100% 100%, 35% 100%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-block {
  min-width: 0;
}
.footer-block--brand {
  max-width: 360px;
}
.footer-block--contact {
  min-width: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--qhl-snow);
  letter-spacing: 0.08em;
  transform: skewX(-2deg);
  white-space: nowrap;
}
.footer-brand__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(244, 247, 250, 0.55);
}
.footer-brand__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.footer-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(139, 61, 255, 0.45);
  border-radius: 0 8px 0 8px;
  background: rgba(139, 61, 255, 0.12);
  color: var(--qhl-ice);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.footer-col__title {
  margin-bottom: 18px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 400;
  color: var(--qhl-orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li,
.footer-contact-list li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 250, 0.55);
}
.footer-list a {
  display: inline-block;
  color: rgba(244, 247, 250, 0.55);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-list a:hover {
  color: var(--qhl-orange);
  transform: translateX(4px);
}
.footer-contact-list li {
  position: relative;
  padding-left: 18px;
}
.footer-contact-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  color: var(--qhl-purple);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(189, 224, 254, 0.08);
}
.footer-bottom__copyright {
  margin: 0 auto 0 0;
  font-size: 13px;
  color: rgba(244, 247, 250, 0.4);
}
.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom__legal a {
  font-size: 13px;
  color: rgba(244, 247, 250, 0.45);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-bottom__legal a:hover {
  color: var(--qhl-orange);
}
.footer-bottom__icp {
  font-family: var(--font-data);
  font-size: 12px;
  color: rgba(244, 247, 250, 0.35);
}

/* ---------- 10. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--qhl-orange);
  border: 1px solid var(--qhl-orange);
  border-radius: 0 12px 0 12px;
  color: var(--qhl-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.btn:hover {
  transform: translateY(-2px) skewX(-2deg);
  box-shadow: 0 10px 26px rgba(255, 107, 44, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--qhl-snow);
  border-color: rgba(189, 224, 254, 0.45);
}
.btn--ghost:hover {
  background: rgba(189, 224, 254, 0.08);
  box-shadow: 0 10px 26px rgba(139, 61, 255, 0.25);
  color: var(--qhl-snow);
}
.btn--purple {
  background: var(--qhl-purple);
  border-color: var(--qhl-purple);
}
.btn--purple:hover {
  box-shadow: 0 10px 26px rgba(139, 61, 255, 0.4);
}
.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 11. Panels ---------- */
.panel {
  position: relative;
  padding: 28px;
  background: var(--qhl-blue);
  border: 1px solid rgba(189, 224, 254, 0.1);
  border-radius: 0 18px 0 18px;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--qhl-orange) 0%, var(--qhl-purple) 100%);
  border-top-left-radius: 18px;
}
.panel__title {
  margin-bottom: 10px;
  font-size: 22px;
}
.panel__meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--qhl-mountain);
}

/* ---------- 12. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
  font-size: 13px;
  color: rgba(244, 247, 250, 0.45);
}
.breadcrumb a {
  color: var(--qhl-ice);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--qhl-orange);
}
.breadcrumb__sep {
  color: rgba(244, 247, 250, 0.25);
}
.breadcrumb__current {
  color: var(--qhl-snow);
}

/* ---------- 13. Grids ---------- */
.site-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.site-grid--split-2 {
  grid-template-columns: 1fr;
}
.site-grid--equal-3 {
  grid-template-columns: 1fr;
}
.site-grid--main-sidebar {
  grid-template-columns: 1fr;
}

/* ---------- 14. Image holder ---------- */
.img-holder {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(139, 61, 255, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, var(--qhl-blue) 0%, var(--qhl-deep) 100%);
}
.img-holder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(189, 224, 254, 0.08) 45%, rgba(255, 107, 44, 0.1) 52%, rgba(189, 224, 254, 0.08) 60%, transparent 72%);
  background-size: 300% 100%;
  background-position: 130% 0;
  animation: imgScan 6s ease-in-out infinite;
  pointer-events: none;
}
.img-holder--16x9 { aspect-ratio: 16 / 9; }
.img-holder--4x3 { aspect-ratio: 4 / 3; }
.img-holder--1x1 { aspect-ratio: 1 / 1; }
.img-holder--hero { aspect-ratio: 16 / 10; min-height: 320px; }
.img-holder img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 15. Section heading ---------- */
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.section-heading__block {
  min-width: 0;
}
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--qhl-orange);
}
.section-heading__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--qhl-orange);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.section-heading__title {
  font-size: clamp(30px, 5vw, 48px);
}
.section-heading__desc {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(244, 247, 250, 0.6);
}
.section-heading__link {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--qhl-ice);
  text-decoration: none;
  border-bottom: 1px dashed rgba(189, 224, 254, 0.3);
  white-space: nowrap;
}
.section-heading__link:hover {
  color: var(--qhl-orange);
}

/* ---------- 16. Tags & filters ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: rgba(15, 42, 94, 0.8);
  border: 1px solid rgba(189, 224, 254, 0.18);
  border-radius: 0 10px 0 10px;
  color: rgba(244, 247, 250, 0.75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.tag-filter:hover {
  border-color: rgba(255, 107, 44, 0.55);
  color: var(--qhl-snow);
  transform: translateY(-1px);
}
.tag-filter.is-active {
  background: rgba(255, 107, 44, 0.16);
  border-color: rgba(255, 107, 44, 0.65);
  color: var(--qhl-orange);
}

/* ---------- 17. Data lists & numbers ---------- */
.data-cell {
  font-family: var(--font-data);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--qhl-orange);
  letter-spacing: -0.02em;
}
.data-cell--purple {
  color: var(--qhl-purple);
}
.data-cell--sm {
  font-size: 22px;
}
.data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.data-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding: 14px 18px;
  border: 1px solid rgba(189, 224, 254, 0.08);
  border-radius: 0 12px 0 12px;
  background: rgba(15, 42, 94, 0.45);
}
.data-list__label {
  font-size: 14px;
  color: rgba(244, 247, 250, 0.7);
}
.data-list__value {
  font-family: var(--font-data);
  font-size: 16px;
  font-weight: 600;
  color: var(--qhl-snow);
  text-align: right;
}

/* ---------- 18. Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
.steps__item {
  position: relative;
  margin-left: 14px;
  padding: 0 0 30px 38px;
  border-left: 2px solid rgba(255, 107, 44, 0.25);
}
.steps__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.steps__item::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  left: -17px;
  top: -2px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--qhl-orange);
  border-radius: 50%;
  background: var(--qhl-deep);
  color: var(--qhl-orange);
  font-family: var(--font-data);
  font-size: 11px;
  transform: rotate(-8deg);
}
.steps__item h3,
.steps__item h4 {
  margin-bottom: 6px;
}

/* ---------- 19. FAQ ---------- */
.faq-item {
  margin-bottom: 14px;
  border: 1px solid rgba(189, 224, 254, 0.12);
  border-radius: 0 14px 0 14px;
  background: var(--qhl-blue);
  overflow: hidden;
}
.faq-item__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--qhl-snow);
  background: rgba(15, 42, 94, 0.4);
}
.faq-item__summary::-webkit-details-marker {
  display: none;
}
.faq-item__icon {
  font-family: var(--font-data);
  font-size: 18px;
  color: var(--qhl-orange);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__detail {
  padding: 0 20px 18px;
  font-size: 14px;
  color: rgba(244, 247, 250, 0.65);
}

/* ---------- 20. Page hero ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 96px;
  margin-bottom: 40px;
  background:
    radial-gradient(65% 120% at 85% 0%, rgba(139, 61, 255, 0.22) 0%, transparent 65%),
    linear-gradient(135deg, var(--qhl-blue) 0%, var(--qhl-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--qhl-orange);
}
.page-hero__eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--qhl-orange);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
}
.page-hero__title {
  max-width: 14em;
}
.page-hero__desc {
  max-width: 620px;
  margin-top: 16px;
  font-size: 16px;
  color: rgba(244, 247, 250, 0.68);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
  font-family: var(--font-data);
  font-size: 12px;
  color: rgba(189, 224, 254, 0.5);
}

/* ---------- 21. Status / states ---------- */
.state-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qhl-moss);
}
.state-dot--warn {
  background: var(--qhl-terracotta);
}
.state-dot--sync {
  background: var(--qhl-purple);
}

/* ---------- 22. Utility helpers ---------- */
.txt-data { font-family: var(--font-data); }
.txt-muted { color: rgba(244, 247, 250, 0.55); }
.txt-accent { color: var(--qhl-orange); }
.txt-purple { color: var(--qhl-purple); }
.txt-center { text-align: center; }
.divider {
  height: 1px;
  border: 0;
  margin: 40px 0;
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.4), rgba(139, 61, 255, 0.3) 60%, transparent);
}
.speed-lines {
  background: repeating-linear-gradient(
    115deg,
    transparent 0,
    transparent 10px,
    rgba(139, 61, 255, 0.07) 10px,
    rgba(139, 61, 255, 0.07) 12px
  );
}

/* ---------- 23. Refresh sweep protocol ---------- */
[data-refresh] {
  position: relative;
}
[data-refresh]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 32%, rgba(189, 224, 254, 0.09) 46%, rgba(189, 224, 254, 0.18) 50%, rgba(189, 224, 254, 0.09) 54%, transparent 68%);
  background-size: 300% 100%;
  background-position: 300% 0;
  animation: refreshSweep 180s linear infinite;
  pointer-events: none;
}

/* ---------- 24. Reveal protocol ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 25. Responsive ---------- */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-grid--split-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-grid--equal-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.6fr 0.9fr 1.1fr 1.2fr;
    gap: 48px;
  }
  .site-grid--main-sidebar {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--qhl-blue) 0%, var(--qhl-deep) 100%);
    border-top: 2px solid var(--qhl-orange);
    border-radius: 0 0 0 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
  }
  .site-header[data-open] .site-nav {
    display: block;
  }
  .nav-inner {
    display: block;
    padding-top: 8px;
    padding-bottom: 16px;
  }
  .nav-list {
    flex-direction: column;
  }
  .nav-link {
    min-height: 48px;
    padding: 14px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 15px;
  }
  .nav-link__index {
    display: inline-block;
    min-width: 24px;
    font-size: 12px;
  }
  .nav-link[aria-current="page"] {
    border-left-color: var(--qhl-orange);
    background: linear-gradient(90deg, rgba(255, 107, 44, 0.16) 0%, rgba(139, 61, 255, 0.06) 100%);
  }
  .nav-link[aria-current="page"]::after {
    display: none;
  }
  .nav-hint {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: 16px;
  }
  .header-status {
    gap: 8px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .header-status__label {
    display: none;
  }
  .brand-text__cn {
    font-size: 19px;
  }
  .brand-text__en {
    font-size: 9px;
    letter-spacing: 0.28em;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .page-hero {
    padding: 48px 0 76px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom__copyright {
    margin: 0;
    order: 0;
  }
  .footer-bottom__legal {
    order: 1;
    justify-content: center;
  }
  .footer-bottom__icp {
    order: 2;
  }
}

/* ---------- 26. Motion ---------- */
@keyframes brandSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes heptagonGlow {
  0%, 100% { filter: saturate(0.9) brightness(1); }
  50% { filter: saturate(1.2) brightness(1.1); }
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
@keyframes imgScan {
  0%, 65% { background-position: 320% 0; }
  100% { background-position: -80% 0; }
}
@keyframes refreshSweep {
  0%, 96% { background-position: 300% 0; }
  99%, 100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
