:root {
  --bg-deep: #05070a;
  --fg-primary: #f0f0e8;
  --fg-secondary: rgba(240, 240, 232, 0.68);
  --fg-muted: rgba(240, 240, 232, 0.42);
  --glass-bg: rgba(8, 16, 30, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(22, 216, 232, 0.36);
  --accent-cyan: #16d8e8;
  --accent-green: #52ffba;
  --accent-red: #e32024;
  --page-pad: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 52% 24%, black, transparent 72%);
}

body::after {
  opacity: 0.42;
  background:
    radial-gradient(circle at 18% 18%, rgba(22, 216, 232, 0.16), transparent 34%),
    radial-gradient(circle at 76% 28%, rgba(82, 255, 186, 0.12), transparent 36%),
    radial-gradient(circle at 70% 78%, rgba(227, 32, 36, 0.08), transparent 42%),
    radial-gradient(circle at 46% 52%, rgba(255, 255, 255, 0.045), transparent 48%);
}

a {
  color: inherit;
}

.back-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(5, 7, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-engine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.page-engine__links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.page-engine__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(240, 240, 232, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-engine__links a:hover,
.page-engine__links a:focus-visible,
.page-engine__links a.is-active {
  background: rgba(240, 240, 232, 0.92);
  color: #05070a;
  outline: none;
}

.page-engine__search {
  width: clamp(130px, 16vw, 220px);
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.page-engine__search:focus {
  border-color: rgba(22, 216, 232, 0.46);
  box-shadow: 0 0 24px rgba(22, 216, 232, 0.16);
}

.brand-lockup,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-lockup img {
  width: 30px;
  height: 30px;
}

.brand-lockup strong {
  font-size: 16px;
  letter-spacing: 0;
}

.back-link {
  color: var(--fg-secondary);
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: var(--accent-cyan);
  transform: translateX(-2px);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 118px 0 80px;
}

.hero {
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: 36px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  color: #fffef4;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--fg-secondary);
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.45;
}

.en-copy {
  color: var(--fg-muted);
  font-family: "nbarchitekt", "Consolas", monospace;
  font-size: 0.86em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-head .en-copy {
  max-width: 320px;
  text-align: right;
}

.glass-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.022)),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(22, 216, 232, 0.18), transparent 32%),
    linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: opacity 0.28s ease;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.glass-card:hover::before {
  opacity: 1;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.one {
  grid-template-columns: 1fr;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-grid {
  align-items: stretch;
}

.media-card {
  min-height: 100%;
  padding: 0;
}

.media-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(1.04) contrast(1.02);
}

.media-card__body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.media-card__body strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.12;
}

.media-card__body p {
  margin-bottom: 0;
  color: var(--fg-secondary);
  line-height: 1.72;
}

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

.stat-card {
  min-height: 136px;
  padding: 22px;
}

.stat-card b {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(34px, 5.6vw, 70px);
  line-height: 0.9;
}

.stat-card span {
  position: relative;
  z-index: 1;
  color: var(--accent-cyan);
  font-family: "nbarchitekt", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--fg-secondary);
  line-height: 1.62;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.insight-row span {
  position: relative;
  z-index: 1;
  color: var(--accent-cyan);
  font-family: "nbarchitekt", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-row strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.16;
}

.insight-row p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--fg-secondary);
  line-height: 1.66;
}

.module-card,
.metric-card,
.method-card {
  min-height: 188px;
  padding: 24px;
}

.module-card strong,
.metric-card strong,
.method-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.1;
}

.metric-card strong {
  font-size: clamp(22px, 2.6vw, 34px);
}

.contact-card strong {
  font-size: clamp(20px, 2.2vw, 30px);
}

.contact-card strong a {
  text-decoration: none;
}

.module-card span,
.metric-card span,
.method-card span,
.flow-step span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-cyan);
  font-family: "nbarchitekt", "Consolas", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.module-card p,
.metric-card p,
.method-card p {
  position: relative;
  z-index: 1;
  color: var(--fg-secondary);
  line-height: 1.75;
}

.tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags em {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(240, 240, 232, 0.72);
  font-size: 12px;
  font-style: normal;
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
}

.flow-step {
  min-height: 142px;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 34px);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
}

