/* ==========================================================================
   全站附加样式（返回顶部、详情/列表/FAQ/价格/联系/团队等页面级组件）
   ========================================================================== */

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 30px; bottom: 30px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all .35s ease; z-index: 80;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--ink); }

/* ==========================================================================
   服务/课程详情页 通用组件
   ========================================================================== */

/* 详情页大图横幅（对角斜切） */
.detail-banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 50px; box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.detail-banner img { width: 100%; height: 420px; object-fit: cover; }
.detail-banner .banner-cap {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 30px 36px;
  background: linear-gradient(0deg, rgba(12, 12, 14, .85) 0%, transparent 100%); color: #fff;
}
.detail-banner .banner-cap h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.detail-banner .banner-cap p { color: rgba(255, 255, 255, .8); font-size: 15px; }

/* 图文左右块 */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.split-block.reverse .split-img { order: 2; }

.split-img { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.split-img img { width: 100%; height: 360px; object-fit: cover; }

.split-text h3 { font-size: 26px; margin-bottom: 16px; }
.split-text p { color: var(--ash); margin-bottom: 16px; line-height: 1.9; }

.split-text ul.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  font-size: 14.5px; color: var(--slate);
}
.split-text ul.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--mist);
}
.split-text ul.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 8px; height: 4px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg);
}

/* 特性卡组（详情页用，区别于首页 adv-card） */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.spec-card {
  padding: 32px 26px; background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--line); text-align: center; transition: all .4s ease;
}
.spec-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
}

.spec-card .spec-ico {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: var(--r-sm);
  background: var(--mist); display: flex; align-items: center; justify-content: center;
  transition: all .4s ease;
}
.spec-card:hover .spec-ico { background: var(--black); }
.spec-card:hover .spec-ico svg { stroke: var(--white); }

.spec-card h4 { font-size: 18px; margin-bottom: 10px; }
.spec-card p { font-size: 13.5px; color: var(--ash); line-height: 1.8; }

/* 数据条 */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metric-row .metric { padding: 28px 16px; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.metric-row .metric strong { display: block; font-size: 34px; color: var(--ink); font-family: var(--font-en); line-height: 1; margin-bottom: 8px; font-weight: 700; }
.metric-row .metric span { font-size: 13.5px; color: var(--ash); }

/* ==========================================================================
   服务/课程总览（编号大卡 - 悬停反白）
   ========================================================================== */
.svc-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.svc-tile {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 36px 26px 30px; transition: all .4s ease;
  overflow: hidden; display: flex; flex-direction: column;
}

.svc-tile::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-dark);
  opacity: 0; transition: opacity .4s ease; z-index: 0;
}
.svc-tile > * { position: relative; z-index: 1; }

.svc-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-tile:hover::before { opacity: 1; }

.svc-tile .tile-no { font-size: 44px; font-family: var(--font-en); font-weight: 700; color: var(--fog); line-height: 1; margin-bottom: 14px; transition: color .4s ease; }
.svc-tile:hover .tile-no { color: rgba(255, 255, 255, .25); }

.svc-tile .tile-ico { width: 60px; height: 60px; border-radius: var(--r-sm); background: var(--mist); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: all .4s ease; }
.svc-tile:hover .tile-ico { background: rgba(255, 255, 255, .12); }
.svc-tile:hover .tile-ico svg { stroke: var(--white); }

.svc-tile h3 { font-size: 18px; margin-bottom: 12px; transition: color .4s ease; }
.svc-tile:hover h3 { color: #fff; }

.svc-tile p { font-size: 13.5px; color: var(--ash); line-height: 1.8; margin-bottom: 20px; flex: 1; transition: color .4s ease; }
.svc-tile:hover p { color: rgba(244, 244, 246, .8); }

.svc-tile .tile-more { font-size: 13.5px; font-weight: 600; color: var(--ink); transition: all .4s ease; }
.svc-tile:hover .tile-more { color: var(--white); }

@media (max-width: 1100px) { .svc-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-overview { grid-template-columns: 1fr; } }

/* ==========================================================================
   案例列表页 筛选
   ========================================================================== */
.case-filter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.case-filter button {
  padding: 9px 22px; border-radius: var(--r-pill); background: var(--white);
  border: 1px solid var(--line); color: var(--slate); font-size: 13.5px;
  font-weight: 500; transition: all .3s ease;
}
.case-filter button:hover, .case-filter button.active { background: var(--black); color: var(--white); border-color: transparent; }

/* ==========================================================================
   新闻列表页
   ========================================================================== */
.news-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.news-page-main .news-item { margin-bottom: 22px; }

.news-side .side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; margin-bottom: 26px; }
.news-side .side-card h4 {
  font-size: 17px; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--mist); display: flex; align-items: center; gap: 10px;
}
.news-side .side-card h4::before { content: ""; width: 5px; height: 18px; background: var(--black); border-radius: 3px; transform: skewX(-12deg); }

