/* ==========================================================================
   拓盟传媒 - 品牌样式系统 v3
   基于新logo（彩色S + 拓盟传媒）设计
   ========================================================================== */

/* ---- 基础变量 ---- */
:root {
  /* 主色 - 基于logo彩色调 + 企业深色基调 */
  --navy: #0A1733;
  --navy-2: #142145;
  --navy-3: #1e3060;
  --red: #E63946;
  --gold: #FFB627;
  --orange: #FF7F3F;
  --blue: #2A6FDB;
  --cyan: #00C2D7;

  /* 中性 */
  --white: #ffffff;
  --bg: #f7f9fc;
  --bg-2: #eef2f7;
  --border: #e5e9f0;
  --text: #1a2238;
  --text-2: #4a5568;
  --text-3: #718096;

  /* 间距/圆角/阴影 */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-6: 48px; --sp-8: 80px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(10,23,51,.06);
  --shadow-md: 0 8px 24px rgba(10,23,51,.1);
  --shadow-lg: 0 16px 48px rgba(10,23,51,.15);
  --shadow-xl: 0 24px 80px rgba(10,23,51,.2);

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;

  /* 渐变（基于logo·暖色品牌调，去AI感彩虹渐变） */
  --grad-primary: linear-gradient(135deg, #E63946 0%, #FF7F3F 55%, #FFB627 100%);
  --grad-red: linear-gradient(135deg, #FF7F3F, #E63946);
  --grad-navy: linear-gradient(135deg, #0A1733, #1e3060);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--sp-2); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: var(--sp-1); }
p { margin-bottom: var(--sp-2); color: var(--text-2); }

/* ---- 通用 ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
.section { padding: var(--sp-8) 0; }
.section-sm { padding: var(--sp-6) 0; }
.section-title { text-align: center; margin-bottom: var(--sp-6); }
.section-title h2 { display: inline-block; position: relative; }
.section-title h2::after {
  content: '';
  display: block;
  width: 60px; height: 4px;
  background: var(--grad-primary);
  border-radius: 2px;
  margin: var(--sp-2) auto 0;
}
.section-title .lead { color: var(--text-3); max-width: 700px; margin: var(--sp-2) auto 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--sp-3); }
.nav-links > a, .nav-links > .nav-item-dropdown > .dropdown-trigger {
  font-weight: 500; color: var(--text);
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: all .2s;
  font-size: 15px;
}
.nav-links > a:hover, .nav-links > .nav-item-dropdown:hover > .dropdown-trigger {
  color: var(--red); background: var(--bg);
}
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s;
  border: 1px solid var(--border);
}
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 18px; color: var(--text);
  font-size: 14px;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--red); padding-left: 22px; }
.nav-cta {
  background: var(--grad-primary); color: var(--white) !important;
  padding: 8px 20px !important; border-radius: var(--r-md);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: var(--white);
  overflow: hidden;
  padding: var(--sp-8) 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,182,39,.18) 0%, transparent 48%),
    radial-gradient(circle at 85% 75%, rgba(230,57,70,.16) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-6); align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,182,39,.15); color: var(--gold);
  padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: var(--sp-2);
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.hero h1 .accent { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 17px; max-width: 560px; margin: var(--sp-2) 0 var(--sp-3); }
.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.hero-features { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero-features span {
  padding: 6px 14px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; font-size: 13px;
}
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
}
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg); padding: var(--sp-3);
  text-align: center;
}
.hero-card .num { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card .label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---- Stats Strip ---- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  padding: var(--sp-4) 0;
  text-align: center;
}
.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--text-2); font-size: 14px; margin-top: 4px; }

/* ---- Cards Grid ---- */
.grid {
  display: grid; gap: var(--sp-3);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-3);
  transition: all .25s;
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 26px; font-weight: 700;
  margin-bottom: var(--sp-2);
}
.card h3 { font-size: 1.15rem; }
.card p { font-size: 14px; color: var(--text-2); margin-bottom: var(--sp-2); }
.card-link { color: var(--red); font-weight: 600; font-size: 14px; }
.card-link::after { content: ' →'; }

/* ---- News List ---- */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
}
.news-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .25s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-body { padding: var(--sp-3); }
.news-meta { display: flex; gap: var(--sp-2); font-size: 12px; color: var(--text-3); margin-bottom: var(--sp-1); }
.news-meta .tag {
  background: var(--bg); color: var(--text-2);
  padding: 2px 10px; border-radius: 10px;
}
.news-meta .tag-hot {
  background: linear-gradient(135deg, #FF6A00, #E63946);
  color: #fff; font-weight: 600;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.news-card h3 a:hover { color: var(--red); }
.news-card p { font-size: 13px; color: var(--text-2); }

/* ---- Cases ---- */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
}
.case-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--navy);
  aspect-ratio: 4/3;
}
.case-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,23,51,.95), rgba(10,23,51,.2) 50%, transparent);
  color: var(--white); padding: var(--sp-3);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.case-card h3 { color: var(--white); font-size: 1.1rem; }
