:root {
  color-scheme: light;
  --ink: #16212f;
  --muted: #637083;
  --soft: #f4f7fb;
  --line: #dce4ee;
  --panel: #ffffff;
  --navy: #101a27;
  --blue: #1f6feb;
  --blue-deep: #174ea6;
  --cyan: #00a6c8;
  --green: #168a5b;
  --amber: #b7791f;
  --red: #c2413a;
  --gold: #f7c948;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #eef7ff;
  background: rgba(12, 20, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  gap: 26px;
  font-size: 14px;
  color: rgba(238, 247, 255, 0.78);
}

.nav a:hover {
  color: #ffffff;
}

.nav-action,
.primary-btn,
.secondary-btn,
.secondary-light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-action {
  color: #071320;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 32px rgba(31, 111, 235, 0.26);
}

.primary-btn.light {
  color: #071320;
  background: #ffffff;
}

.secondary-btn {
  color: #e9f5ff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.secondary-light-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
}

.nav-action:hover,
.primary-btn:hover,
.secondary-btn:hover,
.secondary-light-btn:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 108px clamp(20px, 5vw, 72px) 52px;
  color: #f7fbff;
  overflow: hidden;
  background: #08111d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 30%, rgba(0, 166, 200, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(8, 17, 29, 0.96) 0%, rgba(8, 17, 29, 0.78) 46%, rgba(8, 17, 29, 0.52) 100%),
    url("./assets/command-bg.png") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy,
.hero-console,
.ops-copy,
.ops-panel,
.product-shot {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0f9fb8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #69d7e9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(247, 251, 255, 0.82);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.38;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.hero-badges span {
  padding: 8px 11px;
  color: rgba(247, 251, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(247, 251, 255, 0.65);
}

.hero-console {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 13, 22, 0.76);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.hero-console::after {
  content: "先查清楚，再提交";
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  color: #071320;
  background: var(--gold);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(239, 247, 255, 0.72);
  font-size: 13px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e05243;
}

.console-top span:nth-child(2) {
  background: #e2a62f;
}

.console-top span:nth-child(3) {
  background: #2fb26f;
  margin-right: 8px;
}

.chat-line {
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.55;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.chat-line * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chat-line.user {
  margin-left: auto;
  color: #ffffff;
  background: #145fb8;
}

.chat-line.user.small {
  padding-inline: 18px;
}

.chat-line.bot {
  color: #dfe9f5;
  background: #202b38;
  border-left: 3px solid var(--cyan);
}

.chat-line.expanded span {
  display: block;
  margin-top: 6px;
  color: #c6d2df;
}

.chat-line.success {
  border-left-color: #2fb26f;
}

.section,
.process,
.ops-section,
.download-section,
.local-security,
.cta {
  padding: 88px clamp(20px, 5vw, 72px);
}

.signal-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 22px 60px rgba(16, 26, 39, 0.14);
}

.signal-strip div {
  padding: 20px 22px;
  background: #ffffff;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.signal-strip span {
  color: var(--muted);
  line-height: 1.62;
}

.local-security {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.security-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.05;
}

.security-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.security-grid {
  display: grid;
  gap: 12px;
}

.security-grid article,
.security-boundary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.security-grid article {
  padding: 22px;
}

.security-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.security-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.security-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.security-boundary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: #f7fbff;
}

.security-boundary strong,
.security-boundary span {
  display: block;
}

.security-boundary strong {
  color: #0f2438;
  font-size: 18px;
}

.security-boundary span {
  color: var(--muted);
  line-height: 1.62;
}

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

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

.section-heading h2,
.ops-copy h2,
.security-copy h2,
.cta h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.ops-copy p,
.cta p,
.fit-grid p,
.skill-card p,
.steps p {
  color: var(--muted);
  line-height: 1.72;
}

.skill-grid,
.fit-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skill-card,
.fit-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.skill-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
}

.skill-icon.refund { background: var(--blue); }
.skill-icon.coupon { background: var(--green); }
.skill-icon.store { background: var(--amber); }
.skill-icon.device { background: #5b4cc4; }
.skill-icon.ops { background: var(--red); }
.skill-icon.audit { background: var(--cyan); }

.skill-card h3,
.fit-grid h3,
.steps h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.process {
  background: var(--soft);
}

.process .section-heading,
.steps {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}

.steps li {
  padding: 24px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: #8ca0b8;
  font-weight: 900;
}

.ops-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #38475a;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
}

.ops-panel {
  padding: 22px;
  border-radius: 8px;
  color: #eaf3ff;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(16, 26, 39, 0.28);
}

.panel-header,
.panel-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header {
  margin-bottom: 18px;
}

