:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #0b1020;
  --muted: #5b6678;
  --muted-strong: #3d4656;
  --line: #dbe3ef;
  --line-soft: rgba(219, 227, 239, 0.72);
  --blue: #1f6fff;
  --green: #14b879;
  --cyan: #47c0e8;
  --amber: #f0a33a;
  --shadow-soft: 0 22px 58px rgba(31, 54, 92, 0.12);
  --shadow-tight: 0 12px 28px rgba(28, 45, 76, 0.1);
  --radius: 8px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #f5f7fb 100%);
  color: var(--text);
}

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

button,
code,
pre {
  font: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

button {
  border: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 38px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(214, 224, 238, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(20, 37, 66, 0.1);
  backdrop-filter: blur(24px) saturate(1.15);
}

.brand,
.nav,
.header-action,
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 190px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  box-shadow: 0 9px 22px rgba(31, 111, 255, 0.18);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  justify-content: center;
  gap: 30px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 620;
}

.nav a,
.header-action,
.lang-option,
.button,
.tab,
.copy {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.nav a:hover,
.header-action:hover {
  color: var(--blue);
}

.nav a:focus-visible,
.header-action:focus-visible,
.lang-option:focus-visible,
.button:focus-visible,
.tab:focus-visible,
.copy:focus-visible {
  outline: 2px solid rgba(31, 111, 255, 0.34);
  outline-offset: 2px;
}

.lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef3fa;
}

.lang-option {
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.lang-option.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 5px 16px rgba(28, 45, 76, 0.1);
}

.header-action {
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
}

.header-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.content-stack {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.hero-panel,
.section-block {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.82fr);
  gap: 44px;
  align-items: center;
  min-height: 480px;
  padding: 44px 44px 34px;
  overflow: hidden;
}

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

.hero-copy h1 {
  margin: 0;
  max-width: 640px;
  font-size: 54px;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 20px 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 13px 26px rgba(31, 111, 255, 0.24);
}

.button-primary:hover {
  background: #175fe0;
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid #c6d1df;
  background: #ffffff;
  color: var(--text);
}

.button-secondary:hover {
  border-color: #aab8cc;
  transform: translateY(-1px);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.platform-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7faff;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 640;
}

.platform-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual {
  min-width: 0;
}

.transfer-window {
  overflow: hidden;
  border: 1px solid #d4deec;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(28, 45, 76, 0.15);
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff 0%, #f0f5fb 100%);
}

.traffic {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.traffic-red {
  background: #ff5f57;
}

.traffic-yellow {
  background: #febc2e;
}

.traffic-green {
  background: #28c840;
}

.window-title {
  position: absolute;
  left: 50%;
  color: #6b7586;
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
  transform: translateX(-50%);
}

.transfer-body {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.cloud-nodes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.cloud-node {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.cloud-node strong,
.cloud-node span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-node strong {
  font-size: 14px;
  letter-spacing: 0;
}

.cloud-node span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.node-mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
}

.node-quark {
  background:
    linear-gradient(135deg, rgba(31, 111, 255, 0.14), rgba(71, 192, 232, 0.18)),
    #ffffff;
  border: 1px solid rgba(31, 111, 255, 0.28);
}

.node-baidu {
  background:
    linear-gradient(135deg, rgba(20, 184, 121, 0.14), rgba(71, 192, 232, 0.18)),
    #ffffff;
  border: 1px solid rgba(20, 184, 121, 0.28);
}

.transfer-rail {
  position: relative;
  height: 2px;
  background: #d7e1ee;
}

.transfer-rail span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(31, 111, 255, 0.1);
  transform: translateX(-50%);
}

.terminal-lines {
  margin: 0;
  padding: 16px;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  background: #101725;
  color: #eaf2ff;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 650;
}

.status-list strong {
  color: var(--green);
  font-size: 14px;
}

.section-block {
  padding: 42px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.safety-copy h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

.feature-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e3f1;
  border-radius: var(--radius);
  background: #f5f9ff;
  color: var(--blue);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-item h3 {
  margin: 2px 0 8px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-item p,
.reference-list span,
.roadmap p,
.steps p,
.safety-copy li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.feature-item p {
  margin: 0;
}

.install-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 255, 0.94) 100%);
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.command-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 236px;
  padding: 20px;
  border: 1px solid rgba(205, 217, 232, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 251, 255, 0.96) 100%);
  box-shadow: var(--shadow-tight);
}

