/* 全局样式 */
:root {
  --primary-color: #165DFF;
  --secondary-color: #2b6cb0;
  --accent-color: #3182ce;
  --text-color: #2d3748;
  --light-text: #4a5568;
  --background-color: #ffffff;
  --light-background: #f7fafc;
  --border-color: #e2e8f0;
  --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 16px 24px rgba(0, 0, 0, 0.12), 0 6px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

/* 导航栏 */
header {
  background-color: var(--background-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* 横幅 */
.banner {
  position: relative;
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 0;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.9;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.banner-tagline {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #0d47a1;
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(22, 93, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

/* 通用部分样式 */
.section {
  padding: 4rem 0;
}

.bg-light {
  background-color: var(--light-background);
}

.content-section {
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

/* 网格布局 */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* 卡片 */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.card-icon {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card p {
  color: var(--light-text);
  flex-grow: 1;
}

/* 产品卡片 */
.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* 卡片图片 */
.card-image {
  height: 180px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 品牌墙 */
.brand-wall {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  min-width: 150px;
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.brand-item svg {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.brand-item span {
  font-weight: 500;
  color: var(--text-color);
}

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

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-content p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* 技术实力 */
.tech-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.tech-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-text {
  flex: 1;
}

.tech-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.tech-text p {
  margin-bottom: 1rem;
  color: var(--light-text);
}

.tech-text p strong {
  color: var(--primary-color);
}

/* 数据统计 */
.stat-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--light-text);
}

/* 荣誉资质 */
.certificate-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.certificate-image {
  height: 180px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.certificate-card p {
  color: var(--light-text);
}

/* 客户案例 */
.case-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.case-logo {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.case-card p {
  color: var(--light-text);
}

/* 新闻卡片 */
.news-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.news-image {
  height: 180px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 0.75rem;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.news-content p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* 联系我们 */
.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--light-text);
}

.contact-info p strong {
  color: var(--primary-color);
}

.contact-form {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.required {
  color: #e53e3e;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* 右侧悬浮咨询按钮 */
.floating-buttons {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--card-shadow-hover);
}

.main {
  background-color: var(--primary-color);
}

.back-to-top {
  background-color: var(--primary-color);
  border: none;
}

/* 产品中心页面样式 */
.product-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.search-box {
  display: flex;
  gap: 1rem;
}

.search-box input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  width: 300px;
  font-size: 1rem;
}

.filter-options {
  display: flex;
  gap: 1rem;
}

.filter-options select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: white;
}

.product-advantages {
  margin-bottom: 3rem;
}

.product-specs {
  margin: 1rem 0;
}

.spec-item {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

.product-tags {
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-background);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.download-section {
  margin: 3rem 0;
  padding: 3rem;
  background-color: var(--light-background);
  border-radius: var(--border-radius);
  text-align: center;
}

.download-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.download-content p {
  margin-bottom: 2rem;
  color: var(--light-text);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.pagination li a {
  display: block;
  padding: 0.75rem 1.25rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.pagination li a:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
  .product-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .filter-options {
    justify-content: center;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-section {
    padding: 2rem 1rem;
  }
}

/* 页脚 */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-logo-section {
  grid-column: 1;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 1rem;
}

.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-section p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .tech-content {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 0.5rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .banner {
    padding: 4rem 0;
  }
  
  .banner h1 {
    font-size: 1.75rem;
  }
  
  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .floating-buttons {
    right: 1rem;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-logo-section {
    grid-column: 1;
  }
}

@media (max-width: 576px) {
  .banner h1 {
    font-size: 1.5rem;
  }
  
  .banner-tagline {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .product-content {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* 文本对齐 */
.text-center {
  text-align: center;
}

/* 间距 */
.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* 图片懒加载 */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

img[data-src].loaded {
  opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-background);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-text);
}