.case-card .meta { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---- Contact ---- */
.contact {
  background: var(--grad-navy);
  color: var(--white);
  padding: var(--sp-8) 0;
}
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(255,255,255,.85); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6);
  margin-top: var(--sp-6);
}
.contact-item {
  display: flex; gap: var(--sp-2); padding: var(--sp-2) 0;
  align-items: flex-start;
}
.contact-item .icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  background: var(--grad-primary); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white); font-weight: 700;
}
.contact-item .label { font-size: 13px; color: rgba(255,255,255,.6); }
.contact-item .value { font-size: 18px; color: var(--white); font-weight: 600; }
.contact-qr {
  background: var(--white); padding: var(--sp-3);
  border-radius: var(--r-lg); display: inline-block;
  text-align: center;
}
.contact-qr img { width: 200px; height: 200px; margin: 0 auto; border-radius: var(--r-md); }
.contact-qr .qr-label { color: var(--navy); font-weight: 600; margin-top: var(--sp-1); }

/* ---- Footer ---- */
.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: var(--sp-6) 0 var(--sp-2);
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-primary);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.footer h4 { color: var(--white); margin-bottom: var(--sp-2); font-size: 16px; }
.footer a { color: rgba(255,255,255,.7); font-size: 14px; display: block; padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer-brand img { height: 40px; margin-bottom: var(--sp-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-2);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); display: inline; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--bg);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px;
  font-size: 14px; color: var(--text-3);
}
.breadcrumb ol li::after { content: ' / '; margin-left: 4px; color: var(--text-3); }
.breadcrumb ol li:last-child::after { display: none; }
.breadcrumb ol li:last-child { color: var(--text); font-weight: 500; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--red); }

/* ---- Page hero (sub-page banner) ---- */
.page-hero {
  background: var(--grad-navy);
  color: var(--white);
  padding: var(--sp-6) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-2); }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 700px; margin: 0 auto; font-size: 17px; }

/* ---- Article (news detail) ---- */
.article {
  max-width: 880px; margin: 0 auto;
  padding: var(--sp-4) 0;
}
.article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--sp-2); }
.article-meta {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  font-size: 14px; color: var(--text-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-3);
}
.article-body { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-body h2 { font-size: 1.5rem; margin: var(--sp-4) 0 var(--sp-2); padding-left: var(--sp-2); border-left: 4px solid var(--gold); }
.article-body h3 { font-size: 1.2rem; margin: var(--sp-3) 0 var(--sp-1); color: var(--navy-2); }
.article-body p { margin-bottom: var(--sp-2); }
.article-body ul, .article-body ol { padding-left: var(--sp-3); margin-bottom: var(--sp-2); }
.article-body li { margin-bottom: 6px; }
.article-body img { margin: var(--sp-2) auto; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg);
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-2) 0;
  color: var(--text-2);
  font-style: italic;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-body code {
  background: var(--bg); padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
}
.article-body pre {
  background: var(--navy); color: #e2e8f0;
  padding: var(--sp-3); border-radius: var(--r-md);
  overflow-x: auto; margin: var(--sp-2) 0;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: var(--sp-2) 0;
  font-size: 14px;
}
.article-body table th, .article-body table td {
  border: 1px solid var(--border); padding: 8px 12px;
}
.article-body table th { background: var(--bg); }

