/* ============================================================
   VibeKnow SEO 静态页面统一样式
   对齐中文站当前品牌规范：浅米背景、深绿主色、克制卡片和真实内容优先
   ============================================================ */

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  background: #F2EFE4;
  color: #1F2119;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 背景 ---------- */
.bg-blobs { display: none; }

/* ---------- 顶部导航 ---------- */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 239, 228, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 33, 25, 0.08);
  height: 64px;
}
.top-nav-inner {
  max-width: 1200px; height: 100%; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}
.top-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.top-nav-logo img {
  display: block;
  width: 160px;
  height: 24px;
  object-fit: contain;
}
.top-nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.top-nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(31, 33, 25, 0.72);
  transition: color 0.2s;
  white-space: nowrap;
}
.top-nav-links a:hover { color: #1F2119; }
.top-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #2E6754; color: #fff;
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.top-nav-cta:hover { background: #285B4A; transform: translateY(-1px); }
@media (max-width: 640px) {
  .top-nav-inner { padding: 0 20px; gap: 24px; }
  .top-nav-links { display: none; }
}

/* ---------- 容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 32px 72px;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .container { padding: 24px 20px 48px; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 30px;
  font-size: 13px;
}
.breadcrumb a { color: rgba(31, 33, 25, 0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: #2E6754; }
.breadcrumb .sep { color: rgba(31, 33, 25, 0.24); font-size: 12px; }
.breadcrumb .current { color: #1F2119; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { margin-bottom: 44px; }
.hero h1 {
  font-size: 48px; font-weight: 650; line-height: 1.12;
  color: #1F2119; margin-bottom: 16px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0;
  max-width: 820px;
}
.hero .subtitle {
  font-size: 18px; line-height: 1.8;
  color: rgba(31, 33, 25, 0.62);
  max-width: 760px;
}
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; line-height: 1.18; }
  .hero .subtitle { font-size: 15px; }
}

/* ---------- SEO 介绍段 ---------- */
.seo-section { margin-bottom: 48px; }
.seo-section h2 {
  font-size: 22px; font-weight: 700;
  color: #1F2119; line-height: 1.4;
  margin-bottom: 14px;
}
.seo-section h2:not(:first-child) { margin-top: 32px; }
.seo-section p {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.68);
  margin-bottom: 12px;
}
.seo-section strong { color: #1F2119; font-weight: 600; }

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ---------- 教程卡片（学习中心） ---------- */
.tutorial-card {
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: block;
  box-shadow: 0 1px 0 rgba(31, 33, 25, 0.02);
}
.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 103, 84, 0.18);
  box-shadow: 0 18px 46px rgba(31, 33, 25, 0.1);
}
.tutorial-card .cover {
  aspect-ratio: 16/9;
  background: #E9EEE9;
  position: relative;
  overflow: hidden;
}
.tutorial-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.tutorial-card .badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px;
}
.tutorial-card .badge,
.tutorial-card .badge.article {
  background: rgba(238, 245, 242, 0.96) !important;
  color: #2E6754 !important;
}
.tutorial-card .badge.video {
  background: #2E6754 !important;
  color: #fff !important;
}
.tutorial-card .play-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.15);
}
.tutorial-card .play-icon .dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #2E6754; font-size: 18px;
}
.tutorial-card .body { padding: 14px 16px 16px; }
.tutorial-card .title {
  font-size: 15px; font-weight: 700;
  color: #222724; line-height: 1.4;
  margin-bottom: 6px;
}
.tutorial-card .desc {
  font-size: 13px; color: rgba(31, 33, 25, 0.58);
  line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.tutorial-card .meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: rgba(31, 33, 25, 0.46);
}

