/* --- 1. 全局与基础样式 --- */
:root {
  /* 广告公司专属配色系统 */
  --primary-color: #FF6B35; /* 创意橙红（主色） */
  --secondary-color: #7209B7; /* 潮流紫（辅助色） */
  --accent-color: #4361EE; /* 专业蓝（点缀色） */
  --warm-accent: #FFD166; /* 暖黄（活力点缀） */
  --dark-color: #1A1A2E; /* 深灰（标题/背景） */
  --mid-gray: #495057; /* 中灰（文本） */
  --light-color: #F8F9FA; /* 浅灰（背景） */
  --white-color: #FFFFFF; /* 纯白 */
  --border-color: #E5E7EB; /* 边框色 */
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* 基础阴影 */
  --creative-shadow: 0 8px 30px rgba(255, 107, 53, 0.15); /* 创意橙阴影 */
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px;
  overflow-x: hidden; /* 防止水平滚动 */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--mid-gray);
  background-color: var(--white-color);
  display: flex; 
  flex-direction: column; 
  min-height: 100vh;
  overflow-x: hidden;
}

main { flex: 1; width: 100%; }

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
  width: 100%;
}

/* 标题样式（广告风张力设计） */
h1, h2, h3, h4 { 
  color: var(--dark-color); 
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem; 
}

h2 { 
  font-size: 2.8rem; 
  text-align: center; 
  margin-bottom: 3rem; 
  position: relative; 
  letter-spacing: -0.5px;
}

/* 创意标题下划线（渐变+几何） */
h2::after { 
  content: ''; 
  position: absolute; 
  bottom: -15px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 80px; 
  height: 4px; 
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* 区块间距 */
section { 
  padding: 100px 0; 
  position: relative;
}

/* 奇偶区块交替背景（艺术感纹理） */
section:nth-of-type(odd) { 
  background-color: var(--light-color);
  background-image: 
    radial-gradient(rgba(255, 107, 53, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(255, 107, 53, 0.05) 1px, var(--light-color) 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* 按钮样式（广告风活力按钮） */
.btn {
  display: inline-block; 
  padding: 14px 32px; 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color); 
  text-decoration: none; 
  border-radius: 8px; 
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease; 
  border: none; 
  cursor: pointer;
  box-shadow: var(--creative-shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 按钮hover动效（立体+位移） */
.btn:hover { 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
  color: var(--white-color);
}

/* 按钮点击波纹效果（纯CSS） */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 1;
}

.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* --- 2. 头部与导航 --- */
.main-header { 
  background-color: var(--white-color); 
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  width: 100%;
  padding: 0.5rem 0;
}

.main-header .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  height: 80px; 
}

.logo { 
  font-size: 2rem; 
  font-weight: 800; 
  color: var(--dark-color); 
  text-decoration: none; 
  letter-spacing: -1px;
  position: relative;
  white-space: nowrap; /* 防止Logo换行 */
}

/* Logo创意装饰（纯CSS） */
.logo::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.main-nav ul { 
  display: flex; 
  list-style: none; 
}

.main-nav ul li { 
  margin-left: 35px; 
}

.main-nav ul li a { 
  text-decoration: none; 
  color: var(--mid-gray); 
  font-weight: 600; 
  position: relative; 
  padding: 8px 0; 
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

/* 导航hover效果（创意下划线） */
.main-nav ul li a::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 0; 
  height: 3px; 
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after, 
.main-nav ul li a.active::after { 
  width: 100%; 
}

.main-nav ul li a.active,
.main-nav ul li a:hover { 
  color: var(--primary-color); 
}

.menu-toggle { 
  display: none; 
  cursor: pointer; 
  background: none; 
  border: none; 
  font-size: 1.8rem; 
  color: var(--dark-color); 
  padding: 5px;
}

/* --- 3. 英雄区域（广告公司视觉焦点） --- */
#hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  color: var(--white-color); 
  height: 90vh; 
  min-height: 600px;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

/* 英雄区背景几何装饰（纯CSS） */
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

#hero::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
}

#hero::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
}

#hero h1 { 
  font-size: 4.2rem; 
  color: var(--white-color); 
  margin-bottom: 1.5rem; 
  letter-spacing: -1px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#hero p { 
  font-size: 1.3rem; 
  max-width: 700px; 
  margin: 0 auto 2.5rem; 
  opacity: 0.95;
  line-height: 1.8;
}

/* --- 4. 解决方案（广告服务板块） --- */
.solutions-grid { 
  display: grid; 
  /* 修正：将最小宽度调整为280px，适应小屏设备 */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 40px; 
}

/* 服务卡片（创意悬浮效果） */
.solution-card { 
  background-color: var(--white-color); 
  padding: 40px 30px; 
  border-radius: 12px; 
  box-shadow: var(--shadow); 
  text-align: center; 
  transition: all 0.4s ease; 
  border-top: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

/* 卡片hover动效（广告风立体悬浮） */
.solution-card:hover { 
  transform: translateY(-15px) rotate(0.5deg); 
  box-shadow: var(--creative-shadow);
  border-top-color: var(--secondary-color);
}

/* 卡片背景装饰（纯CSS） */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(114, 9, 183, 0.05));
  border-radius: 0 0 0 100px;
  z-index: 0;
}