/* ---- Article list ---- */
.article-list { display: grid; gap: var(--sp-3); }
.article-list-item {
  display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .2s;
}
.article-list-item:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.article-list-item .thumb {
  background: var(--bg);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 32px;
  overflow: hidden;
}
.article-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-list-item h3 { font-size: 1.15rem; }
.article-list-item .meta { font-size: 13px; color: var(--text-3); margin-bottom: var(--sp-1); }
.article-list-item .meta .tag {
  background: var(--bg-2); color: var(--text-2);
  padding: 2px 10px; border-radius: 10px; margin-right: 8px;
}
.article-list-item p { font-size: 14px; color: var(--text-2); margin-bottom: 0; }

/* ---- Misc ---- */
.cta-banner {
  background: var(--grad-primary); color: var(--white);
  padding: var(--sp-6); border-radius: var(--r-xl);
  text-align: center; margin: var(--sp-6) 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--sp-2); }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: var(--sp-3); }
.cta-banner .btn-primary { background: var(--white); color: var(--navy); }
.cta-banner .btn-primary:hover { background: var(--navy); color: var(--white); }

/* ---- Responsive ---- */
/* ===== Generated-page extras: article detail, related, author, floating contact, footer cols ===== */

/* Article header (colored title band on detail pages) */
.article-header {
  background: var(--grad-navy);
  color: #fff;
  padding: calc(var(--sp-6) + 48px) 0 var(--sp-5);
  text-align: center;
}
.article-header .article-meta {
  justify-content: center;
  color: rgba(255,255,255,.82);
  border-bottom-color: rgba(255,255,255,.18);
  margin-bottom: var(--sp-3);
}
.article-header .back-link { color: rgba(255,255,255,.88); font-size: 14px; }
.article-header .back-link:hover { color: #fff; }
.article-category {
  display: inline-block; color: #fff; font-size: 13px; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,.18);
}
.article-title { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; margin: var(--sp-3) 0 var(--sp-2); line-height: 1.3; }
.article-info { display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; font-size: 14px; color: rgba(255,255,255,.8); }

/* Article body content wrapper (constrained reading column) */
.article-content { max-width: 760px; margin: 0 auto; padding: var(--sp-5) var(--sp-3); }

/* Inline content images (injected via markdown ![alt](url)) */
.article-content img {
  display: block; max-width: 100%; height: auto; margin: var(--sp-4) auto;
  border-radius: var(--r-md); box-shadow: var(--shadow-md); border: 1px solid var(--border);
  background: #F4F7FB;
}
.article-content p:has(> img) { text-align: center; }

/* Share row */
.article-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: var(--sp-4) 0; padding-top: var(--sp-3);
  border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px;
}
.share-btn { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--text-2); }
.share-btn:hover { border-color: var(--red); color: var(--red); }

