/* ============================================================
   广拓时代官网 - 全局样式（SEO 静态站，纯 HTML/CSS/JS，无框架）
   设计令牌与 client/src/index.css :root 对齐，仅作视觉参考
   ============================================================ */

/* ---------- CSS 变量（与 React 项目 index.css 一致） ---------- */
:root {
  --primary: oklch(0.45 0.15 260);
  --primary-foreground: oklch(0.98 0 0);
  --background: oklch(0.98 0.01 260);
  --foreground: oklch(0.15 0.02 260);
  --muted-foreground: oklch(0.4 0.02 260);
  --border: oklch(0.85 0.02 260 / 0.5);
  --radius: 1rem;
  /* 兼容原 HTML 类名 */
  --primary-hover: #2563eb; /* 对齐 Button hover:bg-blue-600 */
  --primary-dark: oklch(0.35 0.14 260);
  --primary-light: oklch(0.94 0.05 260);
  --accent: oklch(0.55 0.19 260);
  --text-primary: var(--foreground);
  --text-secondary: var(--muted-foreground);
  --text-muted: oklch(0.55 0.02 260);
  --bg-white: #ffffff;
  --bg-gray: oklch(0.97 0.01 260);
  --bg-gray2: oklch(0.96 0.015 260);
  --border-light: oklch(0.95 0.01 260);
  --hero-bg: #0f172a;
  --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-primary-glow: 0 4px 14px rgba(37, 99, 235, 0.28);
  --transition: 0.25s ease;
  --container-max: 1280px;
  --font-sans: ui-sans-serif, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  /* 与 client index.css 动效缓动（Tailwind 默认 / tw-animate） */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
}
/* 返回顶部：对齐 client Layout 固定按钮（showBackToTop: scrollY > 400） */
.site-back-to-top {
  position: fixed;
  bottom: 2rem; /* bottom-8 */
  right: 2rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(2.5rem); /* translate-y-10 与 Layout 一致 */
  pointer-events: none;
  padding: 0.75rem; /* p-3 */
  cursor: pointer;
}
.site-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-back-to-top:hover {
  background: #2563eb; /* hover:bg-blue-600 */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.15rem);
}
.site-back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* 与 client Layout/seo 及 Tailwind .sr-only 一致：仅屏幕阅读器与爬虫可读 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 50%, oklch(0.45 0.15 260 / 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, oklch(0.6 0.15 180 / 0.05), transparent 25%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Container（与 Tailwind container / Layout 一致） ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }
.section-gray2 { background: var(--bg-gray2); }

/* 资讯/GEO 详情主栏、成功案例正文区：白卡片 */
.detail-main-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px 36px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07), 0 8px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.95);
  min-width: 0;
}
@media (max-width: 768px) {
  .detail-main-card {
    padding: 20px 18px 28px;
    border-radius: 12px;
  }
}

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary-glow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: var(--hero-gradient);
  padding: 80px 0 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.page-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.page-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.page-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* GEO 详情页（静态）：面包屑对齐到左上角（与其它详情页一致）
   仅命中：.page-hero > .container 的直接子元素 breadcrumb（由 main.js 注入），避免影响列表页等结构 */
.page-hero .container > nav.breadcrumb {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  margin: 0 0 10px;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}
.page-hero .container > nav.breadcrumb ~ h1,
.page-hero .container > nav.breadcrumb ~ p {
  text-align: left;
}

/* 统一：详情页 Hero 标题栏（面包屑更靠上 + 与标题更舒展） */
body.page-detail-hero--spacious .page-hero {
  padding-top: 72px;
  padding-bottom: 64px;
}
body.page-detail-hero--spacious .page-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  row-gap: 16px;
}
body.page-detail-hero--spacious .page-hero .breadcrumb,
body.page-detail-hero--spacious .page-hero .breadcrumb--hero,
body.page-detail-hero--spacious .page-hero .container > nav.breadcrumb {
  margin: 0 !important;
}