.command-panel-top,
.flow-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.command-panel-top > div:first-child,
.flow-panel-head {
  min-width: 0;
}

.mini-label {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.25;
}

.command-panel-top strong,
.flow-panel-head strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef3fa;
}

.tab {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.tab.active {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 5px 15px rgba(28, 45, 76, 0.1);
}

.command-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px 13px 13px 16px;
  border: 1px solid #ccd9e8;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(28, 45, 76, 0.08);
}

.prompt-symbol {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 780;
}

.command-row code {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  color: #142033;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  scrollbar-width: thin;
}

.copy {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 82px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #c4d2e4;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.copy svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.copy:hover {
  border-color: #a9bad0;
  color: var(--blue);
}

.install-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.install-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 680;
}

.install-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.flow-panel {
  display: grid;
  gap: 14px;
  min-height: 236px;
  padding: 20px;
  border: 1px solid rgba(205, 217, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.steps > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.steps p {
  margin: 3px 0 0;
}

.steps code,
.reference-list code {
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
}

.reference-list {
  display: grid;
  gap: 10px;
}

.reference-list div {
  display: grid;
  grid-template-columns: minmax(210px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.safety-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 111, 255, 0.06), rgba(20, 184, 121, 0.07)),
    #ffffff;
}

.safety-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(31, 111, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-tight);
}

.safety-lock svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.safety-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.safety-copy li {
  position: relative;
  padding-left: 22px;
}

.safety-copy li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

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

.roadmap article {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.roadmap span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #d8e3f1;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
}

.roadmap strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: 0;
}

.roadmap p {
  margin: 8px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-action span {
    display: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .install-layout,
  .safety-block {
    grid-template-columns: 1fr;
  }

  .safety-lock {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    margin-top: 12px;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy span {
    display: none;
  }

  .header-action {
    display: none;
  }

  .content-stack {
    margin-top: 12px;
    gap: 14px;
  }

  .hero-panel,
  .section-block {
    padding: 22px;
  }

  .hero-panel {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-copy p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .platform-row {
    margin-top: 18px;
  }

  .button {
    width: 100%;
  }

  .feature-list,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .feature-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 17px;
  }

  .command-panel,
  .flow-panel {
    min-height: 0;
    padding: 16px;
  }

  .command-panel-top,
  .flow-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1 1 0;
    padding: 0 8px;
    text-align: center;
  }

  .command-row {
    gap: 9px;
    min-height: 64px;
    padding: 11px;
  }

  .command-row code {
    font-size: 13px;
    line-height: 1.55;
  }

  .copy {
    min-width: 72px;
    padding: 0 10px;
  }

  .transfer-body {
    gap: 12px;
    padding: 14px;
  }

  .cloud-nodes {
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 8px;
  }

  .cloud-node {
    gap: 7px;
    padding: 9px;
  }

  .cloud-node strong {
    font-size: 12px;
  }

  .cloud-node span {
    display: none;
  }

  .node-mark {
    width: 24px;
    height: 24px;
  }

  .terminal-lines {
    height: 132px;
    max-height: 132px;
    padding: 12px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
  }

  .status-list {
    display: none;
  }

  .transfer-rail span {
    left: 50%;
    transform: translateX(-50%);
  }

  .window-title {
    display: none;
  }

  .reference-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-panel,
  .section-block {
    padding: 20px;
  }

  .lang-option {
    min-width: 40px;
    padding: 0 8px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .section-heading h2,
  .safety-copy h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