/* ==========================================================================
   详情页（show.html）文章排版
   ========================================================================== */
.article-wrap { background: var(--white); border-radius: var(--r-lg); padding: 50px 56px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 32px; }
.article-head h1 { font-size: 30px; line-height: 1.4; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--ash); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-content { font-size: 16px; line-height: 2; color: var(--slate); }
.article-content p { margin-bottom: 22px; }
.article-content h2 { font-size: 22px; margin: 36px 0 16px; padding-left: 14px; border-left: 4px solid var(--black); }
.article-content h3 { font-size: 18px; margin: 28px 0 12px; }
.article-content img { border-radius: var(--r-md); margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-content ul, .article-content ol { margin: 0 0 22px 22px; }
.article-content ul li, .article-content ol li { margin-bottom: 8px; list-style: disc; }
.article-content ol li { list-style: decimal; }

/* 代码块（编程教程用） */
.article-content pre {
  background: var(--ink); color: var(--mist); padding: 22px 26px;
  border-radius: var(--r-md); margin: 22px 0; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7;
}
.article-content pre code { color: inherit; font-family: inherit; }
.article-content code { font-family: var(--font-mono); background: var(--fog); padding: 2px 7px; border-radius: 4px; font-size: .9em; color: var(--ink); }

.article-foot {
  margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.article-tags a { display: inline-block; padding: 5px 14px; background: var(--mist); border-radius: var(--r-pill); font-size: 12.5px; color: var(--graphite); margin-right: 8px; }
.article-tags a:hover { background: var(--black); color: var(--white); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; overflow: hidden; transition: all .3s ease; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--steel); }

.faq-q {
  width: 100%; text-align: left; padding: 22px 26px; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-q .faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--mist); display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--black); color: var(--white); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 26px 24px; color: var(--ash); font-size: 14.5px; line-height: 1.9; }

/* ==========================================================================
   价格表
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 32px; text-align: center; transition: all .4s ease; position: relative;
}
.price-card.featured { border-color: var(--black); box-shadow: var(--shadow-md); transform: translateY(-8px); }

.price-card .price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 5px 18px; background: var(--black); color: var(--white);
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: 1px;
}

.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card .price-desc { font-size: 13px; color: var(--ash); margin-bottom: 22px; }
.price-card .price-num { font-size: 42px; color: var(--ink); font-family: var(--font-en); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.price-card .price-unit { font-size: 13px; color: var(--ash); margin-bottom: 26px; }

.price-card ul { text-align: left; margin-bottom: 28px; }
.price-card ul li {
  padding: 9px 0; font-size: 14px; color: var(--slate);
  border-bottom: 1px dashed var(--line); display: flex; align-items: center; gap: 10px;
}
.price-card ul li::before { content: "✓"; color: var(--ink); font-weight: 700; }

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }

.contact-info-card { background: var(--grad-dark); color: var(--mist); border-radius: var(--r-lg); padding: 44px 38px; }
.contact-info-card h3 { color: #fff; font-size: 24px; margin-bottom: 24px; }
.contact-info-card .ci-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-card .ci-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .ci-body p { color: rgba(244, 244, 246, .6); font-size: 12.5px; margin-bottom: 4px; }
.contact-info-card .ci-body strong { color: #fff; font-size: 16px; }

.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 38px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; color: var(--slate); margin-bottom: 8px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 14px; color: var(--ink); background: var(--paper); transition: all .3s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--black); background: #fff; box-shadow: 0 0 0 3px rgba(24, 24, 27, .06);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-tip { font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ==========================================================================
   团队页
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: all .4s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-card .t-photo { height: 230px; overflow: hidden; position: relative; }
.team-card .t-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.team-card:hover .t-photo img { transform: scale(1.05); }

.team-card .t-info { padding: 22px 20px; text-align: center; }
.team-card .t-info h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .t-info .t-role { font-size: 12.5px; color: var(--graphite); margin-bottom: 10px; letter-spacing: 1px; }
.team-card .t-info p { font-size: 12.5px; color: var(--ash); line-height: 1.7; }

/* ==========================================================================
   时间线
   ========================================================================== */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--black), var(--steel)); }

