/* SUNOPEN - 轻量级CSS框架 */
/* 与英文版样式一致 */
:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --secondary: #1E3A5F;
  --accent: #F59E0B;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text: #C0C0C0;
  --text-light: #4B5563;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --radius: 8px;
  --max-w: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
/* 页头  rgba(255,255,255,0.95)*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #1E3A5F;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}
.logo span { color: var(--primary); }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  color: #D3D3D3;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.nav a:hover, .nav a.active { color: #FFF; }
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.lang-switch {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.lang-switch a {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1E3A5F;
}
.lang-switch a:hover {
  color: #FFF;
}
.lang-switch a.active { background: var(--primary); color: #FFF; }
.mobile-menu { display: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}
/* Hero区域 */
.hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
/* 区块样式 */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--secondary);
}
.section-header p { color: var(--text-light); }
/* 特性卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}
.feature-card h3 { margin-bottom: 0.75rem; color: var(--secondary); }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }
/* 产品网格 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-image {
  height: 220px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-content { padding: 1.5rem; }
.product-content h3 { margin-bottom: 0.5rem; color: var(--secondary); }
.product-content p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.product-content .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #ECFDF5;
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
/* 流程展示 */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.process-item { text-align: center; }
.process-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.process-item h4 { margin-bottom: 0.5rem; color: var(--secondary); }
.process-item p { color: var(--text-light); font-size: 0.9rem; }
/* 客户评价 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.testimonial-info h5 { color: var(--secondary); font-size: 1rem; }
.testimonial-info span { color: var(--text-light); font-size: 0.85rem; }
/* 数据统计 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-item p { color: var(--text-light); font-weight: 500; }
/* 博客 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-image {
  height: 200px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-content { padding: 1.5rem; }
.blog-content h3 { margin-bottom: 0.5rem; color: var(--secondary); font-size: 1.1rem; }
.blog-content p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); }
/* 联系表单 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 { margin-bottom: 1.5rem; color: var(--secondary); }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: #ECFDF5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-item h5 { color: var(--secondary); margin-bottom: 0.25rem; font-size: 0.9rem; }
.contact-item p { color: var(--text-light); font-size: 0.9rem; }
.contact-form { background: var(--bg-alt); padding: 2rem; border-radius: var(--radius); }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.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(16,185,129,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
/* 页脚 */
.footer {
  background: var(--secondary);
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-links h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
/* 面包屑导航 */
.breadcrumb {
  padding: 8rem 0 2rem;
  background: var(--bg-alt);
}
.breadcrumb ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }
/* 页面标题 */
.page-header {
  padding: 8rem 0 4rem;
  /* background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%); */
  /* 1. 设置图片背景 */
  background-image: url('../images/sunopen-banner.webp'); 
  
  /* 2. 关键设置：让图片覆盖整个区域且不重复 */
  background-size: cover;       /* 图片覆盖整个区域 */
  background-position: center;  /* 图片居中显示 */
  background-repeat: no-repeat; /* 不重复平铺 */
  
  /* 3. 可选：添加深色遮罩，防止图片太花导致文字看不清 */
  /* 这里的 rgba(0,0,0,0.8) 表示 50% 透明度的黑色遮罩 */
  position: relative;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--secondary);
  margin-bottom: 1rem;
}

.page-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
/* 产品详情 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.page-header2{
  padding: 8rem 0 4rem;
  /* background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%); */
  /* 1. 设置图片背景 */
  background-image: url('../images/table-2.webp'); 
  
  /* 2. 关键设置：让图片覆盖整个区域且不重复 */
  background-size: cover;       /* 图片覆盖整个区域 */
  background-position: center;  /* 图片居中显示 */
  background-repeat: no-repeat; /* 不重复平铺 */
  
  /* 3. 可选：添加深色遮罩，防止图片太花导致文字看不清 */
  /* 这里的 rgba(0,0,0,0.5) 表示 50% 透明度的黑色遮罩 */
  position: relative;
  text-align: center;
}

.page-header2 h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--secondary);
  margin-bottom: 1rem;
}
.page-header2 p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
/* 产品详情 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-gallery {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  font-size: 8rem;
}
.product-info h1 { color: var(--secondary); margin-bottom: 1rem; }
.product-info .sku { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.product-info .price { font-size: 2rem; color: var(--primary); font-weight: 700; margin-bottom: 1.5rem; }
.product-info h4 { color: var(--secondary); margin-bottom: 0.5rem; }
.product-info ul {
  list-style: none;
  margin-bottom: 2rem;
}
.product-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-info li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}
/* 解决方案 */
.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.solution-card:nth-child(even) { direction: rtl; }
.solution-card:nth-child(even) > * { direction: ltr; }
.solution-icon {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}
.solution-content h3 { color: var(--secondary); margin-bottom: 1rem; font-size: 1.5rem; }
.solution-content p { color: var(--text-light); margin-bottom: 1.5rem; }
.solution-content ul { list-style: none; }
.solution-content li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}
.solution-content li::before {
  content: '●';
  color: var(--primary);
  font-size: 0.5rem;
}
/* CTA区域 */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.cta h2 { margin-bottom: 1rem; font-size: 2.5rem; }
.cta p { margin-bottom: 2rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn {
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.cta .btn:hover {
  background: var(--secondary);
  color: #fff;
}
/* 响应式设计 */
@media (max-width: 968px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  
  /* 移动端下拉菜单样式调整 - 背景色比顶部略浅，形成层次区分 */
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2A4A6F;  /* 比顶部 #1E3A5F 浅一个色度，形成视觉层次 */
    padding: 1.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  
  /* 移动端下拉菜单链接样式 - 清晰高对比度 */
  .nav.active a {
    color: #F0F2F5;  /* 柔和的亮色，保证在深色背景上清晰可见 */
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
  }
  
  .nav.active a:hover,
  .nav.active a.active {
    color: #FFFFFF;
    background: rgba(255,255,255,0.12);
    padding-left: 0.75rem;
    border-radius: 6px;
  }
  
  .nav.active a::after {
    display: none;  /* 移动端移除下划线效果，保持简洁 */
  }
  
  /* 移动端语言切换器样式优化 */
  .nav.active .lang-switch {
    margin-top: 0.75rem;
    background: rgba(255,255,255,0.2);
    align-self: flex-start;
    border-radius: 20px;
  }
  
  .nav.active .lang-switch a {
    color: #F0F2F5;
    padding: 0.5rem 1rem;
    border-bottom: none;
  }
  
  .nav.active .lang-switch a.active {
    background: var(--primary);
    color: #FFFFFF;
  }
  
  .nav.active .lang-switch a:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
  }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .solution-card { grid-template-columns: 1fr; }
  .solution-card:nth-child(even) { direction: ltr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero { padding: 8rem 0 3rem; }
  .section { padding: 3rem 0; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out forwards; }