/* ==========================================================================
   209 智能车实验室 · 招新站  ·  共享样式
   设计基调：深空蓝黑底 + 青蓝紫科技渐变（沿用实验室既有视觉底座），移动端优先
   结构：tokens → 基础 → 通用组件 → 首页各区块 → 报名页 → 响应式 → 打印
   ========================================================================== */

/* ============================== 设计变量 ============================== */

:root {
  --bg: #04070d;
  --bg-soft: #080d16;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(120, 200, 255, 0.16);
  --line-strong: rgba(120, 200, 255, 0.38);
  --text: #e9f3ff;
  --muted: #8ea3bd;
  --dim: #64758c;
  --cyan: #27e0ff;
  --blue: #4a7cff;
  --violet: #9b6bff;
  --lime: #46f0b0;
  --amber: #ffca57;
  --pink: #ff6ba8;
  --grad: linear-gradient(120deg, #27e0ff 0%, #4a7cff 48%, #9b6bff 100%);
  --grad-soft: linear-gradient(120deg, rgba(39, 224, 255, 0.16), rgba(155, 107, 255, 0.16));
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(120, 200, 255, 0.22), 0 12px 40px rgba(20, 120, 255, 0.22);
  --font: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Consolas, "Courier New", monospace;
  --wrap: 1140px;
}

/* ============================== 基础 ============================== */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景：光斑 + 网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(39, 224, 255, 0.16), transparent 62%),
    radial-gradient(760px 520px at 92% 6%, rgba(155, 107, 255, 0.15), transparent 60%),
    radial-gradient(1100px 700px at 50% 108%, rgba(74, 124, 255, 0.12), transparent 65%),
    linear-gradient(180deg, #05080f 0%, #04070d 55%, #03050a 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(circle at 50% 32%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 12%, transparent 78%);
}

img, canvas, svg { max-width: 100%; }

/* 用 hidden 属性控制的元素（步骤条 / 向导按钮 / 截止提示）必须真的隐藏 */
[hidden] { display: none !important; }

a { color: var(--cyan); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 12px; letter-spacing: -0.01em; }

p { margin: 0 0 12px; }

ul, ol { padding-left: 22px; }

::selection { background: rgba(39, 224, 255, 0.32); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================== 顶部导航 ============================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.92), rgba(4, 8, 15, 0.62));
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  font-size: 16px;
}

.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #04121b;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(39, 224, 255, 0.35);
  font-family: var(--mono);
}

.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.navlinks {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.navlinks::-webkit-scrollbar { display: none; }

.navlinks a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.22s;
}

.navlinks a:hover { color: var(--text); background: var(--panel-2); }

.navlinks a.active {
  color: #05121c;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(39, 224, 255, 0.3);
}

/* ============================== 通用组件 ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.22s, background 0.22s, color 0.22s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.btn:active { transform: scale(0.975); }
.btn:disabled, .btn[disabled], .btn.is-disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.btn-primary {
  background: var(--grad);
  color: #04121b;
  box-shadow: 0 10px 30px rgba(39, 224, 255, 0.28);
}

.btn-primary:not(:disabled):hover { box-shadow: 0 14px 38px rgba(74, 124, 255, 0.4); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { background: var(--panel-2); border-color: var(--cyan); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section { padding: 68px 0; }
.section-sm { padding: 40px 0; }

/* 锚点跳转时避开吸顶导航 */
section[id], main[id] { scroll-margin-top: 78px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.7;
}

.section-head { margin-bottom: 30px; }
.section-title { font-size: clamp(24px, 4.4vw, 36px); font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 64ch; margin-bottom: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #bfe9ff;
  background: rgba(39, 224, 255, 0.1);
  border: 1px solid rgba(39, 224, 255, 0.28);
}

.pill.lime { color: #c8ffe8; background: rgba(70, 240, 176, 0.1); border-color: rgba(70, 240, 176, 0.32); }
.pill.amber { color: #ffe6b0; background: rgba(255, 202, 87, 0.1); border-color: rgba(255, 202, 87, 0.32); }
.pill.violet { color: #e2d3ff; background: rgba(155, 107, 255, 0.12); border-color: rgba(155, 107, 255, 0.34); }
.pill.pink { color: #ffd0e2; background: rgba(255, 107, 168, 0.1); border-color: rgba(255, 107, 168, 0.32); }
.pill.muted { color: var(--muted); background: var(--panel); border-color: var(--line); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 18px);
  z-index: 200;
  max-width: min(92vw, 520px);
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(9, 16, 28, 0.96);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.26s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-color: rgba(70, 240, 176, 0.5); }
.toast.err { border-color: rgba(255, 107, 168, 0.55); }

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--dim);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--cyan); }

