/* =========================================================================
 * TK-BR Guard · 落地页样式
 * 深空科幻风：独立于工作台（assets/style.css），互不影响
 * ====================================================================== */

:root {
  --ink: #04070e;
  --ink-2: #070c17;
  --line: rgba(120, 190, 255, .13);
  --line-2: rgba(120, 190, 255, .26);
  --txt: #e9f0fd;
  --txt-2: #93a3bd;
  --txt-3: #5c6b85;
  --cyan: #3fe0f5;
  --cyan-2: #22b8d6;
  --blue: #5b86ff;
  --violet: #9370ff;
  --red: #ff5a52;
  --green: #2fd39a;

  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 底色：中心冷光 + 深空渐变 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 68% 18%, rgba(28, 96, 168, .30), transparent 62%),
    radial-gradient(900px 600px at 14% 76%, rgba(84, 40, 168, .17), transparent 66%),
    radial-gradient(circle at 50% 120%, rgba(20, 130, 170, .14), transparent 55%),
    linear-gradient(180deg, #04070e 0%, #050910 45%, #03060c 100%);
  pointer-events: none;
}

/* 3D 画布 */
.fx {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 暗角 */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(2, 4, 9, .72) 100%);
}

/* 扫描线 + 细噪点 */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .30;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(150, 220, 255, .045) 0px,
    rgba(150, 220, 255, .045) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

/* 鼠标光斑 */
.cursor-glow {
  position: fixed;
  z-index: 4;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(63, 224, 245, .085), rgba(63, 224, 245, .02) 45%, transparent 68%);
  opacity: 0;
  transition: opacity .5s;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ===================== 导航 ===================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 46px);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(4, 7, 14, .74);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--txt);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #031018;
  background: linear-gradient(145deg, #7cf0ff, #2fc7e8 55%, #4a7dff);
  box-shadow: 0 0 0 1px rgba(120, 230, 255, .45), 0 6px 22px -6px rgba(63, 224, 245, .8);
}
.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .3px;
}
.brand-txt i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--txt-3);
  letter-spacing: 1.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--txt-2);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--txt); background: rgba(120, 190, 255, .07); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--txt-3);
  white-space: nowrap;
}
.status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 211, 154, .14), 0 0 10px rgba(47, 211, 154, .8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

/* ===================== 按钮 ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  color: #02121a;
  background: linear-gradient(135deg, #7df1ff 0%, #35d3f0 45%, #5590ff 100%);
  box-shadow: 0 0 0 1px rgba(160, 240, 255, .35), 0 10px 28px -10px rgba(63, 210, 245, .9);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(180, 245, 255, .6), 0 14px 36px -8px rgba(63, 210, 245, 1);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--txt);
  background: rgba(120, 190, 255, .05);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(120, 190, 255, .11);
  border-color: rgba(140, 210, 255, .5);
  transform: translateY(-1px);
}

.btn-lg { padding: 13px 26px; font-size: 14.5px; border-radius: 11px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ===================== Hero ===================== */

.wrap {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 46px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.hero-inner { max-width: 600px; position: relative; isolation: isolate; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.6px;
  color: #6fd8ee;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4fd4ee);
}

h1 {
  margin: 0 0 26px;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
}
h1 .grad {
  display: inline-block;
  background: linear-gradient(96deg, #eaf6ff 4%, #6fe6ff 42%, #7f9dff 78%, #a98bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(80, 210, 255, .28));
}

.lede {
  margin: 0 0 34px;
  max-width: 470px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--txt-2);
}
.lede b { color: #cfe6ff; font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.micro {
  margin: 0;
  font-size: 12px;
  color: var(--txt-3);
  letter-spacing: .3px;
}
.micro span { margin: 0 9px; opacity: .45; }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  left: clamp(18px, 4vw, 46px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--txt-3);
}
.scroll-hint i {
  position: relative;
  width: 1px; height: 34px;
  background: linear-gradient(180deg, rgba(120, 220, 255, .55), transparent);
  overflow: hidden;
}
.scroll-hint i::after {
  content: '';
  position: absolute;
  top: -34px; left: 0;
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, #7ceaff);
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0% { top: -34px; }
  70%, 100% { top: 34px; }
}

/* ===================== 指标条 ===================== */

.stats {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 13, 23, .72), rgba(4, 8, 15, .45));
  backdrop-filter: blur(12px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat::before {
  content: '';
  position: absolute;
  top: -1px; left: 22px;
  width: 30px; height: 1px;
  background: var(--cyan);
  opacity: .85;
}
.stat-num {
  font-size: 32px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #7fc9e8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-num em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  margin-left: 3px;
  -webkit-text-fill-color: #6f8299;
}
.stat-label {
  margin-top: 9px;
  font-size: 12px;
  color: var(--txt-2);
}
.stat-sub {
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--txt-3);
  letter-spacing: .4px;
}

/* ===================== 通用区块 ===================== */

.section {
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: #6fd8ee;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.sec-head h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 750;
}
.sec-head p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--txt-2);
}

