:root {
  --primary-color: #1a7f37;
  --primary-dark: #15662c;
  --primary-light: #e8f5ec;
  --secondary-color: #1a365d;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f8fafc;
  --border-color: #e2e8f0;
  --white: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 防止界面切换时滚动条出现/消失导致布局跳动 */
html {
  scrollbar-gutter: stable;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  background: var(--bg-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.scroll-margin-top {
  scroll-margin-top: 175px;
}

.anchor-offset {
  scroll-margin-top: 175px;
}

/* 头部区域 */
.fixed-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 25px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-item i {
  font-size: 12px;
  opacity: 0.8;
}

.top-bar-right {
  display: flex;
  gap: 20px;
}

.top-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.top-link:hover {
  color: var(--white);
}

.main-header {
  padding: 18px 0;
  background: var(--white);
  min-height: 88px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 55px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
}

.logo-en {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
}

.header-search {
  flex: 1;
  min-width: 360px;
  max-width: 680px;
  display: flex;
  align-items: center;
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.header-search:focus-within {
  border-color: var(--primary-color);
}

.search-select {
  position: relative;
  width: 95px;
  border-right: 1px solid var(--border-color);
}

.search-select select {
  width: 100%;
  height: 44px;
  padding: 0 30px 0 14px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-color);
  cursor: pointer;
  appearance: none;
}

.search-select i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-light);
  pointer-events: none;
}

.search-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-color);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-button {
  width: 48px;
  height: 44px;
  background: var(--primary-color);
  border: none;
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  background: var(--primary-dark);
}

.search-structure-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), #248a45);
  border-left: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(26, 127, 55, 0.25);
}

.search-structure-link:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), #1a7f37);
  box-shadow: 0 2px 6px rgba(26, 127, 55, 0.35);
}

.search-structure-link i {
  font-size: 16px;
  opacity: 0.95;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-color);
  font-size: 13px;
  white-space: nowrap;
}

.action-link i {
  font-size: 16px;
  color: var(--primary-color);
}

.action-link:hover {
  background: var(--primary-light);
}

.action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  min-height: 14px;
  padding: 1px 4px;
  background: #ef4444;
  color: var(--white);
  font-size: 9px;
  border-radius: 8px;
  margin-left: 2px;
  box-sizing: border-box;
  /* 数量为0时用 visibility 隐藏但保留占位，避免 AJAX 更新后布局跳动 */
}

.action-badge.empty {
  visibility: hidden;
}

.auth-group {
  display: flex;
  gap: 6px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border-color);
}

.auth-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
}

.auth-link.login {
  color: var(--primary-color);
  background: var(--primary-light);
}

.auth-link.login:hover {
  background: var(--primary-color);
  color: var(--white);
}

.auth-link.register {
  color: var(--white);
  background: var(--primary-color);
}

.auth-link.register:hover {
  background: var(--primary-dark);
}

/* 用户菜单 */
.user-menu {
  position: relative;
  margin-left: 5px;
  padding-left: 8px;
  border-left: 1px solid var(--border-color);
}

.user-menu .user-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.user-menu .user-info:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.user-menu .user-info i {
  font-size: 18px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-color);
  font-size: 13px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.user-dropdown a i {
  width: 16px;
  font-size: 14px;
  text-align: center;
}

