/* ========================================================================
   美辰信息技术 · Web3D 数字孪生 — 工业风扁平化 (v2)
   配色：深炭灰 #0B0D12 + 三色强调 (工业橙 / 仪表绿 / 钢蓝)
   字体：PingFang / 等宽 (JetBrains Mono)
   去除：玻璃磨砂、彩色光斑、装饰大图标、emoji、阴影
   ======================================================================== */

:root {
  /* ===== 深色背景层级 ===== */
  --c-bg-0: #0B0D12;
  --c-bg-1: #13161D;
  --c-bg-2: #1A1F2A;
  --c-bg-3: #232936;

  /* ===== 强调色（工业风三色） ===== */
  --c-accent-orange: #FF6B1A;   /* 工业橙 - 主操作 / 关键强调 */
  --c-accent-teal: #00C2A8;     /* 仪表绿 - 设备状态 / 在线指示 */
  --c-accent-blue: #4A90E2;     /* 钢蓝 - 链接 / 主设备 */
  --c-warn: #E63946;            /* 警示红 - 告警节点 */

  /* ===== 文字层级 ===== */
  --c-text-1: #E6E9F2;
  --c-text-2: #8B95A7;
  --c-text-3: #5C6573;
  --c-text-4: #3D4453;

  /* ===== 边线 / 分隔 ===== */
  --c-border-1: #1F2530;
  --c-border-2: #2A3140;
  --c-border-3: #383F4E;

  /* ===== 间距 / 圆角 / 字体 ===== */
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;

  --ff-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", ui-monospace, Menlo, Consolas, monospace;
}

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

body {
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-1);
  background: var(--c-bg-0);
  min-width: 1280px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}
button:focus-visible {
  outline: 2px solid var(--c-accent-orange);
  outline-offset: 2px;
}

ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ========================================================================
   背景：深炭灰 + 极细点阵网格 + 四角工业角标
   ======================================================================== */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: var(--c-bg-0);
}
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(230, 233, 242, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.corner-mark {
  position: absolute;
  font-family: var(--ff-mono);
  font-size: 18px;
  color: var(--c-text-3);
  font-weight: 300;
}
.corner-mark--tl { top: 16px; left: 16px; }
.corner-mark--tr { top: 16px; right: 16px; }
.corner-mark--bl { bottom: 16px; left: 16px; }
.corner-mark--br { bottom: 16px; right: 16px; }

/* ========================================================================
   通用文字角色
   ======================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-accent-orange);
  text-transform: uppercase;
}
.accent {
  color: var(--c-accent-orange);
  position: relative;
}

/* ========================================================================
   按钮 — 单色填充 / 等宽字体 / 无渐变
   ======================================================================== */
.btn-primary,
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 20px;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn-primary {
  background: var(--c-accent-orange);
  color: var(--c-bg-0);
}
.btn-primary:hover {
  background: #FF8A47;
  transform: translateY(-1px);
}
.btn-primary__arrow { font-size: 14px; line-height: 1; }

.btn-primary--lg { height: 50px; padding: 0 26px; font-size: 14px; }

.btn-ghost {
  background: transparent;
  color: var(--c-text-1);
  border: 1px solid var(--c-border-3);
}
.btn-ghost:hover {
  background: var(--c-bg-2);
  border-color: var(--c-text-2);
  color: var(--c-text-1);
}
.btn-ghost__arrow { font-size: 14px; line-height: 1; opacity: 0.7; }
.btn-ghost--lg { height: 50px; padding: 0 26px; font-size: 14px; }

/* ========================================================================
   顶部导航 — 单色扁平
   ======================================================================== */
.top-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, 0.92);
  border-bottom: 1px solid var(--c-border-1);
  padding: 0 32px;
}
.top-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 0; background: transparent; border: 0; cursor: pointer;
  text-decoration: none; color: inherit;
}
.brand:hover { opacity: 0.85; }
.brand__img {
  height: 38px; width: auto; display: block;
}
.brand__text {
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1;
}
.brand__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-1);
}
.brand__sub {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav__item,
.primary-nav__item:link,
.primary-nav__item:visited {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px;
  font-family: var(--ff-mono);
  font-size: 13px; letter-spacing: 0.06em;
  line-height: 1;
  color: var(--c-text-2);
  border-radius: 0;
  transition: color 160ms ease, background 160ms ease;
  border: 0; background: transparent;
  text-decoration: none; cursor: pointer;
  vertical-align: top;
}
.primary-nav__item::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--c-accent-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms ease;
}
.primary-nav__item:hover { color: var(--c-text-1); }
.primary-nav__item:hover::after { transform: scaleX(1); }
.primary-nav__item.is-active { color: var(--c-text-1); }
.primary-nav__item.is-active::after { transform: scaleX(1); }

