@font-face {
  font-family: "XDD Display";
  src: url("font_1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f2f6fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #fff;
  --ink: #111827;
  --muted: #667085;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #2563eb;
  --brand-dark: #173f9e;
  --cyan: #0ea5e9;
  --success: #0f9f6e;
  --warning: #dc8b12;
  --shadow: 0 20px 60px rgba(29, 47, 83, 0.11);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(37, 99, 235, 0.13), transparent 28rem),
    radial-gradient(circle at 94% 22%, rgba(14, 165, 233, 0.1), transparent 25rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image: radial-gradient(rgba(37, 99, 235, 0.28) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  pointer-events: none;
}

a { color: inherit; }
img { max-width: 100%; }

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(244, 247, 251, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #101d39, #2563eb 72%, #39bdf8);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.brand-mark::before { width: 34px; height: 34px; }
.brand-mark::after { width: 18px; height: 18px; }

.brand-mark span {
  z-index: 1;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.08em;
  transform: translateX(-1px);
}

.brand-copy { display: grid; line-height: 1.1; }

.brand-copy strong {
  font-family: "XDD Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  min-width: 72px;
  padding: 8px 14px;
  color: #596579;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
body[data-page="home"] .nav-home,
body[data-page="features"] .nav-features,
body[data-page="notice"] .nav-notice,
body[data-page="download"] .nav-download {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

main { padding: 46px 0 78px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: "XDD Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
}

h3 { margin: 0; font-size: 25px; line-height: 1.25; }
h4 { margin: 0; font-size: 20px; line-height: 1.3; }

.accent {
  color: transparent;
  background: linear-gradient(115deg, var(--brand-dark), var(--brand) 58%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-buttons {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas:
    "features download"
    "activation .";
  align-items: start;
}

.hero-button-features { grid-area: features; }
.hero-button-activation { grid-area: activation; }
.hero-button-download { grid-area: download; }

body.modal-open { overflow: hidden; }

.activation-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.activation-modal:target,
body.modal-open .activation-modal {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.activation-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(10, 20, 40, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.activation-dialog {
  position: relative;
  width: min(470px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 18, 40, 0.34);
}

.activation-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.activation-dialog-header h2 { font-size: 31px; }

.modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #506078;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f7fb;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.activation-dialog-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.activation-options {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.activation-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 15px 18px;
  border: 1px solid #dce6fb;
  border-radius: 16px;
  background: #f7faff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.activation-option:hover {
  border-color: #b8cbf5;
  background: #eef4ff;
  transform: translateY(-1px);
}

.activation-option strong {
  display: block;
  font-family: "XDD Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 21px;
  font-weight: 400;
}

.activation-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.activation-option b { color: var(--brand); font-size: 22px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-family: "XDD Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.23);
}

.button-secondary {
  color: #26354e;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.panel,
.page-heading {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius-xl);
}

.version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
  color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #12203d, #1c3970);
  box-shadow: var(--shadow);
}

.version-card::before,
.version-card::after {
  position: absolute;
  right: -65px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(120, 170, 255, 0.26);
  border-radius: 50%;
}

.version-card::after { right: -15px; bottom: -142px; width: 340px; height: 340px; }
.version-card > * { position: relative; z-index: 1; }

.version-label { color: #afc7ff; font-size: 11px; font-weight: 850; letter-spacing: 0.14em; }

.version-number {
  margin-top: 14px;
  font-family: "XDD Display", sans-serif;
  font-size: 78px;
  line-height: 1;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.1);
}

.version-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.version-meta div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.version-meta small { display: block; color: #b7c4dd; font-size: 11px; }
.version-meta strong { display: block; margin-top: 6px; font-size: 14px; }

.section { margin-top: 58px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: 0 14px 38px rgba(29, 47, 83, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(29, 47, 83, 0.12);
}

.card-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--brand);
  border-radius: 12px;
  background: #e9f1ff;
  font-size: 12px;
  font-weight: 850;
}

.link-card h3 { margin-top: 24px; }
.link-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.link-card .arrow { margin-top: auto; padding-top: 20px; color: var(--brand); font-weight: 800; }

.mini-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.mini-feature {
  padding: 20px;
  border: 1px solid #dce6fb;
  border-radius: var(--radius-md);
  background: #f8faff;
}

.mini-feature strong {
  display: block;
  font-family: "XDD Display", sans-serif;
  font-size: 19px;
  font-weight: 400;
}

.mini-feature span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.page-heading {
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-xl);
}

.page-heading h1 { font-size: clamp(43px, 6vw, 66px); }

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a { color: var(--brand); text-decoration: none; }

.panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

.core-feature-list { display: grid; gap: 22px; }

.core-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 42px rgba(29, 47, 83, 0.08);
}

.core-feature:nth-child(even) { grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); }
.core-feature:nth-child(even) .core-image { order: 2; }

.core-image {
  display: block;
  min-height: 300px;
  overflow: hidden;
  background: #141b27;
}

.core-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-image.hearing img { object-fit: contain; padding: 22px; }

.core-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
}

.core-copy .number { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: 0.14em; }
.core-copy h2 { margin-top: 8px; font-size: clamp(31px, 4vw, 46px); }
.core-copy p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.core-note {
  margin-top: 18px;
  padding: 12px 14px;
  color: #4e6079;
  border-radius: 13px;
  background: #eef4ff;
  font-size: 12px;
}

.tool-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.tool-shot a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8edf5;
}

.tool-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-shot:nth-child(1) img { object-position: center 9%; }
.tool-shot:nth-child(2) img { object-position: center 48%; }
.tool-shot:nth-child(3) img { object-position: center 44%; }
.tool-shot figcaption { padding: 16px; }
.tool-shot strong { display: block; font-family: "XDD Display", sans-serif; font-size: 19px; font-weight: 400; }
.tool-shot span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.catalog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.catalog-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-groups { display: grid; gap: 10px; }

.catalog-group {
  overflow: hidden;
  border: 1px solid #dce6fb;
  border-radius: 16px;
  background: #f8faff;
}

.catalog-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.catalog-group summary::-webkit-details-marker { display: none; }
.catalog-group summary strong { font-family: "XDD Display", sans-serif; font-size: 19px; font-weight: 400; }

.catalog-count {
  padding: 4px 9px;
  color: var(--brand);
  border-radius: 999px;
  background: #e8f0ff;
  font-size: 11px;
  font-weight: 850;
}

.catalog-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.catalog-items span {
  padding: 7px 10px;
  color: #445269;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}

.compliance {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px;
  color: #526177;
  border: 1px solid #dfe7f3;
  border-radius: 15px;
  background: #f5f7fa;
  font-size: 12px;
}

.compliance::before {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #fff;
  border-radius: 50%;
  background: var(--brand);
  content: "i";
  font-size: 12px;
  font-weight: 850;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
}

.notice-card { min-height: 330px; }

.notice-box {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #dce6fb;
  border-radius: 18px;
  background: #f7faff;
}

.notice-box strong {
  display: block;
  font-family: "XDD Display", sans-serif;
  font-size: 25px;
  font-weight: 400;
}

.notice-content {
  margin: 10px 0 0;
  color: #536178;
  white-space: pre-line;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: #31548d;
  border-radius: 999px;
  background: #e7efff;
  font-size: 11px;
  font-weight: 800;
}

.notice-help { display: grid; gap: 14px; }
.help-item { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.help-item strong { display: block; font-size: 14px; }
.help-item p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 38px rgba(29, 47, 83, 0.08);
}

.provider-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  border-radius: 17px;
  font-family: "XDD Display", sans-serif;
  font-size: 23px;
}

.provider-xunlei { background: linear-gradient(145deg, #176bde, #29a5ff); }
.provider-quark { background: linear-gradient(145deg, #6e4bff, #2a7cff); }
.provider-uc { background: linear-gradient(145deg, #ff8b22, #ffb633); }

.download-card h2 { margin-top: 20px; font-size: 29px; }
.download-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.download-card .button { width: 100%; margin-top: auto; }

.download-safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.download-safety div {
  padding: 17px;
  border: 1px solid #dfe7f3;
  border-radius: 15px;
  background: #f8faff;
}

.download-safety strong { display: block; font-size: 13px; }
.download-safety span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.site-footer {
  padding: 28px 0 38px;
  color: #7a8699;
  text-align: center;
  font-size: 12px;
}

.site-footer p { margin: 4px 0; }

@media (max-width: 900px) {
  .header-inner { display: block; padding: 12px 0; }
  .brand { margin-bottom: 10px; }
  .site-nav { overflow-x: auto; justify-content: flex-start; border-radius: 15px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .hero { grid-template-columns: 1fr; }
  .version-card { min-height: 330px; }
  .link-grid,
  .mini-features,
  .tool-gallery,
  .download-grid { grid-template-columns: 1fr; }
  .core-feature,
  .core-feature:nth-child(even) { grid-template-columns: 1fr; }
  .core-feature:nth-child(even) .core-image { order: 0; }
  .core-image { min-height: 260px; }
  .notice-layout { grid-template-columns: 1fr; }
  .download-safety { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .header-inner { min-height: auto; }
  .site-nav a { min-width: 66px; padding: 8px 12px; }
  main { padding: 24px 0 56px; }
  .hero-copy,
  .page-heading { padding: 28px 22px; border-radius: 24px; }
  h1 { font-size: 45px; }
  .lead { font-size: 15px; }
  .button-row { display: grid; }
  .hero-buttons {
    grid-template-columns: 1fr;
    grid-template-areas: "features" "activation" "download";
  }
  .activation-modal { align-items: end; padding: 12px; }
  .activation-dialog { padding: 24px 20px 20px; border-radius: 23px; }
  .button { width: 100%; }
  .version-card { min-height: 310px; padding: 25px; border-radius: 24px; }
  .version-number { font-size: 64px; }
  .section { margin-top: 42px; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 8px; text-align: left; }
  .panel { padding: 24px 20px; }
  .core-image { min-height: 205px; }
  .core-image.hearing { min-height: 175px; }
  .core-image.hearing img { padding: 14px; }
  .core-copy { padding: 24px 20px; }
  .core-copy h2 { font-size: 34px; }
  .catalog-intro { display: block; }
  .catalog-intro p { margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .link-card { transition: none; }
}
