/*
 * Theme Name: 云涂科技企业主题 (浅色版)
 * Description: 广西云涂科技有限公司企业站 - 浅色商务 + 科技点缀 + 动效增强 + 文章banner
 * Author: 妲己mini
 * Version: 4.0.3
 * Text Domain: yuntu
 */

/* ==== 全局 ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==== WP Admin Bar 让位（登录用户前台访问时） ==== */
/* admin bar 和 site-header 都是 position: fixed; top: 0，会重叠 32px
   解决：登录时让 site-header 整体下移 32px，移动端 46px
   WP 默认断点：桌面 32px（>782px），移动 46px（≤782px） */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
a { color: #0e7490; text-decoration: none; transition: color .2s; }
a:hover { color: #155e75; }
img { max-width: 100%; height: auto; }

/* ==== 色彩 ==== */
:root {
  --bg-page: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1a1a1a;
  --text-muted: #64748b;
  --accent: #2da7ad;          /* 云涂青 (logo 主色板) */
  --accent-2: #e29d37;        /* 阳光橙 (logo 辅色) */
  --accent-light: #ecfeff;    /* 浅青底 */
  --gradient: linear-gradient(135deg, #2da7ad 0%, #e29d37 100%);
}

/* ==== 顶部导航 ==== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  padding: 24px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: background .3s, border-color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  padding: 18px 0;
}
.site-header .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo {
  font-size: 22px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.site-header .logo-icon { display: none; }
.site-header .logo-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.site-header .logo span { color: var(--text-muted); font-weight: 400; font-size: 14px; margin-left: 6px; letter-spacing: .5px;}
.site-header nav a {
  margin-left: 28px; color: var(--text); font-size: 18px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.site-header nav ul {
  list-style: none; padding: 0; margin: 0; display: flex; align-items: center;
}
.site-header nav ul li { margin: 0; padding: 0; }
.site-header nav ul li:first-child a { margin-left: 32px; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gradient);
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s;
}
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a.current { color: var(--accent); }
.site-header nav a.current::after { transform: scaleX(1); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==== Hero ==== */
.hero {
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(14,116,144,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(29,78,216,0.08) 0%, transparent 55%),
    var(--bg-page);
  text-align: center;
  padding: 140px 24px 80px;
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(14,116,144,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,116,144,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.18;
  margin-bottom: 24px;
  color: var(--text);
  position: relative; z-index: 1;
  letter-spacing: -1px;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  position: relative; z-index: 1;
}
.hero .cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient);
  color: #fff; font-weight: 600;
  border-radius: 10px;
  position: relative; z-index: 1;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(14,116,144,0.25);
  transition: transform .2s, box-shadow .2s;
}
.hero .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14,116,144,0.35);
  color: #fff;
}
.hero .cta-secondary {
  display: inline-block;
  margin-left: 12px;
  padding: 14px 28px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-weight: 500;
}
.hero .cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ==== Section 通用 ==== */
section { padding: 96px 0; position: relative; }
section.alt { background: var(--bg-soft); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  text-align: center;
  font-size: 36px; font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-title .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-eyebrow {
  text-align: center;
  color: var(--accent);
  font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px; margin: 0 auto 56px;
  font-size: 16px;
}

/* ==== 业务卡片 ==== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card-link { text-decoration: none; color: inherit; display: block; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(14,116,144,0.10);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  font-size: 40px;
  width: 60px; height: 60px; line-height: 60px;
  text-align: center;
  background: var(--accent-light);
  border-radius: 14px;
  margin-bottom: 18px;
  display: inline-block;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 14px; }
.service-card-arrow {
  color: var(--accent); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.service-card:hover .service-card-arrow { gap: 10px; }
.service-card-tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent-light); color: var(--accent);
  padding: 3px 10px; border-radius: 12px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .3px;
}
.service-page-icon {
  font-size: 64px; margin-bottom: 16px;
  width: 96px; height: 96px; line-height: 96px;
  text-align: center;
  background: var(--accent-light);
  border-radius: 20px;
  margin: 0 auto 20px;
}

/* ==== Features 网格 ==== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all .25s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(14,116,144,0.08);
}
.feature-icon {
  font-size: 32px;
  width: 52px; height: 52px; line-height: 52px;
  text-align: center;
  background: var(--accent-light);
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

/* ==== About ==== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.about-text p { margin-bottom: 14px; color: var(--text-muted); font-size: 15.5px; }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 28px;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
}
.stat-num {
  font-size: 28px; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label { color: var(--text-muted); font-size: 12.5px; margin-top: 4px; }
.about-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(14,116,144,0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(29,78,216,0.18) 0%, transparent 55%),
    var(--accent-light);
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 90px;
}

/* ==== News / Article list ==== */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-item h2 {
  font-size: 22px; margin-bottom: 8px; font-weight: 700;
  line-height: 1.35;
}
.news-item h2 a { color: var(--text); }
.news-item h2 a:hover { color: var(--accent); }
.news-meta {
  color: var(--text-muted); font-size: 13px;
  margin-bottom: 10px; display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.news-meta .tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
}
.news-item p { color: var(--text-muted); font-size: 15px; }
.news-item .read-more {
  color: var(--accent); font-weight: 600; font-size: 14px;
  display: inline-block; margin-top: 6px;
}

/* ==== Article single ==== */
.article {
  max-width: 760px; margin: 0 auto;
  background: #fff;
}
.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 32px; line-height: 1.3; margin-bottom: 14px; font-weight: 800; letter-spacing: -0.5px;}
.article-content { font-size: 16px; line-height: 1.85; color: #2a2a2a; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-size: 24px; margin: 36px 0 14px; color: var(--text); font-weight: 700;}
.article-content h3 { font-size: 19px; margin: 28px 0 12px; color: var(--text); font-weight: 700;}
.article-content ul, .article-content ol { margin: 0 0 18px 22px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 14px 20px;
  margin: 20px 0;
  color: var(--text-muted);
  border-radius: 0 8px 8px 0;
}
.article-content code {
  background: var(--bg-soft);
  padding: 2px 6px; border-radius: 4px;
  font-size: 14px; color: #be185d;
}
.article-content img { border-radius: 8px; margin: 18px 0; }
.article-content pre {
  background: #f1f5f9;
  padding: 18px; border-radius: 8px; overflow-x: auto;
  margin: 18px 0; font-size: 14px;
}

/* ==== Contact ==== */
.contact-card {
  max-width: 760px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.contact-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--text); }