/* ===================== 能力卡 ===================== */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(18, 32, 52, .78), rgba(8, 14, 25, .62));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.cap-card:hover {
  border-color: rgba(110, 220, 255, .38);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(20, 140, 190, .85);
}
/* 鼠标跟随高光 */
.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 220, 255, .12), transparent 68%);
}
.cap-card:hover::after { opacity: 1; }
/* 顶部细光线 */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 220, 255, .55), transparent);
  opacity: .5;
  transition: opacity .35s;
}
.cap-card:hover::before { opacity: 1; }

.cap-ico {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 18px;
  color: #8fe9ff;
  background: linear-gradient(160deg, rgba(63, 224, 245, .14), rgba(90, 130, 255, .08));
  border: 1px solid rgba(110, 220, 255, .22);
  box-shadow: inset 0 0 18px rgba(63, 224, 245, .1);
}
.cap-ico svg { width: 20px; height: 20px; }

.cap-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -.01em;
}
.cap-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: #9db0cb;
}
.cap-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(120, 190, 255, .22);
  font-size: 11px;
  letter-spacing: .5px;
  color: #7c8ea8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cap-meta b { color: #9fb6d2; font-weight: 600; }

/* ===================== 规则区 ===================== */

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.rule-list { display: flex; flex-direction: column; gap: 1px; }
.rule-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .25s, padding-left .25s;
}
.rule-row:hover { background: rgba(90, 170, 240, .05); padding-left: 10px; }
.rule-idx {
  font-size: 11px;
  font-weight: 700;
  color: #4d6280;
  font-variant-numeric: tabular-nums;
}
.rule-name { font-size: 13.5px; font-weight: 600; }
.rule-note { font-size: 11.5px; color: var(--txt-3); margin-top: 2px; }
.tag-br {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #ffcf6b;
  background: rgba(255, 190, 60, .1);
  border: 1px solid rgba(255, 190, 60, .28);
  white-space: nowrap;
}
.tag-gray {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #7d90aa;
  background: rgba(120, 160, 210, .07);
  border: 1px solid rgba(120, 160, 210, .16);
  white-space: nowrap;
}

/* 右侧资质舱 */
.cert-panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 30, 50, .8), rgba(7, 13, 23, .72));
  backdrop-filter: blur(14px);
  padding: 28px 26px;
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  overflow: hidden;
}
.cert-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(63, 224, 245, .13), transparent 70%);
  pointer-events: none;
}
.cert-panel h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 680;
}
.cert-panel > p {
  margin: 0 0 22px;
  font-size: 12.5px;
  color: var(--txt-3);
}
.cert-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cert-item:first-of-type { border-top: 0; padding-top: 4px; }

.cert-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  color: #8fe9ff;
  padding-top: 2px;
}
.cert-body b {
  display: block;
  font-size: 13px;
  font-weight: 620;
  margin-bottom: 4px;
}
.cert-body span {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--txt-3);
}

/* ===================== 收尾 CTA ===================== */

.final {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 520px at 50% 118%, rgba(36, 120, 175, .135), transparent 72%);
  pointer-events: none;
}
.final h2 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: -.025em;
  font-weight: 780;
  line-height: 1.22;
}
.final p {
  position: relative;
  margin: 0 auto 30px;
  max-width: 460px;
  font-size: 14px;
  color: var(--txt-2);
}
.final .cta { justify-content: center; position: relative; }

/* ===================== 页脚 ===================== */

.foot {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 12px;
  color: #6d7e97;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.foot a { color: var(--txt-2); text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot .sep { margin-left: auto; }
.foot .disc {
  width: 100%;
  margin-top: 6px;
  line-height: 1.75;
  max-width: 760px;
  opacity: .92;
}

/* ===================== 入场动画 ===================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */

@media (max-width: 1080px) {
  .rules-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { max-width: 540px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .status { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 88svh; padding-top: calc(var(--nav-h) + 26px); padding-bottom: 52px; }
  .hero-inner { position: relative; isolation: isolate; }
  .hero-inner::before {
    content: '';
    position: absolute;
    inset: -46px -26px -30px;
    z-index: -1;
    background: radial-gradient(ellipse 78% 62% at 46% 46%,
      rgba(4, 7, 14, .94) 0%,
      rgba(4, 7, 14, .86) 42%,
      rgba(4, 7, 14, .55) 68%,
      transparent 84%);
    pointer-events: none;
  }
  .hero-inner { max-width: 100%; }
  .scroll-hint { display: none; }
  h1 { font-size: clamp(38px, 9vw, 56px); }
  .lede { font-size: 14.5px; }
}

@media (max-width: 560px) {
  .brand-txt i { display: none; }
  .cta { gap: 10px; }
  .cta .btn { flex: 1 1 auto; }
  .stat { padding: 24px 16px; }
  .stat-num { font-size: 26px; }
}

/* 尊重降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint i::after, .status i { animation: none; }
  * { transition-duration: .01ms !important; }
}