/* 服务图标（纯CSS绘制，适配广告服务） */
.solution-icon { 
  width: 80px; 
  height: 80px; 
  margin: 0 auto 25px; 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

/* 广告服务图标样式（纯CSS - 映射 PHP 的 Tech 类名到 Emoji） */
.solution-icon::before {
  color: white;
  font-size: 34px;
  line-height: 1;
  display: block;
}

/* 品牌设计图标 */
.icon-cloud::before { content: '♛'; }

/* 数字营销图标 */
.icon-data::before { content: '📊'; }

/* 内容创意图标 */
.icon-ai::before { content: '✏️'; }

/* 媒介投放图标 */
.icon-security::before { content: '📡'; }

/* 活动策划图标 */
.icon-iot::before { content: '🎉'; }

/* 品牌咨询图标 */
.icon-consult::before { content: '💡'; }


.solution-card h3 { 
  font-size: 1.6rem; 
  color: var(--dark-color); 
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--mid-gray);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --- 5. 关于我们 --- */
#about .about-content { 
  display: flex; 
  align-items: center; 
  gap: 60px; 
}

.about-text { 
  flex: 1; 
}

.about-text h3 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.about-text p { 
  margin-bottom: 1.5rem; 
  line-height: 1.8;
  color: var(--mid-gray);
}

.about-action { 
  margin-top: 2.5rem; 
}

/* 关于我们视觉区块（广告风几何设计） */
.about-visual {
  flex: 1; 
  height: 400px; 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--white-color); 
  font-size: 1.8rem; 
  font-weight: 700; 
  box-shadow: var(--creative-shadow);
  position: relative; 
  overflow: hidden;
  transform: rotate(2deg);
}

/* 几何装饰层 */
.about-visual::before,
.about-visual::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.about-visual::before {
  width: 180px;
  height: 180px;
  top: -50px;
  right: -50px;
  transform: rotate(45deg);
}

.about-visual::after {
  width: 120px;
  height: 120px;
  bottom: -30px;
  left: -30px;
  transform: rotate(15deg);
}

.about-visual span { 
  z-index: 1;
  transform: rotate(-2deg);
  text-align: center;
  padding: 20px;
}

/* 动态点阵背景 */
.about-visual .dot-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-visual .dot-pattern::before {
  content: ''; 
  position: absolute; 
  width: 200%; 
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px; 
  animation: move-dots 25s linear infinite;
}

/* 动态点阵动画 */
@keyframes move-dots { 
  from { transform: translate(0, 0); } 
  to { transform: translate(-50%, -50%); } 
}

/* --- 6. 最新动态（资讯板块） --- */
.news-grid { 
  display: grid; 
  /* 修正：更安全的最小宽度 */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 35px; 
}

.news-card {
  background-color: var(--white-color); 
  border-radius: 12px; 
  box-shadow: var(--shadow);
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}

/* 资讯卡片hover动效 */
.news-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
}

/* 资讯封面（广告风渐变） */
.news-cover {
  height: 220px; 
  width: 100%; 
  overflow: hidden; 
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* 交替渐变封面 */
.news-card:nth-child(2n) .news-cover { 
  background: linear-gradient(135deg, var(--warm-accent), var(--primary-color)); 
}

.news-card:nth-child(3n) .news-cover { 
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)); 
}