.hr {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 34px 0;
}

/* ============================== 首页 Hero ============================== */

.hero { padding: 52px 0 30px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 46px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 6.2vw, 54px);
  font-weight: 900;
  margin-bottom: 16px;
}

.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede { font-size: 16.5px; color: var(--muted); max-width: 56ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--dim);
  max-width: 56ch;
}

/* 倒计时 */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 6px;
}

.cd-cell {
  min-width: 78px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
}

.cd-cell b {
  display: block;
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
}

.cd-cell span { font-size: 11.5px; color: var(--dim); letter-spacing: 0.1em; }
.cd-cell.urgent b { color: var(--amber); }
.cd-cell.closed b { color: var(--pink); }

/* 赛道演示台 */
.track-stage {
  position: relative;
  border-radius: var(--r-lg);
  padding: 20px;
  background:
    radial-gradient(120% 140% at 88% 4%, rgba(155, 107, 255, 0.32), transparent 58%),
    radial-gradient(120% 130% at 6% 96%, rgba(39, 224, 255, 0.28), transparent 60%),
    linear-gradient(150deg, #0c1526, #070c17);
  border: 1px solid var(--line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(39, 224, 255, 0.06);
  overflow: hidden;
}

.track-stage .ts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.track-stage .ts-lab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #9fd8ff;
  font-weight: 700;
}

.track-stage .ts-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
}

.track-stage .ts-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(70, 240, 176, 0.7);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(70, 240, 176, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(70, 240, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 240, 176, 0); }
}

.track-svg { display: block; width: 100%; height: auto; }

.track-line { fill: none; stroke: rgba(120, 200, 255, 0.22); stroke-width: 13; stroke-linecap: round; }
.track-dash { fill: none; stroke: url(#trackGrad); stroke-width: 1.6; stroke-dasharray: 7 9; opacity: 0.75; }
.track-glow { fill: none; stroke: url(#trackGrad); stroke-width: 3; stroke-linecap: round; opacity: 0.5; filter: blur(0.4px); }
.track-car { fill: #eaf7ff; stroke: #04121b; stroke-width: 1; }
.track-car-glow { fill: rgba(39, 224, 255, 0.34); }
.track-beacon { fill: rgba(155, 107, 255, 0.5); stroke: rgba(234, 247, 255, 0.75); stroke-width: 1; }

.tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.tm-row {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
}

.tm-key { font-size: 10.5px; color: var(--dim); letter-spacing: 0.12em; display: block; }
.tm-val { font-family: var(--mono); font-size: 15.5px; font-weight: 700; color: #bfe9ff; }
.tm-val.lime { color: var(--lime); }
.tm-val.amber { color: var(--amber); }

.track-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--dim);
}

/* 数字条 */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.stat {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
}

.stat b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 800; color: var(--text); }
.stat b .sfx { font-size: 14px; color: var(--cyan); margin-left: 2px; }
.stat span { font-size: 12.5px; color: var(--dim); }

/* 跑马灯关键词 */
.marquee {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

.marquee span i { color: var(--cyan); font-style: normal; }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================== 特点卡片 ============================== */

.feature {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: 0.24s;
}

.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.feature .fi {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}

.feature h3 { font-size: 16.5px; margin-bottom: 4px; }
.feature p { font-size: 13.6px; color: var(--muted); margin: 0; }

/* ============================== 技术方向 ============================== */

.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.direction {
  --dc: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
  transition: 0.26s;
  overflow: hidden;
}

.direction::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dc), transparent);
}

.direction::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--dc) 26%, transparent), transparent 68%);
  opacity: 0.75;
  pointer-events: none;
}

.direction:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), var(--glow); }