/* 方案详情：面包屑与标题间距统一（sol-hero 不走 .page-hero） */
body.page-detail-hero--spacious .sol-hero__crumb {
  margin-bottom: 16px !important;
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}
.tag-green { background: #dcfce7; color: #16a34a; }
.tag-orange { background: #ffedd5; color: #ea580c; }
.tag-purple { background: #f3e8ff; color: #9333ea; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ---------- Feature List ---------- */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 18px;
}
.feature-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.feature-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--hero-gradient);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.45 0.15 260 / 0.2);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition);
  cursor: pointer;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------- News Card ---------- */
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body { padding: 24px; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.news-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-title:hover { color: var(--primary); }
.news-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.news-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-card-link:hover { gap: 8px; }

/* ---------- Article Content ---------- */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}
.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-primary);
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-primary);
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-content li { margin-bottom: 8px; }
.article-content strong { font-weight: 700; color: var(--text-primary); }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  color: var(--text-secondary);
}

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ---------- Filter Buttons ---------- */
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Process Steps ---------- */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 6px var(--bg-white), 0 0 0 8px var(--primary-light);
}
.step-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) {
  .steps { flex-direction: column; gap: 24px; }
  .steps::before { display: none; }
  .step { display: flex; align-items: flex-start; gap: 16px; text-align: left; }
  .step-num { flex-shrink: 0; margin: 0; }
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.highlight-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Swiper Overrides ---------- */
.swiper-pagination-bullet { background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); }
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  background: var(--bg-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px; font-weight: 700; }

/* ---------- AOS Overrides ---------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
/* AOS 脚本未加载/初始化失败时：外链 aos.css 常使 [data-aos] 保持 opacity:0，表现为大片空白；且未触发 aos-animate 时 pointer-events 被上方规则禁用 */
html.aos-unavailable [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: none !important;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ---------- 404：品牌化落地页 ---------- */
.page-notfound--branded {
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 45%, #f5f9ff 100%);
}
.page-notfound__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.65;
  pointer-events: none;
}
.page-notfound__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.page-notfound__blob--1 {
  top: 8%;
  left: 6%;
  width: 18rem;
  height: 18rem;
  background: rgba(37, 99, 235, 0.14);
}
.page-notfound__blob--2 {
  bottom: 10%;
  right: 8%;
  width: 22rem;
  height: 22rem;
  background: rgba(96, 165, 250, 0.16);
}
.page-notfound__shell {
  position: relative;
  z-index: 1;
}
.page-notfound__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .page-notfound__hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 3rem;
    margin-bottom: 4rem;
  }
}
.page-notfound__content {
  text-align: left;
}
.page-notfound__code {
  margin: 0 0 0.75rem;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #2563eb;
  opacity: 0.92;
}
.page-notfound__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}
.page-notfound__text {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #64748b;
}
.page-notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-notfound-primary,
.btn-notfound-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-notfound-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}
.btn-notfound-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-notfound-outline {
  background: #fff;
  border: 2px solid #dbeafe;
  color: #1d4ed8 !important;
}
.btn-notfound-outline:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af !important;
}
.page-notfound__visual {
  position: relative;
  width: min(100%, 460px);
  min-height: 300px;
  margin: 0 auto;
  max-width: 460px;
}
@media (min-width: 1024px) {
  .page-notfound__visual {
    width: 100%;
    min-height: 380px;
    max-width: none;
  }
}
.page-notfound__growth-visual {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 55% 42%, rgba(37, 99, 235, 0.22), rgba(59, 130, 246, 0.08) 42%, transparent 66%),
    radial-gradient(circle at 78% 18%, rgba(249, 115, 22, 0.12), transparent 34%);
  box-shadow: none;
}
.page-notfound__growth-visual::before {
  content: "";
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 55% 50%, #000 0%, transparent 74%);
  opacity: 0.9;
}
.page-notfound__growth-grid {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.32) 1px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.52;
  transform: rotate(-12deg);
}
.page-notfound__growth-orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(37, 99, 235, 0.28);
  box-shadow: inset 0 0 34px rgba(59, 130, 246, 0.12), 0 0 28px rgba(37, 99, 235, 0.08);
}
.page-notfound__growth-orbit--outer {
  width: min(94%, 390px);
}
.page-notfound__growth-orbit--inner {
  width: min(68%, 285px);
  border-style: dashed;
  border-color: rgba(249, 115, 22, 0.38);
}
.page-notfound__growth-arrow {
  position: absolute;
  left: 12%;
  top: 62%;
  width: 76%;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), #2563eb 42%, #f97316 100%);
  transform: rotate(-25deg);
  transform-origin: left center;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24), 0 0 18px rgba(249, 115, 22, 0.2);
}
.page-notfound__growth-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 17px;
  height: 17px;
  border-top: 4px solid #f97316;
  border-right: 4px solid #f97316;
  transform: translateY(-50%) rotate(45deg);
}
.page-notfound__gt-badge {
  position: absolute;
  left: 52%;
  top: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 24vw, 172px);
  aspect-ratio: 1;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.95);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.24), 0 0 0 8px rgba(255, 255, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}
