/* ===== 基础重置 ===== */
html, body, div, span, p, h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, form, header, footer, nav, section, article, main, figure {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: top;
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
}

.ico {
  width: .2rem;
  height: .2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ===== IE 提示 ===== */

.pageTips {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.pageTips .container {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 630px;
  margin-left: -315px;
  margin-top: -160px;
}
.pageTips .container a.close {
  display: block;
  width: 50px;
  height: 50px;
  position: fixed;
  z-index: 1;
  left: auto;
  right: 20px;
  top: 20px;
  bottom: auto;
  background: url("../img/close.png") center no-repeat;
}
.pageTips .container .msg {
  font-size: 18px;
  line-height: 36px;
  padding-top: 30px;
}
.pageTips .container a {
  color: #fff;
  text-decoration: underline;
}

@font-face {
  font-family: "Alimama ShuHeiTi";
  src: url("../font/AlimamaShuHeiTi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== 设计变量 ===== */
:root {
  --c-bg: #09153c;
  --c-bg-2: #081336;
  --c-bg-3: #0A1A4A;
  --c-panel: rgba(16, 34, 82, .55);
  --c-line: rgba(94, 153, 255, .18);
  --c-line-strong: rgba(94, 241, 255, .38);
  --c-text: #E8F3FF;
  --c-text-sub: #9FB6D6;
  --c-text-dim: #5A7BB5;
  --c-blue: #1E63FF;
  --c-blue-l: #2F8BFF;
  --c-cyan: #22D3EE;
  --c-cyan-l: #5EF1FF;
  --c-purple: #6C4BFF;
  --radius: .14rem;
  --header-h: .7rem;
}

/* ===== 通用 ===== */
html {
  font-size: 100px;
  -webkit-text-size-adjust: 100%;
}

/* ===== body 基础（三页共用） ===== */
body {
  width: 100%;
  margin: 0 auto;
  font-size: .16rem;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background:
    url("../img/bejingzhezhao.png") repeat-y center top / 100% auto,
    var(--c-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 768px) {
  body {
    background: var(--c-bg);
  }
}

/* ===== Header（三页共用） ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #09205B;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(94, 153, 255, .1);
  transition: background .35s ease, box-shadow .35s ease;
}

.header.is-scrolled {
  background: #070E28;
  box-shadow: 0 .06rem .24rem rgba(0, 0, 0, .4);
}

.header-main {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem;
  padding-left: 0.29rem;
  padding-right: 2.66rem;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: .14rem;
  flex: 0 0 auto;
}

.logo-badge {
  flex: 0 0 auto;
  height: .54rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-name {
  flex: 0 0 auto;
  padding-left: .26rem;
  font-size: .24rem;
  font-weight: 700;
  letter-spacing: .02rem;
  color: #247AFF;
  white-space: nowrap;
  text-shadow: 0 0 .16rem rgba(47, 139, 255, .5);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .04rem;
}

.nav-item > a {
  position: relative;
  display: block;
  padding: .28rem .16rem;
  font-size: .16rem;
  color: #B7CBE8;
  white-space: nowrap;
  transition: color .3s ease;
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .16rem;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5EF1FF, #2F8BFF);
  box-shadow: 0 0 .1rem rgba(94, 241, 255, .8);
  transform: translateX(-50%);
  transition: width .3s ease;
}

.nav-item > a:hover,
.nav-item > a.is-active {
  color: #fff;
  font-weight: bold;
}

.nav-item > a:hover::after,
.nav-item > a.is-active::after {
  width: .42rem;
}

@media screen and (max-width: 1360px) {
  .site-name {
    font-size: .17rem;
  }

  .nav-item > a {
    padding: .28rem .12rem;
    font-size: .15rem;
  }
}

@media screen and (max-width: 1200px) {
  .site-name {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --header-h: 56px;
  }

  .header {
    background: rgba(5, 11, 35, .85);
  }

  .header-main {
    gap: .16rem;
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav {
    display: none;
  }

  .logo-badge {
    height: 34px;
    width: auto;
  }
}

.main {
  max-width: 14rem;
  width: 94%;
  margin: 0 auto;
}

.space-between {
  display: flex;
  justify-content: space-between;
}

.column-2 {
  width: 49%;
}

.column-3 {
  width: 32%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  height: .48rem;
  padding: 0 .28rem;
  border-radius: .24rem;
  font-size: .16rem;
  color: #fff;
  background: linear-gradient(120deg, #1E63FF 0%, #22D3EE 100%);
  box-shadow: 0 .06rem .18rem rgba(34, 211, 238, .25);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .28), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 .12rem .28rem rgba(34, 211, 238, .38);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary .ico {
  width: .18rem;
  height: .18rem;
  position: relative;
  z-index: 1;
}

/* ===== 图片占位 ===== */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  width: 100%;
  height: 100%;
  min-height: 1rem;
  border: 1px solid rgba(94, 153, 255, .22);
  border-radius: inherit;
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(47, 139, 255, .26) 0%, rgba(47, 139, 255, 0) 55%),
    linear-gradient(135deg, #10224F 0%, #0B1636 48%, #152A5C 100%);
  color: #7C9AD1;
  overflow: hidden;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 153, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 153, 255, .08) 1px, transparent 1px);
  background-size: .28rem .28rem;
  opacity: .7;
  pointer-events: none;
}

.ph-icon {
  width: .36rem;
  height: .36rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  opacity: .75;
}

.ph-text {
  font-size: .12rem;
  letter-spacing: .02rem;
  color: #6C8BC4;
  position: relative;
  z-index: 1;
}

.ph-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.ph-16x9 {
  aspect-ratio: 16 / 9;
}

.ph-4x3 {
  aspect-ratio: 4 / 3;
}

/* ===== 滚动淡入 ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(.34rem);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
}

.js .reveal.is-show {
  opacity: 1;
  transform: none;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: .3rem;
  bottom: .36rem;
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9E9FF;
  border: 1px solid rgba(94, 241, 255, .35);
  background: rgba(10, 26, 74, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.2rem);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, box-shadow .3s ease;
  z-index: 90;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  box-shadow: 0 0 .2rem rgba(34, 211, 238, .35);
  color: #fff;
}

/* ===== 轻提示 ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translate(-50%, .2rem);
  padding: .12rem .24rem;
  border-radius: .28rem;
  font-size: .14rem;
  color: #EAF6FF;
  background: rgba(10, 26, 74, .92);
  border: 1px solid rgba(94, 241, 255, .35);
  box-shadow: 0 .08rem .24rem rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  z-index: 999;
  max-width: 80%;
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ===== footer（三页共用） ===== */
.footer {
  margin-top: 0;
  padding: .45rem 0 .55rem;
  background: #065BFF;
  border-top: 0;
}

.footer-info {
  text-align: center;
}

.footer-info p {
  font-size: .16rem;
  line-height: 1.55;
  color: #fff;
}

.footer-info p::before {
  content: "◆";
  margin-right: .1rem;
  font-size: .1rem;
  vertical-align: .02rem;
  color: rgba(255, 255, 255, .8);
}

.footer-info a {
  color: inherit;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* ===== 平板 ===== */
@media screen and (max-width: 1024px) {
  .to-top {
    right: 14px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .footer {
    padding: 28px 0;
  }

  .footer-info p {
    font-size: 12px;
    line-height: 2.1;
  }
}

/* ===== 手机 ===== */
@media screen and (max-width: 480px) {
  .toast {
    bottom: 80px;
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
