/* =====================================================
   星环 StarRing · 3D 教育数字产品宣传站
   样式分区：
   1. Tokens（颜色 / 字体 / 间距）
   2. 全局 reset & 背景
   3. 顶部导航
   4. Hero
   5. 通用 section / kicker / title
   6. 关于我们
   7. 业务卡片
   8. 产品 3D 星图 & 卡片
   9. 合作生态轨道
   10. 联系我们
   11. Footer
   12. Modal
   13. 响应式
   ===================================================== */


/* ============= 1. Design Tokens ============= */
:root {
  --bg-0: #5DBEF2;
  --bg-1: #1F84D8;
  --bg-2: #064A9D;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(0, 52, 122, 0.24);
  --border-strong: rgba(0, 52, 122, 0.4);
  --text: #062946;
  --text-soft: #1D4F76;
  --text-mute: #5D83A0;

  --blue: #054A9B;
  --blue-deep: #032D70;
  --sky: #087BD0;
  --ice: #E8F7FF;
  --gold: #F6B84A;
  --gold-deep: #D8891D;
  --cyan: #00AEEF;
  --cyan-deep: #087DB8;
  --violet: #6B5EFF;
  --violet-deep: #4638C8;
  --rose: #FF5AA5;
  --rose-deep: #CC2D78;

  --font-zh: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-en: "Avenir Next", "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SF Mono", "Menlo", "JetBrains Mono", Consolas, monospace;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
}

/* ============= 2. Reset & Background ============= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-en);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(204, 239, 255, 0.86) 0%, rgba(78, 180, 239, 0.82) 30%, rgba(16, 111, 199, 0.78) 62%, rgba(2, 45, 112, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 89, 179, 0.42), transparent 42%, rgba(1, 45, 125, 0.5));
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 45, 112, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 45, 112, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.28));
}

/* 3D 星环仅铺在 Hero 内，随版块滚动离开视口 */
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none; /* 避免全局 canvas { max-width:100% } 与 WebGL 尺寸冲突 */
  z-index: 0;
  display: block;
  pointer-events: none;
}

::selection {
  background: rgba(14, 116, 217, 0.22);
  color: var(--text);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #8AD0F4; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  border-radius: 99px;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

.scanline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0.4;
  z-index: 800;
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(0); opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ============= 3. NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(239, 250, 255, 0.78);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 18px 44px rgba(7, 88, 184, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 176px;
}

.brand-logo {
  width: 172px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-zh {
  font-family: var(--font-zh);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.brand-en {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -8px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active {
  color: var(--text);
}
.nav-links a.is-active::after {
  width: 100%;
}
.nav-links a.is-active .num {
  color: var(--blue);
}
.num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border: 1px solid rgba(14, 116, 217, 0.36);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.62);
  transition: all 0.3s;
  box-shadow: 0 10px 26px rgba(14, 116, 217, 0.12);
}
.nav-cta:hover {
  background: var(--blue);
  color: #FFF;
  box-shadow: 0 16px 34px rgba(14, 116, 217, 0.28);
  transform: translateY(-1px);
}


/* ============= 4. HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 100px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero > *:not(#bg-canvas) {
  position: relative;
  z-index: 2;
}

.hero-coords {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.16em;
  margin-bottom: 28px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--surface);
  width: fit-content;
}
.hero-coords .dot { color: var(--text-mute); opacity: 0.5; }
.hero-coords .blink { color: var(--blue); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.hero-title {
  font-family: var(--font-zh);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.hero-line { display: block; }
.hero-em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--cyan) 48%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.18;
  filter: blur(8px);
}

.hero-ring {
  position: relative;
  display: inline-block;
  padding: 0 4px;
}
.hero-ring::before, .hero-ring::after {
  content: "";
  position: absolute;
  inset: -2px -10px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  transform: scaleY(0.32) rotate(-8deg);
  animation: ringSpin 10s linear infinite;
}
.hero-ring::after {
  border-color: var(--cyan);
  inset: -10px -16px;
  transform: scaleY(0.22) rotate(12deg);
  animation-duration: 14s;
  animation-direction: reverse;
}

.hero-desc {
  max-width: 720px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-soft);
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 99px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 52%, var(--sky));
  color: #FFF;
  box-shadow: 0 14px 34px rgba(14, 116, 217, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(14, 116, 217, 0.38);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.56);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--blue);
  color: var(--blue-deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 54px rgba(7, 88, 184, 0.12);
}
.stat {
  background: rgba(255, 255, 255, 0.66);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-zh);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--blue-deep), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.stat-suffix {
  font-family: var(--font-zh);
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 0;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

.hero-scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--text-mute);
}
.hero-scroll .line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  left: -50%; top: 0;
  width: 50%; height: 100%;
  background: var(--blue);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -50%; }
  100% { left: 100%; }
}


/* ============= 5. Sections ============= */
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--pad-x);
}

