@charset "UTF-8";

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2C7A6B;
  --primary-dark: #1D5A4E;
  --primary-light: #3D9E8C;
  --dark: #1A1A1A;
  --gray-dark: #333333;
  --gray: #555555;
  --gray-light: #888888;
  --gray-lighter: #E8EDEB;
  --white: #FFFFFF;
  --bg: #F5F7F6;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 6px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700;
  color: var(--dark);
}
.logo-icon {
  width: 40px; height: 40px; background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px; font-weight: 900; letter-spacing: -1px;
}
.logo-img {
  width: 44px; height: 44px; object-fit: contain; border-radius: 6px;
}
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px; color: var(--gray); font-weight: 500; position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  padding: 160px 0 100px; background: linear-gradient(135deg, var(--dark) 0%, #1A3A32 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -100px; top: -100px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44,122,107,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-block; background: rgba(44,122,107,0.25); border: 1px solid rgba(44,122,107,0.5);
  color: #6FCFB9; padding: 6px 16px; border-radius: 30px; font-size: 13px; margin-bottom: 24px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em { color: #6FCFB9; font-style: normal; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition);
}
.btn-primary {
  background: var(--primary); color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(44,122,107,0.35); }
.btn-outline {
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--primary); color: #6FCFB9; }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 10px;
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 14px; color: var(--dark); }
.section-dark .section-title { color: var(--white); }
.section-desc { font-size: 16px; color: var(--gray); max-width: 560px; margin: 0 auto; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.feature-card {
  background: var(--white); padding: 36px 28px; border-radius: 12px;
  border: 1px solid #E8EDEB; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.feature-icon {
  width: 52px; height: 52px; background: rgba(44,122,107,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* ---- Products Grid ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.product-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid #E8EDEB; transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img {
  width: 100%; height: 220px; background: var(--gray-lighter);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--primary-light); overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--primary-light);
}

/* ---- Product Detail Gallery ---- */
.product-gallery {
  display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 24px;
}
.gallery-main {
  height: 300px; border-radius: 8px; overflow: hidden;
}
.gallery-main img, .gallery-thumbs img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery-thumbs img { height: 92px; border-radius: 6px; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border: 2px solid var(--primary); }

/* ---- Image Grid ---- */
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.image-card {
  border-radius: 10px; overflow: hidden; border: 1px solid #E8EDEB;
  transition: var(--transition);
}
.image-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 200px; object-fit: cover; }
.image-card-info { padding: 14px; background: var(--white); }
.image-card-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.image-card-info p { font-size: 13px; color: var(--gray-light); }

/* ---- Lang Switcher ---- */
.lang-switcher {
  display: flex; align-items: center; gap: 6px; font-size: 13px; margin-left: 20px;
}
.lang-switcher a {
  padding: 4px 10px; border-radius: 4px; color: var(--gray-light);
  border: 1px solid transparent; transition: var(--transition);
}
.lang-switcher a:hover { color: var(--primary); }
.lang-switcher a.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-body p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: var(--gray-lighter); color: var(--gray); padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.product-link { color: var(--primary); font-size: 14px; font-weight: 600; }
.product-link:hover { color: var(--primary-dark); }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img {
  background: linear-gradient(135deg, var(--gray-lighter) 0%, #C8DAD6 100%);
  border-radius: 16px; height: 400px; display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--primary); position: relative; overflow: hidden;
}
.about-img::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(44,122,107,0.15), transparent);
}
.about-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.about-content p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 13px; color: var(--gray-light); margin-top: 4px; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.team-card {
  background: var(--white); border-radius: 12px; overflow: hidden; text-align: center;
  border: 1px solid #E8EDEB; transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 100%; height: 180px; background: var(--gray-lighter);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: var(--primary-light);
}
.team-info { padding: 20px; }
.team-info h3 { font-size: 16px; font-weight: 700; }
.team-info p { font-size: 13px; color: var(--gray-light); margin-top: 2px; }

/* ---- Timeline ---- */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}
.timeline-item { display: flex; gap: 28px; margin-bottom: 40px; position: relative; }
.timeline-dot {
  width: 50px; height: 50px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; font-weight: 700; flex-shrink: 0; z-index: 1;
}
.timeline-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--gray); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 28px; font-size: 15px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; background: rgba(44,122,107,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 18px;
}
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--gray); }

/* ---- Form ---- */
.form { background: var(--white); padding: 36px; border-radius: 12px; border: 1px solid #E8EDEB; }
.form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid #D8E0DC; border-radius: var(--radius);
  font-size: 14px; transition: var(--transition); outline: none; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44,122,107,0.1);
}
.form-group textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 13px; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ---- Footer ---- */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-col ul li a:hover { color: #6FCFB9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 140px 0 60px; background: linear-gradient(135deg, var(--dark) 0%, #1A3A32 100%);
  color: var(--white); text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #6FCFB9; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0; text-align: center; color: var(--white);
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.4); }
.cta-section .btn-outline:hover { border-color: var(--white); color: var(--white); }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  background: var(--primary); color: var(--white); border: none; border-radius: 50%;
  font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center;
  z-index: 999; transition: var(--transition); box-shadow: 0 2px 12px rgba(44,122,107,0.3);
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.scroll-top.show { display: flex; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 130px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .page-hero h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
}