.page-notfound__gt-badge span {
  font-size: clamp(2.7rem, 6.8vw, 4.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  color: transparent;
  background: linear-gradient(135deg, #2563eb 0%, #2563eb 48%, #f97316 52%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-notfound__gt-badge small {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  opacity: 0.7;
}
.page-notfound__growth-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: #1e40af;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.16);
  backdrop-filter: blur(10px);
}
.page-notfound__growth-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.page-notfound__growth-chip--ai { left: 8%; top: 18%; }
.page-notfound__growth-chip--geo { right: 7%; top: 20%; }
.page-notfound__growth-chip--content { left: 9%; bottom: 20%; }
.page-notfound__growth-chip--global { right: 8%; bottom: 18%; }
.page-notfound__growth-dot {
  position: absolute;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.14), 0 0 30px rgba(249, 115, 22, 0.52);
}
.page-notfound__growth-dot--1 { left: 20%; top: 43%; }
.page-notfound__growth-dot--2 { right: 16%; top: 50%; background: #2563eb; box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.14), 0 0 30px rgba(37, 99, 235, 0.5); }
.page-notfound__growth-dot--3 { right: 28%; bottom: 16%; background: #38bdf8; box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.14), 0 0 30px rgba(56, 189, 248, 0.48); }
.page-notfound__explore {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(8px);
}
.page-notfound__explore-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
}
.page-notfound__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .page-notfound__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .page-notfound__cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.page-notfound__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 100%;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.page-notfound__card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: #bfdbfe;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}
.page-notfound__card-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}
.page-notfound__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.page-notfound__card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}
@media (max-width: 1023px) {
  .page-notfound__growth-chip--content,
  .page-notfound__growth-chip--global { display: none; }
  .page-notfound__content { text-align: center; }
  .page-notfound__text { margin-left: auto; margin-right: auto; }
  .page-notfound__actions { justify-content: center; }
}
@media (max-width: 639px) {
  .page-notfound--branded { padding: 2.5rem 0 3rem; }
  .page-notfound__actions { flex-direction: column; align-items: stretch; }
  .btn-notfound-primary,
  .btn-notfound-outline { width: 100%; }
  .page-notfound__visual { min-height: 240px; }
  .page-notfound__growth-chip { font-size: 0.72rem; padding: 0.45rem 0.65rem; }
  .page-notfound__growth-chip--ai { left: 4%; top: 18%; }
  .page-notfound__growth-chip--geo { right: 4%; top: 20%; }
  .page-notfound__gt-badge { width: 118px; border-radius: 26px; }
  .page-notfound__growth-arrow { left: 14%; width: 72%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .page-hero { padding: 60px 0 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .btn { padding: 10px 20px; font-size: 14px; }
  .btn-lg { padding: 13px 28px; font-size: 15px; }
}

/* 相关内容侧边栏 */
.rsb { background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 20px; }
.rsb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rsb-bar { width: 4px; height: 18px; background: var(--primary, #2563eb); border-radius: 2px; flex-shrink: 0; }
.rsb-head h3 { font-size: 16px; font-weight: 700; color: #111827; margin: 0; }
.rsb-list { display: flex; flex-direction: column; gap: 12px; }
.rsb-item { display: flex; gap: 12px; text-decoration: none; padding: 8px; border-radius: 8px; transition: background 0.15s; }
.rsb-item:hover { background: #f8fafc; }
.rsb-thumb { width: 80px; height: 56px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #e5e7eb; }
.rsb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rsb-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e0e7ff, #f0f9ff); }
.rsb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rsb-tag { font-size: 11px; color: var(--primary, #2563eb); font-weight: 600; }
.rsb-title { font-size: 13px; font-weight: 600; color: #111827; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rsb-date { font-size: 11px; color: #9ca3af; }
.rsb-empty { font-size: 13px; color: #9ca3af; padding: 8px 0; margin: 0; }

/* ---------- News / GEO detail article body (scoped) ---------- */
body.page-news-detail .article-content--detail,
body.page-geo-map-detail .article-content--detail {
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  max-width: 72ch;
}

body.page-news-detail .article-content--detail > *:first-child,
body.page-geo-map-detail .article-content--detail > *:first-child {
  margin-top: 0;
}

body.page-news-detail .article-content--detail > *:last-child,
body.page-geo-map-detail .article-content--detail > *:last-child {
  margin-bottom: 0;
}

body.page-news-detail .article-content--detail p,
body.page-geo-map-detail .article-content--detail p {
  margin: 0 0 1.25em;
}

body.page-news-detail .article-content--detail h2,
body.page-geo-map-detail .article-content--detail h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin: 2.25em 0 0.85em;
  padding-left: 14px;
  border-left: 4px solid var(--primary, #2563eb);
}

body.page-news-detail .article-content--detail h3,
body.page-geo-map-detail .article-content--detail h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1f2937;
  margin: 1.75em 0 0.65em;
}

body.page-news-detail .article-content--detail h4,
body.page-geo-map-detail .article-content--detail h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #374151;
  margin: 1.5em 0 0.5em;
}

body.page-news-detail .article-content--detail ul,
body.page-geo-map-detail .article-content--detail ul,
body.page-news-detail .article-content--detail ol,
body.page-geo-map-detail .article-content--detail ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

body.page-news-detail .article-content--detail li,
body.page-geo-map-detail .article-content--detail li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}

body.page-news-detail .article-content--detail li > ul,
body.page-geo-map-detail .article-content--detail li > ul,
body.page-news-detail .article-content--detail li > ol,
body.page-geo-map-detail .article-content--detail li > ol {
  margin-top: 0.5em;
  margin-bottom: 0;
}

body.page-news-detail .article-content--detail a,
body.page-geo-map-detail .article-content--detail a {
  color: var(--primary, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

body.page-news-detail .article-content--detail a:hover,
body.page-geo-map-detail .article-content--detail a:hover {
  color: #1d4ed8;
}

body.page-news-detail .article-content--detail strong,
body.page-geo-map-detail .article-content--detail strong {
  font-weight: 700;
  color: #111827;
}

body.page-news-detail .article-content--detail blockquote,
body.page-geo-map-detail .article-content--detail blockquote {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  border-left: 4px solid var(--primary, #2563eb);
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
  font-style: normal;
}

body.page-news-detail .article-content--detail img,
body.page-geo-map-detail .article-content--detail img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  border-radius: 8px;
}

body.page-news-detail .article-content--detail table,
body.page-geo-map-detail .article-content--detail table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

body.page-news-detail .article-content--detail th,
body.page-geo-map-detail .article-content--detail th,
body.page-news-detail .article-content--detail td,
body.page-geo-map-detail .article-content--detail td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}

body.page-news-detail .article-content--detail th,
body.page-geo-map-detail .article-content--detail th {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
}

body.page-news-detail .article-content--detail pre,
body.page-geo-map-detail .article-content--detail pre {
  margin: 1.25em 0;
  padding: 1em 1.15em;
  overflow-x: auto;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 0.9em;
  line-height: 1.6;
}

body.page-news-detail .article-content--detail code,
body.page-geo-map-detail .article-content--detail code {
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

body.page-news-detail .article-content--detail pre code,
body.page-geo-map-detail .article-content--detail pre code {
  padding: 0;
  background: transparent;
}

body.page-news-detail .article-content--detail hr,
body.page-geo-map-detail .article-content--detail hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  body.page-news-detail .article-content--detail,
  body.page-geo-map-detail .article-content--detail {
    font-size: 16px;
    line-height: 1.8;
    max-width: none;
  }

  body.page-news-detail .article-content--detail h2,
  body.page-geo-map-detail .article-content--detail h2 {
    font-size: 1.3rem;
    margin-top: 1.75em;
    padding-left: 12px;
  }

  body.page-news-detail .article-content--detail h3,
  body.page-geo-map-detail .article-content--detail h3 {
    font-size: 1.15rem;
  }

  body.page-news-detail .article-content--detail ul,
  body.page-geo-map-detail .article-content--detail ul,
  body.page-news-detail .article-content--detail ol,
  body.page-geo-map-detail .article-content--detail ol {
    padding-left: 1.25em;
  }
}
