/* ==========================================================================
   Page consistency pass
   统一非首页页面的：页头、区块节奏、标签、说明卡片
   （保留原有 3D、动效、玻璃卡片与图标，不删视觉效果）
   ========================================================================== */

/* ---------- 统一小标签：从胶囊改成极简文字标签 ---------- */
.eyebrow {
  gap: 9px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink-3) !important;
  font-size: 10.5px !important;
  letter-spacing: 0.18em !important;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-head--center .eyebrow::before,
.cta-band .eyebrow::before,
.cta-band__inner .eyebrow::before { display: none; }

/* ---------- 统一页头 ---------- */
.page-hero {
  min-height: 520px;
  padding: 138px 0 72px;
}
.page-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(40px, 4.5vw, 64px);
}
.page-hero__copy { max-width: 660px; }
.page-hero__title {
  max-width: 660px;
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.14;
}
.page-hero__desc {
  max-width: 600px;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.9;
}
.page-hero__actions { margin-top: 28px; }
.page-hero__aside {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.page-hero__aside .glass-window { width: 100%; }
.page-hero__aside .fact-row { padding: 12px 0; font-size: 12.8px; }
.page-hero__aside .fact-row:last-child { border-bottom: 0; }
.page-hero__aside .mock__body { padding: 6px 20px 14px; }

/* About 页头：立方体 + 公司事实合并为一张说明卡 */
.hero-facts__visual {
  position: relative;
  height: 150px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(80% 90% at 50% 50%, rgba(47, 91, 255, 0.1), transparent 72%),
    rgba(12, 51, 134, 0.035);
}
.hero-facts__visual .cube-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  transform: scale(0.58);
  transform-origin: center;
}
.hero-facts__visual .orbit-scene { inset: 0; }

/* ---------- 统一区块节奏 ---------- */
.section { padding-block: clamp(68px, 7.5vw, 104px); }
.section--tight { padding-block: clamp(48px, 5.4vw, 72px); }
.section + .section { padding-top: clamp(68px, 7.5vw, 104px); }
.section-head { margin-bottom: clamp(32px, 4.2vw, 52px); }
.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.26;
}
.section-desc { max-width: 600px; }
.section-actions { margin-top: 24px; }

/* ---------- 卡片统一 ---------- */
.glass-card,
.solution-card,
.case-card,
.contact-card,
.value-card { border-radius: 20px; }
.solution-card { padding: 28px; }
.contact-card { padding: 26px; }

/* ---------- 平板适配 ---------- */
@media (min-width: 769px) and (max-width: 1180px) {
  .header-shell {
    width: auto;
    margin-inline: 20px;
    padding-inline: 16px !important;
    border-radius: 999px;
  }
  .page-hero {
    min-height: auto;
    padding: 126px 0 58px;
  }
  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .page-hero__copy { max-width: 760px; }
  .page-hero__aside { display: none; }
  .section { padding-block: 64px; }
}

/* ---------- 手机适配 ---------- */
@media (max-width: 768px) {
  .header-shell {
    width: auto;
    margin-inline: 12px;
    padding-inline: 12px !important;
  }
  .page-hero {
    min-height: auto;
    padding: 112px 0 46px;
  }
  .page-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-hero__aside { display: none; }
  .page-hero__title { font-size: clamp(33px, 9.8vw, 44px); }
  .page-hero__desc { margin-top: 16px; font-size: 14px; line-height: 1.85; }
  .page-hero__actions { margin-top: 22px; }
  .section { padding-block: 54px; }
  .section + .section { padding-top: 54px; }
  .section-head { margin-bottom: 26px; }
  .section-title { font-size: clamp(27px, 7.4vw, 34px); }
  .section-desc { font-size: 14px; }
  .eyebrow { font-size: 9.5px !important; letter-spacing: 0.16em !important; }
  .eyebrow::before { width: 18px; }
  .solution-card, .contact-card { padding: 22px; }
}

/* 页头之后的第一节不要再多叠一层大留白 */
.page-hero + .section,
.page-hero + .section--tight {
  padding-top: clamp(44px, 5vw, 68px);
}
@media (max-width: 768px) {
  .page-hero + .section,
  .page-hero + .section--tight {
    padding-top: 34px;
  }
}


/* ==========================================================================
   首页产品卡：轻量线框视觉（替换厚重深蓝大色块）
   ========================================================================== */