/* 封面图片样式 */
.news-cover img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.6s ease;
}

.news-card:hover .news-cover img { 
  transform: scale(1.1); 
}

.news-content { 
  padding: 25px; 
  flex-grow: 1; 
  display: flex; 
  flex-direction: column; 
}

.news-content h4 { 
  font-size: 1.3rem; 
  margin-bottom: 0.8rem; 
  line-height: 1.4;
}

.news-content h4 a { 
  text-decoration: none; 
  color: var(--dark-color); 
  transition: color 0.3s ease; 
}

.news-content h4 a:hover { 
  color: var(--primary-color); 
}

/* 资讯元信息 */
.news-meta { 
  font-size: 0.85rem; 
  color: #888; 
  margin-bottom: 1.2rem; 
  display: flex; 
  gap: 12px; 
  align-items: center;
  flex-wrap: wrap; /* 防止Meta换行溢出 */
}

/* 分类链接样式 */
.news-meta a { 
  color: inherit; 
  text-decoration: none; 
  transition: all 0.3s ease; 
}

.news-meta a:hover { 
  color: var(--primary-color); 
  text-decoration: underline; 
}

.news-content p { 
  flex-grow: 1; 
  margin-bottom: 1.5rem; 
  font-size: 0.95rem; 
  color: #666; 
  line-height: 1.7; 
}

.read-more-link { 
  text-decoration: none; 
  color: var(--primary-color); 
  font-weight: 600; 
  align-self: flex-start; 
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more-link:hover { 
  text-decoration: underline; 
  gap: 10px;
}

.read-more-link::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.read-more-link:hover::after {
  transform: translateX(3px);
}

/* --- 7. FAQ（常见问题） --- */
.faq-accordion { 
  max-width: 850px; 
  margin: 0 auto; 
}

.faq-item { 
  border-bottom: 1px solid var(--border-color); 
  margin-bottom: 5px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%; 
  background: var(--white-color); 
  border: none; 
  text-align: left; 
  padding: 25px 20px;
  font-size: 1.15rem; 
  font-weight: 600; 
  cursor: pointer; 
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  color: var(--dark-color);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 107, 53, 0.03);
}

/* FAQ展开按钮 */
.faq-question::after { 
  content: '+'; 
  font-size: 1.8rem; 
  color: var(--primary-color); 
  transition: all 0.3s ease; 
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  flex-shrink: 0; /* 防止按钮变形 */
}

.faq-item.active .faq-question::after { 
  transform: rotate(45deg) scale(1.1); 
  background: var(--primary-color);
  color: white;
}

/* 修正：FAQ回答样式 - 解决Padding导致的动画抖动 */
.faq-answer { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease; 
  padding: 0 20px; /* 初始无上下Padding */
  background-color: var(--white-color);
  opacity: 0;
}

.faq-item.active .faq-answer { 
  padding: 0 20px 30px; /* 激活时添加Padding */
  opacity: 1;
}

.faq-answer p {
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
  border-top: 1px dashed rgba(255, 107, 53, 0.2); 
  padding: 20px 0; /* 顶部间隔 */
  margin-top: 10px;
}

/* --- 8. Footer（页脚） --- */
.main-footer { 
  background-color: var(--dark-color); 
  color: var(--light-color); 
  padding: 80px 0 30px; 
  margin-top: auto; 
  position: relative;
}

/* 页脚背景装饰 */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content { 
  display: flex; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 40px; 
  margin-bottom: 50px; 
}

.footer-column { 
  flex: 1; 
  min-width: 220px; 
}