.contact-card .lead { color: var(--text-muted); margin-bottom: 32px; }
.contact-info {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.contact-item .icon {
  font-size: 26px; margin-bottom: 8px;
  width: 48px; height: 48px; line-height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  margin: 0 auto 10px;
  color: var(--accent);
}
.contact-item .label { color: var(--text-muted); font-size: 13px; margin-bottom: 4px; }
.contact-item .value { color: var(--text); font-size: 15px; font-weight: 500; }

/* ==== Footer ==== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 28px;
  font-size: 14px;
}
.site-footer .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.site-footer a { color: #94a3b8; margin-left: 24px; }
.site-footer a:hover { color: #fff; }
.site-footer .copyright { color: #64748b; }

/* ==== 内页 Hero ==== */
.page-hero {
  padding: 160px 24px 64px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(14,116,144,0.08) 0%, transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 16px; }

.page-content { padding: 64px 0 96px; }
.page-content .container { max-width: 1200px; }
.page-content h2 { font-size: 24px; margin: 32px 0 14px; color: var(--text); font-weight: 700;}
.page-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--text); font-weight: 700; }
.page-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.page-content ul, .page-content ol { color: var(--text-muted); padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; }

/* 文章正文（单篇文章内容）仍走 760px 阅读宽度，不被拉宽 */
.article { max-width: 860px; margin: 0 auto; }