.top-nav__actions { display: flex; align-items: center; gap: 16px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--c-text-2);
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-1);
  border-radius: 999px;
}
.status-pill__dot {
  width: 6px; height: 6px;
  background: var(--c-accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.5);
  animation: status-pulse 2.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0, 194, 168, 0); }
}

/* ========================================================================
   Section 通用
   ======================================================================== */
section {
  position: relative;
  padding: var(--sp-9) 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.section-head {
  max-width: 800px;
  margin: 0 auto var(--sp-8);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-title {
  margin: 14px 0 16px;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text-1);
}
.section-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero { padding-top: 64px; padding-bottom: var(--sp-8); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__title {
  margin: 4px 0 0;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text-1);
}
.hero__lede {
  margin: 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}
.hero__tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-1);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
}
.tag-no {
  color: var(--c-accent-orange);
  font-weight: 600;
}
.tag-text { color: var(--c-text-1); }

.hero__ctas { display: flex; gap: 12px; margin-top: 10px; }

/* ========================================================================
   Stage — 工业 HMI 风格的 3D 容器
   ======================================================================== */
.stage {
  position: relative;
  padding: 18px;
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-2);
}
.stage__corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--c-accent-orange);
}
.stage__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.stage__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.stage__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.stage__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.stage__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 4px 14px;
  border-bottom: 1px solid var(--c-border-1);
  margin-bottom: 14px;
}
.stage__id {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-text-2);
}
.stage__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-accent-teal);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent-teal);
}
.status-dot--ok {
  animation: status-pulse 2.4s ease-in-out infinite;
}
.status-dot--warn { background: var(--c-warn); }

.stage__body {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #050608;
  border: 1px solid var(--c-border-1);
  overflow: hidden;
}
.stage__body--wide { aspect-ratio: 16 / 9; }
.stage__body canvas {
  display: block; width: 100%; height: 100%;
  cursor: grab;
}
.stage__body canvas:active { cursor: grabbing; }

.stage__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--c-border-1);
}
.param {
  padding: 12px 14px;
  border-right: 1px solid var(--c-border-1);
  display: flex; flex-direction: column; gap: 4px;
}
.param:last-child { border-right: 0; }
.param__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--c-text-3);
}
.param__value {
  font-family: var(--ff-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text-1);
  font-variant-numeric: tabular-nums;
}
.param__value--warn { color: var(--c-warn); }

.stage__hint {
  margin: 10px 0 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
  text-align: center;
}

/* ========================================================================
   Cases — 4 个应用场景（扁平卡片）
   ======================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-border-1);
}
.case-item {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: var(--c-bg-1);
  border-right: 1px solid var(--c-border-1);
  transition: background 180ms ease;
  min-height: 240px;
}
.case-item:last-child { border-right: 0; }
.case-item:hover {
  background: var(--c-bg-2);
}
.case-item__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.case-item__no {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-accent-orange);
  font-weight: 600;
}
.case-item__rule {
  flex: 1;
  height: 1px;
  background: var(--c-border-2);
}
.case-item__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}
.case-item__icon {
  display: block;
  color: var(--c-accent-teal);
  margin-bottom: 18px;
}
.case-item__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text-1);
  letter-spacing: 0.01em;
}
.case-item__desc {
  margin: 0 0 auto;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.case-item__foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border-1);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
}

/* ========================================================================
   数字孪生
   ======================================================================== */
.twin-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.twin-stage-wrap {
  display: flex; flex-direction: column; gap: 16px;
}

.twin-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-border-1);
}
.ctrl-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px 22px;
  background: var(--c-bg-1);
  cursor: pointer;
  transition: background 180ms ease;
  border-right: 1px solid var(--c-border-1);
  text-align: left;
}
.ctrl-btn:last-child { border-right: 0; }
.ctrl-btn:hover { background: var(--c-bg-2); }
.ctrl-btn__no {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}
.ctrl-btn__label {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text-1);
}
.ctrl-btn__sub {
  font-size: 12px;
  color: var(--c-text-2);
}
.ctrl-btn--cyan .ctrl-btn__label { color: var(--c-accent-teal); }
.ctrl-btn--cyan:hover { border-top: 2px solid var(--c-accent-teal); padding-top: 17px; }
.ctrl-btn--orange .ctrl-btn__label { color: var(--c-accent-orange); }
.ctrl-btn--orange:hover { border-top: 2px solid var(--c-accent-orange); padding-top: 17px; }

.twin-info {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-1);
  gap: 18px;
}
.twin-info__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-text-1);
}
.twin-info__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
}