/* ---------- 作品卡片（showcase） ---------- */
.work-card {
  background: #fff; border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(31, 33, 25, 0.08);
  box-shadow: 0 1px 0 rgba(31, 33, 25, 0.02);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: block;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 103, 84, 0.18);
  box-shadow: 0 18px 46px rgba(31, 33, 25, 0.11);
}
.work-card .cover {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #10251E;
}
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.work-card .cover .duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0, 0, 0, 0.6); color: #fff;
  font-size: 11px; padding: 2px 6px; border-radius: 4px;
}
.work-card .cover .badge-exp {
  position: absolute; top: 8px; left: 10px;
  padding: 2px 7px; border-radius: 5px;
  background: #2E6754;
  color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0.5px;
}
.work-card .body { padding: 14px 16px; }
.work-card .title {
  font-size: 15px; font-weight: 600;
  color: #1F2119;
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.work-card .subtitle {
  font-size: 13px; color: rgba(31, 33, 25, 0.52);
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.work-card .author {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(31, 33, 25, 0.5);
}
.work-card .avatar {
  width: 18px; height: 18px; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- 作品分组 ---------- */
.work-group { margin-bottom: 40px; }
.work-group-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  color: #1F2119; margin-bottom: 16px;
}
.work-group-title .tag {
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
  background: #2E6754;
  color: #fff; letter-spacing: 0.5px;
}

/* ---------- 分类标签筛选（纯展示，不交互） ---------- */
.tag-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.tag-filters a {
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(31, 33, 25, 0.64);
  border: 1px solid rgba(31, 33, 25, 0.08);
  transition: all 0.2s;
}
.tag-filters a:hover { background: rgba(46, 103, 84, 0.08); color: #2E6754; border-color: rgba(46, 103, 84, 0.16); }
.tag-filters a.current {
  background: #2E6754;
  border-color: #2E6754;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: none;
}
.faq-item h3 {
  font-size: 16px; font-weight: 600;
  color: #1F2119; line-height: 1.5;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.64);
}

/* ---------- 相关链接 ---------- */
.related-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.related-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  box-shadow: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 12px 32px rgba(31, 33, 25, 0.08);
}
.related-card .text .label {
  font-size: 15px; font-weight: 600;
  color: #1F2119; margin-bottom: 4px;
}
.related-card .text .desc {
  font-size: 12px; color: rgba(31, 33, 25, 0.55);
}
.related-card .arrow {
  color: #2E6754; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}

/* ---------- 底部 CTA 卡片 ---------- */
.cta-box {
  text-align: center; padding: 56px 32px; margin-top: 48px;
  border-radius: 8px;
  background: #10251E;
  border: 1px solid rgba(31, 33, 25, 0.08);
}
.cta-box h2 {
  font-size: 24px; font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.cta-box p {
  font-size: 15px; color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  color: #2E6754;
  padding: 12px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  box-shadow: none;
  transition: transform 0.2s, background 0.2s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  background: #F1F5F3;
}

/* ---------- 教程详情：封面图 + 步骤 ---------- */
.tutorial-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(31, 33, 25, 0.5);
  margin-bottom: 28px;
}
.tutorial-meta .tag {
  padding: 2px 10px; border-radius: 4px;
  font-weight: 500;
}
.tutorial-meta .tag.article { background: rgba(46, 103, 84, 0.1); color: #2E6754; }
.tutorial-meta .tag.video { background: rgba(46, 103, 84, 0.1); color: #2E6754; }

.tutorial-cover {
  width: 100%; border-radius: 8px;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.tutorial-step { margin-bottom: 40px; }
.tutorial-step h2 {
  font-size: 22px; font-weight: 600;
  color: #2E6754; margin-bottom: 12px;
}
.tutorial-step p {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.72);
  white-space: pre-line;
  margin-bottom: 16px;
}
.tutorial-step img {
  width: 100%; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-top: 12px;
}
.tutorial-step ul, .tutorial-step ol {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.72);
  margin: 0 0 16px;
  padding-left: 24px;
}
.tutorial-step ul li, .tutorial-step ol li {
  margin-bottom: 4px;
}
.tutorial-step ul { list-style-type: disc; }
.tutorial-step ol { list-style-type: decimal; }

/* ---------- 视频教程播放器 ---------- */
.tutorial-video-wrap {
  width: 100%; border-radius: 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  background: #000;
}
.tutorial-video-wrap video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ---------- 视频播放 Modal ---------- */
.vk-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: vkModalFadeIn 0.2s ease-out;
}
.vk-video-modal.open { display: flex; }
.vk-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 37, 30, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.vk-video-modal-inner {
  position: relative;
  width: min(960px, 100%);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  animation: vkModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.vk-video-modal-video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.vk-video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.vk-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
@keyframes vkModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes vkModalSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 640px) {
  .vk-video-modal { padding: 12px; }
  .vk-video-modal-close { top: -44px; }
}

/* 有视频的卡片 hover 时显示播放图标 */
.work-card[data-video] { cursor: pointer; }
.work-card[data-video] .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
  z-index: 1;
}
.work-card[data-video]:hover .cover::before {
  background: rgba(0, 0, 0, 0.3);
}
.work-card[data-video] .cover::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2E6754;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 2;
  padding-left: 3px;
}
.work-card[data-video]:hover .cover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- 底部 Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 80px;
  padding: 48px 20px;
  background: #111512;
  border-top: 0;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255,255,255,0.32) 1px, transparent 1px);
  background-size: 16px 16px;
}
.site-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}
.site-footer .brand {
  max-width: 360px;
}
.site-footer .brand img {
  display: block;
  width: 160px;
  height: 24px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(5) grayscale(1);
}
.site-footer .brand p {
  max-width: 360px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer .col {
  min-width: 0;
}
.site-footer .col h3 {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.site-footer .col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer .col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.site-footer .col a:hover { color: #fff; }
.site-footer .bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
}
.site-footer .bottom .meta {
  display: flex;
  gap: 8px 28px;
  flex-wrap: wrap;
}
.site-footer .bottom .meta span,
.site-footer .bottom .meta a {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .bottom .wechat {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .bottom .wechat strong { color: #fff; }
@media (min-width: 768px) {
  .site-footer .top {
    flex-direction: row;
  }
  .site-footer .bottom {
    flex-direction: row;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding: 40px 20px;
    margin-top: 56px;
  }
  .site-footer .brand {
    max-width: none;
  }
  .site-footer .col {
    min-width: 120px;
  }
  .site-footer .bottom {
    margin-top: 32px;
  }
}

/* ---------- 官网 Footer 1:1 静态版 ---------- */
.zh-official-footer {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  background: #111512;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.62);
}
.zh-official-footer-dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255,255,255,0.32) 1px, transparent 1px);
  background-size: 16px 16px;
}
.zh-official-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.zh-official-footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.zh-official-footer-brand img {
  display: block;
  width: 160px;
  height: 24px;
  filter: brightness(5) grayscale(1);
}
.zh-official-footer-brand p {
  margin-top: 16px;
  max-width: 360px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.62);
}
.zh-official-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
  font-size: 13px;
}
.zh-official-footer-col h3 {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.zh-official-footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-official-footer-col a + a {
  margin-top: 12px;
}
.zh-official-footer-col a:hover {
  color: #fff;
}
.zh-official-footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.zh-official-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
.zh-official-footer-contact {
  position: relative;
  align-self: flex-start;
}
.zh-official-footer-contact button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-official-footer-contact button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.zh-official-footer-contact:hover button {
  color: #fff;
}
.zh-official-footer-qrcode {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 12px;
  width: 148px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  opacity: 0;
  transform: translateY(0);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  transition: opacity 0.2s, transform 0.2s;
}
.zh-official-footer-contact:hover .zh-official-footer-qrcode {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-2px);
}
.zh-official-footer-qrcode img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.zh-official-footer-qrcode div {
  padding-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #222724;
}
.zh-footer-contact-v2 {
  position: relative;
  align-self: flex-start;
}
.zh-footer-contact-v2 button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-footer-contact-v2 button::before,
.zh-footer-contact-v2 button::after {
  content: none !important;
  display: none !important;
}
.zh-footer-contact-v2 button svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.zh-footer-contact-v2:hover button {
  color: #fff;
}
.zh-footer-qrcode-v2 {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 12px;
  width: 148px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  opacity: 0;
  transform: translateY(0);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  transition: opacity 0.2s, transform 0.2s;
}
.zh-footer-contact-v2:hover .zh-footer-qrcode-v2 {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-2px);
}
.zh-footer-qrcode-v2 img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.zh-footer-qrcode-v2 div {
  padding-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #222724;
}
@media (min-width: 768px) {
  .zh-official-footer-top {
    flex-direction: row;
  }
  .zh-official-footer-bottom {
    flex-direction: row;
    align-items: flex-start;
  }
  .zh-official-footer-contact {
    align-self: auto;
  }
  .zh-footer-contact-v2 {
    align-self: auto;
  }
}
@media (max-width: 640px) {
  .zh-official-footer {
    margin-top: 56px;
  }
  .zh-official-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
  }
}