.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--ink); z-index: 2;
}
.tl-item .tl-year { font-size: 22px; font-family: var(--font-en); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.tl-item h4 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--ash); }

/* ==========================================================================
   荣誉墙
   ========================================================================== */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; text-align: center; transition: all .4s ease; }
.honor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.honor-card .h-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.honor-card h4 { font-size: 17px; margin-bottom: 8px; }
.honor-card .h-year { font-size: 13px; color: var(--ash); font-family: var(--font-en); }
.honor-card p { font-size: 13px; color: var(--ash); margin-top: 8px; line-height: 1.7; }

/* ==========================================================================
   课程列表（带进度/层级）
   ========================================================================== */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: all .4s ease; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-card .c-cover { position: relative; height: 180px; overflow: hidden; }
.course-card .c-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course-card:hover .c-cover img { transform: scale(1.06); }
.course-card .c-level { position: absolute; top: 14px; left: 14px; padding: 4px 12px; background: rgba(255,255,255,.92); border-radius: var(--r-pill); font-size: 11.5px; color: var(--ink); font-weight: 600; }
.course-card .c-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.course-card .c-body h3 { font-size: 18px; margin-bottom: 10px; }
.course-card .c-body p { font-size: 13px; color: var(--ash); line-height: 1.75; margin-bottom: 16px; flex: 1; }
.course-card .c-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--steel); }
.course-card .c-meta .more { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   标签/筛选 横排
   ========================================================================== */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tag-row a, .tag-row button { padding: 8px 18px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); color: var(--slate); font-size: 13px; transition: all .3s ease; }
.tag-row a:hover, .tag-row button:hover, .tag-row a.active { background: var(--black); color: var(--white); border-color: transparent; }

/* ==========================================================================
   答疑/排障 列表
   ========================================================================== */
.qa-list { display: flex; flex-direction: column; gap: 18px; }
.qa-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; transition: all .35s ease; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.qa-item:hover { box-shadow: var(--shadow-md); border-color: var(--steel); transform: translateX(6px); }
.qa-item .qa-no { width: 46px; height: 46px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; color: var(--ink); flex-shrink: 0; }
.qa-item:hover .qa-no { background: var(--black); color: var(--white); }
.qa-item .qa-body h4 { font-size: 17px; margin-bottom: 6px; }
.qa-item .qa-body p { font-size: 13px; color: var(--ash); }
.qa-item .qa-arrow { color: var(--steel); font-size: 20px; transition: all .3s ease; }
.qa-item:hover .qa-arrow { color: var(--ink); transform: translateX(4px); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .news-page-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .split-block { grid-template-columns: 1fr; gap: 30px; }
  .split-block.reverse .split-img { order: 0; }
  .spec-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 30px 24px; }
  .article-head h1 { font-size: 22px; }
  .detail-banner img { height: 240px; }
  .detail-banner .banner-cap h2 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .qa-item { grid-template-columns: auto 1fr; }
  .qa-item .qa-arrow { display: none; }
}

/* ==========================================================================
   合作伙伴卡（partners.html）
   ========================================================================== */
.partner-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 22px; text-align: center; transition: all .4s ease;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--steel); }
.partner-card .p-logo {
  height: 56px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; background: var(--mist); border-radius: var(--r-sm); transition: all .4s ease;
}
.partner-card:hover .p-logo { background: var(--black); }
.partner-card:hover .p-logo svg { stroke: var(--white); }
.partner-card h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.partner-card p { font-size: 12.5px; color: var(--ash); }

/* ==========================================================================
   站点地图卡（sitemap.html）
   ========================================================================== */
