/* ============================================================
   mingjuejiqirenguanwang.html — 名爵机器人官网
   Skeleton: centered product hero (image below headline) →
   sticky-index spec sections → module matrix → version timeline →
   principles → CTA
   ============================================================ */

.gw-hero {
  position: relative; padding: 84px 0 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(900px 460px at 50% -10%, rgba(224,182,96,.14), transparent 62%);
}
.gw-hero h1 {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12;
}
.gw-hero h1 em { font-style: normal; color: var(--gold-2); }
.gw-hero .lead { max-width: 640px; margin: 20px auto 0; }
.gw-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.gw-hero-figure {
  margin-top: 54px; border-radius: 24px 24px 0 0; overflow: hidden;
  border: 1px solid var(--line-strong); border-bottom: 0;
  box-shadow: 0 -20px 80px -40px rgba(224,182,96,.35), var(--shadow);
  max-width: 1000px; margin-inline: auto;
}
.gw-hero-figure img { width: 100%; height: auto; }

/* ---------- spec sections with sticky index ---------- */
.spec { padding: 88px 0; border-top: 1px solid var(--line); }
.spec-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.spec-index { position: sticky; top: 100px; }
.spec-index .label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.spec-index ol { display: flex; flex-direction: column; gap: 2px; counter-reset: s; }
.spec-index li { counter-increment: s; }
.spec-index a {
  display: flex; gap: 10px; padding: 9px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--muted); transition: background .2s, color .2s;
}
.spec-index a::before {
  content: "0" counter(s); font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; color: var(--gold); opacity: .7; padding-top: 2px;
}
.spec-index a:hover { background: var(--panel); color: var(--text); }

.spec-body { display: flex; flex-direction: column; gap: 54px; }
.spec-block h2 {
  font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; scroll-margin-top: 100px;
}
.spec-block > p { color: var(--muted); font-size: 15px; max-width: 680px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.spec-item {
  padding: 18px 20px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
}
.spec-item h3 { font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.spec-item h3::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); flex: none;
}
.spec-item p { font-size: 13px; color: var(--muted); }

/* ---------- module matrix ---------- */
.matrix { padding: 0 0 88px; }
.matrix-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.matrix-cell {
  padding: 26px 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transition: background .2s;
}
.matrix-cell:nth-child(4n+1) { border-left: 0; }
.matrix-cell:nth-child(-n+4) { border-top: 0; }
.matrix-cell:hover { background: rgba(224,182,96,.045); }
.matrix-cell .n {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--gold); opacity: .8;
}
.matrix-cell h3 { font-size: 15px; margin: 10px 0 7px; }
.matrix-cell p { font-size: 12.5px; color: var(--muted); }

/* ---------- version timeline (horizontal) ---------- */
.versions { padding: 0 0 88px; }
.vtl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard {
  padding: 26px 24px; border-radius: 16px; position: relative;
  border: 1px solid var(--line); background: var(--panel);
}
.vcard.now { border-color: rgba(224,182,96,.38); background: linear-gradient(180deg, rgba(224,182,96,.09), rgba(224,182,96,.015)); }
.vcard .ver {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px;
  color: var(--gold-2); letter-spacing: .06em;
}
.vcard .date { font-size: 11.5px; color: var(--muted-2); margin-left: 8px; }
.vcard h3 { font-size: 16px; margin: 12px 0 12px; }
.vcard ul { display: flex; flex-direction: column; gap: 8px; }
.vcard li { font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.vcard li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .5; }
.vcard .now-tag {
  position: absolute; top: 18px; right: 18px; font-size: 10.5px; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px; color: #6fe3b4;
  background: rgba(70,211,154,.12); border: 1px solid rgba(70,211,154,.28);
}

/* ---------- principles ---------- */
.principles { padding: 0 0 88px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pr {
  padding: 30px 26px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,.022);
}
.pr .big {
  font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff4d6, var(--gold) 60%, #b98a34);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pr h3 { font-size: 16px; margin: 12px 0 8px; }
.pr p { font-size: 13.5px; color: var(--muted); }

@media (max-width: 1000px) {
  .spec-layout { grid-template-columns: 1fr; gap: 30px; }
  .spec-index { position: static; }
  .spec-index ol { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .spec-index a { border: 1px solid var(--line); }
  .matrix-grid { grid-template-columns: 1fr 1fr; }
  .matrix-cell:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .matrix-cell:nth-child(2n+1) { border-left: 0; }
  .matrix-cell:nth-child(-n+2) { border-top: 0; }
  .vtl, .pr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gw-hero { padding-top: 52px; }
  .gw-hero h1 { font-size: 29px; }
  .gw-hero-figure { margin-top: 36px; border-radius: 18px 18px 0 0; }
  .spec, .matrix, .versions, .principles { padding-bottom: 60px; }
  .spec { padding-top: 60px; }
  .spec-list { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .matrix-cell { border-left: 0 !important; }
  .matrix-cell:nth-child(2) { border-top: 1px solid var(--line); }
}
