/* ==========================================================================
   UMMDJ — 暗黑赛博朋克视觉系统
   ========================================================================== */

:root {
  --bg: #07070b;
  --bg-2: #0c0c13;
  --panel: #111119;
  --panel-2: #16161f;
  --line: #262633;
  --line-hot: #3a3a4d;

  --text: #eae9f0;
  --muted: #8b8a9e;
  --dim: #63626f;

  --hot: #ff2d6f;
  --hot-2: #ff6b3d;
  --cool: #00e5ff;
  --acid: #c6ff3d;
  --violet: #7b5cff;

  --glow-hot: 0 0 22px rgba(255, 45, 111, .5);
  --glow-cool: 0 0 22px rgba( 0, 229, 255, .45);

  --font: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --pad: 28px;
  --max: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 扫描线 + 网格纹理 */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    to bottom, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px
  );
  mix-blend-mode: overlay;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  background:
    linear-gradient(rgba(255, 45, 111, .05) 1px, transparent 1px) 0 0 / 100% 60px,
    linear-gradient(90deg, rgba(0, 229, 255, .045) 1px, transparent 1px) 0 0 / 60px 100%;
  mask-image: radial-gradient(ellipse 130% 90% at 50% 0%, #000 20%, transparent 78%);
}

::selection { background: var(--hot); color: #fff; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--hot), var(--violet));
  border: 2px solid var(--bg-2);
}

/* ---------- 布局 ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 108px 0; position: relative; }
.section--soft { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--cool);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--hot), transparent);
}

.h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: pre-line;
}
.h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--hot), var(--hot-2) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  color: var(--muted);
  margin-top: 16px;
  max-width: 62ch;
  white-space: pre-line;
}

.sec-head { margin-bottom: 54px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1000;
  height: 74px;
  display: flex; align-items: center;
  background: rgba(7, 7, 11, .72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(7, 7, 11, .94); }
.nav__in {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-weight: 700;
  font-size: 19px; letter-spacing: .12em;
  text-decoration: none; color: var(--text);
}
.logo__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hot), var(--violet));
  color: #fff; font-size: 15px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  box-shadow: var(--glow-hot);
}

/* ---------- 官方品牌 logo ---------- */
.brandmark {
  position: relative;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(255, 45, 111, .38));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s;
}
.brandmark__glow {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 111, .3);
  pointer-events: none;
  animation: markPulse 3.4s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.06); opacity: 0; }
}
a.logo:hover .brandmark,
.logo:hover .brandmark { transform: scale(1.07) rotate(-4deg); filter: drop-shadow(0 0 26px rgba(255, 45, 111, .6)); }

.logo__txt { display: grid; line-height: 1.15; }
.logo__txt b { font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.logo__txt i {
  font-style: normal;
  font-size: 9.5px; letter-spacing: .2em;
  color: var(--cool); opacity: .8;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 15px;
  position: relative;
  transition: color .22s;
}
.nav__links a::after {
  content: ''; position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1px; background: var(--hot);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta {
  background: var(--hot);
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 700;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  box-shadow: var(--glow-hot);
  transition: filter .2s, transform .2s;
}
.nav__cta::after { display: none; }
.nav__cta:hover { filter: brightness(1.16); transform: translateY(-1px); }

.nav__burger { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  border: 0; background: none; color: var(--text);
  transition: transform .2s, filter .2s, background .2s, border-color .2s;
}
.btn--primary {
  background: linear-gradient(100deg, var(--hot), var(--hot-2));
  color: #fff;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  box-shadow: var(--glow-hot);
}
.btn--primary:hover { filter: brightness(1.14); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line-hot);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover {
  border-color: var(--cool);
  color: var(--cool);
  box-shadow: var(--glow-cool);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
/* 关键：.hero 是 flex 容器，唯一的子元素（data-render="hero"）若不显式撑满，
   会按内容宽度收缩，导致内部 .wrap 被压成半幅宽、整块内容偏左。 */
.hero > [data-render="hero"] {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 45, 111, .3), transparent 42%),
    radial-gradient(circle at 84% 72%, rgba(123, 92, 255, .3), transparent 46%),
    radial-gradient(circle at 62% 12%, rgba(0, 229, 255, .16), transparent 38%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 100% 78% at 50% 46%, #000 12%, transparent 76%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift { to { background-position: 62px 62px, 62px 62px; } }

.hero__in { position: relative; z-index: 2; }

/* 首屏主区占满整宽；徽章绝对定位悬浮，不占布局宽度（避免挤压主区导致整体偏左） */
.hero__cols {
  display: block;
  position: relative;
  margin-bottom: 58px;
}
.hero__main {
  min-width: 0;
  max-width: 100%;
}

/* 首屏品牌徽章：绝对定位到右下，不占据布局宽度，也不与标题争空间 */
.hero__side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 206px;
  pointer-events: none;
  z-index: 1;
}
.hero__badge {
  position: relative;
  display: grid; justify-items: center; gap: 16px;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 45, 111, .16), transparent 68%),
    rgba(7, 7, 11, .6);
  backdrop-filter: blur(8px);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.hero__badge-txt { display: grid; justify-items: center; gap: 5px; text-align: center; }
.hero__badge-txt b {
  font-family: var(--mono); font-size: 17px; font-weight: 800;
  letter-spacing: .16em; color: var(--text);
}
.hero__badge-txt i {
  font-style: normal; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .16em;
  color: var(--cool); opacity: .85;
  max-width: 180px; line-height: 1.6;
}
.hero__kicker {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .42em; color: var(--acid);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(52px, 12vw, 148px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.045em;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--hot) 5%, var(--hot-2) 42%, var(--violet) 78%, var(--cool));
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 0 62px rgba(255, 45, 111, .34);
}
.hero__sub {
  color: var(--muted); font-size: clamp(15px, 1.6vw, 18px);
  max-width: 54ch; white-space: pre-line;
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 62px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  /* 保险：无论外层容器如何变化，始终铺满可用宽度并与内容区对齐 */
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}
.stat { background: rgba(7, 7, 11, .8); padding: 24px 20px; }
.stat__v {
  font-family: var(--mono); font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800; color: var(--hot);
  letter-spacing: -.02em;
}
.stat__l { font-size: 12px; color: var(--dim); letter-spacing: .12em; margin-top: 5px; }