.footer-column h4 { 
  color: var(--white-color); 
  margin-bottom: 1.5rem; 
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.footer-column ul { 
  list-style: none; 
}

.footer-column ul li { 
  margin-bottom: 12px; 
}

.footer-column ul li a { 
  color: #ccc; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover { 
  color: var(--primary-color); 
  transform: translateX(5px);
}

.footer-column ul li a::before {
  content: '→';
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover::before {
  opacity: 1;
}

.footer-column p {
  color: #ccc;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-bottom { 
  text-align: center; 
  padding-top: 30px; 
  border-top: 1px solid #333; 
  font-size: 0.9rem; 
  color: #aaa; 
}

.footer-bottom a {
  color: inherit; 
  text-decoration: none; 
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* --- CMS 页面样式 --- */
.breadcrumb { 
  padding: 25px 0; 
  font-size: 0.95rem; 
  color: #666; 
  border-bottom: 1px solid var(--border-color); 
  margin-bottom: 30px; 
  display: flex;
  flex-wrap: wrap; /* 防止面包屑在小屏换行问题 */
  align-items: center;
}

.breadcrumb a { 
  color: var(--mid-gray); 
  text-decoration: none; 
  transition: color 0.3s ease;
}

.breadcrumb a:hover { 
  color: var(--primary-color); 
}

.breadcrumb span { 
  margin: 0 10px; 
  color: #ccc; 
}

.page-container { 
  padding: 80px 0 100px; 
}

.page-header { 
  text-align: left; 
  margin-bottom: 40px; 
}

.page-header h1 { 
  font-size: 2.5rem; 
  color: var(--dark-color); 
  line-height: 1.3;
}

.page-meta { 
  color: #888; 
  font-size: 0.95rem; 
  margin-top: 10px; 
}

/* 页面元信息链接样式 */
.page-meta a {
  color: inherit; 
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-meta a:hover {
  color: var(--primary-color); 
  text-decoration: underline;
}

/* 分页样式 */
.pagination { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-top: 60px; 
}

.page-btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 45px; 
  height: 45px; 
  border: 1px solid var(--border-color); 
  border-radius: 8px; 
  color: var(--mid-gray); 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-weight: 600;
}

.page-btn:hover { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff; 
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.page-current { 
  display: inline-flex; 
  align-items: center; 
  height: 45px; 
  padding: 0 20px; 
  font-weight: 700; 
  color: var(--dark-color); 
  font-size: 1.1rem;
}

/* Markdown内容样式 */
.markdown-body { 
  color: var(--mid-gray); 
  font-size: 1.05rem; 
  line-height: 1.8; 
  max-width: 100%; 
  overflow-x: hidden; 
  overflow-wrap: break-word; /* 修正：防止长文本撑破布局 */
}

.markdown-body h2 { 
  font-size: 2rem; 
  margin-top: 3rem; 
  margin-bottom: 1.5rem; 
  padding-bottom: 12px; 
  border-bottom: 2px solid var(--light-color); 
  text-align: left; 
}

.markdown-body h2::after { 
  display: none; 
}

.markdown-body h3 { 
  font-size: 1.5rem; 
  margin-top: 2.5rem; 
  margin-bottom: 1rem; 
}

.markdown-body p { 
  margin-bottom: 1.8rem; 
}

.markdown-body ul, 
.markdown-body ol { 
  padding-left: 25px; 
  margin-bottom: 1.8rem; 
}

.markdown-body li { 
  margin-bottom: 0.8rem; 
}

.markdown-body img { 
  max-width: 100%; 
  height: auto; 
  border-radius: 12px; 
  margin: 25px 0; 
  box-shadow: var(--shadow); 
  border: 1px solid var(--border-color);
}

.markdown-body blockquote { 
  border-left: 4px solid var(--primary-color); 
  background-color: rgba(255, 107, 53, 0.05); 
  padding: 25px; 
  margin: 25px 0; 
  border-radius: 0 8px 8px 0; 
  font-style: italic; 
  color: #555; 
}

.markdown-body a { 
  color: var(--primary-color); 
  text-decoration: none; 
  border-bottom: 1px dashed var(--primary-color); 
  transition: all 0.3s ease;
}

.markdown-body a:hover { 
  border-bottom-style: solid; 
  color: var(--secondary-color);
}

.markdown-body hr { 
  border: 0; 
  height: 1px; 
  background: linear-gradient(90deg, transparent, var(--border-color), transparent); 
  margin: 50px 0; 
}

.markdown-body pre { 
  background: var(--dark-color); 
  color: #fff; 
  padding: 25px; 
  border-radius: 8px; 
  overflow-x: auto; 
  margin-bottom: 25px; 
  font-size: 0.95rem;
}

/* 文章标签 */
.post-tags { 
  margin-top: 50px; 
  padding-top: 25px; 
  border-top: 1px solid var(--border-color); 
}

.tag-pill { 
  display: inline-block; 
  background: rgba(255, 107, 53, 0.05); 
  padding: 8px 20px; 
  border-radius: 30px; 
  color: var(--mid-gray); 
  text-decoration: none; 
  font-size: 0.9rem; 
  margin-right: 12px; 
  margin-bottom: 12px; 
  border: 1px solid rgba(255, 107, 53, 0.1); 
  transition: all 0.3s ease; 
}

.tag-pill:hover { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff; 
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

/* 文章导航 */
.post-navigation { 
  display: flex; 
  justify-content: space-between; 
  margin-top: 50px; 
  padding-top: 25px; 
  border-top: 1px solid var(--border-color); 
}

.nav-next, 
.nav-prev { 
  max-width: 45%; 
  text-decoration: none; 
  color: var(--dark-color); 
  font-weight: 600; 
  transition: color 0.3s ease;
}

.nav-next:hover, 
.nav-prev:hover { 
  color: var(--primary-color); 
}

.nav-next span, 
.nav-prev span { 
  display: block; 
  font-size: 0.85rem; 
  color: #999; 
  font-weight: normal; 
  margin-bottom: 8px; 
}

/* 404页面 */
.error-page { 
  text-align: center; 
  padding: 120px 0; 
}

.error-page h1 { 
  font-size: 6rem; 
  color: var(--primary-color); 
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.error-page p { 
  font-size: 1.5rem; 
  margin-bottom: 3rem; 
  color: var(--mid-gray);
}

.no-content { 
  text-align: center; 
  padding: 60px; 
  color: #999; 
  background: var(--light-color); 
  border-radius: 12px;
  border: 1px dashed var(--border-color);
}

/* --- 响应式适配 --- */
@media (max-width: 992px) { 
  h2 { font-size: 2.4rem; } 
  #hero h1 { font-size: 3.5rem; }
  #about .about-content { gap: 40px; }
  .about-visual { height: 350px; }
}

@media (max-width: 768px) {
  .logo { font-size: 1.8rem; }

  /* 移动端导航 */
  .menu-toggle { display: block; }
  .main-nav { 
    position: absolute; 
    top: 100%; /* 修正：相对 Header 底部定位 */
    left: 0; 
    width: 100%; 
    background-color: var(--white-color); 
    flex-direction: column; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-in-out; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border-color); /* 增加分隔线 */
  }
  
  .main-nav.active { max-height: 600px; }
  
  .main-nav ul { 
    flex-direction: column; 
    padding: 10px 0; 
  }
  
  .main-nav ul li { 
    margin: 0; 
    text-align: left; 
  }
  
  .main-nav ul li a { 
    display: block; 
    padding: 15px 30px; 
    border-left: 3px solid transparent; /* 移动端使用左侧高亮替代下划线 */
  }
  
  /* 修正：移动端取消下划线动画，改为背景/边框高亮 */
  .main-nav ul li a::after { display: none; }
  
  .main-nav ul li a.active,
  .main-nav ul li a:hover {
    background-color: var(--light-color);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
  }

  /* 移动端区块调整 */
  #about .about-content { flex-direction: column; }
  .about-visual { 
    height: 300px; 
    width: 100%;
    transform: rotate(0);
  }
  .about-visual span { transform: rotate(0); }
  
  .footer-content { 
    flex-direction: column; 
    text-align: center; 
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-column ul li a {
      justify-content: center;
  }

  /* 英雄区适配 */
  #hero { height: auto; padding: 100px 20px; min-height: auto; }
  #hero h1 { font-size: 2.5rem; }
  #hero p { font-size: 1.1rem; }
  
  /* 解决方案卡片适配 - 网格在上方已统一修正 */
}

@media (max-width: 480px) { 
  #hero h1 { font-size: 2.2rem; } 
  #hero p { font-size: 1rem; } 
  section { padding: 60px 0; } 
  h2 { font-size: 2rem; }
  
  .solution-card { padding: 25px 20px; }
  
  .news-cover { height: 180px; }
  
  .error-page h1 { font-size: 4rem; }
  .error-page p { font-size: 1.2rem; }
  
  .footer-column h4 { font-size: 1.1rem; }
  .footer-column ul li a { font-size: 0.9rem; }
  
  .page-header h1 { font-size: 2rem; }
}