:root {
  --primary-bg: #140A26;
  --secondary-bg: #221142;
  --tertiary-bg: #F2E8D5;
  --primary-text: #F2E1C0;
  --secondary-text: #B8A9D4;
  --accent-orange: #FF5C29;
  --accent-cyan: #00E5FF;
  --border-glow: #7A5AF8;
  --heading-font: "DIN Alternate", "Arial Black", "Noto Sans SC", sans-serif;
  --body-font: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --header-height: 4.5rem;
  --max-width: 1200px;
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--primary-bg);
  color: var(--primary-text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--heading-font);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
}

a:hover {
  color: var(--accent-orange);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent-orange);
  color: var(--primary-bg);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(100% - clamp(1.25rem, 4vw, 3rem), var(--max-width));
  margin-inline: auto;
}

.page-shell {
  position: relative;
  flex: 1 0 auto;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: clip;
}

.section {
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.section__head {
  margin-bottom: 2rem;
}

.section__lead {
  max-width: 46rem;
  color: var(--secondary-text);
  font-size: 1.08rem;
}

.overline {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.lede {
  max-width: 46rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--secondary-text);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
  background: var(--secondary-bg);
  border: 1px solid rgba(122, 90, 248, 0.28);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card--accent {
  border-color: rgba(0, 229, 255, 0.4);
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.05), var(--secondary-bg) 60%);
}

.card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card__text {
  margin: 0;
  color: var(--secondary-text);
  font-size: 0.94rem;
}

.panel {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--secondary-bg);
  border: 1px solid rgba(122, 90, 248, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.stat {
  display: grid;
  gap: 0.3rem;
}

.stat__number {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--accent-orange);
}

.stat__label {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--secondary-text);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.35);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.glow-rule {
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--accent-cyan), rgba(0, 229, 255, 0) 70%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-text);
  background: rgba(122, 90, 248, 0.12);
  border: 1px solid var(--border-glow);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: rgba(122, 90, 248, 0.22);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--primary-bg);
  font-weight: 800;
}

.btn--primary:hover {
  background: #ff7a4d;
  border-color: #ff7a4d;
  color: var(--primary-bg);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--accent-cyan);
}

.btn--ghost:hover {
  background: rgba(0, 229, 255, 0.08);
}

.header__cta:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--tertiary-bg);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  padding: 1.25rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--secondary-text);
}

.breadcrumbs a {
  color: var(--secondary-text);
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumbs__sep {
  color: var(--border-glow);
}

.breadcrumbs [aria-current="page"] {
  color: var(--primary-text);
  font-weight: 600;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(122, 90, 248, 0.16), rgba(0, 229, 255, 0.04));
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.media-frame::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--secondary-text);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(122, 90, 248, 0.07) 14px 15px);
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-bg);
  background: var(--tertiary-bg);
  border: 2px solid var(--accent-cyan);
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled] {
  background: rgba(20, 10, 38, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(122, 90, 248, 0.38);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  height: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary-text);
  text-decoration: none;
}

.brand:hover {
  color: var(--primary-text);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--primary-bg);
  background: linear-gradient(135deg, var(--accent-cyan), var(--border-glow));
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary-text);
}

.site-nav {
  justify-self: end;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary-text);
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
  color: var(--accent-cyan);
  background: rgba(122, 90, 248, 0.14);
}

.site-nav__link[aria-current="page"] {
  color: var(--accent-cyan);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.18rem;
  height: 2px;
  background: var(--accent-orange);
  transform: skewX(-20deg);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--primary-bg);
  background: var(--accent-orange);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.header__cta:hover {
  color: var(--primary-bg);
  filter: brightness(1.12);
  transform: scale(1.02);
}

.nav-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  background: transparent;
  border: 1px solid rgba(122, 90, 248, 0.55);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--accent-cyan);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent-cyan);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
  pointer-events: none;
}

.site-footer {
  position: relative;
  margin-top: auto;
  background:
    radial-gradient(60rem 22rem at 12% 0%, rgba(122, 90, 248, 0.16), transparent 70%),
    radial-gradient(40rem 20rem at 92% 12%, rgba(0, 229, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #1b0e33 0%, var(--primary-bg) 45%);
  border-top: 1px solid rgba(122, 90, 248, 0.32);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--border-glow) 45%, var(--accent-orange));
  opacity: 0.85;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 4.25rem clamp(1.25rem, 3vw, 2.5rem) 3.25rem;
}

.footer__brand {
  min-width: 0;
  padding-right: clamp(0.5rem, 2vw, 2rem);
}

.footer__logo {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--primary-text);
  transition: color 0.2s ease;
}

.footer__logo:hover {
  color: var(--accent-cyan);
}

.footer__logo-sub {
  margin-top: 0.3rem;
  font-family: var(--body-font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary-text);
}

.footer__about {
  max-width: 32rem;
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--secondary-text);
}

.footer__note {
  max-width: 32rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--secondary-text);
}

.footer__note a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__col {
  min-width: 0;
}

.footer__title {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(122, 90, 248, 0.32);
}

.footer__links li + li {
  margin-top: 0.5rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--secondary-text);
  transition: color 0.2s ease;
}

.footer__links a::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent-cyan);
}

.footer__links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.footer__contact {
  min-width: 0;
}

.footer__contact-line {
  margin: 0 0 0.55rem;
  font-size: 0.89rem;
  color: var(--secondary-text);
}

.footer__contact-line a {
  color: var(--secondary-text);
  border-bottom: 1px dashed rgba(0, 229, 255, 0.45);
}

.footer__contact-line a:hover {
  color: var(--accent-cyan);
  border-bottom-style: solid;
}

.footer__bottom {
  background: rgba(0, 0, 0, 0.26);
  border-top: 1px solid rgba(122, 90, 248, 0.2);
  padding: 1.1rem clamp(1.25rem, 3vw, 2.5rem);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer__icp,
.footer__trust,
.footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: var(--secondary-text);
}

.footer__trust {
  max-width: 42rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 0.6rem;
  }

  .header__cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    padding: 1.25rem 1.5rem 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(20, 10, 38, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(122, 90, 248, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav__link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .site-nav__link:hover {
    background: rgba(122, 90, 248, 0.12);
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(122, 90, 248, 0.12);
    border-left-color: var(--accent-orange);
  }

  .site-nav__link[aria-current="page"]::after {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  .footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .footer__trust {
    flex-basis: 100%;
    order: 3;
  }
}

@media (max-width: 640px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 3.75rem;
  }

  .brand__name {
    font-size: 0.98rem;
  }

  .brand__mark {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.1rem;
  }

  .brand__sub {
    font-size: 0.56rem;
    letter-spacing: 0.2em;
  }

  .header__cta {
    padding: 0.42rem 0.6rem;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 2.45rem;
    height: 2.45rem;
    padding: 0.55rem;
  }
}

@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;
  }

  .card:hover,
  .header__cta:hover,
  .media-frame:hover img {
    transform: none;
  }
}