.direction .d-head { display: flex; align-items: flex-start; gap: 13px; position: relative; }
.direction .d-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid color-mix(in srgb, var(--dc) 45%, transparent);
}
.direction .d-name { font-size: 18px; font-weight: 800; margin: 0 0 3px; }
.direction .d-sum { font-size: 13.4px; color: var(--muted); margin: 0; }
.direction .d-desc { font-size: 13.6px; color: var(--muted); margin: 0; position: relative; }
.direction .d-tasks { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 6px; position: relative; }
.direction .d-tasks li { position: relative; padding-left: 17px; font-size: 13.2px; color: #cfe0f2; }
.direction .d-tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--dc);
  opacity: 0.85;
}
.direction .d-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; position: relative; }
.direction .d-need { font-size: 12.6px; color: var(--dim); border-top: 1px dashed var(--line); padding-top: 11px; margin: 0; position: relative; }

.taglist { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #cfe0f2;
  font-family: var(--mono);
}

/* ============================== 奖项 ============================== */

.award-list { display: grid; gap: 10px; }

.award-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 8px 18px;
  align-items: center;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: 0.22s;
}

.award-row:hover { border-color: var(--line-strong); background: var(--panel-2); transform: translateX(3px); }
.award-row .a-year { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--cyan); }
.award-row .a-title { font-size: 14.6px; font-weight: 600; }
.award-row .a-detail { font-size: 12.8px; color: var(--dim); }
.award-row .a-rank { text-align: right; }

/* ============================== 培养路线 ============================== */

.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 18px; counter-reset: rm; }

.rm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.rm-card::before {
  counter-increment: rm;
  content: "0" counter(rm);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.rm-card h3 { font-size: 19px; margin: 0; }
.rm-when { font-size: 12.6px; color: var(--dim); font-family: var(--mono); }
.rm-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; }
.rm-list li { position: relative; padding-left: 20px; font-size: 13.4px; color: var(--muted); }
.rm-list li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--cyan);
  font-size: 12px;
}
.rm-goal {
  margin: 6px 0 0;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 13.2px;
  color: #dceafb;
}

/* ============================== 流程 / 步骤 ============================== */

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  counter-reset: s;
}

.step {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.14em;
}

.step h4 { margin: 8px 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 13.4px; color: var(--muted); }

/* ============================== 时间线 ============================== */

.timeline { position: relative; margin: 0; padding: 4px 0 4px 26px; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(155, 107, 255, 0.6), transparent);
  opacity: 0.6;
}

.tl-item { position: relative; padding: 0 0 22px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #05080f;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(39, 224, 255, 0.12);
}

.tl-date { font-family: var(--mono); font-size: 12.6px; color: var(--cyan); letter-spacing: 0.08em; }
.tl-title { font-size: 16px; font-weight: 700; margin: 2px 0 2px; }
.tl-place { font-size: 13px; color: var(--dim); }
.tl-tag { margin-left: 8px; }

/* ============================== 成员 ============================== */

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }

.member {
  --dc: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
  transition: 0.26s;
  overflow: hidden;
}

.member::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dc), transparent);
  opacity: 0.85;
}

.member:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), var(--glow); }

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  color: #05121c;
  background: linear-gradient(140deg, var(--dc), rgba(255, 255, 255, 0.55));
  box-shadow: 0 8px 22px rgba(39, 224, 255, 0.22);
}

.member .m-name { font-size: 18px; font-weight: 800; margin: 0; }
.member .m-role { font-size: 13px; color: var(--cyan); font-weight: 700; letter-spacing: 0.03em; }
.member .m-team { font-size: 12.5px; color: var(--dim); }
.member .m-say {
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid var(--dc);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13.6px;
  color: #dceafb;
}
.member .m-note { font-size: 12.8px; color: var(--dim); margin: 0; }
.member .m-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.member .m-points li { position: relative; padding-left: 16px; font-size: 12.8px; color: var(--muted); }
.member .m-points li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--dc);
  font-weight: 900;
}

/* ============================== 开放时间 / 联系 ============================== */