[data-page="home"] .product-visual {
  position: relative;
  height: 190px;
  overflow: hidden;
  color: #0c3386;
  background:
    radial-gradient(80% 100% at 88% 0%, rgba(47, 91, 255, 0.08), transparent 62%),
    linear-gradient(145deg, #f8fbff 0%, #eef5fe 55%, #e9f2fd 100%);
  border-bottom: 1px solid rgba(12, 51, 134, 0.08);
}
[data-page="home"] .product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 51, 134, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 51, 134, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(75% 100% at 80% 10%, #000 15%, transparent 78%);
  mask-image: radial-gradient(75% 100% at 80% 10%, #000 15%, transparent 78%);
}
[data-page="home"] .product-visual__meta {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  color: rgba(12, 51, 134, 0.55);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}
[data-page="home"] .product-visual__meta em {
  margin-right: 8px;
  color: #0c3386;
  font-style: normal;
  font-weight: 600;
}
[data-page="home"] .product-visual__art {
  position: absolute;
  top: 0;
  right: -14px;
  width: 66%;
  height: 100%;
  opacity: 0.95;
  transition: transform 0.8s var(--ease);
}
[data-page="home"] .product-card:hover .product-visual__art {
  transform: translateX(-8px) scale(1.025);
}
[data-page="home"] .product-visual__caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(12, 51, 134, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0c3386;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
[data-page="home"] .product-visual__caption::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0c3386;
  opacity: 0.65;
}
[data-page="home"] .product-visual--alumni {
  color: #0c3386;
  background:
    radial-gradient(80% 100% at 20% 100%, rgba(47, 91, 255, 0.07), transparent 62%),
    linear-gradient(145deg, #f8fbff 0%, #eff5fe 55%, #eaf2fd 100%);
}

@media (prefers-color-scheme: dark) {
  [data-page="home"] .product-visual {
    color: #aac5ee;
    background:
      radial-gradient(80% 100% at 88% 0%, rgba(77, 124, 254, 0.12), transparent 62%),
      linear-gradient(145deg, #0d192b 0%, #0b1525 55%, #091220 100%);
    border-bottom-color: rgba(157, 185, 230, 0.12);
  }
  [data-page="home"] .product-visual::before {
    background-image:
      linear-gradient(rgba(157, 185, 230, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(157, 185, 230, 0.06) 1px, transparent 1px);
  }
  [data-page="home"] .product-visual__meta { color: rgba(185, 206, 233, 0.55); }
  [data-page="home"] .product-visual__meta em { color: #b9cee9; }
  [data-page="home"] .product-visual__caption {
    border-color: rgba(157, 185, 230, 0.18);
    background: rgba(10, 20, 35, 0.72);
    color: #cbe0f8;
  }
  [data-page="home"] .product-visual__caption::before { background: #9db9e6; }
}

@media (max-width: 768px) {
  [data-page="home"] .product-visual { height: 154px; }
  [data-page="home"] .product-visual__meta { top: 16px; left: 18px; font-size: 9px; }
  [data-page="home"] .product-visual__art { width: 70%; right: -20px; }
  [data-page="home"] .product-visual__caption { left: 18px; bottom: 15px; padding: 5px 10px; font-size: 10.5px; }
}



/* ==========================================================================
   Footer bottom：版权、协议、备案分组排列，移动端不拥挤
   ========================================================================== */
.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}
.footer__copyright {
  margin: 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.8;
}
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}
.footer__legal-links,
.footer__filings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.footer__legal-links { font-size: 12px; }
.footer__filings { font-size: 11.5px; line-height: 1.7; }
.footer__legal a { color: var(--ink-3); }
.footer__legal a:hover { color: var(--ink-2); }
.footer__beian { display: inline-flex; align-items: center; gap: 5px; }
.footer__beian img { width: 14px; height: 15px; object-fit: contain; opacity: 0.9; }

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-block: 18px 22px;
  }
  .footer__copyright {
    font-size: 11.5px;
    line-height: 1.75;
  }
  .footer__legal {
    width: 100%;
    align-items: flex-start;
    gap: 9px;
  }
  .footer__legal-links {
    gap: 6px 18px;
    font-size: 11.5px;
  }
  .footer__filings {
    width: 100%;
    justify-content: flex-start;
    gap: 5px 14px;
    font-size: 11px;
    line-height: 1.7;
  }
  .footer__beian { gap: 4px; }
  .footer__beian img { width: 12px; height: 13px; }
  /* 手机端隐藏回到顶部，避免盖住备案号 */
  .to-top { display: none !important; }
}



/* 合作院校 Logo：点击进入学校官网 */
.partner-logo-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 8px;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.partner-logo-link:hover { opacity: 0.82; }
.partner-logo-link:active { transform: scale(0.99); }
.partner-logo-link:focus-visible {
  outline: 2px solid #0c3386;
  outline-offset: 4px;
}
.partner-logo-link .partner-logo-picture { display: inline-flex; margin-bottom: 0; }
.partner-logo-link .partner-logo-img { margin-bottom: 0; }


/* 关于/案例页：Logo 换行后保留原来的上下留白 */
.split__content .partner-logo-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 20px;
}
@media (max-width: 560px) {
  .split__content .partner-logo-link { margin-bottom: 16px; }
}

/* ==========================================================================
   关于页 3D 立方体：去掉每个面的实时 backdrop-filter（是页面卡顿主因）
   保留半透明渐变、边框和内高光，视觉仍保持玻璃感
   ========================================================================== */
[data-page="about"] .cube__face {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg,
    rgba(77, 124, 254, 0.24) 0%,
    rgba(255, 255, 255, 0.07) 46%,
    rgba(47, 91, 255, 0.2) 100%);
  box-shadow:
    inset 0 0 38px rgba(143, 180, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
