/* ==========================================================================
   独特优势 · 文案化内容区（SEO 友好）
   设计 token 继承自 index.css 的 :root（--gold/--brown/--cream/--muted/--border）
   ========================================================================== */

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 168px 40px 84px;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 70% at 50% -12%, rgba(200, 150, 62, 0.26), transparent 62%),
    linear-gradient(180deg, #2c1810 0%, #241109 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 150, 62, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.page-hero .ph-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(250, 248, 245, 0.55);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(250, 248, 245, 0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--gold); }
.page-hero h1 {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
  letter-spacing: 1px;
}
.page-hero h1 .gradient-text {
  background: linear-gradient(111deg, var(--gold) 5%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-hero .ph-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.62);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 内容区通用 ---------- */
.adv-section { padding: 88px 40px; }
.adv-section--alt { background: #fff; }
.adv-container { max-width: 1200px; margin: 0 auto; }
.adv-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.adv-head h2 {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brown);
  letter-spacing: 1px;
}
.adv-head h2 .gradient-text {
  background: linear-gradient(111deg, var(--gold) 5%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.adv-head .adv-lead { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.adv-head .adv-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}
.adv-rule {
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ---------- 核心优势：6 卡片网格 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px 34px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.adv-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(44, 24, 16, 0.10); border-color: rgba(200, 150, 62, 0.45); }
.adv-card:hover::after { opacity: 1; }
.adv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.adv-card h3 {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}
.adv-card p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ---------- 解决方案：特性列表 ---------- */
.adv-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.adv-sol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 32px 30px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.adv-sol-card:hover { box-shadow: 0 14px 32px rgba(44, 24, 16, 0.08); transform: translateY(-3px); }
.adv-sol-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.adv-sol-card h3::before { content: '\258D'; color: var(--gold); margin-right: 6px; }
.adv-sol-card p { font-size: 15px; line-height: 1.8; color: var(--muted); }

/* ---------- 为什么选择章动 ---------- */
.adv-why-list { list-style: none; max-width: 860px; margin: 0 auto; counter-reset: adv; }
.adv-why-list li {
  position: relative;
  counter-increment: adv;
  padding: 22px 24px 22px 76px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--brown);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.adv-why-list li:hover { border-color: rgba(200, 150, 62, 0.5); box-shadow: 0 12px 28px rgba(44, 24, 16, 0.08); }
.adv-why-list li::before {
  content: counter(adv, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adv-why-list li strong { color: var(--brown); }
.adv-cta {
  margin: 40px auto 0;
  text-align: center;
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
}
.adv-cta em {
  font-style: normal;
  background: linear-gradient(111deg, var(--gold) 5%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 版权墙 ---------- */
.adv-ip-panel {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2c1810 0%, #241109 100%);
  border-radius: 18px;
  padding: 48px 44px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.adv-ip-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 150, 62, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.adv-ip-panel h3 {
  position: relative;
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.adv-ip-panel p { position: relative; font-size: 15px; line-height: 1.8; color: rgba(250, 248, 245, 0.72); }
.adv-ip-stats { position: relative; display: flex; justify-content: center; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.adv-ip-stats .stat b {
  display: block;
  font-size: 40px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(111deg, var(--gold) 5%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.adv-ip-stats .stat span { font-size: 13px; color: rgba(250, 248, 245, 0.6); letter-spacing: 1px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 40px; }
  .adv-head h2 { font-size: 30px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 130px 24px 64px; }
  .adv-section { padding: 64px 24px; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-solution-grid { grid-template-columns: 1fr; }
  .adv-head h2 { font-size: 26px; }
  .adv-ip-stats { gap: 28px; }
}

/* ==========================================================================
   作品登记证书墙 · 图片 + 作品名称标题 + 点击放大（SEO 友好）
   设计 token 继承自 index.css 的 :root
   ========================================================================== */

.adv-cert-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% -8%, rgba(200, 150, 62, 0.20), transparent 60%),
    linear-gradient(180deg, #2c1810 0%, #241109 100%);
}
.adv-cert-section .adv-head h2 { color: var(--cream); }
.adv-cert-section .adv-head .adv-lead { color: rgba(250, 248, 245, 0.62); }

.adv-cert-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 12px;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.adv-cert-item { margin: 0; display: flex; }

.adv-cert-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: zoom-in;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  transition: transform 0.25s ease;
}
.adv-cert-card:hover { transform: translateY(-5px); }
.adv-cert-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.adv-cert-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  min-height: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}
.adv-cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.adv-cert-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(250, 248, 245, 0.85);
  word-break: break-word;
  margin-top: auto;
  transition: color 0.2s ease;
}
.adv-cert-card:hover .adv-cert-name { color: var(--gold); }

/* ---------- 弹窗 ---------- */
.adv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(24, 14, 8, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.adv-lightbox[hidden] { display: none; }
.adv-lightbox-backdrop { position: absolute; inset: 0; }
.adv-lightbox-body {
  position: relative;
  max-width: min(1180px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: advFadeIn 0.28s ease;
}
.adv-lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.adv-lightbox-caption {
  margin-top: 16px;
  color: var(--cream);
  font-size: 15px;
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  text-align: center;
  line-height: 1.7;
  max-width: 720px;
}
.adv-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brown);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.adv-lightbox-close:hover { background: var(--gold); color: #fff; transform: rotate(90deg); }
.adv-lightbox-close:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

@keyframes advFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- 证书墙响应式 ---------- */
@media (max-width: 1100px) {
  .adv-cert-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .adv-cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .adv-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .adv-cert-card { gap: 12px; }
  .adv-cert-name { font-size: 11.5px; }
  .adv-lightbox { padding: 16px; }
  .adv-lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; font-size: 20px; }
}
