/* ===== 元策数智 全站统一导航（钉钉式全宽产品面板） ===== */
.y-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 64px;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.y-nav.scrolled { border-bottom-color: #e5e6eb; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.y-nav-inner {
  max-width: 1160px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 26px;
}
.y-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.y-logo svg { width: 34px; height: 34px; display: block; }
.y-logo-text { font-size: 17.5px; font-weight: 800; color: #1f2329; letter-spacing: .5px; }
.y-menu { display: flex; align-items: center; gap: 2px; }
/* 注意：.y-item 不能设 position:relative，否则全宽面板会缩到菜单项宽度（实测踩过） */.y-item { height: 64px; display: flex; align-items: center; }
.y-link {
  display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: #1f2329; text-decoration: none;
  transition: background .18s, color .18s; white-space: nowrap;
}
.y-link:hover { background: #f2f3f5; color: #3370ff; }
.y-caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 3px; opacity: .55; }
.y-new { font-size: 10px; font-weight: 800; color: #00b578; background: rgba(0,181,120,.12); border-radius: 5px; padding: 1px 5px; margin-left: 2px; }

/* —— 全宽面板 —— */
.y-mega {
  position: absolute; top: 64px; left: 0; right: 0; padding-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.y-item:hover .y-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.y-mega-panel {
  background: #fff; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3;
  box-shadow: 0 24px 48px rgba(0,0,0,.08);
}
.y-mega-inner { max-width: 1160px; margin: 0 auto; padding: 34px 24px 38px; display: flex; gap: 64px; }
.y-mega-left { width: 208px; flex: none; }
.y-mega-title { font-size: 26px; font-weight: 800; color: #1f2329; letter-spacing: .5px; }
.y-mega-desc { margin-top: 10px; font-size: 13px; color: #8f959e; line-height: 1.9; }
.y-mega-all { display: inline-block; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: #3370ff; text-decoration: none; }
.y-mega-all:hover { text-decoration: underline; }
.y-mega-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; }
.y-mcard {
  display: block; padding: 14px 14px 15px; border-radius: 10px; text-decoration: none;
  transition: background .18s; cursor: pointer;
}
.y-mcard:hover { background: #f7f8fa; }
.y-mcard .y-mic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 10px; }
.y-mcard b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: #1f2329; line-height: 1.4; }
.y-mcard:hover b { color: #3370ff; }
.y-mcard span { display: block; margin-top: 4px; font-size: 12.5px; color: #8f959e; line-height: 1.55; }
.y-mcard.off { cursor: default; }
.y-mcard.off:hover { background: transparent; }
.y-mcard.off b, .y-mcard.off:hover b { color: #a9aeb8; }
.y-mcard.off span { color: #b8bcc4; }
.y-tag-live { font-size: 10px; font-weight: 800; color: #00b578; background: rgba(0,181,120,.12); border-radius: 5px; padding: 1px 6px; }
.y-tag-soon { font-style: normal; font-size: 10px; font-weight: 700; color: #a9aeb8; background: #f2f3f5; border-radius: 5px; padding: 1px 6px; }
.y-cta {
  margin-left: auto; flex: none; background: #3370ff; color: #fff; border: none;
  padding: 9px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.y-cta:hover { background: #1e40af; }

@media (max-width: 960px) {
  .y-menu { display: none; }
  .y-nav-inner { padding: 0 18px; }
}


/* ===== 全站统一页脚（与首页同构） ===== */
.y-footer { background: #f5f6f8; padding: 60px 0 40px; border-top: 1px solid #e5e6eb; }
.y-footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.y-footer-brand h3 { font-size: 20px; font-weight: 700; color: #1f2329; margin-bottom: 12px; }
.y-footer-brand p { font-size: 13px; color: #8f959e; line-height: 2; }
.y-footer-col h4 { font-size: 12px; font-weight: 700; color: #646a73; letter-spacing: 1.5px; margin-bottom: 16px; }
.y-footer-col a, .y-footer-col p { display: block; font-size: 13px; color: #8f959e; text-decoration: none; margin-bottom: 8px; line-height: 1.7; transition: color .2s; }
.y-footer-col a:hover { color: #3370ff; }
.y-footer-note { max-width: 1160px; margin: 34px auto 0; padding: 20px 40px 0; border-top: 1px dashed #e5e6eb; font-size: 12px; color: #a9aeb8; line-height: 1.9; }
.y-footer-bottom { max-width: 1160px; margin: 0 auto; padding: 20px 40px 0; margin-top: 20px; border-top: 1px solid #e5e6eb; font-size: 12px; color: #8f959e; display: flex; justify-content: space-between; }
.y-footer-bottom a { color: inherit; text-decoration: none; }
.y-footer-bottom a:hover { color: #3370ff; }
@media (max-width: 860px) {
  .y-footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 24px; }
  .y-footer-note, .y-footer-bottom { padding-left: 24px; padding-right: 24px; }
  .y-footer-bottom { flex-direction: column; gap: 8px; }
}