.section-head { margin-bottom: 56px; max-width: 880px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 18px;
}
.kicker i {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-zh);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-deep), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.section-sub {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 720px;
}
.section-sub .legend {
  display: inline-flex;
  gap: 14px;
  margin-left: 14px;
  flex-wrap: wrap;
  vertical-align: middle;
  align-items: center;
}
.section-sub .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.section-sub .legend i {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============= 6. ABOUT ============= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.about-lead {
  font-family: var(--font-zh);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 22px;
}
.about-text p {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: 0.96rem;
}
.about-text strong {
  color: var(--blue);
  font-weight: 600;
}
.about-features {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.about-features .bullet {
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(14, 116, 217, 0.32);
}

.about-card {
  perspective: 1400px;
}
.about-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(6deg);
  transition: transform 0.5s ease;
}
.about-card:hover .about-card-inner {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-8px);
}
.about-card-face {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(225, 247, 255, 0.76)),
    linear-gradient(45deg, rgba(14, 116, 217, 0.08), rgba(0, 174, 239, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 60px rgba(7, 88, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.card-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--blue);
}
.card-corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.card-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.card-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.card-corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.company-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 103, 181, 0.16);
}
.company-id:last-child { border-bottom: 0; }
.company-id-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.company-id-val {
  font-family: var(--font-zh);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}


/* ============= 7. BUSINESS ============= */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1600px;
}
.biz-card {
  position: relative;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(7, 88, 184, 0.08);
  cursor: default;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.biz-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--blue), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.biz-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: var(--border-strong);
  box-shadow: 0 26px 58px -20px rgba(14, 116, 217, 0.28);
}
.biz-card:hover::before { opacity: 1; }

.biz-card .biz-num {
  position: absolute;
  top: 24px; right: 26px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.18em;
}
.biz-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--blue);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(14, 116, 217, 0.12), rgba(255, 255, 255, 0.18));
  text-shadow: 0 0 18px rgba(14, 116, 217, 0.22);
}
.biz-title {
  font-family: var(--font-zh);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.biz-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.biz-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
  flex-grow: 1;
}


/* ============= 8. PRODUCTS ============= */
.starmap {
  position: relative;
  width: 100%;
  height: 540px;
  background:
    linear-gradient(155deg, rgba(235, 250, 255, 0.92), rgba(169, 229, 255, 0.48) 58%, rgba(66, 176, 245, 0.22));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 30px 80px -24px rgba(7, 88, 184, 0.32);
}
.starmap canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}
.starmap canvas:active { cursor: grabbing; }

.starmap-hud {
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  display: flex;
  gap: 16px;
  pointer-events: none;
  z-index: 5;
  flex-wrap: wrap;
}
.hud-block {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(12px);
}
.hud-block--right { margin-left: auto; flex-direction: row; align-items: center; }
.hud-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.hud-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
}
.hud-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.hud-btn:hover { color: var(--blue); }

.starmap-tooltip {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--blue);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  transform: translate(-50%, calc(-100% - 16px));
  box-shadow: 0 16px 34px rgba(7, 88, 184, 0.18);
  backdrop-filter: blur(10px);
}
.starmap-tooltip[hidden] { display: none; }
.tt-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.starmap-tooltip strong {
  font-family: var(--font-zh);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}
.starmap-tooltip span:last-child {
  font-size: 0.72rem;
  color: var(--text-mute);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.58);
}
.filter-btn .ft-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.filter-btn:hover {
  border-color: var(--blue);
  color: var(--text);
}
.filter-btn.active {
  border-color: var(--blue);
  color: #FFF;
  background: var(--blue);
  font-weight: 600;
}
.filter-btn.active .ft-dot { background: #FFF; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  perspective: 1600px;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1), border-color 0.4s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transform-style: preserve-3d;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 46px rgba(7, 88, 184, 0.08);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(14, 116, 217, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -28px rgba(7, 88, 184, 0.36);
  transform: translateY(-6px);
}
.product-card[data-cat="语料库"] { --acc: var(--blue); }
.product-card[data-cat="教学平台"] { --acc: var(--cyan); }
.product-card[data-cat="评测能力"] { --acc: var(--violet); }
.product-card[data-cat="工具"] { --acc: var(--rose); }
.product-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--acc, var(--blue));
  opacity: 0.85;
  filter: blur(0.5px);
}

.pc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pc-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--acc, var(--blue));
  padding: 4px 10px;
  border: 1px solid var(--acc, var(--blue));
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.64);
  white-space: nowrap;
}
.pc-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.12em;
}
.pc-name {
  font-family: var(--font-zh);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.4;
}
.pc-partner {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pc-partner::before {
  content: "◆";
  color: var(--acc, var(--blue));
  font-size: 0.6rem;
}
.pc-tagline {
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex-grow: 1;
}
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 103, 181, 0.14);
}
.pc-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pc-status .pc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc, var(--blue));
  box-shadow: 0 0 8px var(--acc, var(--blue));
}
.pc-link {
  font-size: 0.78rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s, color 0.25s;
}
.pc-link:hover { gap: 10px; color: var(--acc, var(--blue)); }


