/* 检测实验室网站样式 */
:root {
  --primary: #1a5f7a;
  --primary-dark: #134b61;
  --primary-light: #2d8fb5;
  --secondary: #57c5b6;
  --accent: #159895;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 - 固定布局 */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 1px 0;
}

.header-nav {
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-spacer {
  height: 48px;
}

.header-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-images {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.header-images img {
  height: 36px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  border-radius: 3px !important;
  object-fit: contain;
  transition: transform 0.3s;
}

/* 覆盖所有页面图片内联样式 */
.header-images img[style*="height"] {
  height: 36px !important;
}

/* 覆盖HTML内联样式 - 统一样式 */
.header-images *[style*="height: 40px"] {
  height: 36px !important;
}

.header-lab-label,
.header-images span {
  margin: 0 3px 0 50px !important;
  color: #1a5f7a !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* 强制覆盖内联样式 - 所有页面 */
.header-images span[style*="margin-left"] {
  margin-left: 50px !important;
}

/* 覆盖不同数值的margin-left */
.header-images span {
  margin-left: 50px !important;
}

/* 微信咨询区域靠右 */
.header-top-content > div:nth-child(2) {
  margin-left: auto !important;
}

.header-wechat {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

.header-wechat-label,
.header-top-content span:contains("微信咨询") {
  color: #1a5f7a !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* 覆盖所有页面微信咨询label */
.header-top-content span[style*="微信咨询"] {
  font-size: 0.85rem !important;
}

.header-wechat-qr,
.header-top-content img[alt*="二维码"] {
  height: 45px !important;
  width: 45px !important;
  border-radius: 4px !important;
  object-fit: contain !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
}

/* 覆盖所有页面二维码内联样式 */
.header-top-content img[style*="height: 55px"],
.header-top-content img[style*="height: 70px"] {
  height: 45px !important;
  width: 45px !important;
}

.header-images img:hover {
  transform: scale(1.05);
}

.header-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
}

.header-contact .contact-label {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 500;
}

.header-contact .contact-phone {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 导航栏 */
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.nav-content .logo {
  flex-shrink: 0;
  margin-right: 20px;
}

.nav-content .nav-links {
  display: flex;
  justify-content: space-evenly;
  flex: 1;
  list-style: none;
  gap: 0;
}

.nav-content .nav-links li {
  position: relative;
}

.nav-content .nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-content .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-content .nav-links a:hover::after,
.nav-content .nav-links a.active::after {
  width: 100%;
}

.nav-content .nav-links a:hover {
  color: var(--primary);
}

.nav-content .nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.logo {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

/* 导航链接样式已在 .nav-content .nav-links a 中定义 */

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #333;
}



/* Banner轮播图 */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--dark);
  margin-top: 108px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
}

.carousel-label {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(26, 95, 122, 0.9);
  color: white;
  padding: 12px 30px;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
  border-left: 5px solid var(--secondary);
}

/* 轮播控制按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

.dot.active {
  background: white;
  border-color: var(--secondary);
  transform: scale(1.2);
}

/* 响应式 */
@media (max-width: 768px) {
  .banner-carousel {
    height: 350px;
  }
  
  .carousel-label {
    font-size: 1.1rem;
    padding: 8px 20px;
    top: 20px;
    left: 20px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  .carousel-dots {
    bottom: 15px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

.btn {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* 服务区域 */
.services {
  padding: 80px 0;
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* 首页服务分类卡片 */
.service-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-cat-card {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.service-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(26, 95, 122, 0.15);
  border-color: var(--primary-light);
}

.service-cat-card .cat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
}

.service-cat-card h3 {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.service-cat-card:hover h3 {
  color: var(--primary);
}

/* 新闻区域 */
.news-section {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-content .date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-content h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.news-content p {
  color: var(--gray);
  line-height: 1.6;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* 关于我们 */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.about-text {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.about-brand {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.brand-highlight {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}

.brand-year {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

.about-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 30px;
}

.about-intro .highlight {
  color: var(--primary);
  font-weight: 600;
  background: linear-gradient(120deg, rgba(26, 95, 122, 0.1) 0%, rgba(26, 95, 122, 0.1) 100%);
  padding: 2px 8px;
  border-radius: 4px;
}

.about-services {
  margin-bottom: 35px;
}

.about-services h4 {
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-services h4 i {
  color: var(--secondary);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags .tag {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-tags .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 95, 122, 0.3);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

/* 关于我们侧边栏 */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-sidebar .certificates {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.about-sidebar .certificates h4 {
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-sidebar .certificates h4 i {
  color: var(--secondary);
}

.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-sidebar .cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 18px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-sidebar .cert-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cert-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.cert-info strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.cert-info span {
  font-size: 0.85rem;
  color: var(--gray);
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* 页脚 */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-section p, .footer-section a {
  color: #aaa;
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #666;
}

/* 文章列表页 */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
}

.article-list {
  padding: 60px 0;
}

.article-item {
  background: white;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.article-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-item h2 {
  color: var(--dark);
  margin-bottom: 10px;
}

.article-item .meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.article-item .summary {
  color: #666;
  line-height: 1.6;
}

/* 文章详情页 */
.article-detail {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-detail h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.article-detail .meta {
  color: var(--gray);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.article-content {
  line-height: 1.8;
  color: #333;
}

.article-content h2 {
  color: var(--primary);
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 15px;
}

/* 后台登录 */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-box h2 {
  text-align: center;
  color: var(--dark);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* 后台管理 */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background: var(--dark);
  color: white;
  padding: 30px 0;
}

.admin-sidebar h2 {
  text-align: center;
  padding: 0 20px 30px;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}

.admin-menu {
  list-style: none;
}

.admin-menu li {
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.admin-menu li:hover,
.admin-menu li.active {
  background: var(--primary);
}

.admin-content {
  flex: 1;
  padding: 30px;
  background: var(--light);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.admin-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background: var(--light);
  font-weight: 600;
  color: var(--dark);
}

tr:hover {
  background: #f8f9fa;
}

.btn-sm {
  padding: 5px 15px;
  font-size: 0.9rem;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-warning {
  background: var(--warning);
  color: #333;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination button {
  padding: 8px 15px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 5px;
}

.pagination button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination button:hover:not(.active) {
  background: var(--light);
}

/* Toast通知 */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: var(--success);
  color: white;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.toast.error {
  background: var(--danger);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 响应式 - 固定头部 */
@media (max-width: 992px) {
  .header-spacer {
    height: 110px;
  }
  
  .header-images img {
    height: 30px;
  }
  
  .header-contact {
    padding: 5px 12px;
  }
  
  .header-contact .contact-label {
    font-size: 0.75rem;
  }
  
  .header-contact .contact-phone {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header-spacer {
    height: 160px;
  }
  
  .header-top-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .header-images {
    justify-content: center;
    gap: 10px;
  }
  
  .header-images img {
    height: 28px;
  }
  
  .header-contact {
    padding: 5px 14px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text {
    padding: 25px;
  }
  
  .brand-highlight {
    font-size: 1.8rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  
  .service-grid,
  .news-grid,
  .service-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cat-card {
    padding: 20px 15px;
  }

  .service-cat-card .cat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .service-cat-card h3 {
    font-size: 0.9rem;
  }
  
  .admin-layout {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .header-spacer {
    height: 150px;
  }
  
  .header-images img {
    height: 24px;
  }

  .service-category-grid {
    grid-template-columns: 1fr;
  }
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 搜索框 */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.search-box button {
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-box button:hover {
  background: var(--primary-dark);
}

/* Markdown内容样式 */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  color: var(--primary);
  margin: 25px 0 15px;
}

.markdown-body ul,
.markdown-body ol {
  margin: 15px 0;
  padding-left: 30px;
}

.markdown-body li {
  margin: 8px 0;
}

.markdown-body code {
  background: var(--light-gray);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.markdown-body pre {
  background: var(--dark);
  color: white;
  padding: 20px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
}

.markdown-body blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--gray);
}

/* ========== 成功案例样式 ========== */
.cases-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cases-section .section-title h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cases-section .section-title p {
  color: var(--gray);
  font-size: 1.1rem;
}

.cases-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 50px;
  color: white;
  box-shadow: 0 20px 60px rgba(26, 95, 122, 0.3);
}

.cases-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.highlight-item {
  padding: 20px;
}

.highlight-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  margin-bottom: 10px;
}

.highlight-label {
  font-size: 1rem;
  opacity: 0.9;
}

.highlight-divider {
  width: 1px;
  background: rgba(255,255,255,0.3);
}

.cases-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.case-category-card {
  background: white;
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.case-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: var(--secondary);
}

.case-category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.case-category-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.case-category-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-stats-bar {
  background: white;
  border-radius: 15px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 50px;
}

.stat-bar-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--light-gray);
}

.stat-bar-item:last-child {
  border-right: none;
}

.stat-bar-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-bar-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.featured-cases {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.featured-cases h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-cases h3 i {
  color: var(--secondary);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.featured-case-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--light);
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  transition: all 0.3s ease;
}

.featured-case-item:hover {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-case-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.featured-case-content h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.featured-case-content p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cases-cta {
  text-align: center;
  margin-top: 40px;
}

.cases-cta .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* 成功案例页面样式 */
.cases-page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 100px 0 80px;
  color: white;
  text-align: center;
}

.cases-page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cases-page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cases-filter {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 120px;
  z-index: 100;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 25px;
  background: var(--light);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: var(--gray);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: white;
}

.cases-list {
  padding: 60px 0;
}

.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.case-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 25px 30px;
}

.case-card-header h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.case-card-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.case-card-body {
  padding: 30px;
}

.case-card-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.case-tag {
  padding: 5px 15px;
  background: var(--light);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
}

.case-card-desc {
  color: var(--gray);
  line-height: 1.7;
}

.case-card-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-result {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--success);
  font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .cases-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .highlight-number {
    font-size: 2.5rem;
  }
  
  .cases-categories {
    grid-template-columns: 1fr;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .case-stats-bar {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-bar-item {
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
    width: 45%;
  }
  
  .stat-bar-item:last-child {
    border-bottom: none;
  }
}
