/* ========================================
   Laboratory Gas Systems - Complete Styles
   Modern Design Inspired by LANTO Technology
   ======================================== */

/* ==================== Global Styles ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'Source Han Sans CN', Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== Hero Banner Section ==================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  max-width: 800px;
  animation: slideInLeft 0.8s ease-out;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  opacity: 0.95;
  animation: slideInLeft 1s ease-out;
}

/* ==================== Search Section ==================== */
.search-section {
  background: #f9fafb;
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}

.search-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.search-form {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #cccccc;
}

.search-input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 16px;
  outline: none;
  font-family: Tahoma;
  color: #333;
}

.search-input::placeholder {
  color: #999;
  opacity: 0.5;
}

.search-btn {
  padding: 16px 32px;
  background: #0066cc;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #0052a3;
}

.search-btn svg {
  width: 20px;
  height: 20px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.search-tags a {
  padding: 8px 16px;
  background: #fff;
  color: #024ecb;
  text-decoration: none;
  border-radius: 2px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 0px solid transparent;
}

.search-tags a:hover {
  background: #fff;
  color: #00b0ea;
  border-color: #0159bb;
}

/* ==================== Section Header ==================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-group {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: #444;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
  font-weight: 500;
  font-family: 'Source Han Sans CN';
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #010a22;
  margin: 0;
  letter-spacing: 1.5px;
  font-family: 'Source Han Sans CN';
}

.section-divider {
  width: 69px;
  height: 8px;
  background: #0066cc;
  margin: 0 auto;
  border-radius: 4px;
}

/* ==================== Product Section ==================== */
.product-section {
  padding: 80px 0;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 30px rgba(68, 68, 68, 0.1);
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 10px rgba(25, 52, 126, 0.2);
  cursor: pointer;
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-image {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  background: #f9fafb;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 24px;
  background: #fff;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  line-height: 1.4;
  min-height: 50px;
  font-family: 'Microsoft YaHei';
}

.product-action {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.learn-more {
  color: #024ecb;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: 'Noto Sans CJK';
}

.product-card:hover .learn-more {
  color: #00b0ea;
}

/* ==================== Application Section ==================== */
.application-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  background-image: url(//img.wanwang.xin/contents/sitefiles2067/10335139/images/173147058.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: scroll;
  background-size: cover;
  position: relative;
}

.application-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.application-section .container {
  position: relative;
  z-index: 2;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.application-card {
  background: #f9fafb;
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.application-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #0066cc;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.application-card:hover::before {
  transform: scaleX(1);
}

.application-card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
  cursor: pointer;
}

.application-icon {
  margin: 0 auto 24px;
  width: 150px;
  height: 150px;
  border-radius: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.application-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0 0 16px 0;
  line-height: 1.4;
  font-family: Tahoma;
}

.application-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 20px 0;
  font-family: Tahoma;
}

.application-link {
  display: inline-block;
  width: 60px;
  height: 36px;
  transition: transform 0.3s ease;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
}

.application-link:hover {
  background: #000;
  color: #fff;
}

.application-card:hover .application-link {
  transform: translateX(8px);
}

/* ==================== News Section ==================== */
.news-section {
  padding: 80px 0;
  background: #fff;
}

.news-layout {
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 40px;
}

.featured-news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.featured-news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.featured-news-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.featured-news-content {
  padding: 32px;
  background: #fff;
}

.featured-news-title {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 0 0 16px 0;
  line-height: 1.4;
  font-family: 'SimHei';
}

.featured-news-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 16px 0;
  font-family: Tahoma;
}

.featured-news-date {
  font-size: 14px;
  color: #999;
  font-family: Tahoma;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  padding: 20px;
  border-radius: 8px;
  background: #f9fafb;
  transition: all 0.3s ease;
  border-bottom: 1px dotted #ddd;
  min-height: 110px;
}

.news-item:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
}

.news-item-image {
  width: 123px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-image img {
  transform: scale(1.1);
}

.news-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.news-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'SimHei';
  transition: color 0.2s linear;
}

.news-item:hover .news-item-title {
  color: #222;
  text-decoration: underline;
}

.news-item-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  margin: 5px 0 auto 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: Tahoma;
}

.news-item-date {
  font-size: 12px;
  color: #bbb;
  margin-top: 5px;
  font-family: Tahoma;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #f9fafb;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin: 24px 0 32px 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px 0;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.about-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: #0066cc;
  color: #fff;
  border: 2px solid #0066cc;
}

.btn-primary:hover {
  background: #0052a3;
  border-color: #0052a3;
}

.btn-outline {
  background: transparent;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-outline:hover {
  background: #0066cc;
  color: #fff;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 32px;
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding: 0 30px;
  }
  
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 400px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .application-grid {
    grid-template-columns: 1fr;
  }
  
  .news-layout {
    grid-template-columns: 1fr;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-btn {
    justify-content: center;
  }
  
  .search-tags {
    flex-direction: column;
  }
}

/* ==================== Animations ==================== */
@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animated {
  animation-duration: 0.75s;
  animation-fill-mode: both;
}

.slideInLeft {
  animation-name: slideInLeft;
}

.slideInRight {
  animation-name: slideInRight;
}

.slideInUp {
  animation-name: slideInUp;
}

/* ==================== Utility Classes ==================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.f-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w-hide {
  display: none !important;
}

/* ==================== Swiper Custom Styles ==================== */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 102, 204, 0.8);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #fff;
  opacity: 0.3;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
}