/* ---------- Learn 页面 Mobile 适配（覆盖 inline 样式） ---------- */
@media (max-width: 640px) {
  /* 教程步骤排版 */
  .tutorial-step { margin-bottom: 32px; }
  .tutorial-step h2 { font-size: 19px; line-height: 1.45; }
  .tutorial-step p, .tutorial-step ul, .tutorial-step ol { font-size: 14px; line-height: 1.75; }
  .tutorial-step ul, .tutorial-step ol { padding-left: 20px; }

  /* CTA 按钮区 */
  .cta-box { padding: 28px 20px !important; }
  .cta-box h2 { font-size: 20px !important; line-height: 1.4; }

  /* 真实案例模块：整体 padding 收窄 */
  article > div > div[style*="padding:28px"],
  article > div > div[style*="padding: 28px"] { padding: 16px !important; }

  /* 视频号数据卡：padding 收窄 */
  article div[style*="background:#fff"][style*="padding:24px"] { padding: 16px !important; }

  /* H2 in hero case module */
  article div > h2[style*="font-size:22px"] { font-size: 18px !important; }
  article div > h3[style*="font-size:17px"],
  article div > h3[style*="font-size:18px"] { font-size: 15px !important; }

  /* 4-metric grid (1,262 / 464 / 190 / 167) 字号缩小但保留 4 列 */
  article div[style*="grid-template-columns: repeat(4, 1fr)"] p[style*="font-size:22px"] { font-size: 16px !important; }
  article div[style*="grid-template-columns: repeat(4, 1fr)"] p[style*="font-size:12px"] { font-size: 10px !important; }

  /* 箭头模块：缩小并旋转 90deg 以匹配垂直堆叠 */
  article div[style*="min-width:100px"] { min-width: auto !important; padding: 4px 0 !important; }
  article div[style*="font-size:42px"] { font-size: 32px !important; transform: rotate(90deg); line-height: 1 !important; }

  /* 所有 auto-fit minmax(240px, 1fr) grid 在小屏单列 */
  article div[style*="grid-template-columns: repeat(auto-fit, minmax(240px"],
  article div[style*="grid-template-columns:repeat(auto-fit, minmax(240px"] {
    grid-template-columns: 1fr !important;
  }

  /* 适用场景标题 */
  article div > h2[style*="color:#5F5BF6"] { font-size: 18px !important; }

  /* FAQ 紧凑 */
  details summary { padding: 14px 16px !important; font-size: 14px !important; }
  details > div { padding: 0 16px 14px !important; font-size: 13px !important; }

  /* 案例模块的 flex 容器间距 */
  article div[style*="flex-wrap:wrap"][style*="gap:28px"] { gap: 16px !important; }
  article div[style*="flex-wrap:wrap"][style*="gap:20px"] { gap: 12px !important; }

  /* Hero section 教程页 */
  header.hero h1 { font-size: 22px !important; line-height: 1.35; }
  .tutorial-meta { flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }

  /* 教程封面图：减小阴影和圆角 */
  article > img.tutorial-cover { margin-bottom: 24px; }
}