.hours-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.hours-row:last-child { border-bottom: 0; }
.hours-row .h-day { font-weight: 700; font-size: 14.6px; }
.hours-row .h-time { font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.hours-row .h-note { flex: 1 1 100%; font-size: 12.8px; color: var(--dim); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.contact-item {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-item .c-key { font-size: 11.5px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.contact-item .c-val { font-family: var(--mono); font-size: 14.5px; color: #bfe9ff; word-break: break-all; margin-top: 3px; }

/* 报名 CTA 大卡 */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 150% at 88% 0%, rgba(155, 107, 255, 0.34), transparent 58%),
    radial-gradient(120% 130% at 4% 100%, rgba(39, 224, 255, 0.3), transparent 60%),
    linear-gradient(150deg, #0b1424, #070c17);
  box-shadow: var(--shadow);
}

.cta-card h2 { font-size: clamp(22px, 4vw, 32px); margin-bottom: 10px; }
.cta-card p { color: var(--muted); max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ============================== FAQ ============================== */

.faq-list { display: grid; gap: 10px; }

.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: 0.22s;
}

.faq-item:hover { border-color: var(--line-strong); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 15.4px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-q .q-mark {
  flex: 0 0 auto;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 13px;
  padding-top: 3px;
}

.faq-q .q-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.24s;
}

.faq-item.open .faq-q .q-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px 47px;
  font-size: 14px;
  color: var(--muted);
}

.faq-item.open .faq-a { display: block; }

/* ============================== 报名页 ============================== */

.join-hero { padding: 40px 0 6px; }

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.form-card {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024));
  box-shadow: var(--shadow);
}

.join-aside { display: grid; gap: 18px; position: sticky; top: 82px; }

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.step-dot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13.4px;
  font-weight: 600;
  color: var(--muted);
  transition: 0.22s;
}