/* 故障标题 */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  clip-path: inset(0 0 62% 0);
  opacity: .82;
  animation: glitchA 3.4s infinite steps(2);
}
.glitch::before { color: var(--cool); }
.glitch::after { color: var(--hot); animation-delay: .18s; clip-path: inset(58% 0 0 0); }
@keyframes glitchA {
  0%, 88%, 100% { transform: translate(0, 0); }
  89% { transform: translate(-4px, -2px); }
  91% { transform: translate(5px, 1px); }
  93% { transform: translate(-3px, 2px); }
  95% { transform: translate(2px, -1px); }
}

/* ---------- 跑马灯 ---------- */
.mq { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 15px 0; }
.mq-track { display: flex; width: max-content; animation: mqScroll 32s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.mq-set span {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.mq-set span::after { content: ' //'; color: var(--hot); }
@keyframes mqScroll { to { transform: translateX(-50%); } }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 26px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--hot), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-hot);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .6), var(--glow-hot);
}
.card:hover::before { transform: scaleX(1); }

.card__tag {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .22em; color: var(--cool);
  margin-bottom: 12px;
}
.card__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.card__sub { color: var(--hot); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.card__text { color: var(--muted); font-size: 14.5px; white-space: pre-line; }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card__price {
  font-family: var(--mono); font-size: 21px;
  font-weight: 800; color: var(--acid);
}

/* 课程卡专属 */
.course__price {
  position: absolute; top: 26px; right: 26px;
  font-family: var(--mono); font-size: 19px;
  font-weight: 800; color: var(--acid);
}
.course__outline {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line-hot);
  font-family: var(--mono); font-size: 12.5px;
  color: var(--dim); white-space: pre-line; line-height: 1.95;
}

/* 导师卡 */
.teacher__avatar {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hot), var(--violet));
  font-family: var(--mono); font-size: 30px; font-weight: 800;
  color: #fff; margin-bottom: 18px;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 76% 100%, 0 100%);
}
.teacher__avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher__name { font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.teacher__role { color: var(--hot); font-size: 13px; font-weight: 600; margin: 4px 0 12px; }
.teacher__tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  color: var(--cool); letter-spacing: .1em;
  border: 1px solid var(--line-hot);
  padding: 4px 10px; margin-bottom: 14px;
}

