@charset "utf-8";
/* CSS Document */

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.5;
}

/* 容器样式 */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
    max-width: 1200px;
  }
}

/* 适配1920px宽屏 */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding: 0 40px;
  }
}

/* 颜色变量 */
:root {
  --primary: #16a34a;
  --primary-light: #22c55e;
  --primary-dark: #15803d;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* 通用样式 */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

/* 导航栏样式 */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .navbar-inner {
    height: 80px;
  }
}

/* Logo样式 */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 40px;
}

/* 桌面端导航 */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: #4b5563;
  font-weight: 500;
}

.nav-link:hover {
  color: #16a34a;
}

/* 联系电话和语言切换 */
.contact-lang {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .contact-lang {
    display: flex;
  }
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #374151;
}

.contact-phone:hover {
  color: #16a34a;
}

/* 语言切换样式 */
.lang-switch {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  padding: 4px 12px;
  background-color: white;
  color: #4b5563;
}

.lang-btn.active {
  background-color: #16a34a;
  color: white;
}

.lang-btn:hover:not(.active) {
  color: #16a34a;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: block;
  font-size: 24px;
  color: #1f2937;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* 移动端导航菜单 */
.mobile-menu {
  display: none;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 8px 0;
  color: #4b5563;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #16a34a;
}

.mobile-contact-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
}

/* 首页Banner */
#home {
    position: relative;
    background-image: url('../img/banner-bg.jpg');
    background-size: cover;
    background-position: center;
}


@media (max-width: 768px) {
    #home {
  padding-top: 180px;
  padding-bottom: 164px;
  background-image: url('../img/bg-m.png');
      background-size: cover;
    background-position: center;
}
}
@media (min-width: 768px) {
  #home {
    padding-top: 196px;
    padding-bottom: 196px;
  }
}

.home-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.home-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 24px;
}

.home-desc {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #4b5563;
  margin-bottom: 40px;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  padding: 12px 32px;
  background-color: #16a34a;
  color: white;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
  background-color: #15803d;
}

.btn-outline {
  padding: 12px 32px;
  border: 1px solid #16a34a;
  color: #16a34a;
  border-radius: 8px;
  font-weight: 500;
}

.btn-outline:hover {
  background-color: rgba(22, 163, 74, 0.05);
}

/* 通用区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.section-title p {
  color: #4b5563;
  max-width: 768px;
  margin: 0 auto;
}

/* 产品中心 */
#products {
  padding: 64px 0;
  background-color: white;
}

@media (min-width: 768px) {
  #products {
    padding: 96px 0;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.product-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: left;
}

.product-card p {
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 16px;
}
.fa-check-circle:before, .fa-circle-check:before {
    content: "\f058";
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.feature-item {
    display: flex;
    gap: 10px;
    align-items: center;
}
.fa-solid, .fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

   
.product-card .expand-btn {
  color: #16a34a;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.product-card .expand-btn:hover {
  color: #15803d;
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  color: #4b5563;
  margin-top: 16px;
  line-height: 1.6;
}
 .expand-content ul{
   list-style: none;      /* 移除默认圆点 */
  padding-left: 0;
  margin-bottom: 15px;

 }
.expand-content ul li{
  position: relative;
  padding-left: 1.2rem;
  line-height: 32px;
    font-size: 14px;
}
.expand-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 600;
    font-size: 1rem;
}


.expand-content.active {
  max-height: 5000px;
}

.expand-content p {
  margin-bottom: 12px;
}

.expand-content strong {
  color: #16a34a;
}

.product-link {
  display: inline-block;
  padding: 10px 24px;
  background-color: #16a34a;
  color: white;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 16px;
}

.product-link:hover {
  background-color: #15803d;
}

/* 资源中心 */
#resources {
  padding: 64px 0;
  background-color: #f9fafb;
}

@media (min-width: 768px) {
  #resources {
    padding: 96px 0;
  }
}

/* 客户Logo展示 - 轮播样式 */
.client-logos {
  margin-bottom: 64px;
  position: relative;
}

.client-logos h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 24px;
}

/* Logo轮播容器 */
.logo-carousel {
  position: relative;
  overflow: hidden;
  width: 96%;
  margin: 0 auto;
}

/* 轮播箭头 */
.carousel-arrow {
  position: absolute;
  top: 56%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background-color: #16a34a;
  color: white;
}

.carousel-arrow.prev {
  left: -20px;
}

.carousel-arrow.next {
  right: -20px;
}

/* 适配小屏幕隐藏箭头 */
@media (max-width: 767px) {
  .carousel-arrow {
    display: none;
  }
}

/* Logo轮播轨道 */
.logos-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  flex: 0 0 100%;
}

/* 响应式调整Logo网格 */
@media (max-width: 1023px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
/*  aspect-ratio: 1/1;*/
  transition: box-shadow 0.2s ease;
}

.logo-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* 产品发布和支持与服务 */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.resource-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 24px;
  height: 100%;
}

