:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0d1118;
  --panel-2: #111821;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f7fb;
  --muted: #9aa6b8;
  --accent: #58d6ff;
  --accent-2: #8affc1;
  --button: #ffffff;
  --button-text: #081018;
  font-family: Inter, "Segoe UI", "Microsoft YaHei UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 12%, rgba(88, 214, 255, 0.18), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(138, 255, 193, 0.1), transparent 30%),
    linear-gradient(180deg, #080b11 0%, var(--bg) 58%, #050609 100%);
}

a { color: inherit; text-decoration: none; }

.download-page {
  width: min(1180px, calc(100vw - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 46px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  font-size: 18px;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(88, 214, 255, 0.18);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.topbar-link:hover { color: var(--text); border-color: var(--line-strong); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 184px);
  padding: 48px 0 34px;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: #c9f4ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid rgba(88, 214, 255, 0.28);
  border-radius: 999px;
  background: rgba(88, 214, 255, 0.08);
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--button-text);
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  background: var(--button);
  box-shadow: 0 18px 44px rgba(88, 214, 255, 0.2);
}

.download-button:hover { transform: translateY(-1px); box-shadow: 0 22px 52px rgba(88, 214, 255, 0.28); }

.download-icon {
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.version-pill {
  color: var(--muted);
  font-size: 14px;
}

.product-stage {
  position: relative;
  min-width: 0;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 12% 4% auto auto;
  width: 58%;
  height: 54%;
  background: linear-gradient(135deg, rgba(88, 214, 255, 0.24), rgba(138, 255, 193, 0.12));
  filter: blur(44px);
  transform: rotate(-8deg);
}

.window-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #667085;
}

.window-bar span:first-child { background: #ff6b6b; }
.window-bar span:nth-child(2) { background: #ffd166; }
.window-bar span:nth-child(3) { background: #51cf66; }

.window-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 390px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.42);
}

.logo-dot {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.mock-sidebar b { font-size: 13px; }

.mock-sidebar span,
.mock-grid span,
.timeline i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.mock-sidebar span:nth-of-type(1) { width: 94px; }
.mock-sidebar span:nth-of-type(2) { width: 70px; }
.mock-sidebar span:nth-of-type(3) { width: 82px; }

.mock-main { padding: 22px; }

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.mock-head strong { font-size: 18px; }
.mock-head small { color: var(--accent-2); }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mock-grid article {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.mock-grid b {
  display: block;
  margin-bottom: 18px;
  color: #dbe7f5;
  font-size: 14px;
}

.mock-grid span { margin-top: 10px; }
.mock-grid span:nth-of-type(1) { width: 88%; }
.mock-grid span:nth-of-type(2) { width: 68%; }
.mock-grid span:nth-of-type(3) { width: 46%; }

.timeline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(88, 214, 255, 0.06);
}

.timeline i { height: 34px; background: rgba(88, 214, 255, 0.18); }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 10px;
}

.feature-strip article {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-strip strong { display: block; margin-bottom: 9px; }
.feature-strip span { color: var(--muted); line-height: 1.65; }

.qq-group-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  align-items: center;
  gap: 22px;
  margin: 18px 0 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.guide-shell + .qq-group-card {
  margin-top: -28px;
}

.qq-group-copy {
  min-width: 0;
}

.qq-group-card h2 {
  margin: 0 0 12px;
  color: #f7fbff;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.qq-group-card p {
  margin: 0;
  color: #bdc8d7;
  font-size: 15px;
  line-height: 1.75;
}

.qq-group-number {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px !important;
  color: #d7f8ff !important;
  font-weight: 700;
}

.qq-group-number code {
  padding: 5px 9px;
  color: var(--text);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
  border: 1px solid rgba(88, 214, 255, 0.22);
  border-radius: 8px;
  background: rgba(88, 214, 255, 0.08);
}

.qq-group-qr {
  width: 176px;
  height: 176px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #fff;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 28px 0 0;
  color: rgba(154, 166, 184, 0.86);
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a:hover {
  color: var(--text);
}

.guide-page {
  width: min(1240px, calc(100vw - 40px));
}

.guide-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}

.guide-hero .lead {
  max-width: 780px;
}

.guide-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0 56px;
}

.guide-sidebar {
  position: sticky;
  top: 18px;
  z-index: 3;
}

.guide-toc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 13, 0.74);
  backdrop-filter: blur(16px);
}