.twin-list {
  display: flex; flex-direction: column;
  margin-top: 8px;
}
.twin-list__item {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 14px;
  align-items: stretch;
  padding: 16px 0;
  border-top: 1px solid var(--c-border-1);
}
.twin-list__item:last-child { border-bottom: 1px solid var(--c-border-1); }
.twin-list__bar {
  background: var(--bar-color, var(--c-accent-blue));
}
.twin-list__body {
  display: flex; flex-direction: column; gap: 4px;
}
.twin-list__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-1);
}
.twin-list__text {
  display: block;
  font-size: 12.5px;
  color: var(--c-text-2);
  line-height: 1.5;
}
.twin-list__meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
  align-self: center;
}

/* ========================================================================
   Core Tech — 4 个技术卡片
   ======================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-border-1);
}
.tech-item {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: var(--c-bg-1);
  border-right: 1px solid var(--c-border-1);
  min-height: 220px;
  transition: background 180ms ease;
}
.tech-item:last-child { border-right: 0; }
.tech-item:hover { background: var(--c-bg-2); }
.tech-item__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.tech-item__no {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-accent-orange);
  font-weight: 600;
}
.tech-item__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}
.tech-item__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text-1);
}
.tech-item__desc {
  margin: 0 0 auto;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.tech-item__metrics {
  display: flex; gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border-1);
}
.metric {
  display: flex; flex-direction: column; gap: 2px;
}
.metric strong {
  font-family: var(--ff-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-accent-teal);
  font-variant-numeric: tabular-nums;
}
.metric span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}

/* ========================================================================
   CTA — 单色块
   ======================================================================== */
.cta { padding-top: var(--sp-8); padding-bottom: var(--sp-7); }
.cta-block {
  padding: 56px 48px;
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-2);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  position: relative;
}
.cta-block__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-accent-orange);
}
.cta-block__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-text-1);
  max-width: 720px;
}
.cta-block__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2);
  max-width: 540px;
}
.cta-block__actions { margin-top: 10px; }
.cta-block__meta {
  display: flex; gap: 32px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-border-1);
  list-style: none;
}
.cta-block__meta li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--c-text-2);
}
.cta-block__meta-no {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-accent-orange);
}

/* ========================================================================
   Footer — 单色极简
   ======================================================================== */
.site-footer {
  border-top: 1px solid var(--c-border-1);
  background: var(--c-bg-0);
  padding: 48px 32px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border-1);
}
.site-footer__brand-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}
.site-footer__brand-link:hover { opacity: 0.85; }
.site-footer__brand-img {
  display: block;
  width: auto; height: 44px;
  margin-bottom: 16px;
}
.site-footer__brand-mark {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text-1);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.site-footer__brand-sub {
  margin: 0 0 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}
.site-footer__brand-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2);
  max-width: 380px;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.site-footer__col h4 {
  margin: 0 0 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
  font-weight: 600;
}
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col button {
  font-size: 13px;
  color: var(--c-text-2);
  padding: 0;
  transition: color 160ms ease;
}
.site-footer__col button:hover { color: var(--c-accent-orange); }

.site-footer__bottom {
  padding-top: 20px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-text-3);
}
.site-footer__bottom button {
  background: none; border: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.site-footer__bottom button:hover {
  color: var(--c-text-1);
  text-decoration-color: var(--c-accent-orange);
}
.site-footer__sep { color: var(--c-text-4); }

/* ========================================================================
   Modal — 单色 QR
   ======================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.modal.is-visible { visibility: visible; opacity: 1; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.modal__content {
  position: relative;
  max-width: 380px;
  width: 100%;
  padding: 36px 32px 28px;
  text-align: center;
  background: var(--c-bg-1);
  border: 1px solid var(--c-border-2);
  transform: scale(0.95);
  transition: transform 240ms ease;
}
.modal.is-visible .modal__content { transform: scale(1); }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  font-size: 22px;
  color: var(--c-text-3);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 160ms ease;
}
.modal__close:hover { color: var(--c-text-1); }
.modal__eyebrow {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-accent-orange);
  margin-bottom: 12px;
}
.modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text-1);
}
.modal__sub {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-2);
}
.modal__qr {
  display: inline-block;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 18px;
}
.modal__qr-img { display: block; width: 180px; height: 180px; border-radius: 2px; }
.modal__tip {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-text-3);
}

/* ========================================================================
   响应式
   ======================================================================== */
@media (max-width: 1440px) {
  .hero__title { font-size: 48px; }
  .section-title { font-size: 30px; }
}

@media (max-width: 1280px) {
  body { min-width: 1280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}