/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #0f121a;
  background-color: #f5f5f5;
  min-height: 200vh; /* 确保页面有足够高度测试滚动 */
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 页面标题 */
h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-top: 40px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

/* 内容区域样式 */
.content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 产品网格布局 */
.product-grid {
  /*display: grid;*/
  display: flex;
  flex-wrap: wrap;       /* 自动换行 */
  justify-content: center; /* 水平居中 */
  gap: 20px; /* 间距20px */ 
  padding: 10px;
  margin-bottom: 20px;
}

/* 单个产品项 */
.product-item {
  position: relative;
  width: 48%;            /* 两列布局，预留 4% 间隙 */
  min-width:400px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;

}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-item img {
  width: 100%;
  height: 520px; /* 固定高度（可调整为auto自适应） */
  object-fit: cover;
  display: block; 
  transition: transform 0.3s ease;
}

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

/* 文字信息层 */
.product-info {
  position: absolute;
  top: 20px;
  left: 0;
  text-align: center;
  width: 100%;
  padding: 10px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.product-item:hover .product-info {
  transform: translateY(0);
}

.product-info h2 {
  color: #1A1D24;
  font-size: 2rem;
  margin-bottom: 15px;
}

.product-info p {
  color:#1A1D24;
  font-size: 1.125rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.product-info .btn {
  display: inline-block;
  padding: 4px 20px;
  border: 1px solid #1A1D24;
  color: #1A1D24;
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-info .btn:hover {
  background-color: #2768F3;
  border: 1px solid #2768F3;
  color: #ffffff;
  transform: translateY(-2px);
}
.subscribe-column {
  min-width: 250px;
}
.subscribe-text {
  margin-bottom: 15px;
  color: #8B8B8B;
  font-size: 12px;
  line-height: 1.5;
}
.subscribe-form {
  display: flex;
  color: #ffffff;
  font-size: 12px;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.subscribe-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #2a3145;
  background: #1A1D24;
  color:#ffffff;
  border-radius: 4px 0 0 4px;
  font-size: 12px;
  margin: 0;
}
.subscribe-input:focus {
  color:#ffffff;
  font-size:12px;
  border: 1px solid #2768F3;
  outline: none;	
}
.subscribe-input::placeholder {
  color: #8B8B8B;
  font-size: 12px;
  border-color: 1px solid #2768F3;
}
.subscribe-form button {
  background: #1A1D24;
  border: 1px solid #2a3145;
  border-radius: 0 4px 4px 0;
  color: #2768F3;
  margin: 0;
  padding: 0 10px;
  cursor: pointer;
  transition: background 0.3s;
}
.subscribe-form button:hover {
  background: #2768F3;
  border: 1px solid #2768F3;
}

/* 订阅区域特殊样式 */


/* Footer底部区域 */
.footer-bottom {
  max-width:1200px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-bottom-top{
  border-bottom: 1px solid #2a3145;
  width:100%;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: #BEBEBE;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #2768F3;
}
.footer-links {
  float: left;
  list-style: none;
  min-width: 300px;
  text-align: left;
}
.footer-links li {
  margin-bottom: 12px;
}
.social-icons {
  display: flex;
  gap: 15px;
  float: right;
  text-align: right;
}       
.social-icons a{
  color: #BEBEBE;
  font-size: 18px;
  transition: color 0.3s;
}        
.social-icons a:hover{
  color: #2768F3;
}
.footer-bottom-bottom{
  width:100%;
  font-size: 12px;
  color: #bebebe;
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.copyright {
  color: #BEBEBE;
  font-size: 12px;
  float: left;
  list-style: none;
  min-width: 300px;
  text-align: left;
}
.language-switcher{
  display: flex;
  float: right;
  text-align: right;
  color: #BEBEBE;
  gap: 8px;
}
.language-switcher:hover{
  color: #2768F3;
}
.language-switcher i {
  margin-right: 0px;
}
.language-switcher .fa-globe{
	width:16px;
	height:16px;
}
.language-switcher span{
	width:auto;
	height:16px;
	text-align:center;
	line-height: inherit;
}

/* Footer主容器 */
footer {
  background-color:#1A1D24;
  color: #ffffff;
  padding: 50px 0 20px;
  margin-top: auto;
}    
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.footer {
  max-width: 1200px;
  margin: 0 auto;
}
        
/* Footer顶部区域 - PC端平铺布局 */
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}   
.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}  
.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}
.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  transition: transform 0.3s ease;
}
.footer-column h3.active::after {
  transform: rotate(180deg);
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #bebebe;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 12px;
  display: block;
}
.footer-column ul li a:hover {
  color: #2768F3;
}

/* 响应式设计 */
@media (max-width: 1200px) {
.footer-top{
  padding: 0 20px;
}
.footer-bottom{
  padding: 0 20px;
}
}

@media (max-width: 1024px) {
.nav-menu {
  display: none;
}
.nav-icons {
  display: none;
}
.hamburger {
  display: flex;
}
.slide-title {
  font-size: 2.5rem;
}
.slide-subtitle {
  font-size: 1rem;
  padding: 0 1rem;
}
.footer-top{
  padding: 0 20px;
}
.footer-bottom{
  padding: 0 20px;
}
}

@media (max-width: 768px) {
.nav-container {
  padding: 0 1rem;
}
.slide-title {
  font-size: 2rem;
}
.footer-top{
  padding: 0 20px;
}
.footer-bottom{
padding: 0 20px;
}
}


/* 响应式设计 */
@media (max-width: 768px) {
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}
.carousel-item img {
  max-width: 400px;
}
}