.panel-header span {
  padding: 5px 10px;
  color: #c9ffe4;
  background: rgba(22, 138, 91, 0.2);
  border: 1px solid rgba(97, 222, 159, 0.35);
  border-radius: 8px;
  font-size: 13px;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.panel-stats div,
.panel-table div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.panel-stats b {
  display: block;
  font-size: 28px;
}

.panel-stats span,
.panel-table span {
  color: rgba(234, 243, 255, 0.62);
  font-size: 13px;
}

.panel-table {
  display: grid;
  gap: 8px;
}

.panel-table strong {
  color: #ffffff;
  font-size: 14px;
}

.product-shot {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(16, 26, 39, 0.12);
  border-radius: 8px;
  background: #07111e;
  box-shadow: 0 26px 78px rgba(16, 26, 39, 0.22);
}

.product-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(105, 215, 233, 0.2), transparent 34%, rgba(247, 201, 72, 0.12));
}

.product-shot img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
}

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

.download-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: #ffffff;
}

.download-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
}

.download-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.72;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #526278;
  font-size: 13px;
}

.release-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow-wrap: anywhere;
}

.download-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.download-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.download-card-head strong,
.download-card-head small {
  display: block;
}

.download-card-head small,
.download-card p {
  color: var(--muted);
}

.download-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.download-card li {
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
}

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

.version-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.version-card ul {
  flex: 1;
}

.version-btn {
  width: 100%;
  margin-top: auto;
}

.version-btn.windows {
  background: linear-gradient(135deg, #168a5b, #0f766e);
  box-shadow: 0 14px 32px rgba(22, 138, 91, 0.24);
}

.docs-link {
  grid-column: 1 / -1;
  width: 100%;
}

.install-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.install-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.install-grid span {
  display: block;
  margin-bottom: 18px;
  color: #8ca0b8;
  font-weight: 900;
}

.install-grid p {
  color: var(--muted);
  line-height: 1.68;
}

.cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  background: #123b73;
  border-radius: 8px;
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.74);
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.download-page {
  background: #f8fbff;
}

.download-hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 72px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 17, 29, 0.94), rgba(8, 17, 29, 0.74)),
    url("./assets/command-bg.png") center / cover no-repeat;
}

.download-hero h1 {
  font-size: clamp(48px, 7vw, 92px);
}

.download-hero p {
  max-width: 760px;
  color: rgba(247, 251, 255, 0.78);
  font-size: 21px;
  line-height: 1.62;
}

.release-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.release-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #69d7e9;
  font-weight: 800;
}

.release-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 54px;
}

.release-card dl {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.release-card dl div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.release-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.release-card dd {
  margin: 4px 0 0;
}

.install-section,
.requirements-section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.install-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.install-list li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.install-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.install-list p {
  color: var(--muted);
  line-height: 1.68;
}

.requirements-section {
  width: min(1180px, 100%);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 28px;
}

.requirements-section p {
  color: var(--muted);
  line-height: 1.72;
}

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

.requirements-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.requirements-grid strong,
.requirements-grid span {
  display: block;
}

.requirements-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.download-start {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 20px;
  background:
    linear-gradient(90deg, rgba(8, 17, 29, 0.94), rgba(8, 17, 29, 0.74)),
    url("./assets/command-bg.png") center / cover no-repeat;
}

.download-start-panel {
  width: min(720px, 100%);
  padding: 34px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 20, 31, 0.82);
}

.download-start-panel h1 {
  margin: 14px 0 16px;
  font-size: clamp(42px, 7vw, 72px);
}

.download-start-panel p {
  color: rgba(247, 251, 255, 0.76);
  line-height: 1.72;
}

@media (max-width: 940px) {
  .site-header {
    height: auto;
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero-inner,
  .download-hero,
  .ops-section,
  .download-section,
  .local-security,
  .requirements-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
  }

  .skill-grid,
  .fit-grid,
  .steps,
  .install-grid,
  .install-list,
  .requirements-grid,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-inner {
    width: 100%;
    max-width: 342px;
    margin-left: 0;
  }

  .hero-metrics,
  .skill-grid,
  .fit-grid,
  .steps,
  .install-grid,
  .install-list,
  .requirements-grid,
  .panel-stats,
  .signal-strip,
  .version-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    width: calc(100% - 36px);
    margin-top: -22px;
  }

  .hero-console {
    width: 100%;
    max-width: 342px;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
  }

  .chat-line {
    width: auto;
    max-width: 100%;
  }

  .chat-line.user {
    margin-left: 0;
  }

  .product-shot {
    padding: 6px;
  }

  .section,
  .process,
  .ops-section,
  .download-section,
  .local-security,
  .download-hero,
  .install-section,
  .requirements-section,
  .cta {
    padding: 64px 18px;
  }

  .cta {
    width: calc(100% - 36px);
    align-items: flex-start;
    flex-direction: column;
  }

  .security-boundary {
    align-items: flex-start;
    flex-direction: column;
  }
}