/* Related articles */
.related-articles { max-width: 760px; margin: 0 auto; padding: var(--sp-4) var(--sp-3); }
.related-articles h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.related-card { display: block; border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-3); background: #fff; transition: .2s; }
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }
.related-tag { display: inline-block; color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.related-title { display: block; color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.5; }

/* About author box */
.about-author {
  max-width: 760px; margin: var(--sp-4) auto; display: flex; gap: var(--sp-3);
  align-items: center; background: var(--bg); border-radius: var(--r-md); padding: var(--sp-3);
}
.author-avatar {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.author-info h4 { margin-bottom: 6px; }
.author-info p { color: var(--text-2); font-size: 14px; margin-bottom: var(--sp-2); }

/* Footer columns (generated footer uses <ul>) */
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: var(--sp-2); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { font-size: 14px; }

/* ===== Floating contact widget (desktop) ===== */
.float-bar {
  position: fixed; right: 24px; bottom: 24px; z-index: 999; width: 280px;
  animation: floatIn .5s ease both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.float-card {
  position: relative; background: #fff; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 18px 18px 16px; border: 1px solid var(--border);
}
.fc-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--text-3); cursor: pointer; }
.fc-close:hover { color: var(--red); }
.fc-title { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 10px; }
.fc-qr img { width: 120px; height: 120px; display: block; margin: 0 auto 8px; border-radius: var(--r-md); border: 1px solid var(--border); }
.fc-wechat, .fc-phone { text-align: center; font-size: 14px; color: var(--text); margin: 2px 0; }
.fc-phone { color: var(--red); font-weight: 600; }
.fc-cta { display: block; text-align: center; margin-top: 10px; background: var(--grad-primary); color: #fff; font-weight: 600; font-size: 14px; padding: 10px; border-radius: 999px; text-decoration: none; }
.fc-cta:hover { filter: brightness(1.05); }

/* Mobile dock (hidden on desktop) */
.m-dock { display: none; }

@media (max-width: 768px) {
  .float-bar { display: none; }
  .m-dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .m-dock-btn { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--text-2); text-decoration: none; padding: 6px 0; }
  .m-dock-btn .m-ico { font-size: 20px; }
  .m-dock-btn.primary { background: var(--grad-primary); color: #fff; border-radius: 999px; }
  .related-grid { grid-template-columns: 1fr; }
  .about-author { flex-direction: column; text-align: center; }
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-list-item { grid-template-columns: 1fr; }
  .article-list-item .thumb { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: var(--sp-3);
    box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav-links.open > a, .nav-links.open > .nav-item-dropdown { width: 100%; }
  .nav-links.open .nav-dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: var(--sp-3); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .case-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: var(--sp-6) 0; }
}

/* ==========================================================================
   文章详情页 · 体验升级（进度条 / 目录 / 引言 / 步骤 / 转化卡）
   ========================================================================== */

/* 阅读进度条 */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-primary); z-index: 1000;
  transition: width .1s linear;
}

/* 面包屑（文章头内） */
.article-crumbs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: var(--sp-3);
}
.article-crumbs a { color: rgba(255,255,255,.82); }
.article-crumbs a:hover { color: #fff; }
.article-crumbs span { opacity: .5; }

/* 两栏布局：左侧栏（目录+相关栏目+相关文章） + 正文 */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-5);
  align-items: start;
  padding-top: var(--sp-5);
}
.article-main { min-width: 0; }

/* 左侧栏 */
.article-sidebar {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 16px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.side-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-3);
}
.side-title, .toc-title {
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: 10px; letter-spacing: .04em;
}
.side-cat, .side-rel { list-style: none; padding: 0; margin: 0; }
.side-cat li, .side-rel li { margin: 0 0 8px; }
.side-cat a, .side-rel a {
  display: block; padding: 7px 10px; border-radius: 8px;
  color: var(--text-2); font-size: 13.5px; line-height: 1.5;
  border-left: 2px solid transparent; transition: .2s;
}
.side-cat a:hover, .side-rel a:hover { background: var(--bg); color: var(--navy); border-left-color: var(--red); }
.side-rel a { font-size: 13px; color: var(--text); }

/* 目录（位于左侧栏卡片内，保留滚动高亮） */
#articleToc { list-style: none; padding: 0; margin: 0; }
#articleToc a {
  display: block; padding: 6px 10px; border-radius: 8px;
  color: var(--text-2); font-size: 13.5px; line-height: 1.5;
  border-left: 2px solid transparent; transition: .2s;
}
#articleToc a:hover { background: var(--bg); color: var(--navy); }
#articleToc .toc-h3 a { padding-left: 22px; font-size: 13px; color: var(--text-3); }
#articleToc a.active { color: var(--red); border-left-color: var(--red); background: var(--bg); font-weight: 600; }