.cta-band p {
  max-width: 720px;
  margin: 0;
  color: var(--fg-secondary);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #f0f0e8;
  color: #05070a;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(22, 216, 232, 0.24);
  outline: none;
}

.progress {
  position: relative;
  z-index: 1;
  height: 6px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress i {
  display: block;
  width: var(--value, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  animation: load-bar 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes load-bar {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
}

@media (max-width: 900px) {
  .back-nav {
    height: 66px;
    gap: 10px;
  }

  .page-shell {
    width: min(100% - 36px, 720px);
    padding-top: 100px;
  }

  .hero {
    min-height: 48vh;
  }

  .section-head {
    display: block;
  }

  .section-head .en-copy {
    text-align: left;
  }

  .page-engine {
    display: none;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .stat-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .insight-row {
    grid-template-columns: 1fr;
  }

  .flow-step {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cta-band {
    display: grid;
  }
}

/* [增量·入场衔接动画] 从首页星门 / 二级页 jump 跳转到达时，由 page-engine-nav.js 加 .loongea-arrive
   到 <html>，内容淡入并轻微上浮，与上一页过渡形成闭环。播完(约1.1s)自动移除 class。 */
html.loongea-arrive .page-shell > * {
  opacity: 0;
  transform: translateY(26px);
}
html.loongea-arrive .back-nav {
  opacity: 0;
  transform: translateY(-14px);
}
html.loongea-arrive.loongea-arrive--active .page-shell > *,
html.loongea-arrive.loongea-arrive--active .back-nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.62s cubic-bezier(0.22, 0.78, 0.24, 1), transform 0.7s cubic-bezier(0.22, 0.78, 0.24, 1);
}
/* 逐段错落：越靠后的区块延迟越久，形成"内容依次涌现"的节奏 */
html.loongea-arrive.loongea-arrive--active .page-shell > *:nth-child(1) { transition-delay: 0.02s; }
html.loongea-arrive.loongea-arrive--active .page-shell > *:nth-child(2) { transition-delay: 0.10s; }
html.loongea-arrive.loongea-arrive--active .page-shell > *:nth-child(3) { transition-delay: 0.18s; }
html.loongea-arrive.loongea-arrive--active .page-shell > *:nth-child(4) { transition-delay: 0.26s; }
html.loongea-arrive.loongea-arrive--active .page-shell > *:nth-child(n+5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html.loongea-arrive .page-shell > *,
  html.loongea-arrive .back-nav {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* [增量·hover 蓄力感] 卡片/按钮/链接在 hover 时给出"即将开门"的蓄力暗示：
   边缘青色辉光渐强 + 一束微光扫过 + 轻微抬升，让点击前就有交互预期。纯 CSS，不改结构。 */
.glass-card {
  position: relative;
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(22, 216, 232, 0.12), transparent 60%),
    linear-gradient(115deg, transparent 30%, rgba(180, 245, 255, 0.10) 48%, transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(22, 216, 232, 0.28), 0 0 32px rgba(22, 216, 232, 0.16);
  transition: opacity 0.4s ease;
}
.glass-card:hover::after,
.glass-card:focus-within::after {
  opacity: 1;
}

/* 按钮（CTA）：hover 蓄力——青色光晕呼吸 + 轻微放大；含 jump-link/text-link */
.button,
a.loongea-jump-link,
.cta-band a {
  position: relative;
  transition: transform 0.24s cubic-bezier(0.22, 0.78, 0.24, 1), box-shadow 0.24s ease, letter-spacing 0.24s ease;
}
.button:hover,
.button:focus-visible,
a.loongea-jump-link:hover,
.cta-band a:hover {
  letter-spacing: 0.02em;
}
.button:active,
a.loongea-jump-link:active,
.cta-band a:active {
  transform: translateY(0) scale(0.97);
}

/* 板块快切导航：hover 时下划线蓄力展开 */
.page-engine__links a {
  position: relative;
}
.page-engine__links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 0.78, 0.24, 1), opacity 0.32s ease;
}
.page-engine__links a:hover::after,
.page-engine__links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .glass-card::after,
  .button,
  a.loongea-jump-link,
  .cta-band a,
  .page-engine__links a::after {
    transition: none !important;
  }
  .button:active,
  a.loongea-jump-link:active,
  .cta-band a:active {
    transform: none !important;
  }
}