/* 移动端适配 */
@media (max-width: 1100px) {
.product-item {
  position: relative;
  width: 96%;            /* 两列布局，预留 4% 间隙 */
  min-width:320px;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
}

@media (max-width: 768px) {
h1 {
  font-size: 2rem;
  padding: 40px 0 10px 0;
  }
.product-item {
  position: relative;
  width: 96%;            /* 两列布局，预留 4% 间隙 */
  height: 500px;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持宽高比，同时覆盖整个容器 */
}

.product-info h2 {
  font-size: 1.5rem;
}

.product-info p {
  font-size: 1rem;
}
.product-info .btn {
  display: inline-block;
  padding: 4px 20px;
  border: 1px solid #1A1D24;
  color: #1A1D24;
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-info .btn:active {
  background-color: #2768F3;
  border: 1px solid #2768F3;
  color: #ffffff;
  transform: translateY(-2px);
}
}

@media (max-width: 480px) {
.product-grid {
  gap: 16px; /* 更小屏幕缩小间距 */
  padding: 10px;
  }
.product-item {
  display: flex;
  padding: 10px;
  width:100%;
  max-height:80vh;
  overflow: hidden;
}
.product-item img{width:100%;height:100%;object-fit: cover;
}
.product-item:hover img {
  transform: scale(1.05);
}
	
/* 文字信息层 */
.product-info {
  position: absolute;
  top: 20px;
  left: 0;
  text-align: center;
  width: 100%;
  padding: 10px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.product-item:hover .product-info {
  transform: translateY(0);
}
.product-info h2 {
  color: #1A1D24;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.product-info p {
  color:#1A1D24;
	padding: 0 12px;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.product-info .btn {
  display: inline-block;
  padding: 4px 20px;
  border: 1px solid #2768F3;
  background-color: #2768F3;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-info .btn:active {
  background-color: #033BCE;
  border: 1px solid #033BCE;
  color: #ffffff;
  transform: translateY(-2px);
}
}

/* 响应式设计 */
@media (max-width: 1024px) {
.footer-grid {
  grid-template-columns: repeat(3, 1 fr);
	}
}

@media (max-width: 768px) {
.footer-top {
  flex-direction: column;
}
.footer-column {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}
.footer-column h3 {
  margin-bottom: 0;
  padding: 15px 0;
  cursor: pointer;
	color: #bebebe;
  display: flex;
  align-items: center;
}
.footer-column h3::after {
  display: none;
}
.footer-column h3 .toggle-icon {
  font-size: 14px;
  transition: transform 0.3s;
}
.footer-column ul {
  display: none;
  padding: 0 0 15px 20px;
}
.footer-column.active ul {
  display: block;
}
.footer-column ul li {
  height:44px;
}
.footer-column ul li a {
  color: #b0b7c3;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
  display: block;
}      
.footer-column ul li a:hover {
  color: #2768F3;
  padding-left: 5px;
}      
.footer-column.active h3 .toggle-icon {
  transform: rotate(45deg);
}
.footer-grid {
  grid-template-columns: 1 fr;
  gap: 30px;
}
.footer-col {
  margin-bottom: 20px;
  height: 44px;
}
.footer-col h3 {
  padding-left: 0;
  position: relative;
}
.footer-col h3::after {
  content: "▼";
  position: absolute;
  right: 0;
  left: auto;
}
.footer-col ul {
  display: none;
  margin-top: 10px;
}
.footer-col.active ul {
  display: block;
}
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
}
.footer-links-bottom {
  gap: 15px;
}
     
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-links {
  order: 1;
  width: 100%;
  margin-bottom: 20px;
  justify-content: center;
}
.social-icons {
  order: 2;
  width: 100%;
  justify-content: center;
}
 
.copyright {
  order: 3;
  width:100%;
  margin: 20px 0 0 20px;
  text-align: center;
  justify-content: center;
  font-size: 12px;
}
.language-switcher {
  order: 4;
  width: 100%;
  justify-content: center;
}
}
/* 移动端适配 */

        
/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
.footer-column {
  min-width: 180px;
}
.subscribe-column {
  min-width: 220px;
}
}