/* ========== 前台单页样式（基于 time-tunnel 隧道风格） ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  row-gap: 40px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: #e8eefc;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

/* ========== 隧道背景 ========== */
.scene {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 15px;
  z-index: -1;
}

.wrap {
  position: absolute;
  width: 1000px;
  height: 1000px;
  transform-style: preserve-3d;
  animation: move 12s linear infinite;
}

.wrap:nth-child(2),
.wrap:nth-child(2) .wall {
  animation-delay: 6s;
}

.wall {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/bg-tunnel.jpg") center / cover;
  opacity: 0;
  animation: fade 12s linear infinite;
}

.wall-right  { transform: rotateY(90deg)   translateZ(500px); }
.wall-left   { transform: rotateY(-90deg)  translateZ(500px); }
.wall-top    { transform: rotateX(90deg)   translateZ(500px); }
.wall-bottom { transform: rotateX(-90deg)  translateZ(500px); }
.wall-back   { transform: rotateX(180deg)  translateZ(500px); }

@keyframes move {
  from { transform: translateZ(-500px); }
  to   { transform: translateZ(500px); }
}

@keyframes fade {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ========== 顶栏 ========== */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 40px;
}

.logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
  color: #8fb6ff;
}

.logo.logo-text {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(143, 182, 255, 0.4);
  background: rgba(143, 182, 255, 0.15);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.brand {
  font-size: 15px;
  letter-spacing: 4px;
  color: #cdd9f5;
}

/* ========== 主视觉 ========== */
.hero {
  align-self: center;
  text-align: center;
  padding: 40px 24px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: 14px;
  text-indent: 14px; /* 抵消末字间距，保持视觉居中 */
  background: linear-gradient(180deg, #fff 30%, #9db9ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(120, 160, 255, 0.25);
}

.hero-en {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 6px;
  color: #7f93bd;
}

.hero-desc {
  margin-top: 26px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 2px;
  color: #aab9dd;
  white-space: pre-line;
}

.btn {
  display: inline-block;
  margin-top: 38px;
  padding: 13px 52px;
  font-size: 14px;
  letter-spacing: 6px;
  text-indent: 6px;
  color: #dce7ff;
  border: 1px solid rgba(150, 180, 255, 0.45);
  border-radius: 999px;
  background: rgba(90, 130, 220, 0.12);
  backdrop-filter: blur(6px);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn:hover {
  background: rgba(110, 150, 240, 0.28);
  box-shadow: 0 0 30px rgba(110, 150, 240, 0.35);
  transform: translateY(-2px);
}

/* ========== 信息卡片 ========== */
.info {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 40px;
  margin-bottom: 26px;
}

.card {
  width: 300px;
  padding: 22px 26px;
  border: 1px solid rgba(140, 170, 240, 0.16);
  border-radius: 14px;
  background: rgba(12, 18, 36, 0.45);
  backdrop-filter: blur(10px);
}

.card svg {
  width: 24px;
  height: 24px;
  color: #8fb6ff;
}

.card h2 {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #d5e0f8;
}

.card p {
  font-size: 12.5px;
  line-height: 1.9;
  color: #93a5cd;
  white-space: pre-line;
}

/* ========== 备案 ========== */
.footer {
  padding: 18px 0 22px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: #6d7ea6;
}

.footer a:hover {
  color: #a9bfe9;
}

.sep {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 12px;
  background: #4a5a80;
  vertical-align: middle;
}

/* ========== 窄屏适配 ========== */
@media (max-width: 1080px) {
  .info {
    flex-direction: column;
    align-items: center;
  }
}