/* ============= 9. ECOSYSTEM ============= */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: size;
}
.orbit-core {
  position: relative;
  width: 22%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #FFFFFF, var(--sky) 42%, var(--blue) 74%, var(--violet));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 60px rgba(14, 116, 217, 0.32),
    inset 0 0 34px rgba(255, 255, 255, 0.24);
  z-index: 3;
}
.orbit-core::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.54);
  animation: orbitSpin 20s linear infinite;
}
.orbit-core-zh {
  font-family: var(--font-zh);
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #FFF;
  letter-spacing: 0.08em;
}
.orbit-core-en {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(0, 103, 181, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring--1 { width: 46%; aspect-ratio: 1/1; border-color: rgba(14, 116, 217, 0.24); }
.orbit-ring--2 { width: 70%; aspect-ratio: 1/1; border-color: rgba(0, 174, 239, 0.22); }
.orbit-ring--3 { width: 94%; aspect-ratio: 1/1; border-color: rgba(107, 94, 255, 0.18); }

.orbit-list {
  position: absolute;
  inset: 0;
  list-style: none;
  pointer-events: none;
}
.orbit-list li {
  position: absolute;
  left: 0;
  top: 0;
  /* left/top + translate(-50%,-50%) 由脚本按圆周计算，避免 rotate 链 + 异形标签宽度导致左右不对称 */
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 4;
}
.orbit-list .planet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-zh);
  font-size: 0.82rem;
  color: var(--text);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  line-height: 1.2;
  max-width: min(18rem, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s;
}
.orbit-list .planet.is-long {
  /* 仅超长机构名开启多行，避免普通名称（如天津中医药大学）被拆字换行 */
  align-items: flex-start;
  white-space: normal;
  line-height: 1.38;
  word-break: break-word;
  max-width: min(22rem, 52vw);
  overflow: visible;
  text-overflow: clip;
}
.orbit-list .planet:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  box-shadow: 0 16px 34px rgba(14, 116, 217, 0.18);
}
.orbit-list .planet-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.35em;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(14, 116, 217, 0.42);
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.eco-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.eco-tag {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-zh);
  font-size: 0.85rem;
  color: var(--text-soft);
  background: var(--surface);
  transition: all 0.3s;
}
.eco-tag:hover {
  border-color: var(--blue);
  color: var(--text);
  transform: translateY(-2px);
}


/* ============= 10. CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(14px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 116, 217, 0.14);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--text-mute);
}

.contact-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(0, 103, 181, 0.14);
}
.contact-card:last-of-type { border-bottom: 0; }
.contact-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.contact-val {
  font-family: var(--font-zh);
  font-size: 0.95rem;
  color: var(--text);
}
.contact-glow {
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(14, 116, 217, 0.16), transparent 70%);
  pointer-events: none;
}


/* ============= 11. FOOTER ============= */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px var(--pad-x) 28px;
  margin-top: 60px;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.58));
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.brand--footer { margin-bottom: 18px; }
.footer-line {
  font-family: var(--font-zh);
  color: var(--text-soft);
  font-size: 0.95rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--blue); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
}


/* ============= 12. MODAL ============= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 50, 86, 0.28);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.3s ease;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(227, 248, 255, 0.94));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 48px 44px 36px;
  animation: panelIn 0.35s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 30px 80px -20px rgba(7, 88, 184, 0.32);
}
.modal-corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--blue);
}
.modal-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.modal-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.modal-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.modal-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.25s;
}
.modal-close:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: rotate(90deg);
}

.modal-head { margin-bottom: 22px; }
.modal-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 99px;
  margin-bottom: 14px;
}
.modal-name {
  font-family: var(--font-zh);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.modal-partner {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-mute);
}
.modal-tagline {
  margin-top: 14px;
  font-family: var(--font-zh);
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.6;
}
.modal-body {
  padding: 22px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  margin-bottom: 24px;
}
.modal-body p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.85;
  white-space: pre-line;
}
.modal-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-demo-empty {
  font-size: 0.85rem;
  color: var(--text-mute);
  font-style: italic;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.modal-open { overflow: hidden; }


/* ============= 13. Reveal Animation ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


/* ============= 14. Responsive ============= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  /* 移动端保留「预约演示」，与 Logo 左右分布 */
  .nav-cta {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .brand {
    min-width: 0;
    flex: 1;
  }
  .brand-logo {
    width: 148px;
    max-height: 46px;
  }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { height: 64px; }
  .nav-cta {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 4px;
  }
  .nav-cta svg {
    width: 12px;
    height: 12px;
  }
  .brand-logo {
    width: 132px;
    max-height: 42px;
  }
  .hero { padding-top: 110px; padding-bottom: 60px; min-height: auto; }
  .section { padding: 70px var(--pad-x); }
  .biz-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-side, .modal-panel { padding: 26px; }
  .starmap { height: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 24px; }
  .orbit-list .planet {
    font-size: 0.74rem;
    padding: 8px 12px;
    max-width: min(20rem, 82vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