/* 正文配图（编辑式横幅） */
.article-hero {
  position: relative; margin: 0 0 var(--sp-4);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.article-hero-img {
  width: 100%; height: 220px; object-fit: cover; display: block;
}
.article-hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 22px 16px;
  background: linear-gradient(180deg, rgba(10,23,51,0) 0%, rgba(10,23,51,.82) 100%);
}
.article-hero-cat {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px);
}

/* 卡片悬浮微动（Ardot 风格：克制但精致） */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 12px 30px rgba(10,23,51,.12)); }
.bento-cell { transition: transform .25s ease, box-shadow .25s ease; }
.bento-cell:hover { transform: translateY(-4px); }

/* 引言 */
.article-lead {
  font-size: 1.12rem; line-height: 1.85; color: var(--text);
  background: linear-gradient(180deg, rgba(255,182,39,.10), rgba(230,57,70,.05));
  border-left: 4px solid var(--red);
  padding: var(--sp-3) var(--sp-3); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: var(--sp-4); font-weight: 500;
}

/* 正文块：步骤卡 / 要点 / 引用 增强 */
.article-body .step-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-3); margin: var(--sp-2) 0;
}
.article-body .step-num {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.article-body .step-card .step-body { flex: 1; }
.article-body .step-card h4 { margin: 0 0 4px; font-size: 1.02rem; color: var(--navy); }
.article-body .step-card p { margin: 0; color: var(--text-2); font-size: 15px; }
.article-body .callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-3); margin: var(--sp-3) 0;
}
.article-body .callout .ico { font-size: 22px; line-height: 1; }
.article-body .callout .ct-body { flex: 1; }
.article-body .callout .ct-body strong { color: var(--navy); }
.article-body .callout.tip { border-left: 4px solid var(--gold); }
.article-body .callout.warn { border-left: 4px solid var(--red); }
.article-body hr { border: 0; border-top: 1px dashed var(--border); margin: var(--sp-4) 0; }
.article-body ul li::marker { color: var(--red); }
.article-body ol { counter-reset: step; list-style: none; padding-left: 0; }
.article-body ol > li {
  position: relative; padding-left: 40px; margin-bottom: var(--sp-2);
}
.article-body ol > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.article-body .md-table { font-size: 14.5px; }

/* 文末转化卡 */
.article-cta-card {
  position: relative; overflow: hidden;
  margin: var(--sp-5) 0; border-radius: var(--r-xl);
  background: var(--grad-navy); color: #fff;
  padding: var(--sp-5); display: grid; grid-template-columns: 1fr 160px; gap: var(--sp-4);
  align-items: center;
}
.cta-card-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(255,182,39,.22), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(230,57,70,.20), transparent 50%);
}
.cta-card-main { position: relative; z-index: 1; }
.cta-card-ico { font-size: 28px; margin-bottom: 8px; }
.cta-card-main h4 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.cta-card-main p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-bottom: var(--sp-3); }
.cta-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card-side { position: relative; z-index: 1; text-align: center; }
.cta-card-side .cta-qr img { width: 120px; height: 120px; border-radius: var(--r-md); border: 3px solid #fff; }
.cta-card-side .cta-wechat { font-size: 13px; color: rgba(255,255,255,.9); margin-top: 8px; }

@media (max-width: 992px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; max-height: none; flex-direction: column; }
}
@media (max-width: 600px) {
  .article-cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-card-side { order: -1; }
  .cta-card-actions { justify-content: center; }
}

/* ==========================================================================
   视觉精修 · 高级感 / 转化增强 · 2026-07-29
   ========================================================================== */

/* 滚动渐显（main.js 已挂载 .reveal -> .visible） */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 区块 eyebrow 小标签 */
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--red); margin-bottom: 10px; text-transform: uppercase;
}

/* Hero 细网点纹理，增加质感（不挡交互） */
.hero-bento::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 70%);
}

