:root {
  --ink: #111820;
  --muted: #61707b;
  --line: #cfd8de;
  --paper: #edf2f5;
  --white: #ffffff;
  --dark: #080d12;
  --dark-soft: #0e151c;
  --dark-line: #26333d;
  --cyan: #26c9ea;
  --cyan-dark: #087e98;
  --pink: #f43b91;
  --green: #67d69a;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  align-items: center;
  background: rgba(8, 13, 18, 0.96);
  border-bottom: 1px solid var(--dark-line);
  color: #f5f8fa;
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1160px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { align-items: center; display: inline-flex; font-size: 18px; font-weight: 750; gap: 11px; }
.brand-mark { align-items: center; border: 1px solid #36434e; border-radius: 4px; display: inline-flex; height: 36px; justify-content: center; width: 36px; }
.brand img { display: block; height: 30px; width: 30px; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { color: #aebac3; font-size: 14px; }
.site-nav a:hover { color: var(--white); }

.header-action, .primary-action, .secondary-action {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 12px;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.header-action, .primary-action { background: var(--cyan); color: #061016; }
.header-action:hover, .primary-action:hover { background: #62ddf3; }
.secondary-action { border: 1px solid #5c6d79; color: #f5f8fa; }
.secondary-action:hover { border-color: #dce5ea; background: #111a22; }

.hero { background: var(--dark); color: #f7fafc; overflow: hidden; position: relative; }
.hero::before {
  border-left: 1px solid rgba(61, 77, 89, 0.48);
  border-right: 1px solid rgba(61, 77, 89, 0.48);
  content: "";
  inset: 0 max(20px, calc((100% - 1160px) / 2));
  pointer-events: none;
  position: absolute;
}

.hero-inner { margin: 0 auto; max-width: 1160px; padding: 0 24px 34px; position: relative; }
.hero-statusbar {
  align-items: center;
  border-bottom: 1px solid var(--dark-line);
  color: #71818d;
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  justify-content: space-between;
  min-height: 38px;
}
.system-online { align-items: center; color: #a5b3bc; display: inline-flex; gap: 8px; }
.system-online i, .console-heading i, .player-state i { background: var(--green); border-radius: 50%; display: inline-block; height: 7px; width: 7px; }

.hero-core { align-items: center; display: flex; flex-direction: column; padding: 34px 0 28px; text-align: center; }
.hero-mark-frame {
  align-items: center;
  border: 1px solid #34434f;
  border-radius: 8px;
  display: flex;
  height: 128px;
  justify-content: center;
  position: relative;
  width: 128px;
}
.hero-mark-frame::before, .hero-mark-frame::after {
  content: "";
  height: 22px;
  position: absolute;
  width: 22px;
}
.hero-mark-frame::before { border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); left: -1px; top: -1px; }
.hero-mark-frame::after { border-bottom: 2px solid var(--pink); border-right: 2px solid var(--pink); bottom: -1px; right: -1px; }
.hero-mark { display: block; height: 108px; object-fit: contain; width: 108px; }

.eyebrow { color: var(--cyan); font-size: 11px; font-weight: 800; margin: 18px 0 12px; }
.eyebrow.dark { color: var(--cyan-dark); }
h1 { font-size: 56px; line-height: 1.1; margin-bottom: 15px; }
.hero-copy { color: #b8c4cc; font-size: 19px; line-height: 1.65; margin-bottom: 24px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.signal-console { background: var(--dark-soft); border: 1px solid #31404b; border-radius: 4px; }
.console-heading {
  align-items: center;
  border-bottom: 1px solid #26343f;
  color: #7e8d98;
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 14px;
}
.console-heading span:first-child { align-items: center; display: inline-flex; gap: 8px; }
.console-grid { align-items: stretch; display: grid; grid-template-columns: 0.8fr 0.65fr 0.8fr 2.25fr; min-height: 92px; }
.console-metric { border-right: 1px solid #26343f; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px; }
.console-metric span { color: #778792; font-size: 11px; margin-bottom: 7px; }
.console-metric strong { font-size: 22px; line-height: 1; }
.console-state strong { color: var(--green); font-size: 17px; }
.spectrum { align-items: center; display: flex; gap: 6px; justify-content: flex-end; overflow: hidden; padding: 18px; }
.spectrum i { animation: meter 1.15s ease-in-out infinite alternate; background: var(--cyan); display: block; height: 18px; width: 6px; }
.spectrum i:nth-child(2n) { animation-delay: -0.35s; }
.spectrum i:nth-child(3n) { animation-delay: -0.75s; background: var(--pink); }
.spectrum i:nth-child(5n) { animation-delay: -0.55s; }
@keyframes meter { from { height: 8px; } to { height: 54px; } }

.section-band { padding: 102px 24px; }
.section-shell { margin: 0 auto; max-width: 1160px; }
.compatibility { background: var(--paper); }
.features { background: var(--white); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; }
.section-meta { align-items: center; color: #81909a; display: flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; gap: 10px; }
.section-meta span:first-child { color: var(--pink); }
.section-meta.light { color: #70808c; }
.section-heading h2, .download-copy h2 { font-size: 40px; line-height: 1.2; margin-bottom: 16px; }
.section-heading > p:last-child, .download-copy > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 0; }

.player-list { border-top: 1px solid #aebbc3; margin-top: 54px; }
.player-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 70px 1fr 160px 100px; min-height: 74px; position: relative; }
.player-item::before { background: transparent; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 3px; }
.player-item:hover::before { background: var(--cyan); }
.player-index, .feature-number { color: #87959f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.player-item strong { font-size: 21px; }
.player-note { color: var(--muted); font-size: 13px; }
.player-state { align-items: center; color: #5d6b75; display: inline-flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; gap: 8px; justify-self: end; }

.feature-heading { border-bottom: 1px solid var(--line); max-width: none; padding-bottom: 42px; }
.feature-list { border-bottom: 1px solid var(--line); }
.feature-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: 120px 1fr 36px; min-height: 142px; }
.feature-row:last-child { border-bottom: 0; }
.feature-row h3 { font-size: 23px; line-height: 1.3; margin-bottom: 9px; }
.feature-row p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 0; max-width: 720px; }
.feature-arrow { color: var(--pink); font-size: 24px; }

.social-band { background: var(--dark-soft); color: #f4f8fa; }
.social-heading { max-width: 620px; }
.social-heading .eyebrow { color: var(--cyan); }
.social-heading > p:last-child { color: #8998a3; }
.social-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 46px; }
.social-card { align-items: center; background: #111a22; border: 1px solid #30404c; border-radius: 6px; display: grid; gap: 22px; grid-template-columns: 230px 1fr; min-height: 268px; padding: 18px; position: relative; }
.social-card::before { bottom: 18px; content: ""; left: -1px; position: absolute; top: 18px; width: 3px; }
.wechat-card::before { background: var(--cyan); }
.douyin-card::before { background: var(--pink); }
.social-card-heading { align-items: center; border-bottom: 1px solid #34434e; display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 12px; }
.social-card-heading span, .social-id { color: #7f909c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.social-card-heading strong { font-size: 17px; }
.social-card-copy h3 { font-size: 20px; line-height: 1.35; margin-bottom: 9px; }
.social-card-copy p { color: #9aa8b2; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.social-id { display: block; }
.qr-frame { align-items: center; aspect-ratio: 1; background: var(--white); border-radius: 4px; display: flex; justify-content: center; overflow: hidden; padding: 8px; }
.qr-frame img { display: block; height: 100%; object-fit: contain; width: 100%; }

.download-band { background: var(--dark); color: #f4f8fa; padding: 78px 24px; }
.download-inner { align-items: center; display: flex; gap: 56px; justify-content: space-between; margin: 0 auto; max-width: 1160px; }
.download-copy { max-width: 720px; }
.download-copy h2 { margin-bottom: 12px; }
.download-copy > p:last-child { color: #8f9da7; }
.download-action {
  align-items: center;
  background: var(--white);
  border-left: 4px solid var(--cyan);
  border-radius: 4px;
  color: var(--dark);
  display: grid;
  flex: 0 0 280px;
  gap: 4px 14px;
  grid-template-columns: 1fr 32px;
  min-height: 90px;
  padding: 18px 20px;
}
.download-action:hover { border-left-color: var(--pink); }
.download-label { color: #697680; font-size: 11px; grid-column: 1; }
.download-action strong { font-size: 18px; grid-column: 1; }
.download-icon { align-items: center; background: var(--cyan); border-radius: 3px; display: flex; font-size: 18px; grid-column: 2; grid-row: 1 / 3; height: 32px; justify-content: center; width: 32px; }

.site-footer { align-items: center; color: #7b8993; display: flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; justify-content: space-between; margin: 0 auto; max-width: 1160px; min-height: 72px; padding: 0 24px; }

@media (max-width: 720px) {
  .site-header { gap: 12px; height: 64px; padding: 0 14px; }
  .brand { font-size: 16px; }
  .brand-mark { height: 32px; width: 32px; }
  .brand img { height: 27px; width: 27px; }
  .site-nav { display: none; }
  .header-action { font-size: 12px; min-height: 38px; padding: 0 11px; }
  .header-action span:first-child { font-size: 0; }
  .header-action span:first-child::after { content: "下载"; font-size: 12px; }

  .hero::before { inset: 0 14px; }
  .hero-inner { padding: 0 14px 22px; }
  .hero-statusbar { font-size: 9px; min-height: 32px; }
  .hero-statusbar span:nth-child(3) { display: none; }
  .hero-core { padding: 24px 0 22px; }
  .hero-mark-frame { height: 92px; width: 92px; }
  .hero-mark { height: 78px; width: 78px; }
  .hero-mark-frame::before, .hero-mark-frame::after { height: 16px; width: 16px; }
  .eyebrow { margin: 14px 0 10px; }
  h1 { font-size: 36px; }
  .hero-copy { font-size: 15px; line-height: 1.6; margin-bottom: 20px; max-width: 340px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .primary-action, .secondary-action { min-height: 42px; width: 100%; }

  .console-heading { padding: 0 10px; }
  .console-grid { grid-template-columns: 1fr 1fr; min-height: 0; }
  .console-metric { min-height: 72px; padding: 13px; }
  .console-state { border-right: 0; }
  .console-metric strong { font-size: 19px; }
  .console-state strong { font-size: 16px; }
  .spectrum { border-top: 1px solid #26343f; grid-column: 1 / -1; height: 62px; justify-content: center; padding: 10px 12px; }
  .spectrum i { width: 5px; }
  @keyframes meter { from { height: 7px; } to { height: 36px; } }

  .section-band { padding: 72px 18px; }
  .section-heading h2, .download-copy h2 { font-size: 30px; }
  .section-heading > p:last-child, .download-copy > p:last-child { font-size: 15px; }
  .player-list { margin-top: 38px; }
  .player-item { gap: 8px 14px; grid-template-columns: 34px 1fr auto; min-height: 74px; }
  .player-note { grid-column: 2; margin-top: -9px; }
  .player-state { grid-column: 3; grid-row: 1 / 3; }
  .feature-row { align-items: start; gap: 10px 14px; grid-template-columns: 1fr 24px; min-height: 0; padding: 26px 0; }
  .feature-number { grid-column: 1; }
  .feature-row > div:nth-child(2) { grid-column: 1; }
  .feature-arrow { grid-column: 2; grid-row: 1 / 3; }
  .feature-row h3 { font-size: 20px; }
  .feature-row p { font-size: 14px; }

  .social-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .social-card { gap: 18px; grid-template-columns: 132px 1fr; min-height: 168px; padding: 14px; }
  .social-card-heading { margin-bottom: 14px; padding-bottom: 9px; }
  .social-card-copy h3 { font-size: 17px; }
  .social-card-copy p { margin-bottom: 12px; }

  .download-band { padding: 60px 18px; }
  .download-inner { align-items: stretch; flex-direction: column; gap: 32px; }
  .download-action { flex-basis: auto; width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; justify-content: center; min-height: 92px; padding: 18px; }
  .site-footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spectrum i { animation: none; }
}