.step-dot b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.step-dot.current, .step-dot.active { color: var(--text); border-color: var(--line-strong); background: var(--panel-2); }
.step-dot.current b, .step-dot.active b { background: var(--grad); color: #05121c; }
.step-dot.done b { background: rgba(70, 240, 176, 0.22); color: var(--lime); }
.stepper.done .step-dot b { background: rgba(70, 240, 176, 0.22); color: var(--lime); }

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.progress i {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--grad);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: panelIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.wizard-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.wizard-nav .btn { flex: 1 1 auto; }

.panel-title { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.panel-sub { font-size: 13.4px; color: var(--dim); margin-bottom: 20px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.field label .req { color: var(--pink); margin-left: 3px; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.textarea { min-height: 88px; resize: vertical; line-height: 1.6; }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(39, 224, 255, 0.16);
}

.input::placeholder, .textarea::placeholder { color: #4f6076; }

.select option { background: #0a1220; color: var(--text); }

.input.invalid, .select.invalid, .textarea.invalid {
  border-color: rgba(255, 107, 168, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 107, 168, 0.14);
}

.hint { font-size: 12.5px; color: var(--dim); margin-top: 6px; }

.error-text { color: var(--pink); font-size: 12.5px; margin-top: 5px; min-height: 0; }

.char-count { font-size: 12px; color: var(--dim); margin-top: 6px; text-align: right; }
.char-count.over { color: var(--pink); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

.chip-input { display: flex; flex-wrap: wrap; gap: 9px; }

.chip-input label {
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: 0.2s;
  user-select: none;
}

.chip-input input { position: absolute; opacity: 0; pointer-events: none; }
.chip-input input:checked + span { color: #05121c; }
.chip-input label:has(input:checked) { background: var(--grad); color: #05121c; border-color: transparent; }
.chip-input label:hover { border-color: var(--line-strong); }
.chip-input label span { pointer-events: none; }

.dir-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 12px; }

.dir-option {
  --dc: var(--cyan);
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 15px 16px;
  transition: 0.22s;
}

.dir-option input { position: absolute; opacity: 0; pointer-events: none; }
.dir-option:hover { border-color: var(--line-strong); }
.dir-option:has(input:checked) {
  border-color: var(--dc);
  background: linear-gradient(160deg, color-mix(in srgb, var(--dc) 14%, transparent), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 0 1px var(--dc) inset, 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dir-option-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.dir-option-body strong { font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.dir-option-body .muted, .dir-option-body .hint { font-size: 12.6px; line-height: 1.55; margin: 0; }
.dir-option-body .pill { pointer-events: none; }

.dir-option-body .do-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid color-mix(in srgb, var(--dc) 40%, transparent);
}
.dir-option-body .do-name { font-size: 15px; font-weight: 800; }
.dir-option-body .do-sum { font-size: 12.6px; color: var(--muted); }
.dir-option-body .do-seats { font-size: 11.5px; color: var(--dim); font-family: var(--mono); }

/* 单选组校验失败时的整体提示（JS 会给容器加 .invalid） */
.dir-picker.invalid, .chip-input.invalid {
  outline: 1px dashed rgba(255, 107, 168, 0.7);
  outline-offset: 7px;
  border-radius: var(--r-sm);
}

.summary {
  border-radius: var(--r-md);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.028);
  padding: 20px;
  margin: 18px 0;
}

.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--dim); white-space: nowrap; }
.kv dd { margin: 0; color: #d7e7f7; word-break: break-word; }

.code-box {
  font-family: var(--mono);
  font-size: 12.6px;
  line-height: 1.66;
  white-space: pre;
  min-height: 260px;
  overflow-x: auto;
}

.copy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.steps-list { counter-reset: t; list-style: none; padding: 0; margin: 0; }
.steps-list li { position: relative; padding: 0 0 14px 38px; font-size: 13.8px; color: var(--muted); }
.steps-list li::before {
  counter-increment: t;
  content: counter(t);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #05121c;
  background: var(--grad);
}
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li b { color: var(--text); }

.meter { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.3s, background 0.3s; }
.meter i.over { background: linear-gradient(120deg, #ffca57, #ff6ba8); }

.callout {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  font-size: 13.6px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 14px;
}

.callout.warn { border-color: rgba(255, 202, 87, 0.42); background: rgba(255, 202, 87, 0.08); color: #ffe6b0; }
.callout.err { border-color: rgba(255, 107, 168, 0.5); background: rgba(255, 107, 168, 0.08); color: #ffd0e2; }
.callout.ok { border-color: rgba(70, 240, 176, 0.45); background: rgba(70, 240, 176, 0.08); color: #c8ffe8; }
.callout .ci { flex: 0 0 auto; font-size: 17px; line-height: 1.4; }
.callout strong { display: block; margin-bottom: 2px; }
.callout > .muted { margin: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: inherit; text-decoration: underline; }

.table-wrap { overflow-x: auto; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.6px; min-width: 480px; }
table.tbl th, table.tbl td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); }
table.tbl th { color: var(--muted); font-size: 12.4px; letter-spacing: 0.06em; text-transform: uppercase; }
table.tbl tr:hover td { background: rgba(255, 255, 255, 0.03); }

.done-box { text-align: center; padding: 14px 0 4px; }
.done-box .done-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: rgba(70, 240, 176, 0.12);
  border: 1px solid rgba(70, 240, 176, 0.42);
}
.done-box h2 { font-size: clamp(21px, 4vw, 28px); margin-bottom: 6px; }
.done-box .done-id { font-family: var(--mono); font-size: 14.5px; color: var(--lime); letter-spacing: 0.1em; }

/* ============================== 响应式 ============================== */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .track-stage { max-width: 520px; margin: 0 auto; }
  .join-layout { grid-template-columns: 1fr; }
  .join-aside { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .section { padding: 48px 0; }
  .card, .form-card { padding: 20px; border-radius: var(--r-md); }
  .cta-card { padding: 26px 22px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .wrap { gap: 10px; }
  .brand small { display: none; }
  .brand { font-size: 15px; }
  .hero { padding: 36px 0 22px; }
  .hero-actions .btn, .cta-actions .btn, .wizard-nav .btn { flex: 1 1 100%; }
  .cd-cell { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .cd-cell b { font-size: 21px; }
  .award-row { grid-template-columns: 1fr; gap: 3px; }
  .award-row .a-rank { text-align: left; }
  .faq-a { padding-left: 20px; }
  .dir-picker { grid-template-columns: 1fr; }
  .code-box { min-height: 220px; }
  body { line-height: 1.68; }
}

/* ============================== 可访问性 / 打印 ============================== */

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

@media print {
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
  .topbar, .footer, .no-print, .wizard-nav, .copy-row, .hero-actions, .cta-actions { display: none !important; }
  .card, .form-card, .direction, .member { border-color: #bbb; background: #fff; color: #000; box-shadow: none; }
}