/* 卡片悬停：顶部渐变描边 */
.card { position: relative; }
.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-primary); border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover::before { transform: scaleX(1); }

/* 按钮微光扫过 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* ===== 信任条（服务过的品牌） ===== */
.trustbar { background: var(--bg); border-bottom: 1px solid var(--border); padding: var(--sp-4) 0; }
.trust-eyebrow { text-align: center; font-size: 13px; color: var(--text-3); letter-spacing: .05em; margin-bottom: var(--sp-3); }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-logos span {
  padding: 10px 22px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--navy-2);
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.trust-logos span:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--red); box-shadow: var(--shadow-md); }
@media (max-width: 560px) { .trust-logos span { padding: 8px 16px; font-size: 14px; } }

/* ---- 资讯列表分页（保证内页布局不乱） ---- */
.article-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 44px 0 8px; }
.article-pager a, .article-pager span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 13px; border-radius: 10px; border: 1px solid var(--border);
  color: var(--navy-2); font-size: 14px; background: #fff; transition: all .2s;
}
.article-pager a:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.article-pager .pg-current { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.article-pager .disabled { opacity: .35; cursor: not-allowed; }
.article-pager .pg-ellipsis { border: none; background: none; min-width: auto; padding: 0 4px; }

/* ===== Hero Slider (首页顶部幻灯片) ===== */
.hero-slider{position:relative;background:var(--grad-navy);color:#fff;overflow:hidden;height:clamp(440px,62vh,580px);}
.hero-track{position:relative;height:100%;}
.hero-slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease,visibility .6s;}
.hero-slide.active{opacity:1;visibility:visible;transform:none;}
.hero-slide-inner{max-width:780px;}
.hero-slider .eyebrow{display:inline-block;background:rgba(255,182,39,.16);color:#FFB627;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;margin-bottom:var(--sp-2);}
.hero-slide h1{color:#fff;font-size:clamp(2rem,4.4vw,3.3rem);line-height:1.15;margin:0 0 var(--sp-2);}
.hero-slide h1 .accent{background:linear-gradient(90deg,#FFB627,#FF7A8A);-webkit-background-clip:text;background-clip:text;color:transparent;}
.hero-slide .lead{color:rgba(255,255,255,.88);font-size:17px;line-height:1.7;max-width:620px;margin:0 0 var(--sp-3);}
.hero-slide .hero-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap;}
.slide-xhs{background:linear-gradient(135deg,#E63946 0%,#FF7A8A 100%);}
.slide-geo{background:linear-gradient(135deg,#0A1733 0%,#1B9E77 100%);}
.slide-google{background:linear-gradient(135deg,#0A1733 0%,#34A853 100%);}
.slide-media{background:linear-gradient(135deg,#B45309 0%,#E63946 100%);}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:1;cursor:pointer;z-index:5;transition:background .2s;backdrop-filter:blur(4px);}
.hero-arrow:hover{background:rgba(255,255,255,.35);}
.hero-arrow-left{left:18px;}
.hero-arrow-right{right:18px;}
.hero-dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:5;}
.hero-dot{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer;padding:0;transition:background .2s,width .2s;}
.hero-dot.active{background:#fff;width:26px;border-radius:6px;}
@media (max-width:768px){
  .hero-slider{height:clamp(420px,72vh,560px);}
  .hero-arrow{width:38px;height:38px;font-size:22px;}
  .hero-arrow-left{left:8px;} .hero-arrow-right{right:8px;}
}
/* ===== Stats strip ===== */
.stats-strip{background:#fff;border-bottom:1px solid var(--border);}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--sp-4);padding:var(--sp-5) 0;}
.stat-cell{text-align:center;}
.stat-cell .b-ico{font-size:30px;}
.stat-cell .b-num{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:#0A1733;margin:4px 0;}
.stat-cell .b-label{color:#5b6478;font-size:14px;}
@media (max-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:var(--sp-3);}}
