:root {
  --ink: #241408;
  --ink-2: #4a3324;
  --muted: #8a7565;
  --accent: #ff6a00;
  --accent-2: #ff8c1a;
  --accent-deep: #d94f00;
  --accent-soft: #fff1e6;
  --warm: #fff8f3;
  --line: rgba(255, 106, 0, 0.14);
  --wrap: 1120px;
  --gutter: clamp(18px, 5vw, 44px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(36, 20, 8, 0.07);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8c1a, #ff5a2e);
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.3);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav { display: flex; align-items: center; gap: 22px; }

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-link:hover { color: var(--accent); }

.nav-buy {
  height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.nav-buy:hover { background: #ffe4d2; color: var(--accent-deep); }

/* ---------------- 首屏 ---------------- */
.hero {
  padding: 54px var(--gutter) 58px;
  background:
    radial-gradient(720px 340px at 88% 6%, rgba(255, 138, 26, 0.10), transparent 70%),
    #fff;
}

.hero-grid {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker.light { color: rgba(255, 255, 255, 0.82); }

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* 说明文案：左侧橙色竖线的编辑式排版 */
.lede {
  margin: 18px 0 0;
  max-width: 34em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  text-wrap: pretty;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff8c1a, #ff5a2e);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 106, 0, 0.36);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(36, 20, 8, 0.2);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.btn-text:hover { color: var(--accent); border-color: var(--accent); }

.hero-meta {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.hero-meta span {
  position: relative;
  padding-left: 12px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--accent);
}

/* 右侧安装包卡片 */
.hero-visual { position: relative; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -26px -18px -30px -10px;
  border-radius: 40px;
  background:
    radial-gradient(closest-side at 70% 30%, rgba(255, 138, 26, 0.28), transparent 78%),
    radial-gradient(closest-side at 30% 80%, rgba(255, 90, 46, 0.18), transparent 76%);
  filter: blur(6px);
  z-index: 0;
}

.file-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  box-shadow: 0 26px 60px rgba(255, 106, 0, 0.14);
}

.file-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.file-code {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #ffd9bf;
}

.file-code b { letter-spacing: 0.06em; }

.dl-hint {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.dl-hint b {
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  font-weight: 800;
}

.file-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8c1a, #ff5a2e);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28);
}

.file-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-text strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.file-text small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.file-meta {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 106, 0, 0.22);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.file-meta dt {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.file-meta dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

/* ---------------- Bento 特性 ---------------- */
.features {
  padding: 62px var(--gutter) 68px;
  background: var(--warm);
  border-top: 1px solid rgba(255, 106, 0, 0.08);
}

.features-head {
  width: min(var(--wrap), 100%);
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px 48px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.features-lead {
  margin: 0 0 4px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.bento {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cell {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.13);
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(255, 106, 0, 0.1);
}

.cell-num {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffe7d8;
  pointer-events: none;
}

.cell h3 {
  position: relative;
  margin: 0 0 8px;
  padding-right: 44px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.cell p {
  position: relative;
  margin: 0;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--muted);
}

.cell-lg { grid-column: span 3; padding: 26px 26px 28px; }
.cell-lg h3 { font-size: 21px; padding-right: 60px; }
.cell-lg p { font-size: 14.5px; max-width: 34ch; }
.cell-lg .cell-num { font-size: 56px; }

/* 第一行 3+3，第二行 2+2+2 */
.bento > .cell:nth-child(2) { grid-column: span 3; }
.bento > .cell:nth-child(3),
.bento > .cell:nth-child(4) { grid-column: span 2; }
.bento > .cell-cta { grid-column: span 2; }

.cell-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 0;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 62%),
    linear-gradient(135deg, #ff8c1a, #ff4d2e);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.24);
}

.cell-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 106, 0, 0.32);
}

.cell-cta h3 { color: #fff; padding-right: 0; font-size: 18px; }
.cell-cta p { color: rgba(255, 255, 255, 0.86); }
.cell-cta-link { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; }

/* ---------------- 购买条 ---------------- */
.buy-band {
  padding: 44px var(--gutter);
  color: #fff;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 18px, transparent 18px 36px),
    linear-gradient(120deg, #ff8c1a, #ff4d2e);
  scroll-margin-top: 70px;
}

.buy-inner {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.buy-band h2 { color: #fff; font-size: clamp(21px, 2.5vw, 28px); }

.buy-note {
  margin: 10px 0 0;
  max-width: 46em;
  font-size: 13.8px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.btn-white {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent-deep);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 14px 28px rgba(150, 45, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(150, 45, 0, 0.32);
}

/* ---------------- 联系 ---------------- */
.contact {
  padding: 58px var(--gutter) 62px;
  text-align: center;
  background: #fff;
}

.contact h2 { font-size: clamp(22px, 2.6vw, 28px); }

.contact-note {
  margin: 10px 0 0;
  font-size: 13.8px;
  color: var(--muted);
}

.qq-box {
  margin-top: 18px;
  padding: 12px 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #ffd9bf;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.qq-box:hover { background: #ffe4d2; transform: translateY(-1px); }

.qq-box small {
  font-size: 11px;
  font-weight: 500;
  color: #c47a4c;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  padding: 0 var(--gutter) 36px;
  text-align: center;
  font-size: 12.5px;
  color: #b8a293;
}

.site-footer p { margin: 0; }

/* ---------------- 提示条 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 14px);
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  background: rgba(38, 22, 10, 0.94);
  box-shadow: 0 12px 30px rgba(90, 40, 8, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 50;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 使用注意事项（首屏常驻区块） ---------------- */
.guide {
  padding: 60px var(--gutter) 66px;
  background: #fff;
  border-top: 1px solid rgba(36, 20, 8, 0.06);
}

.guide-steps {
  width: min(var(--wrap), 100%);
  margin: 28px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 14px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 800;
}

.steps h4 {
  margin: 2px 0 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.steps p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.steps b { color: var(--accent-deep); font-weight: 800; }

.guide-shots {
  margin: 26px 0 6px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 106, 0, 0.24);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  align-items: start;
}

.guide-shots figure { margin: 0; }

.guide-shots a { display: block; }

.guide-shots img {
  display: block;
  width: 100%;
  max-height: 158px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 0, 0.16);
  background: #fdf8f4;
}

.guide-shots figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* 统一橙色焦点圈，避免浏览器默认蓝框 */
.btn-primary:focus-visible,
.btn-white:focus-visible,
.btn-text:focus-visible,
.nav-link:focus-visible,
.qq-box:focus-visible {
  outline: 2px solid rgba(255, 106, 0, 0.55);
  outline-offset: 2px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-visual { max-width: 460px; }
  .features-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-lg { grid-column: span 2; }
  .cell:nth-child(2),
  .cell:nth-child(3),
  .cell:nth-child(4) { grid-column: span 1; }
  .cell-cta { grid-column: span 1; }
  .buy-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding: 38px var(--gutter) 42px; }
  h1 { font-size: 38px; }
  .hero-actions { gap: 14px; }
  .btn-primary { width: 100%; justify-content: center; height: 52px; }
  .btn-text { order: 2; }
  .hero-meta { font-size: 12px; gap: 6px 12px; }
  .features { padding: 44px var(--gutter) 48px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .cell-lg,
  .cell:nth-child(2),
  .cell:nth-child(3),
  .cell:nth-child(4),
  .cell-cta { grid-column: span 1; }
  .cell-lg { padding: 22px; }
  .cell-lg h3 { font-size: 18px; }
  .cell-num { font-size: 34px; }
  .cell-lg .cell-num { font-size: 40px; }
  .buy-band { padding: 34px var(--gutter); }
  .btn-white { width: 100%; }
  .contact { padding: 44px var(--gutter) 48px; }
  .guide-steps { grid-template-columns: 1fr; }
  .guide-shots { grid-template-columns: 1fr; }
  .steps li { padding-left: 36px; }
}
