/* AumLaser —— 虚构的工业光纤激光设备厂。整站样式一份，没有构建步骤。
   配色和头部跟同系列其余原型一致。 */
:root {
  --blue: #003e7e;
  --orange: #ed6500;
  --ink: #1a1a1a;
  --muted: #777;
  --line: #e1e1e1;
  --paper: #faf8f6;
  --good: #3f9c5d;
  --bad: #b4503c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.45 Manrope, Arial, sans-serif; }
h1, h2, h3 { margin: 0; }

/* ── 站点头 ───────────────────────────────────────────── */
.site-header {
  height: 76px; display: flex; align-items: center; gap: 54px;
  padding: 0 max(34px, calc((100vw - 1320px) / 2 + 34px));
  border-bottom: 1px solid #e5e5e5; background: #fff;
}
.wordmark { display: flex; align-items: center; gap: 9px; color: #111; text-decoration: none; letter-spacing: 1.1px; font-size: 12px; }
.wordmark-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font: italic 15px Georgia, serif; }
.wordmark strong span { font-weight: 500; color: #777; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 29px; flex: 1; }
.main-nav a { height: 100%; display: flex; align-items: center; position: relative; color: #676467; text-decoration: none; font-size: 11px; }
.main-nav a.active { color: #151515; font-weight: 700; }
.main-nav a.active:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions > button[aria-label='Search'] { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; background: none; color: #252525; }
.header-actions > button[aria-label='Search'] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-button { padding: 10px 13px; border: 1px solid #cfc9c3; border-radius: 4px; background: none; font-size: 11px; font-weight: 700; cursor: pointer; }

/* ── 支持页 ───────────────────────────────────────────── */
.support-shell { max-width: 1320px; margin: 0 auto; padding: 42px 34px 96px; }
.eyebrow { font: 600 10px/1 monospace; letter-spacing: 1.1px; color: var(--muted); text-transform: uppercase; transition: color .4s; }
.eyebrow.identified { color: var(--good); }
.support-head h1 { margin-top: 13px; font-size: 38px; letter-spacing: -.9px; }
.lede { margin: 11px 0 0; max-width: 62ch; color: #5f5b58; font-size: 14px; line-height: 1.6; }
.model-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; transition: opacity .4s; }
.model { padding: 9px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 12px; font-weight: 600; color: #45413e; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.model.on { border-color: var(--orange); background: #fff4ea; color: #a55a10; }
/* 认出机器之后，型号选择就是多余的 —— 我们已经知道是哪一台了 */
.model-row.resolved { display: none; }

.machine-card {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 26px;
  margin: 20px 0 0; padding: 18px 20px; border-radius: 10px;
  background: var(--paper); border: 1px solid #eceae6;
  animation: fade-up .45s ease both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
.machine-card dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.machine-card dd { margin: 6px 0 0; font-size: 14px; font-weight: 700; }
.machine-card dd.ok { color: var(--good); }

/* ── 资料柜 ───────────────────────────────────────────── */
.docs-panel { margin-top: 34px; }
.docs-head { display: flex; align-items: baseline; gap: 14px; }
.docs-head h2 { font-size: 20px; letter-spacing: -.4px; }
.docs-head p { margin: 0; font-size: 12px; color: var(--muted); transition: color .4s; }
.docs-head p.tuned { color: var(--orange); font-weight: 700; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.doc {
  display: flex; align-items: flex-start; gap: 11px; padding: 15px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .4s, box-shadow .4s;
}
.doc.tuned { border-color: #d8d2cb; box-shadow: 0 6px 20px #0000000a; }
.doc svg { width: 17px; height: 17px; flex: none; margin-top: 1px; fill: none; stroke: #a9a29a; stroke-width: 1.5; stroke-linejoin: round; transition: stroke .4s; }
.doc.tuned svg { stroke: var(--orange); }
.doc b { display: block; font-size: 13px; }
.doc span { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.doc span.match { color: #a55a10; font-weight: 700; }

/* ── 保修与售后 ───────────────────────────────────────── */
.after-panel { margin-top: 34px; animation: fade-up .5s ease both; }
.warranty-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: background .5s, border-color .5s; }
.warranty-card.active { background: #f5fbf7; border-color: #cbe6d4; }
.w-head { display: flex; align-items: baseline; gap: 14px; }
.w-label { font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.w-head b { font-size: 20px; letter-spacing: -.4px; color: var(--muted); transition: color .5s; }
.warranty-card.active .w-head b { color: var(--good); }
.w-grid { display: flex; flex-wrap: wrap; gap: 34px; margin: 16px 0 0; animation: fade-up .45s ease both; }
.w-grid dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.w-grid dd { margin: 7px 0 0; font-size: 15px; font-weight: 700; }
.w-grid dd b { font-size: 24px; color: var(--good); letter-spacing: -.5px; }
.w-note { margin: 14px 0 0; font-size: 11px; color: #6d6864; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; animation: fade-up .5s ease both; }
.svc { padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; }
.svc-kind { font: 500 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.svc h3 { margin: 9px 0 0; font-size: 13px; }
.svc b { display: block; margin-top: 9px; font-size: 16px; letter-spacing: -.3px; }
.svc p { margin: 8px 0 0; font-size: 11px; line-height: 1.55; color: #6d6864; }

/* ── 浮动入口 + 验证面板 ──────────────────────────────── */
.verify-trigger {
  position: fixed; z-index: 6; right: 26px; bottom: 26px;
  display: flex; align-items: center; gap: 9px;
  padding: 14px 20px; border: 0; border-radius: 30px;
  background: #171717; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px #0000002e;
}
.verify-trigger svg { width: 17px; height: 17px; fill: none; stroke: #ff984d; stroke-width: 1.6; stroke-linejoin: round; }

.verify-panel {
  position: fixed; z-index: 7; right: 26px; bottom: 26px;
  display: flex; flex-direction: column;
  width: 460px; max-height: calc(100dvh - 52px);
  border-radius: 14px; background: #fff; box-shadow: 0 26px 70px #00000029;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .28s, transform .28s, visibility .28s;
}
.verify-panel.open { opacity: 1; visibility: visible; transform: none; }
.verify-panel header { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px 15px; border-bottom: 1px solid #f0ece8; }
.verify-panel header span { font: 600 9px/1 monospace; letter-spacing: 1px; color: var(--orange); text-transform: uppercase; transition: color .4s; }
.verify-panel header span.bad { color: var(--bad); }
.verify-panel header span.good { color: var(--good); }
.verify-panel header h2 { margin-top: 8px; font-size: 17px; letter-spacing: -.3px; }
.verify-panel header > button { align-self: start; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: #8b8580; cursor: pointer; }
.verify-panel header > button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.verify-content { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 22px 22px; }
.stage-note { margin: 12px 0 0; font-size: 10px; color: #9b9590; text-align: center; }
.v-intro { margin: 0 0 14px; font-size: 12px; line-height: 1.65; color: #5f5b58; }

/* 铭牌 */
.plate { padding: 14px 16px; border-radius: 8px; background: #232120; color: #ded9d3; }
.plate-brand { font: 700 10px/1 monospace; letter-spacing: 2px; color: #8d867f; }
.plate-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.plate-row span { font: 500 9px/1 monospace; letter-spacing: .5px; color: #8d867f; }
.plate-row b { font: 700 13px/1 DM Mono, monospace; letter-spacing: .8px; }

.serial-field { display: flex; gap: 8px; margin-top: 14px; }
.serial-field input {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font: 600 13px/1.2 DM Mono, monospace; letter-spacing: .8px; text-transform: uppercase;
  transition: border-color .3s, background .3s;
}
.serial-field.bad input { border-color: #e0b6ab; background: #fdf6f4; }
.serial-field .btn-primary { width: auto; margin: 0; flex: none; }
.v-error { display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 0; font-size: 12px; color: var(--bad); animation: shake .35s ease; }
.v-error i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--bad); flex: none; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.quick-fill { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.quick-fill > span { padding: 3px 7px; border-radius: 4px; background: #f1eeea; font: 600 9px/1.5 monospace; letter-spacing: .5px; color: #8a847e; text-transform: uppercase; }
.quick-fill button { padding: 6px 11px; border: 1px dashed #cfc9c3; border-radius: 16px; background: #fff; font-size: 11px; color: #6d6864; cursor: pointer; }

/* 检查中 */
.checking { padding: 30px 4px; text-align: center; }
.scan { position: relative; height: 60px; margin-bottom: 16px; border-radius: 8px; background: #f4f1ee; overflow: hidden; }
.scan i { position: absolute; top: 0; bottom: 0; width: 34%; background: linear-gradient(90deg, transparent, #ed650040, transparent); animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { left: -34%; } to { left: 100%; } }
.checking p { margin: 0; font-size: 12px; color: #5f5b58; }

/* 结论 */
.verdict { display: grid; justify-items: center; gap: 8px; padding: 20px 10px; border-radius: 10px; background: #f5fbf7; border: 1px solid #cbe6d4; text-align: center; }
.verdict.warm { background: #fff8f1; border-color: #f0dcc8; }
.verdict-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 3px 12px #0000000f; }
.verdict-mark svg { width: 21px; height: 21px; fill: none; stroke: var(--good); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: draw .5s ease both; }
@keyframes draw { from { opacity: 0; transform: scale(.7); } }
.verdict b { font-size: 18px; letter-spacing: -.4px; }
.verdict p { margin: 0; font-size: 12px; color: #5f5b58; }
.verdict p b { font-size: 26px; color: var(--good); }

.v-record { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; margin: 15px 0 0; }
.v-record dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.v-record dd { margin: 5px 0 0; font-size: 13px; font-weight: 700; }

.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field { display: block; }
.field.wide { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 6px; font: 500 9px/1 monospace; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: 12px/1.4 Manrope, Arial, sans-serif; }
.confirm { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; font-size: 11px; line-height: 1.5; color: #5f5b58; }
.confirm input { margin-top: 1px; accent-color: var(--orange); }
.done-copy { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: #5f5b58; }

.btn-primary { width: 100%; margin-top: 14px; padding: 13px; border: 0; border-radius: 6px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; cursor: pointer; }
.btn-ghost { width: 100%; margin-top: 16px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }

/* ── Toast ───────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 34px;
  padding: 12px 20px; border-radius: 8px; background: #1c1a18; color: #fff;
  font-size: 12px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 窄屏 ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .site-header { gap: 20px; padding: 0 18px; }
  .main-nav { display: none; }
  .support-shell { padding: 24px 18px 80px; }
  .support-head h1 { font-size: 27px; }
  .machine-card { grid-template-columns: 1fr 1fr; }
  .w-grid { gap: 22px; }
  .reg-grid { grid-template-columns: 1fr; }
  .verify-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); }
  .verify-trigger { right: 12px; bottom: 12px; }
}
