/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, Helvetica, sans-serif;
  color: #2F2F2F;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { flex: 1; padding: 0 15px; }

/* ===== Variables ===== */
:root {
  --primary: #00aba5;
  --primary-dark: #057d60;
  --text: #2F2F2F;
  --text-light: #555;
  --text-lighter: #999;
  --bg-light: #f8f8f8;
  --border: #eaeaea;
  --white: #fff;
}

/* ===== Header ===== */
.top-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #777;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.top-bar .lang a { color: #777; margin-left: 8px; }
.top-bar .lang a:hover { color: var(--primary); }

.header-main {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-main .container { display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: bold;
}
.logo-text h1 { font-size: 22px; color: #333; font-weight: bold; }
.logo-text p { font-size: 12px; color: #999; margin-top: 2px; }
.header-contact { text-align: right; }
.header-contact .label { font-size: 13px; color: #999; }
.header-contact .phone { font-size: 26px; color: var(--primary); font-weight: bold; }

/* ===== Navigation ===== */
.main-nav {
  background: var(--primary);
  height: 50px;
}
.main-nav ul { display: flex; justify-content: center; }
.main-nav li { position: relative; }
.main-nav li a {
  display: block;
  padding: 0 28px;
  line-height: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.main-nav li a:hover, .main-nav li.active a { background: var(--primary-dark); }
.main-nav .dropdown-menu {
  position: absolute;
  top: 50px; left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  z-index: 100;
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }
.main-nav .dropdown-menu li a {
  color: #333;
  line-height: 42px;
  padding: 0 20px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.main-nav .dropdown-menu li a:hover { background: var(--primary); color: #fff; }

/* Mobile nav toggle */
.nav-toggle { display: none; cursor: pointer; color: #fff; font-size: 24px; padding: 0 15px; line-height: 50px; }

/* ===== Banner ===== */
.banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: linear-gradient(135deg, #00aba5 0%, #008c86 50%, #006b66 100%);
}
.banner-slides { position: relative; height: 100%; }
.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
}
.banner-slide .banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}
.banner-slide h2 { font-size: 42px; font-weight: bold; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.banner-slide h4 { font-size: 18px; opacity: 0.9; margin-bottom: 30px; font-weight: normal; }
.banner-slide .btn { display: inline-block; padding: 12px 36px; background: var(--primary); color: #fff; border-radius: 4px; font-size: 15px; border: 2px solid #fff; }
.banner-slide .btn:hover { background: #fff; color: var(--primary); }

.banner-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.banner-dots span.active { background: #fff; width: 30px; border-radius: 6px; }

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}
.banner-arrow:hover { background: rgba(255,255,255,0.4); }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* ===== Section Titles ===== */
.section-title { text-align: center; margin: 60px 0 40px; }
.section-title h2 { font-size: 30px; color: #333; font-weight: bold; }
.section-title .line { display: inline-block; width: 60px; height: 3px; background: var(--primary); margin: 12px 0; }
.section-title p { color: #999; font-size: 14px; }

/* ===== About Section ===== */
.about-section { padding: 60px 0; }
.about-section .row { display: flex; align-items: center; }
.about-image { flex: 0 0 40%; padding: 0 15px; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.about-content { flex: 0 0 60%; padding: 0 30px; }
.about-content h3 { font-size: 24px; color: #333; margin-bottom: 5px; }
.about-content .en-name { color: var(--primary); font-size: 14px; margin-bottom: 20px; }
.about-content p { color: #666; font-size: 14px; line-height: 2; margin-bottom: 12px; text-indent: 2em; }
.about-content .btn { display: inline-block; margin-top: 15px; padding: 10px 30px; background: var(--primary); color: #fff; border-radius: 4px; }
.about-content .btn:hover { background: var(--primary-dark); }

/* ===== Statistics ===== */
.statistics { background: var(--primary); padding: 50px 0; }
.statistics .row { display: flex; justify-content: space-around; }
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 48px; font-weight: bold; line-height: 1.2; }
.stat-item .label { font-size: 16px; opacity: 0.9; margin-top: 5px; }

/* ===== Product Applications ===== */
.applications { background: #f5f5f5; padding: 60px 0; background-size: cover; background-position: center; }
.applications .section-title h2 { color: #333; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.app-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.app-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.app-card-img { height: 220px; background: linear-gradient(135deg, #00aba5, #008c86); display: flex; align-items: center; justify-content: center; }
.app-card-img img { width: 100%; height: 100%; object-fit: cover; }
.app-card-img .icon { font-size: 60px; color: rgba(255,255,255,0.8); }
.app-card-body { padding: 20px; text-align: center; }
.app-card-body h4 { font-size: 18px; color: #333; margin-bottom: 5px; }
.app-card-body p { color: #999; font-size: 14px; }

/* ===== Products ===== */
.products-section { padding: 60px 0; }
.product-filters { text-align: center; margin-bottom: 35px; }
.product-filters button {
  display: inline-block;
  padding: 8px 22px;
  margin: 0 5px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.product-filters button.active, .product-filters button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.product-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.1); transform: translateY(-3px); }
.product-card-img { height: 240px; background: linear-gradient(135deg, #e8f5f4, #d0ebe9); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-img .placeholder { font-size: 50px; color: var(--primary); opacity: 0.3; }
.product-card-body { padding: 15px; text-align: center; }
.product-card-body h4 { font-size: 16px; color: #333; }
.product-card-body .cat { font-size: 12px; color: var(--primary); margin-top: 4px; }

/* ===== Page Banner ===== */
.page-banner {
  height: 260px;
  background: linear-gradient(135deg, #00aba5, #006b66);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.page-banner h2 { font-size: 36px; font-weight: bold; }
.page-banner p { font-size: 14px; opacity: 0.8; margin-top: 8px; }

/* Breadcrumb */
.breadcrumb-bar { background: #f5f5f5; padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb-bar a { color: #666; }
.breadcrumb-bar a:hover { color: var(--primary); }

/* ===== Content Page Layout ===== */
.content-page { padding: 40px 0; }
.content-layout { display: flex; gap: 30px; }
.sidebar { flex: 0 0 250px; }
.sidebar h3 { font-size: 18px; color: #333; padding: 15px 20px; background: var(--primary); color: #fff; border-radius: 4px 4px 0 0; }
.sidebar-nav { background: #f8f8f8; border-radius: 0 0 4px 4px; overflow: hidden; }
.sidebar-nav li a { display: block; padding: 14px 20px; border-bottom: 1px solid #eee; color: #666; font-size: 14px; }
.sidebar-nav li a:hover, .sidebar-nav li a.active { color: var(--primary); background: #fff; padding-left: 25px; }
.content-main { flex: 1; min-width: 0; }
.content-main h2 { font-size: 24px; color: #333; padding-bottom: 15px; border-bottom: 2px solid var(--primary); margin-bottom: 25px; display: inline-block; }
.content-body p { color: #555; font-size: 14px; line-height: 2; margin-bottom: 15px; text-indent: 2em; }
.contact-info { padding: 20px 0; }
.contact-info p { font-size: 16px; color: #555; line-height: 2.2; text-indent: 0; }
.contact-info strong { color: #333; }

/* ===== Feedback Form ===== */
.feedback-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: #555; font-size: 14px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  display: inline-block;
  padding: 12px 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-reset {
  display: inline-block;
  padding: 12px 30px;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  margin-left: 10px;
}

/* ===== Footer ===== */
.footer { background: #2a2a2a; color: #aaa; padding: 40px 0 0; }
.footer .row { display: flex; flex-wrap: wrap; }
.footer-col { flex: 1; padding: 0 15px; min-width: 200px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col p { line-height: 2; font-size: 13px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: var(--primary); }
.footer-contact-info p { font-size: 14px; line-height: 2.2; }
.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== Mobile Footer Nav ===== */
.mobile-foot-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; border-top: 1px solid #eee; z-index: 999; }
.mobile-foot-nav { display: none; }
.mobile-foot-nav a { display: flex; flex-direction: column; align-items: center; padding: 8px 0; font-size: 12px; color: #666; flex: 1; }
.mobile-foot-nav a .icon { font-size: 20px; margin-bottom: 2px; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.8s ease forwards; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-image { flex: 0 0 100%; margin-bottom: 25px; }
  .about-content { flex: 0 0 100%; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { flex-direction: column; }
  .sidebar { flex: none; }
}

@media (max-width: 768px) {
  .main-nav ul { display: none; position: absolute; top: 50px; left: 0; width: 100%; background: var(--primary); flex-direction: column; }
  .main-nav ul.show { display: flex; }
  .main-nav li a { padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-toggle { display: block; }
  .header-contact { display: none; }
  .banner { height: 300px; }
  .banner-slide h2 { font-size: 26px; }
  .banner-slide h4 { font-size: 14px; }
  .statistics .row { flex-wrap: wrap; gap: 20px; }
  .stat-item { flex: 0 0 45%; }
  .stat-item .num { font-size: 36px; }
  .app-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }
  .mobile-foot-nav { display: flex; }
  body { padding-bottom: 55px; }
  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .logo-text h1 { font-size: 16px; }
  .logo-icon { width: 42px; height: 42px; font-size: 18px; }
}