.guide-toc-title {
  padding: 4px 8px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.guide-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #d7e4f2;
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.guide-toc a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(88, 214, 255, 0.08);
}

.guide-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.guide-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
  scroll-margin-top: 96px;
}

.guide-kicker {
  margin-bottom: 8px !important;
  color: var(--accent-2) !important;
  font-size: 12px !important;
  font-weight: 800;
}

.guide-section h2,
.guide-section h3,
.guide-section p,
.guide-section ol,
.guide-section ul {
  margin-top: 0;
}

.guide-section h2 {
  margin-bottom: 14px;
  color: #f7fbff;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.guide-section h3 {
  margin: 22px 0 10px;
  color: #dff4ff;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

.guide-section p,
.guide-section li {
  color: #bdc8d7;
  font-size: 15px;
  line-height: 1.85;
}

.guide-section p {
  margin-bottom: 14px;
}

.guide-section ol,
.guide-section ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.guide-section li + li {
  margin-top: 6px;
}

.guide-note {
  margin: 16px 0;
  padding: 14px 16px;
  color: #d7f8ff;
  line-height: 1.75;
  border: 1px solid rgba(88, 214, 255, 0.24);
  border-radius: 10px;
  background: rgba(88, 214, 255, 0.08);
}

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

.guide-columns > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.guide-columns h3 {
  margin-top: 0;
}

.guide-columns p {
  margin-bottom: 0;
}

.guide-example {
  overflow: auto;
  margin: 16px 0;
  padding: 16px;
  color: #dce8f5;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(5, 8, 12, 0.58);
}

.guide-example code {
  font-family: "Cascadia Mono", Consolas, monospace;
}

.privacy-page .privacy-meta {
  margin: 18px 0 0;
  color: #d7e4f2;
  font-size: 14px;
}

.privacy-page .guide-section a {
  color: #c9f4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-page .guide-section a:hover {
  color: var(--accent-2);
}

.privacy-page .guide-section ul {
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .download-page { width: min(100% - 28px, 680px); padding-top: 16px; }
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding: 36px 0 28px; }
  h1 { font-size: clamp(31px, 9vw, 46px); }
  .lead { font-size: 16px; }
  .window-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .feature-strip { grid-template-columns: 1fr; }
  .qq-group-card { grid-template-columns: 1fr; justify-items: start; }
  .guide-shell + .qq-group-card { margin-top: -16px; }
  .guide-page { width: min(100% - 28px, 720px); }
  .guide-hero { padding-top: 36px; }
  .guide-shell { display: block; padding-top: 18px; }
  .guide-sidebar { position: static; margin-bottom: 18px; }
  .guide-toc { max-height: none; flex-direction: row; flex-wrap: wrap; }
  .guide-toc-title { width: 100%; }
  .guide-toc a { flex: 1 1 calc(33.333% - 8px); justify-content: center; }
  .guide-columns { grid-template-columns: 1fr; }
  .guide-section { padding: 20px; }
}

@media (max-width: 560px) {
  .topbar { align-items: flex-start; height: auto; padding-top: 4px; }
  .topbar-link { min-height: 34px; padding: 0 10px; font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .download-button { width: 100%; }
  .mock-grid { grid-template-columns: 1fr; }
  .qq-group-card { padding: 18px; }
  .qq-group-card h2 { font-size: 21px; }
  .qq-group-qr { width: 160px; height: 160px; }
  .guide-toc a { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