.resource-card.support {
  background: linear-gradient(to bottom right, rgba(22, 163, 74, 0.05), #f9fafb);
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  text-align: left;
}

.resource-card.support h3 {
  text-align: center;
  margin-bottom: 32px;
}

.release-item {
  margin-bottom: 16px;
}

.release-item h4 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 8px;
}

.release-meta {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.release-short {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 16px;
}

.more-btn {
  color: #16a34a;
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

.more-btn:hover {
  color: #15803d;
}

.release-full {
  display: none;
  color: #4b5563;
  line-height: 1.6;
}
.release-full p{
  font-size: 16px;
  line-height: 32px;
}

.release-full h5 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 16px;
}

.release-full ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.release-full li {
  margin-bottom: 4px;
}

.release-full h6 {
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
  font-size: 16px;
}

/* 支持与服务 */
.support-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(22, 163, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 24px;
  flex-shrink: 0;
}

.support-content h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.support-content p, .support-content a {
  color: #4b5563;
}

.support-content a:hover {
  color: #16a34a;
}

/* 合作伙伴 */
#partners {
  padding: 64px 0;
  background-color: white;
}

@media (min-width: 768px) {
  #partners {
    padding: 96px 0;
  }
}

/* Tab切换 */
.partner-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-wrapper {
  display: inline-flex;
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
}

.partner-tab {
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 500;
  color: #4b5563;
}

.partner-tab.active {
  background-color: #16a34a;
  color: white;
}

.partner-tab:hover:not(.active) {
  color: #16a34a;
}

/* Tab内容 - 合作伙伴轮播样式 */
.partner-tab-content {
  display: none;
  position: relative;
}

.partner-tab-content.active {
  display: block;
}

/* 合作伙伴轮播容器 */
.partner-carousel {
  position: relative;
  overflow: hidden;
  width: 96%;
  margin: 0 auto;
}

/* 合作伙伴轮播轨道 */
.partner-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  flex: 0 0 100%;
}

/* 响应式调整合作伙伴Logo网格 */
@media (max-width: 1023px) {
  .partner-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .partner-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-logo-item {
  background-color: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
/*  aspect-ratio: 1/1;*/
  transition: box-shadow 0.2s ease;
}

.partner-logo-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.partner-logo-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* 关于我们 */
#about {
  padding: 64px 0;
  background-color: #f9fafb;
}

@media (min-width: 768px) {
  #about {
    padding: 96px 0;
  }
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 24px;
  text-align: left;
  line-height: 1.8;
  color: #4b5563;
}

@media (min-width: 768px) {
  .about-card {
    padding: 32px;
  }
}

.about-card p {
  margin-bottom: 16px;
}

/* 联系我们 */
#contact {
  padding: 64px 0;
  background-color: white;
}

@media (min-width: 768px) {
  #contact {
    padding: 96px 0;
  }
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 48px;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.contact-card {
  background-color: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(22, 163, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 24px;
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.contact-card p, .contact-card a {
  color: #4b5563;
}

.contact-card a:hover {
  color: #16a34a;
}

/* 页脚 */
footer {
  background-color: #111827;
  color: white;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    gap: 0;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo svg {
  width: 36px;
  height: 36px;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* 返回顶部按钮 */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #16a34a;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

#backToTop:hover {
  background-color: #15803d;
}

/* 轮播指示器 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active {
  background-color: #16a34a;
  width: 24px;
  border-radius: 4px;
}
/* 通用轮播样式 */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.carousel-viewport {
  overflow: hidden;
  width: calc(100% - 100px); /* 为左右箭头留出空间 */
  margin: 0 10px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* 合作客户 logo 项 */
.logo-item {
  flex: 0 0 auto;
  width: 240px;
  height: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  max-width: 90%;        /* 或 140px */
  max-height: 90%;       /* 或 100px */
  width: auto;
  height: auto;
  object-fit: contain;   /* 保证完整显示，不变形 */
}

/* 合作伙伴 logo 项 */
.partner-logo-item {
  flex: 0 0 auto;
  width: 240px;
  height: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-item img {
  max-width: 90%;        /* 或 140px */
  max-height: 90%;       /* 或 100px */
  width: auto;
  height: auto;
  object-fit: contain;   /* 保证完整显示，不变形 */
}

/* 左右箭头 - 绿色 */
.carousel-arrow {
  position: static; /* 不用绝对定位，使用flex布局控制位置 */
  width: 40px;
  height: 40px;
  background: #10b981; /* 绿色 */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
  margin: 0 5px;
  margin-top: 30px;
}
.carousel-arrow:hover {
  background: #059669; /* 深绿 */
}
/*.carousel-arrow:active {
  transform: scale(0.96);
}*/

/* 响应式 */
@media (max-width: 768px) {
  .carousel-viewport {
    width: calc(100% - 80px);
  }
  .logo-item {
    width: 120px;
    height: 60px;
  }
  .logo-item img {
    max-width: 90px;
    max-height: 45px;
  }
  .partner-logo-item {
    width: 100px;
    height: 60px;
  }
  .partner-logo-item img {
    max-width: 70px;
    max-height: 45px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}