/* ---------- 旧内联样式兜底覆盖 ---------- */
[style*="color:#5F5BF6"],
[style*="color: #5F5BF6"],
[style*="color:#6052FF"],
[style*="color: #6052FF"] {
  color: #2E6754 !important;
}

[style*="color:#1a1028"],
[style*="color: #1a1028"],
[style*="color:#161242"],
[style*="color: #161242"] {
  color: #1F2119 !important;
}

[style*="color:rgba(22,18,66"],
[style*="color: rgba(22,18,66"],
[style*="color:rgba(22, 18, 66"],
[style*="color: rgba(22, 18, 66"] {
  color: rgba(31, 33, 25, 0.68) !important;
}

[style*="background:#f5f3ff"],
[style*="background: #f5f3ff"],
[style*="background:rgba(95,91,246"],
[style*="background: rgba(95,91,246"],
[style*="background:rgba(96,82,255"],
[style*="background: rgba(96,82,255"] {
  background: rgba(46, 103, 84, 0.06) !important;
}

[style*="background:linear-gradient(135deg,#6052FF"],
[style*="background: linear-gradient(135deg,#6052FF"],
[style*="background:linear-gradient(135deg, #6052FF"],
[style*="background: linear-gradient(135deg, #6052FF"] {
  background: #2E6754 !important;
}

[style*="border-left:3px solid #6052FF"],
[style*="border-left: 3px solid #6052FF"] {
  border-left-color: #2E6754 !important;
}
