/* ========== CSS变量与全局样式 ========== */
:root {
  --primary: #0a3d8f;
  --primary-light: #1565c0;
  --primary-dark: #062a64;
  --accent: #00bcd4;
  --accent-light: #26c6da;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #fff;
  --bg-light: #f5f7fa;
  --bg-dark: #0a1628;
  --border: #e0e6ed;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; }
html { font-size: 16px; /* scroll-behavior 由 JS polyfill 处理 */ }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  color: #333;
  background: var(--bg);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ========== 顶部导航 ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1003;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header .container {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between;
  height: 88px;
}
.logo { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 14px; text-decoration: none; }
/* gap polyfill：旧Safari用margin-right替代 */
.logo > * + * { margin-left: 14px; }

/* Logo 图片 */
.logo-img {
  height: 64px; width: auto; max-width: 200px;
  object-fit: contain; display: block; -webkit-flex-shrink: 0; flex-shrink: 0;
  /* 图片渲染优化 */
  -webkit-image-rendering: auto;
  image-rendering: auto;
}

/* 文字logo容器（图标块） */
.logo-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: -webkit-linear-gradient(315deg, var(--primary), var(--accent));
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
  -webkit-flex-shrink: 0; flex-shrink: 0;
}
/* 公司名称文字区域 */
.logo-text {
  font-size: 28px; font-weight: 700; color: var(--primary-dark);
  line-height: 1.3; white-space: nowrap;
}
.logo-text span {
  font-size: 14px; color: var(--text-lighter); display: block;
  font-weight: 400; letter-spacing: 0.5px; margin-top: 2px;
}

/* logo图片 + 公司名称并排时的布局 */
#header-logo-text {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 10px;
}
/* logo文字容器 */
.logo-text-wrap {
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: column; flex-direction: column;
  -webkit-justify-content: center; justify-content: center;
  overflow: hidden;
}
.logo-text {
  font-size: 28px; font-weight: 700; color: var(--primary-dark); color: #062a64;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.logo-text-en {
  font-size: 14px; color: var(--text-lighter); color: #999;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.8;
  letter-spacing: 1px;
}
@media (max-width: 480px) {
  .logo-text-en { display: none; }
  .logo-text { font-size: 17px; }
}

.nav { display: -webkit-flex; display: flex; gap: 8px; }
.nav a {
  padding: 10px 20px; border-radius: 6px; font-size: 16px;
  color: var(--text); font-weight: 500; position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--primary); background: rgba(10,61,143,0.06);
}
.nav a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--primary); border-radius: 2px;
}

