:root {
  /* 品牌颜色系统 */
  --primary: #00476b;
  --primary-dark: #003350;
  --secondary: #36cbcb;
  --accent: #4780ff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --background-light: #f8fafc;
  --background-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success: #38a169;
  --warning: #ecc94b;
  --danger: #e53e3e;
  --primary-rgb: 0, 71, 107;
}

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* 通用组件样式 */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 2xl;
  margin: 0 auto;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* 轮播图部分 */
.banner-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeUp 1s ease;
}

.banner-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
  animation: fadeUp 1s ease 0.2s both;
}

/* 设备概览部分 */
.equipment-section {
  padding: 6rem 0;
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.equipment-section::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 40%;
  height: 40%;
  background-color: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

.equipment-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background-color: var(--primary);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.equipment-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main equipment display */
.equipment-main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
}

/* Image container with enhanced hover effect */
.equipment-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px var(--shadow-color);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.equipment-image-wrapper:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.equipment-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 71, 107, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.equipment-image-wrapper:hover::before {
  opacity: 1;
}

.equipment-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

.equipment-image-wrapper:hover .equipment-image {
  transform: scale(1.05) rotate(1deg);
}

/* Specifications container with modern card design */
.equipment-details {
  background-color: var(--background-white);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.equipment-details:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.equipment-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
}

.equipment-details h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.equipment-details h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* Enhanced specifications grid */
.specifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.spec-item {
  background-color: rgba(0, 71, 107, 0.03);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(0, 71, 107, 0.08);
}

.spec-item:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 71, 107, 0.08);
}

.spec-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.spec-item h4::before {
  content: '✦';
  color: var(--primary);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.spec-item p {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

/* Equipment description with enhanced styling */
.equipment-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  background-color: rgba(0, 0, 0, 0.02);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 3px solid var(--primary);
  position: relative;
}

.equipment-description::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 10px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

/* Components section */
.equipment-components {
  width: 100%;
  margin-top: 5rem;
  text-align: center;
}

.components-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.components-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.component-item {
  background-color: var(--background-white);
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 71, 107, 0.05);
}

.component-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 71, 107, 0.15);
}

.component-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.component-item:hover .component-name {
  color: var(--primary);
}

/* Responsive design */
@media (max-width: 992px) {
  .equipment-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .equipment-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .specifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .equipment-section {
    padding: 4rem 0;
  }
  
  .equipment-details {
    padding: 2rem;
  }
  
  .equipment-details h3 {
    font-size: 1.75rem;
  }
  
  .components-grid {
    grid-template-columns: 1fr;
  }
}

/* 技术特性部分 */
.features-section {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--background-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 71, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.75rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 保护参数部分 */
.protection-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.protection-card {
  background-color: var(--background-white);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.protection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--primary);
  border-radius: 4px 4px 0 0;
  transform: translateZ(0.1px);
}

.card-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  background-color: rgba(0, 71, 107, 0.1);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 1.5rem;
  color: var(--primary);
  font-size: 1.75rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.protection-card:hover .card-icon {
  background-color: rgba(var(--primary-rgb), 0.2);
}

.card-content {
  padding: 0 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-primary);
}

.card-content p {
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  flex-grow: 1;
}

.protection-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  transition: width 0.3s ease;
  z-index: 2;
}

.protection-card:hover::after {
  width: 100%;
}

/* 测试设备部分 */
.testing-devices-section {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.testing-devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.testing-device-card {
  background-color: var(--background-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testing-device-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.device-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.device-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 2rem;
}

.testing-device-card:hover .device-image {
  transform: scale(1.05);
}



.device-content {
  padding: 1.5rem;
}

.device-content h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
  font-weight: 600;
}

.device-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}





/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1001;
}

.modal-close:hover {
  color: #bbb;
  text-decoration: none;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* 过渡效果 */
.feature-card, .protection-card, .testing-device-card {
  opacity: 0;
  transform: translateY(20px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .features-grid,
  .protection-grid,
  .testing-devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .banner-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .banner-section {
    height: 500px;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .equipment-container {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .protection-grid,
  .testing-devices-grid {
    grid-template-columns: 1fr;
  }
  
  .specifications-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 400px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .protection-card {
    height: auto;
  }
}