:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --ink: #162033;
  --muted: #5c6878;
  --line: #d9e2ec;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0ea5a8;
  --terminal: #0b1016;
  --terminal-text: #d7dde7;
  --shadow: 0 24px 70px rgba(18, 31, 54, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 420px),
    var(--bg);
}

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

.site-header {
  width: min(1120px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand img {
  width: 30px;
  height: 30px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
}

h1 {
  max-width: 640px;
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.download-button,
.secondary-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 720;
}

.download-button {
  padding: 0 20px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.download-button:hover {
  background: var(--blue-dark);
}

.secondary-link {
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.release-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

/* ---- 产品截图（真实界面图） ---------------------------------- */
.shot {
  margin: 0;
  border: 1px solid rgba(22, 32, 51, 0.12);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-hero {
  align-self: center;
}

/* ---- 界面展示：图文交替行 ------------------------------------ */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 44px;
  align-items: center;
  margin: 56px 0;
}

.showcase.reverse {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.showcase.reverse .shot {
  order: 2;
}

.showcase.reverse .showcase-copy {
  order: 1;
}

.showcase-copy h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

article h3 {
  margin: 0 0 10px;
}

article p,
.split p,
.check-list {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
}

.check-list {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.check-list li {
  margin: 8px 0;
}

/* ---- 下载页 ---------------------------------------------------- */
.download-main {
  padding: 48px 0 24px;
}

.download-head h1 {
  font-size: 38px;
}

.download-head .lead {
  margin-top: 12px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.download-card.primary {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12);
}

.dl-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.dl-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 22px;
  background: var(--surface-soft);
}

.download-card.primary .dl-icon {
  background: rgba(37, 99, 235, 0.12);
}

.dl-card-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.dl-tag {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

.dl-meta {
  flex: 1;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.dl-button {
  justify-content: center;
  align-self: flex-start;
  min-width: 180px;
  cursor: pointer;
  font: inherit;
}

.dl-button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.dl-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.download-card.coming {
  background: var(--surface-soft);
}

.download-card.coming .dl-icon {
  filter: grayscale(1);
  opacity: 0.7;
}

.dl-more {
  padding-top: 40px;
}

.dl-more .check-list a {
  color: var(--blue);
}

footer {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero,
  .feature-grid,
  .split,
  .showcase,
  .showcase.reverse,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  h1 {
    font-size: 34px;
  }

  .showcase.reverse .shot {
    order: 0;
  }

  .showcase.reverse .showcase-copy {
    order: 0;
  }

  .showcase {
    gap: 20px;
    margin: 40px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .download-button,
  .secondary-link,
  .dl-button {
    justify-content: center;
    align-self: stretch;
    width: 100%;
  }

  .dl-button {
    min-width: 0;
  }
}