/* ========== 轮播图 ========== */
.hero {
  margin-top: 88px; position: relative; height: 31.25vw; max-height: 600px; overflow: hidden;
  background: -webkit-linear-gradient(315deg, var(--primary-dark) 0%, var(--primary) 50%, #0d47a1 100%);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0d47a1 100%);
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; -webkit-transition: opacity 0.8s ease; transition: opacity 0.8s ease;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .container { position: relative; z-index: 2; color: #fff; }
.hero-title { display: none; }
.hero-subtitle { display: none; }
.hero-btn {
  display: inline-block; padding: 12px 32px; border-radius: 50px;
  background: rgba(0,188,212,0.85); color: #fff; font-size: 15px; font-weight: 600;
  -webkit-transition: var(--transition); transition: var(--transition); cursor: pointer; border: none;
  text-decoration: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-btn:hover { background: var(--accent-light); -webkit-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,188,212,0.4); }

.hero-dots {
  position: absolute; bottom: 30px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%);
  display: -webkit-flex; display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px; border-radius: 50%; margin-left: 5px;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition);
}
.hero-dot.active { background: var(--accent); -webkit-transform: scale(1.2); transform: scale(1.2); }

.hero-bg-pattern {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    -webkit-radial-gradient(20% 50%, circle, rgba(0,188,212,0.1) 0%, transparent 50%),
    -webkit-radial-gradient(80% 20%, circle, rgba(255,255,255,0.05) 0%, transparent 40%);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,188,212,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  z-index: 1;
}

/* ========== 通用区块标题 ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 12px;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%);
  width: 40px; height: 3px; background: var(--accent); border-radius: 2px;
}
.section-desc { color: var(--text-light); font-size: 16px; margin-top: 20px; }

/* ========== 关于我们首页区块 ========== */
.about-preview {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 60px; -webkit-align-items: center; align-items: center;
}
.about-preview > * { -webkit-flex: 1 1 300px; flex: 1 1 300px; }
.about-preview-text h3 { font-size: 28px; color: var(--primary-dark); margin-bottom: 20px; }
.about-preview-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-stats {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 20px; margin-top: 30px;
}
.about-stats .stat-item { -webkit-flex: 1 1 80px; flex: 1 1 80px; }
.stat-item { text-align: center; padding: 20px; border-radius: var(--radius); background: var(--bg-light); }
.stat-num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

.about-preview-img {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: -webkit-linear-gradient(315deg, var(--primary), var(--accent));
  background: linear-gradient(135deg, var(--primary), var(--accent));
  /* 兼容替代 aspect-ratio: 4/3 */
  min-height: 240px;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  color: #fff; font-size: 60px; position: relative;
}
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-preview-img::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: -webkit-radial-gradient(30% 40%, circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

/* ========== 产品展示 ========== */
.product-categories {
  display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 12px; margin-bottom: 40px;
}
.cat-btn {
  padding: 10px 28px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; font-size: 15px; cursor: pointer; transition: var(--transition);
  color: var(--text); font-weight: 500;
}
.cat-btn:hover, .cat-btn.active {
  border-color: var(--primary); background: var(--primary); color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); -webkit-transition: var(--transition); transition: var(--transition); cursor: pointer;
}
.product-card:hover {
  -webkit-transform: translateY(-6px); transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 220px; background: -webkit-linear-gradient(315deg, #e3f2fd, #bbdefb);
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card-img .product-icon {
  font-size: 64px; color: var(--primary); opacity: 0.8;
}
.product-card-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px;
  background: var(--accent); color: #fff; font-weight: 600;
}
.product-card-body { padding: 20px; }
.product-card-category {
  font-size: 12px; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.product-card-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.product-card-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.product-card-features { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 6px; }
.product-card-features span {
  padding: 4px 10px; border-radius: 4px; font-size: 12px;
  background: var(--bg-light); color: var(--text-light);
}
.product-card:hover .product-card-features span {
  background: rgba(10,61,143,0.06); color: var(--primary);
}

/* ========== 新闻区块 ========== */
.news-grid {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 24px;
}
.news-grid > * { -webkit-flex: 1 1 350px; flex: 1 1 350px; }
.news-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); -webkit-transition: var(--transition); transition: var(--transition); cursor: pointer;
}
.news-card:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img {
  height: 200px; background: -webkit-linear-gradient(315deg, var(--primary), var(--accent));
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; color: #fff; font-size: 40px;
}
.news-card-body { padding: 24px; }
.news-card-date { font-size: 13px; color: var(--text-lighter); margin-bottom: 8px; }
.news-card-title {
  font-size: 18px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-title:hover { color: var(--primary); }
.news-card-summary { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== 页脚 ========== */
.footer {
  background: var(--bg-dark); background: #0a1628; color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 40px;
  padding-bottom: 40px;
}
.footer-grid > * { -webkit-flex: 1 1 180px; flex: 1 1 180px; }
.footer-grid > *:first-child { -webkit-flex: 2 1 240px; flex: 2 1 240px; }
.footer-brand .logo-text { color: #fff; font-size: 20px; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 16px; line-height: 1.8; font-size: 14px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; opacity: 0.7; }
.footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-contact li { display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact .icon { color: var(--accent); font-size: 16px; margin-top: 2px; }
#footer-phone { font-size: 14px; color: inherit; text-decoration: none; }
#footer-phone:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  text-align: center; font-size: 13px; opacity: 0.5;
}

/* ========== 按钮样式 ========== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  -webkit-transition: var(--transition); transition: var(--transition); border: none; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .about-preview { gap: 30px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  /* 新闻列表在平板垂直堆叠 */
  .news-list-img { width: 160px; min-height: 110px; font-size: 28px; }
  /* 产品网格 2列 */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: -webkit-flex !important; display: flex !important; }
  .hero { height: 31.25vw; }
  .hero-title { font-size: 22px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 20px; max-width: 100%; }
  .hero-btn { padding: 10px 24px; font-size: 13px; right: 16px !important; bottom: 10px !important; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 14px; }
  /* 产品/新闻卡片单列 */
  .product-grid { grid-template-columns: 1fr; }
  .news-grid > * { -webkit-flex: 1 1 100%; flex: 1 1 100%; }
  /* 页脚单列 */
  .footer-grid { gap: 24px; }
  .footer-grid > * { -webkit-flex: 1 1 100%; flex: 1 1 100%; }
  .footer-grid > *:first-child { -webkit-flex: 1 1 100%; flex: 1 1 100%; }
  /* 数据统计 */
  .about-stats .stat-item { -webkit-flex: 1 1 60px; flex: 1 1 60px; }
  /* 新闻列表改为垂直布局 */
  .news-list-item {
    -webkit-flex-direction: column; flex-direction: column; padding: 16px; gap: 14px;
  }
  .news-list-img { width: 100%; min-height: 160px; font-size: 40px; border-radius: 8px; }
  /* 联系我们单列 */
  .contact-grid {
    -webkit-flex-direction: column; flex-direction: column; gap: 30px;
  }
  /* 产品详情单列 */
  .product-detail {
    -webkit-flex-direction: column; flex-direction: column; gap: 30px; padding: 40px 0;
  }
  .product-gallery { min-height: 260px; }
  .product-info h1 { font-size: 24px; }
  /* 关于我们单列 */
  .about-preview {
    -webkit-flex-direction: column; flex-direction: column; gap: 30px;
  }
  .about-preview-img { min-height: 180px; font-size: 48px; }
  /* 页面横幅 */
  .page-banner { height: 180px; margin-top: 64px; }
  .page-banner h1 { font-size: 24px; }
  .page-banner p { font-size: 13px; }
  /* 回到顶部按钮位置 */
  .back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
  /* 分页 */
  .pagination { gap: 4px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 13px; }
}
@media (max-width: 480px) {
  /* 超小屏（iPhone SE等） */
  .container { padding: 0 14px; }
  .hero { height: 31.25vw; }
  .hero-title { font-size: 18px; line-height: 1.4; }
  .hero-subtitle { font-size: 13px; max-width: 100%; }
  .hero-btn { padding: 8px 18px; font-size: 12px; right: 12px !important; bottom: 6px !important; }
  /* header logo 缩小 */
  .logo-img { height: 38px; max-width: 130px; }
  .logo-text { font-size: 13px !important; }
  .logo-text span { font-size: 10px !important; }
  .header .container { height: 60px; }
  .hero, .page-banner { margin-top: 60px; }
  /* 分类按钮超小屏 */
  .cat-btn { padding: 8px 16px; font-size: 13px; }
  /* 产品卡片图片高度 */
  .product-card-img { height: 160px; }
  .product-card-img .product-icon { font-size: 48px; }
  .product-card-body { padding: 14px; }
  .product-card-title { font-size: 16px; }
  /* 新闻卡片 */
  .news-card-img { height: 160px; font-size: 32px; }
  .news-card-body { padding: 16px; }
  .news-card-title { font-size: 15px; }
  /* 关于数字 */
  .stat-num { font-size: 28px; }
  .stat-item { padding: 14px 10px; }
  /* 页面横幅 */
  .page-banner { height: 150px; }
  .page-banner h1 { font-size: 20px; }
  /* 联系表单 */
  .contact-form input, .contact-form textarea { font-size: 16px; /* 防止iOS自动缩放 */ }
  /* 详情页 */
  .product-gallery { min-height: 200px; }
  .product-gallery .product-icon { font-size: 80px; }
  /* 页脚 */
  .footer { padding: 40px 0 0; }
  .footer-bottom { font-size: 12px; }
}

/* ========== 移动端菜单按钮 ========== */
.mobile-menu-btn {
  display: none; background: none; border: 2px solid var(--border);
  border-radius: 8px; font-size: 22px; width: 42px; height: 42px;
  color: var(--primary); cursor: pointer; z-index: 1002;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  -webkit-transition: var(--transition); transition: var(--transition);
}
.mobile-menu-btn:hover { border-color: var(--primary); background: rgba(10,61,143,0.05); }
.mobile-menu-btn.active {
  position: fixed; top: 16px; right: 16px; z-index: 1004;
  border-color: var(--primary); color: var(--primary);
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ========== 移动端导航抽屉 ========== */
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -290px; bottom: 0;
    width: 280px; max-width: 80vw;
    background: #fff;
    display: -webkit-flex; display: flex;
    -webkit-flex-direction: column; flex-direction: column;
    -webkit-align-items: stretch; align-items: stretch;
    padding: 80px 24px 40px;
    gap: 4px; z-index: 1003;
    -webkit-transition: right 0.3s ease;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    overflow-y: auto;
  }
  .nav.mobile-open {
    right: 0;
  }
  .nav a {
    display: block; font-size: 16px; font-weight: 500;
    padding: 14px 18px; width: 100%;
    border-radius: 10px; color: #333;
    -webkit-transition: background 0.2s; transition: background 0.2s;
    text-decoration: none; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .nav a:active { background: rgba(10,61,143,0.08); }
  .nav a.active {
    color: var(--primary);
    background: rgba(10,61,143,0.06);
    font-weight: 600;
  }
  .nav a.active::after { display: none; }
  .nav a:hover:not(.active) { background: rgba(10,61,143,0.04); }
}

/* ========== 移动端遮罩 ========== */
.mobile-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35); z-index: 1002;
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ========== 页面标题横幅 ========== */
.page-banner {
  margin-top: 72px; height: 280px;
  background: -webkit-linear-gradient(315deg, var(--primary-dark), var(--primary));
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  color: #fff; text-align: center; position: relative;
}
.page-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: -webkit-radial-gradient(30% 50%, circle, rgba(0,188,212,0.15) 0%, transparent 60%),
              -webkit-radial-gradient(70% 80%, circle, rgba(255,255,255,0.05) 0%, transparent 40%);
  background: radial-gradient(circle at 30% 50%, rgba(0,188,212,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.page-banner h1 { font-size: 36px; font-weight: 700; position: relative; z-index: 1; }
.page-banner p { font-size: 16px; opacity: 0.8; margin-top: 10px; position: relative; z-index: 1; }

/* ========== 产品详情页 ========== */
.product-detail {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 50px; padding: 60px 0;
}
.product-detail > * { -webkit-flex: 1 1 320px; flex: 1 1 320px; }
.product-gallery {
  padding-right: 30px;
  border-radius: 12px;
  min-height: 400px; display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; -webkit-justify-content: center; justify-content: center;
}
.product-gallery .product-icon { font-size: 120px; color: var(--primary); opacity: 0.6; }
.product-info h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.product-info .category-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: rgba(0,188,212,0.1); color: var(--accent); font-size: 13px;
  font-weight: 600; margin-bottom: 20px;
}
.product-info .description { color: var(--text-light); line-height: 1.8; margin-bottom: 30px; }

.feature-list { margin-bottom: 30px; }
.feature-list h3 { font-size: 18px; margin-bottom: 16px; color: var(--primary-dark); }
.feature-item {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--bg-light);
}
.feature-item .check { color: var(--accent); font-size: 18px; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.specs-table th, .specs-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.specs-table th { background: var(--bg-light); color: var(--text-light); font-weight: 600; font-size: 14px; width: 140px; }
.specs-table td { font-size: 14px; }

/* ========== 新闻列表页 ========== */
.news-list-item {
  display: -webkit-flex; display: flex; gap: 24px; padding: 24px; border-radius: 12px;
  background: #fff; margin-bottom: 16px; box-shadow: var(--shadow);
  -webkit-transition: var(--transition); transition: var(--transition); cursor: pointer;
}
.news-list-item:hover { box-shadow: var(--shadow-lg); -webkit-transform: translateX(4px); transform: translateX(4px); }
.news-list-img {
  width: 200px; min-height: 140px; border-radius: 8px; -webkit-flex-shrink: 0; flex-shrink: 0;
  background: -webkit-linear-gradient(315deg, var(--primary), var(--accent));
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; color: #fff; font-size: 36px;
}
.news-list-content { -webkit-flex: 1; flex: 1; }
.news-list-date { font-size: 13px; color: var(--text-lighter); margin-bottom: 6px; }
.news-list-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.news-list-title:hover { color: var(--primary); }
.news-list-summary { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== 新闻详情 ========== */
.news-detail { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.news-detail h1 { font-size: 28px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.news-detail-meta {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 20px; color: var(--text-lighter); font-size: 14px;
  margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.news-detail-content { line-height: 1.8; color: var(--text); }
.news-detail-content p { margin-bottom: 16px; }

/* 上一篇/下一篇导航 */
.news-detail-nav {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: column; flex-direction: column;
  gap: 10px;
}
.news-nav-item {
  display: -webkit-flex; display: flex;
  -webkit-align-items: baseline; align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  -webkit-transition: background 0.2s; transition: background 0.2s;
}
.news-nav-item:hover { background: rgba(0, 102, 255, 0.06); }
.news-nav-item .news-nav-label {
  -webkit-flex-shrink: 0; flex-shrink: 0;
  font-size: 13px;
  color: var(--primary, #0066ff);
  background: rgba(0, 102, 255, 0.1);
  padding: 2px 10px;
  border-radius: 4px;
}
.news-nav-item .news-nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-nav-item.disabled { cursor: default; color: var(--text-lighter); }
.news-nav-item.disabled:hover { background: transparent; }
.news-nav-item.disabled .news-nav-label { color: var(--text-lighter); background: rgba(0, 0, 0, 0.06); }
.news-detail-back { margin-top: 24px; text-align: center; }

/* ========== 联系我们 ========== */
.contact-grid {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 50px;
}
.contact-grid > * { -webkit-flex: 1 1 300px; flex: 1 1 300px; }
.contact-info h3 { font-size: 22px; margin-bottom: 20px; color: var(--primary-dark); }
.contact-item { display: -webkit-flex; display: flex; gap: 14px; margin-bottom: 24px; }
.contact-item .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(10,61,143,0.06); display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center; font-size: 20px; color: var(--primary); -webkit-flex-shrink: 0; flex-shrink: 0;
}
.contact-item .label { font-size: 13px; color: var(--text-lighter); margin-bottom: 2px; }
.contact-item .value { font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; }
a.value:hover { color: var(--primary); }

.contact-form { background: #fff; padding: 40px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; margin-bottom: 24px; color: var(--primary-dark); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,61,143,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ========== 分页 ========== */
.pagination {
  display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; margin-top: 40px;
}
.pagination a, .pagination span {
  display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: 8px; font-size: 14px;
  border: 1px solid var(--border); -webkit-transition: var(--transition); transition: var(--transition);
}
.pagination a:hover, .pagination .active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ========== 动画 ========== */
@-webkit-keyframes fadeInUp {
  from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
.animate-in { -webkit-animation: fadeInUp 0.6s ease forwards; animation: fadeInUp 0.6s ease forwards; }

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; bottom: 40px; right: 40px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: none; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  font-size: 20px; cursor: pointer; z-index: 999; border: none;
  box-shadow: 0 4px 15px rgba(10,61,143,0.3); -webkit-transition: var(--transition); transition: var(--transition);
}
.back-to-top:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.back-to-top.show { display: -webkit-flex; display: flex; }