/* 导航菜单 */
.header-nav {
  background: var(--secondary-color);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active .nav-link {
  color: #fff;
  background: rgba(74, 222, 128, 0.22);
  box-shadow: inset 0 -3px 0 0 rgba(74, 222, 128, 0.95);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text-color);
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.nav-extra {
  display: flex;
  gap: 8px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
}

/* 确保在桌面端隐藏菜单按钮 */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* 卡片样式 */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* 页脚 - 现代简约设计 */
.main-footer {
  background: linear-gradient(135deg, var(--secondary-color), #000000);
  color: var(--white);
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col {
  text-align: left;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
  display: block;
  border-bottom: none;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: 3px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li {
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

.footer-col ul li:hover {
  transform: translateX(5px);
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-col ul li a::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-5px);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 20px;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-contact p i {
  width: 16px;
  text-align: center;
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(26, 127, 55, 0.4);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
  .top-bar-left {
    gap: 12px;
  }

  .top-item span {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 8px 15px;
  }

  .header-logo {
    order: 1;
  }

  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
  }

  .header-actions {
    order: 2;
    gap: 3px;
  }

  .action-link span {
    display: none;
  }

  .auth-link {
    padding: 6px 10px;
    font-size: 11px;
  }

  .header-nav {
    order: 4;
    width: 100%;
    margin-top: 8px;
  }

  .nav-inner {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 1;
    margin-right: auto;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    padding: 12px 0;
    justify-content: space-between;
  }

  .nav-item.active .nav-link {
    background: rgba(74, 222, 128, 0.22);
    box-shadow: inset 3px 0 0 0 rgba(74, 222, 128, 0.95);
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: rgba(0, 0, 0, 0.15);
    margin-top: 5px;
  }

  .nav-item.active .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-extra {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {


  .fixed-header-wrapper {
    position: fixed;
  }

  .top-bar {
    display: none;
  }

  .main-header {
    padding: 8px 0;
  }

  .header-inner {
    padding: 8px 12px;
  }

  .header-logo .logo-text {
    display: none;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .header-actions {
    gap: 2px;
  }

  .action-link {
    padding: 6px;
  }

  .action-link i {
    font-size: 16px;
  }

  .auth-group {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .auth-link {
    padding: 6px 10px;
    font-size: 11px;
  }

  .nav-list {
    top: 60px;
  }

  .header-search {
    order: 2;
    width: 100%;
    margin-top: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
  .header-actions .action-link {
    padding: 5px;
  }

  .auth-link {
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* ==================== 页面通用样式 ==================== */
/* 大幅横幅 - 类似首页，放在标题栏下方 */
.page-banner {
  position: relative;
  height: 380px;
  margin-top: 175px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(26, 127, 55, 0.75) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: var(--white);
}

.page-banner-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.page-banner-subtitle {
  font-size: 16px;
  opacity: 0.95;
  font-weight: 400;
}

/* 兼容旧的 page-hero（无横幅的页面可继续使用） */
.page-hero {
  background: linear-gradient(135deg, rgba(26, 54, 46, 0.9) 0%, rgba(26, 127, 55, 0.85) 100%),
    url('https://images.unsplash.com/photo-1581093458791-9f30262d553f?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  margin-top: 175px;
  text-align: center;
}

.page-hero.small {
  /* padding: 35px 0; */
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 14px;
  opacity: 0.9;
}

/* 使用 page-banner 时，面包屑不需要额外 margin-top */
.breadcrumb-section.has-banner {
  margin-top: 0;
}

.breadcrumb-section {
  background: var(--bg-color);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

.breadcrumb-section .container {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.breadcrumb-section a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
}

.breadcrumb-section a i {
  line-height: 1;
}

.breadcrumb-section a:hover {
  color: var(--primary-color);
}

.breadcrumb-section span:last-child {
  color: var(--text-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-header.centered {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--secondary-color);
  position: relative;
  padding-left: 12px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-header.centered .section-title {
  padding-left: 0;
}

.section-header.centered .section-title::before {
  display: none;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.alt-bg {
  background: var(--white);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-color);
}

.page-link:hover,
.page-link.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* ==================== 新闻中心页面 ==================== */
.news-section {
  padding: 50px 0;
}

.news-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card.featured .news-image {
  height: 100%;
  min-height: 280px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 12px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 11px;
  border-radius: 15px;
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-light);
}

.news-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card.featured .news-content h3 {
  font-size: 20px;
}

.news-content p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 15px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 500;
}

.news-link:hover {
  gap: 10px;
}

/* ==================== 关于我们页面 ==================== */
.about-intro {
  padding: 60px 0;
  background: var(--white);
}

.intro-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.intro-content>p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 25px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.intro-stat {
  text-align: center;
  padding: 15px;
  background: var(--bg-color);
  border-radius: var(--radius);
}

.intro-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.intro-label {
  font-size: 12px;
  color: var(--text-light);
}

.intro-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* ==================== 联系我们页面 ==================== */
.contact-section {
  padding: 50px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
}

.info-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.info-content p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-color);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-dark);
}

/* ==================== 响应式补充 ==================== */
@media (max-width: 1024px) {
  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .page-banner {
    height: 280px;
    margin-top: 60px;
  }

  .page-banner-title {
    font-size: 26px;
  }

  .page-banner-subtitle {
    font-size: 14px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 18px;
  }

  .news-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .news-card.featured .news-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .intro-stats,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-template-columns: 1fr;
  }
}

/* ===== 全站右侧浮动工具栏（购物车、收藏、QQ）- 垂直居中 ===== */
.product-float-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  border: 1px solid #e8e8e8;
}

.product-float-sidebar .float-sidebar-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  min-height: 56px;
  padding: 8px 4px;
  color: #666;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
}

.product-float-sidebar .float-sidebar-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-float-sidebar .float-sidebar-label {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.product-float-sidebar .float-sidebar-btn:hover .float-sidebar-label {
  color: #1a7f37;
}

.product-float-sidebar .float-sidebar-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: #e53e3e;
  border-radius: 9px;
  display: none;
}

.product-float-sidebar .float-sidebar-badge.show {
  display: inline-block;
}

.product-float-sidebar .float-sidebar-btn:hover {
  color: #1a7f37;
  background: #f0f9f0;
}

.product-float-sidebar .float-sidebar-btn#floatFavoriteBtn.active i {
  color: #f43f5e;
}

/* 收藏浮层遮罩 */
.product-favorite-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-favorite-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* 收藏列表浮层 */
.product-favorite-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-favorite-panel.show {
  right: 0;
}

.favorite-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #f8fafc;
}

.favorite-panel-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.favorite-panel-header h4 i {
  margin-right: 8px;
  color: #f43f5e;
}

.favorite-panel-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.favorite-panel-close:hover {
  color: #333;
}

.favorite-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.favorite-empty {
  color: #999;
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
}

.favorite-empty.hide {
  display: none;
}

.favorite-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.favorite-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

.favorite-list li:last-child {
  border-bottom: none;
}

.favorite-list a {
  flex: 1;
  color: #333;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-list a:hover {
  color: #1a7f37;
}

.favorite-list .favorite-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.2s;
}

.favorite-list .favorite-remove:hover {
  color: #f43f5e;
}

/* QQ咨询弹窗 */
.qq-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.qq-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.qq-popup-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.qq-popup-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.qq-popup-number {
  font-size: 24px;
  font-weight: 700;
  color: #1a7f37;
  margin: 8px 0;
}

.qq-popup-tip {
  font-size: 13px;
  color: #666;
  margin: 12px 0 20px;
}

.qq-popup-actions {
  display: flex;
  gap: 12px;
}

.qq-popup-copy {
  flex: 1;
  padding: 10px 16px;
  background: #1a7f37;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.qq-popup-copy:hover {
  background: #15803d;
}

.qq-popup-try {
  flex: 1;
  padding: 10px 16px;
  background: #f5f5f5;
  color: #333;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.qq-popup-try:hover {
  background: #eee;
}

.qq-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.qq-popup-close:hover {
  color: #333;
}

@media (max-width: 768px) {
  .product-float-sidebar {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .product-float-sidebar .float-sidebar-btn {
    width: 56px;
    min-height: 48px;
    padding: 6px 2px;
    font-size: 20px;
  }

  .product-float-sidebar .float-sidebar-label {
    font-size: 10px;
  }

  .product-float-sidebar .float-sidebar-badge {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
    top: -2px;
    right: -2px;
  }
}