/* ---------- 作品展示 ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: 34px;
}
.filter {
  padding: 9px 20px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .12em;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .24s;
}
.filter:hover { border-color: var(--line-hot); color: var(--text); }
.filter.is-on {
  background: var(--hot); color: #fff;
  border-color: var(--hot);
  box-shadow: var(--glow-hot);
}

.work {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-5px); border-color: var(--line-hot); box-shadow: 0 20px 48px rgba(0,0,0,.55); }
.work__head {
  padding: 22px 22px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.work__kind {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .2em; padding: 4px 9px;
  border: 1px solid var(--line-hot); color: var(--cool);
}
.work__kind--video { color: var(--hot); border-color: var(--hot); }
.work__title { font-size: 19px; font-weight: 800; margin-top: 12px; }
.work__artist { color: var(--muted); font-size: 13px; margin-top: 3px; }
.work__desc { color: var(--dim); font-size: 13px; padding: 10px 22px 0; white-space: pre-line; }
.work__player { padding: 18px 22px 4px; }
.work__foot {
  padding: 14px 22px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto;
}
.work__dur { font-family: var(--mono); font-size: 12px; color: var(--dim); }

audio { width: 100%; height: 38px; filter: invert(0.92) hue-rotate(180deg); }
video { width: 100%; display: block; background: #000; }

.play-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(100deg, var(--hot), var(--hot-2));
  color: #fff; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: filter .2s;
}
.play-btn:hover { filter: brightness(1.16); }
.play-btn[disabled] { opacity: .5; cursor: wait; }
.play-btn__ico { font-size: 11px; }

/* ---------- 评价 ---------- */
.quote__stars { color: var(--hot); letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.quote__text { color: var(--text); font-size: 15.5px; line-height: 1.85; white-space: pre-line; }
.quote__who {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote__av {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line-hot);
  font-family: var(--mono); font-size: 15px; color: var(--cool);
}
.quote__name { font-weight: 700; font-size: 14px; }
.quote__course { color: var(--dim); font-size: 12px; }

/* ---------- FAQ ---------- */
.faq__q {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font); font-size: 16px; font-weight: 700;
  text-align: left; cursor: pointer;
  transition: border-color .24s, background .24s;
}
.faq__q:hover { border-color: var(--line-hot); background: var(--panel-2); }
.faq__item.is-open .faq__q { border-color: var(--hot); color: var(--hot); }
.faq__ico {
  margin-left: auto; font-family: var(--mono);
  color: var(--hot); font-size: 20px; line-height: 1;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq__item.is-open .faq__ico { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
  background: var(--bg-2);
  border: 1px solid var(--line); border-top: 0;
}
.faq__a p { padding: 20px 24px; color: var(--muted); white-space: pre-line; font-size: 14.5px; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 8px; }
.field > label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; color: var(--cool); text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font); font-size: 15px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .24s, box-shadow .24s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--hot);
  box-shadow: var(--glow-hot);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field select option { background: var(--bg-2); color: var(--text); }
.field__err { color: var(--hot); font-size: 12px; min-height: 0; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--hot); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }

.alert {
  padding: 15px 18px;
  border: 1px solid var(--line-hot);
  background: var(--panel);
  font-size: 14px;
  display: none;
}
.alert.is-on { display: block; }
.alert--ok { border-color: var(--acid); color: var(--acid); }
.alert--err { border-color: var(--hot); color: var(--hot); }

/* ---------- CTA / 页脚 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 45, 111, .16), rgba(123, 92, 255, .16));
  border-block: 1px solid var(--line);
  padding: 88px 0;
  text-align: center;
}
.cta-band__title {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 900; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.cta-band__sub { color: var(--muted); margin-bottom: 32px; white-space: pre-line; }

/* 页脚自身只负责背景与纵向留白；内部内容由 .footer__inner 套.wrap 居中 */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 62px 0 30px; }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 40px; margin-bottom: 44px;
}
.footer__h {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .22em; color: var(--cool);
  margin-bottom: 16px; text-transform: uppercase;
}
.footer__links { display: grid; gap: 9px; }
.footer__links a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  transition: color .2s;
}
.footer__links a:hover { color: var(--hot); }
.footer__contact { color: var(--muted); font-size: 14px; display: grid; gap: 9px; }
.footer__contact strong { color: var(--text); font-family: var(--mono); }
.footer__bottom {
  padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  color: var(--dim); font-size: 12.5px;
}

/* ---------- 关于区 ---------- */
.about__grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 56px; align-items: start; }
.about__bullets { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about__bullet { background: var(--bg-2); padding: 17px 20px; font-size: 14.5px; display: flex; gap: 12px; align-items: center; }
.about__bullet::before { content: '▹'; color: var(--hot); font-family: var(--mono); }

/* ---------- 加载 / 错误态 ---------- */
.skel { background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: skel 1.4s infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.skel-card { height: 268px; border: 1px solid var(--line); }

.empty {
  padding: 60px 24px; text-align: center;
  border: 1px dashed var(--line-hot); color: var(--dim);
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
}

.boot-err {
  position: fixed; inset: 0; z-index: 9997;
  display: none; place-items: center;
  background: rgba(7, 7, 11, .97);
  padding: 30px;
}
.boot-err.is-on { display: grid; }
.boot-err__box {
  max-width: 560px;
  border: 1px solid var(--hot);
  background: var(--panel);
  padding: 34px;
}
.boot-err__t { font-size: 19px; font-weight: 800; color: var(--hot); margin-bottom: 12px; }
.boot-err__m { color: var(--muted); font-size: 14.5px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 940px) {
  .about__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  :root { --pad: 18px; }
  .section { padding: 72px 0; }
  .form__row { grid-template-columns: 1fr; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: rgba(7, 7, 11, .985);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 22px;
    gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .34s;
  }
  .nav__links.is-open { max-height: 460px; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; }
  .nav__burger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: none; border: 1px solid var(--line-hot);
    color: var(--text); cursor: pointer;
    font-family: var(--mono); font-size: 17px;
  }
  .hero { padding: 128px 0 70px; min-height: auto; }
  .hero__title { font-size: clamp(44px, 15vw, 78px); }
  /* 窄屏：徽章回到文档流并居中，主区放开宽度 */
  .hero__main { max-width: 100%; }
  .hero__side {
    position: static;
    width: auto;
    margin-top: 34px;
    display: grid;
    justify-items: center;
    pointer-events: auto;
    z-index: auto;
  }
  .hero__badge { max-width: 260px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}