:root {
  --ink: #0b1420;
  --navy: #0a1d33;
  --paper: #f6f4ef;
  --blue: #215bff;
  --green: #34e28b;
  --yellow: #ffc83d;
  --red: #ff3d57;
  --muted: #647389;
  --line: rgba(15,31,48,.15);
  --control-radius: 4px;
  --focus-ring: #215bff;
}
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei","PingFang SC",system-ui,sans-serif; }
body { margin: 0; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--control-radius);
}
.purchase-nav {
  width: min(1240px,calc(100% - 48px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.brand-mark { width: 25px; height: 30px; display: flex; flex-direction: column; gap: 2px; }
.brand-mark i { flex: 1; border-radius: 2px; }
.brand-mark i:nth-child(1) { background: var(--navy); }
.brand-mark i:nth-child(2) { background: var(--yellow); }
.brand-mark i:nth-child(3) { background: var(--green); }
.back-link { color: #536278; font-size: 12px; font-weight: 800; }
.purchase-hero {
  width: min(1240px,calc(100% - 48px));
  min-height: 760px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
}
.product-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0d1725;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: 42px 42px;
}
.halo { width: 400px; height: 400px; position: absolute; border: 1px solid #33435a; border-radius: 50%; box-shadow: 0 0 80px rgba(33,91,255,.12); }
.tower { width: 130px; position: relative; z-index: 2; filter: drop-shadow(0 28px 20px rgba(0,0,0,.45)); }
.cap { height: 48px; margin: 0 7px -2px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg,#c5ccce,#fff 38%,#eef0ec 68%,#a9b2b5); box-shadow: inset 0 -5px 8px rgba(60,72,78,.12); }
.lamp { height: 82px; margin: 0 8px; border: 2px solid #090e14; background: repeating-linear-gradient(90deg,rgba(255,255,255,.14) 0 3px,transparent 3px 10px),var(--lamp); box-shadow: inset 0 0 20px rgba(0,0,0,.55); opacity: .86; }
.red { --lamp: #8a2636; }
.yellow { --lamp: #9d7d1f; }
.green { --lamp: #2ed987; box-shadow: 0 0 36px rgba(52,226,139,.48),inset 0 0 18px rgba(255,255,255,.25); }
.controller { height: 95px; margin: 0 7px; display: grid; place-items: center; color: #66727b; border-radius: 0 0 10px 10px; background: linear-gradient(90deg,#adb6b9,#fff 36%,#e8ece8 68%,#9da7aa); font: 900 7px monospace; letter-spacing: .12em; }
.purchase-buzzer { display: flex; gap: 3px; margin-top: -25px; }
.purchase-buzzer i { width: 3px; height: 3px; border-radius: 50%; background: #657078; box-shadow: inset 0 1px 1px rgba(0,0,0,.45); }
.collar { width: 72px; height: 26px; margin: -3px auto 0; border-radius: 5px 5px 9px 9px; background: linear-gradient(90deg,#5d686e,#e5e8e6 40%,#818c90); }
.post { width: 44px; height: 78px; margin: auto; background: linear-gradient(90deg,#4f5a60,#e7eae8 40%,#7f898d); }
.foot { height: 29px; border-radius: 7px 7px 12px 12px; background: linear-gradient(90deg,#515c62,#e1e5e3 36%,#788286); }
.visual-note { position: absolute; left: 24px; bottom: 22px; color: #607089; font: 800 9px monospace; letter-spacing: .16em; }
.eyebrow { margin: 0; color: #58677c; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.purchase-panel h1 { margin: 14px 0 16px; font-size: clamp(48px,5vw,64px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; word-break: auto-phrase; }
.subtitle { margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.availability { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid #cbd4df; border-radius: var(--control-radius); background: rgba(255,255,255,.58); }
.availability div { display: flex; flex-direction: column; gap: 4px; }
.availability b { font-size: 13px; }
.availability small { color: var(--muted); font-size: 11px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 7px rgba(255,200,61,.17); }
.price-row,.quantity-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.price-row span,.quantity-row > span,.choice-label { color: var(--muted); font-size: 12px; font-weight: 800; }
.price-row strong { font-size: 27px; }
.choice-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.choice-label { display: block; margin-bottom: 10px; }
.choice { width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 15px; border: 2px solid var(--blue); border-radius: var(--control-radius); background: #fff; cursor: pointer; }
.choice small { color: var(--muted); font-size: 11px; }
.stepper { display: flex; align-items: center; overflow: hidden; border: 1px solid #aeb9c7; border-radius: var(--control-radius); background: white; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 19px; }
.stepper output { min-width: 38px; text-align: center; font-weight: 900; }
.buy-now { width: 100%; min-height: 52px; margin-top: 22px; padding: 18px 22px; display: flex; justify-content: space-between; color: white; border: 0; border-radius: var(--control-radius); background: var(--blue); cursor: pointer; font-weight: 900; box-shadow: 0 16px 34px rgba(33,91,255,.23); }
.buy-now:hover { background: #1749d8; }
.safe-note { color: #8793a3; text-align: center; font-size: 10px; }
.included { width: min(1240px,calc(100% - 48px)); margin: auto; padding: 40px 0 120px; border-top: 1px solid var(--line); }
.included h2 { max-width: 650px; margin: 10px 0 36px; font-size: clamp(40px,4vw,56px); line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; word-break: auto-phrase; }
.included-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.included article { min-height: 180px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.included article span { color: var(--blue); font: 900 10px monospace; }
.included article b { margin-top: auto; font-size: 17px; }
.included article small { color: var(--muted); line-height: 1.6; }
dialog { width: min(460px,calc(100% - 32px)); padding: 36px; color: var(--ink); border: 0; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(6,13,22,.62); backdrop-filter: blur(5px); }
dialog h2 { margin: 12px 0; font-size: 30px; }
dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.dialog-close { width: 44px; height: 44px; position: absolute; top: 8px; right: 8px; border: 0; border-radius: var(--control-radius); background: transparent; cursor: pointer; font-size: 24px; }
.dialog-confirm { width: 100%; min-height: 44px; padding: 14px; color: white; border: 0; border-radius: var(--control-radius); background: var(--ink); cursor: pointer; font-weight: 800; }
@media(max-width:850px){
  .purchase-hero { grid-template-columns: 1fr; gap: 40px; }
  .product-visual { min-height: 560px; }
  .included-grid { grid-template-columns: 1fr; }
}
@media(max-width:520px){
  .purchase-nav,.purchase-hero,.included { width: calc(100% - 28px); }
  .purchase-hero { padding-top: 28px; }
  .product-visual { min-height: 500px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
