:root {
  --bg: #12141a;
  --bg-soft: #181b23;
  --bg-card: #1c1f28;
  --gold: #e3b56a;
  --gold-dim: #b98f4e;
  --cream: #f2ede4;
  --cream-dim: #b9b2a6;
  --line: #2a2e38;
  --radius: 8px;
  --radius-sm: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--cream);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 顶栏 ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(18, 20, 26, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 10px;
}

.hero-mark {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 18px;
  margin-bottom: 18px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.btn-download {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #1a1408;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-download:hover {
  background: #ecc27e;
}

/* ---------- 主区 ---------- */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero-text h1 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  color: var(--cream);
}

.lead {
  color: var(--cream-dim);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 30em;
}

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

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a1408;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #ecc27e;
  transform: translateY(-1px);
}

.hero-note {
  font-size: 13px;
  color: var(--cream-dim);
}

.feature-list {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--cream-dim);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
}

/* ---------- 程序窗口示意 ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.app-window {
  width: 100%;
  max-width: 380px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #15171e;
  border-bottom: 1px solid var(--line);
}

.app-title {
  font-size: 13px;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.app-controls {
  display: flex;
  gap: 6px;
}

.app-controls .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3f4b;
  display: block;
}

.app-body {
  padding: 8px 0;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.task-item:last-child {
  border-bottom: none;
}

.task-name {
  font-size: 15px;
  color: var(--cream);
}

.task-count {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.task-item.muted .task-name {
  color: var(--cream-dim);
}

.task-item.muted .task-count {
  color: var(--cream-dim);
  font-weight: 400;
}

.app-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--cream-dim);
  background: #15171e;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(227, 181, 106, 0.7);
}

/* ---------- 安装步骤 ---------- */
.install {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}

.install h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--cream);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.step-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(227, 181, 106, 0.12);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-body strong {
  display: block;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.65;
}

.step-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: var(--gold);
  background: rgba(227, 181, 106, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}

.install-foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--cream-dim);
}

/* ---------- 细节卡片 ---------- */
.details {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.detail-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.detail-card p {
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--line);
  background: #0f1116;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--cream-dim);
}

.footer-download {
  color: var(--gold);
  font-weight: 500;
}

.footer-download:hover {
  color: #ecc27e;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 44px;
  }

  .hero-text h1 {
    font-size: 27px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .details {
    grid-template-columns: 1fr;
    padding: 44px 0 52px;
  }
}

@media (max-width: 520px) {
  .topbar-inner {
    padding: 12px 18px;
  }

  main {
    padding: 0 18px;
  }

  .brand-name {
    font-size: 16px;
  }

  .btn-download {
    padding: 7px 14px;
    font-size: 13px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