.sitemap-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 26px; transition: all .4s ease;
}
.sitemap-card:hover { box-shadow: var(--shadow-md); border-color: var(--steel); }
.sitemap-card h3 {
  display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--mist);
}
.sitemap-card h3 svg { flex-shrink: 0; }
.sitemap-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sitemap-card ul li a {
  display: inline-flex; align-items: center; font-size: 13.5px; color: var(--slate);
  transition: all .25s ease; padding-left: 12px; position: relative;
}
.sitemap-card ul li a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--steel); transition: all .25s ease;
}
.sitemap-card ul li a:hover { color: var(--ink); transform: translateX(4px); }
.sitemap-card ul li a:hover::before { background: var(--black); }

/* ==========================================================================
   404 错误页（404.html）
   ========================================================================== */
.error-section { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.error-box { max-width: 640px; margin: 0 auto; text-align: center; }
.error-code {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 28px; line-height: 1;
}
.error-code .num {
  font-size: 96px; font-family: var(--font-en); font-weight: 700; color: var(--ink);
  letter-spacing: -2px;
}
.error-code .num.zero { color: var(--ash); }
.error-box .eyebrow { display: block; margin-bottom: 14px; }
.error-box h1 { font-size: 34px; margin-bottom: 18px; color: var(--ink); }
.error-box .error-desc { font-size: 15px; color: var(--ash); line-height: 1.9; margin-bottom: 32px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.error-links {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.error-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 13.5px; color: var(--slate); transition: all .3s ease;
}
.error-links a:hover { background: var(--black); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.error-links a:hover svg { stroke: var(--white); }

/* ==========================================================================
   会员中心（member.html）
   ========================================================================== */
.member-login {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 48px 44px;
}
.member-welcome .eyebrow { display: block; margin-bottom: 14px; }
.member-welcome h2 { font-size: 28px; margin-bottom: 16px; color: var(--ink); }
.member-welcome p { font-size: 14.5px; color: var(--ash); line-height: 1.9; margin-bottom: 26px; }
.member-quick { display: flex; gap: 14px; flex-wrap: wrap; }

.member-login-card {
  background: var(--mist); border-radius: var(--r-md); padding: 32px 30px;
}
.member-login-card h3 { font-size: 20px; margin-bottom: 22px; color: var(--ink); }
.member-login-card .member-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.member-login-card .member-check input { accent-color: var(--black); }
.member-login-card .member-forget { font-size: 13px; color: var(--graphite); margin-left: auto; }
.member-login-card .member-submit { display: block; width: 100%; text-align: center; margin-top: 8px; margin-bottom: 16px; }
.member-login-card .member-reg { text-align: center; font-size: 13px; color: var(--ash); }
.member-login-card .member-reg a { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   源码下载列表（download.html）
   ========================================================================== */
.download-list { display: flex; flex-direction: column; gap: 18px; }
.download-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 28px; transition: all .35s ease;
}
.download-item:hover { box-shadow: var(--shadow-md); border-color: var(--steel); transform: translateX(6px); }

.dl-icon {
  width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--mist);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .35s ease;
}
.download-item:hover .dl-icon { background: var(--black); }
.download-item:hover .dl-icon svg { stroke: var(--white); }

.dl-info { min-width: 0; }
.dl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.dl-info h3 { font-size: 18px; color: var(--ink); }
.dl-tag {
  padding: 3px 12px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600;
}
.dl-tag.free { background: var(--mist); color: var(--graphite); }
.dl-tag.pro { background: var(--black); color: var(--white); }
.dl-info p { font-size: 13.5px; color: var(--ash); line-height: 1.75; margin-bottom: 12px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--steel); }
.dl-meta span { display: inline-flex; align-items: center; gap: 6px; }

.dl-action { display: flex; flex-direction: column; gap: 10px; align-items: center; flex-shrink: 0; }
.dl-doc { font-size: 12.5px; color: var(--graphite); transition: color .3s ease; }
.dl-doc:hover { color: var(--ink); }

/* ==========================================================================
   响应式（新增组件）
   ========================================================================== */
@media (max-width: 1100px) {
  .member-login { grid-template-columns: 1fr; gap: 36px; padding: 36px 30px; }
}

@media (max-width: 700px) {
  .partner-card { padding: 24px 18px; }
  .error-code .num { font-size: 64px; }
  .error-box h1 { font-size: 26px; }
  .member-login { padding: 28px 22px; }
  .download-item { grid-template-columns: 1fr; gap: 16px; }
  .dl-icon { width: 52px; height: 52px; }
  .dl-action { flex-direction: row; justify-content: flex-start; }
}