/* ==== 响应式 ==== */
@media (max-width: 768px) {
  .site-header nav a { margin-left: 14px; font-size: 15px; }
  .site-header .container { padding: 0 16px; }
  .hero h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; gap: 20px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }
  section { padding: 64px 0; }
  .contact-card { padding: 32px 24px; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .site-footer a { margin: 0 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-arrow { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .hero-stat:nth-child(3),
  .hero-stats .hero-stat:nth-child(4) { display: none; }
  .marquee-item { min-width: 200px; }
  .cta-banner h2 { font-size: 28px; }
}

/* =================================================== */
/* ==== v4 单篇文章页：Banner / 侧边栏 / 阅读进度 ===== */
/* =================================================== */

/* ---- 文章 Banner（全屏渐变 + SVG 装饰 + 进度条）---- */
.article-banner {
  position: relative;
  min-height: 480px;
  display: flex; align-items: center;
  padding: 180px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(14,116,144,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(29,78,216,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #f0f9ff 0%, #ede9fe 100%);
}
.article-banner-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 5%;
  pointer-events: none;
  opacity: .55;
}
.article-banner-bg .svg-illust-hero { width: min(560px, 45vw); height: auto; }
.article-banner-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.article-banner-inner { position: relative; z-index: 2; max-width: 860px; }
.article-banner-breadcrumb {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 20px;
  display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap;
}
.article-banner-breadcrumb a { color: var(--text-muted); transition: color .2s; }
.article-banner-breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: #cbd5e1; }
.article-banner-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(14,116,144,0.12);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 20px;
  border: 1px solid rgba(14,116,144,0.2);
}
.article-banner-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.article-banner-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.article-banner-meta {
  display: flex; flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-icon { font-size: 16px; }

/* 阅读进度条 */
.article-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,0.05);
  z-index: 3;
}
.article-progress-bar {
  height: 100%;
  background: var(--gradient);
  width: 0;
  transition: width .1s linear;
}

/* ---- 文章正文布局：左主区 + 右 sidebar ---- */
.article-page { padding: 60px 0 80px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* 工具栏：标签 + 分享 */
.article-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 32px;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tag-pill {
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 12px;
  font-size: 12.5px; font-weight: 600;
}
.article-share { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 14px;
  transition: all .2s;
}
.share-btn:hover { background: var(--accent-light); transform: translateY(-2px); }

/* 文末分隔 */
.article-end-divider {
  display: flex; justify-content: center; gap: 8px;
  margin: 48px 0 32px;
  font-size: 24px;
  color: var(--border-strong);
  letter-spacing: 4px;
}

/* 操作：点赞 / 收藏 / 评论 / 转载声明 */
.article-actions {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 16px;
  margin: 32px 0;
}
.article-reaction { display: flex; gap: 12px; }
.reaction-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  min-width: 80px;
}
.reaction-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.reaction-btn.liked {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
.reaction-icon { font-size: 22px; }
.article-license { font-size: 12px; color: var(--text-muted); text-align: center; }
.article-license a { color: var(--accent); }

/* 作者卡 */
.article-author {
  display: flex; align-items: center; gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ede9fe 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 32px 0;
}
.author-avatar {
  width: 64px; height: 64px; line-height: 64px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 26px; font-weight: 800;
  flex-shrink: 0;
}
.author-info { flex: 1; min-width: 0; }
.author-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.author-role { color: var(--text-muted); font-weight: 400; font-size: 13px; }
.author-bio { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.5; }
.author-stats { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-muted); }
.author-stats strong { color: var(--text); font-size: 14px; }
.author-follow {
  padding: 10px 20px;
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
}
.author-follow:hover { border-color: var(--accent); transform: translateY(-2px); }

/* 上下篇导航 */
.article-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.article-nav-item {
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .2s;
}
.article-nav-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-nav-item a { color: inherit; display: block; }
.article-nav-next { text-align: right; }
.nav-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.nav-title { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5; }
.nav-empty { color: var(--text-muted); font-weight: 400; font-style: italic; }

/* ---- 侧边栏 ---- */
.article-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.sidebar-title {
  font-size: 15px; font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}

/* 文章目录 */
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-item { margin-bottom: 8px; }
.toc-item a {
  display: block;
  padding: 6px 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-left: 2px solid var(--border);
  transition: all .2s;
  line-height: 1.5;
}
.toc-item a:hover { color: var(--accent); border-left-color: var(--accent); background: var(--accent-light); }
.toc-h3 a { padding-left: 24px; font-size: 13px; }

/* 作者大卡 */
.author-card { text-align: center; }
.author-avatar-lg {
  width: 72px; height: 72px; line-height: 72px;
  margin: 0 auto 12px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 30px; font-weight: 800;
}
.author-name-lg { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.author-bio-lg { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.author-cta {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
}
.author-cta:hover { color: #fff; transform: translateY(-1px); }

/* 相关推荐 */
.related-list { list-style: none; padding: 0; margin: 0; }
.related-item { margin-bottom: 12px; }
.related-item:last-child { margin-bottom: 0; }
.related-item a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.related-item:last-child a { border-bottom: none; }
.related-title {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.related-date { font-size: 12px; color: var(--text-muted); }
.related-item a:hover .related-title { color: var(--accent); }

/* 侧边 CTA */
.cta-card {
  background: var(--gradient);
  color: #fff;
  text-align: center;
}
.cta-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cta-card p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.sidebar-cta {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  color: var(--accent);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
}
.sidebar-cta:hover { color: var(--accent); transform: translateY(-1px); }

/* ---- 响应式：文章页 ---- */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .article-banner { min-height: 360px; padding: 140px 0 80px; }
  .article-banner-title { font-size: 28px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-author { flex-direction: column; text-align: center; }
  .author-follow { width: 100%; }
}
@media (max-width: 768px) {
  .article-banner { min-height: 320px; padding: 120px 0 60px; }
  .article-banner-title { font-size: 24px; }
  .article-banner-meta { gap: 12px; font-size: 13px; }
  .article-toolbar { flex-direction: column; align-items: flex-start; }
}

/* 全局 cubic-bezier 平滑曲线 */
:root {
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- 通用：进入视口时的入场动画（IntersectionObserver 触发） ---- */
[data-anim] {
  opacity: 0;
  transition: opacity .9s var(--ease-out-soft), transform .9s var(--ease-out-soft);
  will-change: opacity, transform;
}
[data-anim="fade-up"]    { transform: translateY(40px); }
[data-anim="fade-in"]    { transform: scale(.96); }
[data-anim="slide-left"] { transform: translateX(-50px); }
[data-anim="slide-right"]{ transform: translateX(50px); }
[data-anim].is-visible { opacity: 1; transform: none; }

/* ---- Hero v3 增强 ---- */
.hero-v3 {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(14,116,144,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(29,78,216,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 5%;
  pointer-events: none;
  opacity: .85;
}
.svg-illust-hero { width: min(620px, 50vw); height: auto; }

/* hero 内部 SVG 动画 */
.hero-ring-1 { transform-origin: 300px 300px; animation: spin 22s linear infinite; }
.hero-ring-2 { transform-origin: 300px 300px; animation: spin 35s linear infinite reverse; }
.hero-ring-3 { transform-origin: 300px 300px; animation: spin 18s linear infinite; }
.hero-core   { transform-origin: 300px 300px; animation: pulse 4s ease-in-out infinite; }
.hero-nodes  { animation: orbitNodes 25s linear infinite; transform-origin: 300px 300px; }
.hero-dust circle { animation: twinkle 3s ease-in-out infinite; }
.hero-dust circle:nth-child(2n) { animation-delay: .5s; }
.hero-dust circle:nth-child(3n) { animation-delay: 1s; }
@keyframes spin       { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes pulse      { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .9; } }
@keyframes orbitNodes { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
@keyframes twinkle    { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

.hero-inner { position: relative; z-index: 2; }
.hero-text { max-width: 720px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(14,116,144,0.10);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(14,116,144,0.2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  max-width: 640px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(14,116,144,0.06);
}
.hero-stat { text-align: left; }
.hero-stat-num {
  font-size: 32px; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 12px; letter-spacing: 2px;
  z-index: 3;
}
.hero-scroll-arrow {
  width: 22px; height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-arrow::after {
  content: ""; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* ---- Trusted / Marquee 客户 logo 无限滚动 ---- */
.trusted { padding: 56px 0 0; }
.trusted-label {
  text-align: center;
  color: var(--text-muted); font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  padding: 20px 0;
}
.marquee-track {
  display: flex; gap: 24px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex-shrink: 0; }
.marquee-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 180px;
  transition: transform .3s var(--ease-out-soft), box-shadow .3s;
}
.marquee-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14,116,144,0.10);
  border-color: var(--accent);
}
.marquee-logo-letter {
  width: 32px; height: 32px; line-height: 32px;
  text-align: center;
  background: var(--accent-light); color: var(--accent);
  border-radius: 8px;
  font-weight: 800; font-size: 14px;
}
.marquee-logo-name { color: var(--text); font-weight: 500; font-size: 14px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- 3D Tilt 悬停效果（.tilt 元素） ---- */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0) rotateY(0);
  transition: transform .4s var(--ease-out-soft), box-shadow .4s;
}
.tilt:hover {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
}
.tilt::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.0) 0%, rgba(14,116,144,.08) 50%, rgba(255,255,255,.0) 100%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.tilt:hover::after { opacity: 1; }

/* 卡片加 position: relative 给 tilt 撑起来 */
.feature-card, .service-card, .stat, .contact-item, .process-step {
  position: relative;
}

/* ---- Process 流程 ---- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all .3s var(--ease-out-soft);
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(14,116,144,0.10);
}
.process-num {
  display: inline-block;
  font-size: 14px; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.process-step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.process-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 28px; font-weight: 300;
  opacity: .5;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: .4; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* ---- About 插图 ---- */
.about-illust {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(14,116,144,0.10);
}
.about-illust svg { display: block; width: 100%; height: auto; }

/* ---- CTA Banner ---- */
.cta-banner {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    var(--gradient);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }
.cta-banner .cta {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-banner .cta:hover { background: #f0f9ff; color: var(--accent); transform: translateY(-2px); }

/* ---- btn-link 浅色链接按钮 ---- */
.btn-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  padding: 8px 0;
  position: relative;
  transition: gap .2s;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .3s var(--ease-out-soft);
}
.btn-link:hover::after { width: 100%; }

/* ---- 减少动画偏好（可访问性） ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* ==== 后台可编辑区（v4.0.3） ==== */
.custom-content-section {
  padding: 60px 0;
  background: var(--bg-soft, #f8fafc);
}
.custom-content-inner {
  max-width: 900px;
  margin: 0 auto;
}
.custom-content-inner h2,
.custom-content-inner h3 {
  margin: 24px 0 12px;
  color: var(--text, #1a1a1a);
}
.custom-content-inner h2 { font-size: 28px; }
.custom-content-inner h3 { font-size: 22px; }
.custom-content-inner p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--text, #1a1a1a);
}
.custom-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.custom-content-inner ul,
.custom-content-inner ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.custom-content-inner li { margin: 6px 0; }
.custom-content-inner a {
  color: var(--accent, #0e7490);
  text-decoration: underline;
}
.custom-content-inner blockquote {
  border-left: 4px solid var(--accent, #0e7490);
  padding: 12px 20px;
  margin: 16px 0;
  background: #fff;
  color: var(--text-muted, #64748b);
  font-style: italic;
}
