/* ===== Variables ===== */
:root {
  --green: #2E9E4D;
  --green-dark: #248038;
  --green-light: #E8F5EC;
  --text: #333;
  --text-muted: #666;
  --text-light: #999;
  --bg: #fff;
  --bg-gray: #F7F9F8;
  --footer-bg: #1A2E35;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --container: 1280px;
  --page-x: 12px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  padding-top: var(--header-h);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--page-x); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header .container.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-left: 0;
  padding-right: var(--page-x);
}
.logo { display: flex; align-items: center; gap: 12px; }
.header .logo { margin-left: calc(-1 * var(--page-x) - 8px); }
.logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.logo-icon svg { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.logo-text strong { font-size: 20px; font-weight: 700; color: #1a1a1a; letter-spacing: 0.02em; }
.logo-text small { font-size: 11px; color: #999; line-height: 1.35; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--green);
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 1px; }

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #c8dce6;
  background-image: url('../images/hero-bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,0.08) 65%, rgba(255,255,255,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--page-x) 112px;
  text-align: left;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-title-line {
  font-size: 52px;
  font-weight: 700;
  color: #000;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-align: left;
}
.hero-title-accent { color: #00A651; margin-top: 2px; }
.hero-desc {
  font-size: 14px;
  color: #333;
  line-height: 2;
  margin-bottom: 40px;
  max-width: 420px;
  text-align: left;
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  gap: 8px;
  font-weight: 700;
}
.hero-actions .btn-outline {
  border: none;
}
.hero-actions .btn-outline:hover {
  border: none;
}
.btn-arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn { display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: all 0.2s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: #00A651; color: #fff; border-color: #00A651; }
.btn-primary:hover { background: #008f45; border-color: #008f45; }
.btn-outline { background: #fff; color: #00A651; border-color: #e0e0e0; }
.btn-outline:hover { background: #f9f9f9; border-color: #ccc; }

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: 40px;
  background: linear-gradient(to bottom, transparent 0, transparent 60px, var(--bg-gray) 60px);
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  gap: 12px;
}
.stat-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.stat-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; color: var(--green); }
.stat-info { display: flex; flex-direction: column; }
.stat-info strong { font-size: 18px; font-weight: 700; color: var(--green); line-height: 1.2; }
.stat-info span { font-size: 12px; color: #333; margin-top: 2px; }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; }
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-header p { font-size: 15px; color: var(--text-muted); }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #28a745;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.link-more-arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.link-more:hover {
  color: #218838;
  transform: translateX(5px);
}

/* Modules */
.modules { background: var(--bg-gray); }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.module-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module-body { padding: 28px 24px 20px; }
.module-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.module-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.module-icon svg { width: 22px; height: 22px; color: var(--green); }
.module-head h3 { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.3; }
.module-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.module-img { height: 120px; background-size: cover; background-position: center; }

/* Ecosystem - card grid */
.ecosystem { background: #fff; }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eco-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.eco-card.eco-gov { border-top-color: #1976D2; }
.eco-card.eco-corp { border-top-color: #F57C00; }
.eco-card.eco-service { border-top-color: #7B1FA2; }
.eco-card.eco-farm { border-top-color: var(--green); }
.eco-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.eco-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-card-icon svg { width: 24px; height: 24px; }
.eco-card-icon.eco-gov { background: #E3F2FD; color: #1976D2; }
.eco-card-icon.eco-corp { background: #FFF3E0; color: #F57C00; }
.eco-card-icon.eco-service { background: #F3E5F5; color: #7B1FA2; }
.eco-card-icon.eco-farm { background: var(--green-light); color: var(--green); }
.eco-card-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.eco-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.eco-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.eco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.eco-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--text-muted);
}

/* Why Us */
.why-us { background: var(--bg-gray); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.why-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.why-img { height: 220px; background-size: cover; background-position: center; }
.why-content { padding: 28px 32px 32px; }
.why-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--green-light); color: var(--green); border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.product-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #eee; transition: box-shadow 0.2s, transform 0.2s; color: inherit; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img { height: 160px; background-size: cover; background-position: center; }
.product-info { padding: 16px; }
.product-info h4 { font-size: 14px; font-weight: 500; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { color: var(--green); font-size: 16px; font-weight: 700; }
.sold { font-size: 12px; color: var(--text-light); }

/* Product Detail */
.product-detail-page .breadcrumb { margin-bottom: 24px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.product-detail-main {
  aspect-ratio: 1;
  width: 100%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  border: 1px solid #eee;
}
.product-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-detail-thumbs button {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
}
.product-detail-thumbs button.active {
  border-color: var(--green);
}
.product-detail-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.product-detail-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.product-detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
}
.product-detail-unit {
  font-size: 14px;
  color: var(--text-muted);
}
.product-detail-sold {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-light);
}
.product-detail-specs {
  margin-bottom: 24px;
}
.product-detail-specs li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed #eee;
}
.product-detail-specs li span {
  width: 72px;
  color: var(--text-light);
  flex-shrink: 0;
}
.product-detail-options,
.product-detail-qty {
  margin-bottom: 20px;
}
.option-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-tag {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.option-tag.active,
.option-tag:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: #f7f7f7;
  font-size: 18px;
  cursor: pointer;
}
.qty-control input {
  width: 56px;
  height: 40px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  outline: none;
}
.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.product-detail-actions .btn {
  flex: 1;
  justify-content: center;
  font-weight: 600;
}
.product-detail-service {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.product-detail-content {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 56px;
}
.product-detail-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.product-detail-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}
.product-detail-content p + p { margin-top: 12px; }
.product-detail-content .product-params-table { margin-top: 24px; }
.product-params-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.product-params-table th,
.product-params-table td {
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.product-params-table th {
  width: 140px;
  background: #fafafa;
  color: var(--text-muted);
  font-weight: 500;
}
.related-products h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.related-products .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Mini Program QR Modal */
.miniapp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--page-x);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.miniapp-modal.open {
  opacity: 1;
  visibility: visible;
}
.miniapp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.miniapp-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.miniapp-modal.open .miniapp-modal-dialog {
  transform: translateY(0);
}
.miniapp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.miniapp-modal-close:hover {
  color: var(--text);
  background: var(--bg-gray);
}
.miniapp-modal-dialog h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.miniapp-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.miniapp-modal-qrcode {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.miniapp-modal-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.miniapp-modal-tip {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
body.modal-open { overflow: hidden; }

/* News */
.news { background: var(--bg-gray); }
.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.news-featured { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.news-featured-img { height: 280px; background-size: cover; background-position: center; }
.news-featured-body { padding: 24px 28px; }
.news-featured-body h3 { font-size: 18px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.news-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.news-featured-body .news-desc { font-size: 14px; margin-bottom: 14px; }
.news-featured-body time { font-size: 13px; color: var(--text-light); }
.news-list-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.news-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  transition: background 0.2s;
}
.news-item:not(:last-child) { border-bottom: 1px solid #f0f0f0; }
.news-item:hover { background: #fafafa; }
.news-thumb { width: 100px; height: 72px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-body h4 { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.news-item-body .news-desc {
  font-size: 12px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-body time { font-size: 12px; color: var(--text-light); }

/* CTA */
.cta-banner { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1920&h=400&fit=crop') center/cover no-repeat; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232,245,236,0.95) 0%, rgba(232,245,236,0.85) 50%, rgba(232,245,236,0.7) 100%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 56px var(--page-x); gap: 32px; }
.cta-text h2 { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cta-text p { font-size: 14px; color: var(--text-muted); }
.cta-action { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.cta-phone { font-size: 32px; font-weight: 700; color: var(--green); letter-spacing: 1px; }

/* Footer */
.footer { background: var(--footer-bg); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 13px; line-height: 1.8; margin: 20px 0; color: rgba(255,255,255,0.55); }
.qrcode { display: flex; align-items: center; gap: 12px; }
.qrcode-box { width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 8px; padding: 8px; }
.qrcode-box svg { width: 100%; height: 100%; }
.qrcode span { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; }
.contact-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== Subpage ===== */
.page-banner {
  padding: 36px 0 44px;
  background: linear-gradient(135deg, var(--green-light) 0%, #fff 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-banner h1 { font-size: 36px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.page-banner p { font-size: 16px; color: var(--text-muted); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--text-muted); }
.page-main { padding: 36px 0 80px; }
.page-main.product-detail-page { padding: 20px 0 80px; }
.page-main.bg-gray { background: var(--bg-gray); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.filter-tab {
  padding: 8px 20px; border-radius: 50px; font-size: 14px;
  border: 1px solid #ddd; background: #fff; cursor: pointer; transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active { background: var(--green); color: #fff; border-color: var(--green); }

.search-bar { display: flex; gap: 12px; margin-bottom: 32px; }
.search-bar input {
  flex: 1; padding: 12px 20px; border: 1px solid #ddd; border-radius: 50px;
  font-size: 14px; outline: none;
}
.search-bar input:focus { border-color: var(--green); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card .icon svg { width: 28px; height: 28px; color: var(--green); }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.service-card .price-tag { font-size: 20px; font-weight: 700; color: var(--green); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step-item { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--text-muted); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-box {
  display: flex; gap: 20px; background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.feature-box .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-box .icon svg { width: 24px; height: 24px; color: var(--green); }
.feature-box h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-box p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.news-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-page-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s; }
.news-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-page-card .thumb { height: 180px; background-size: cover; background-position: center; }
.news-page-card .body { padding: 20px; }
.news-page-card .tag { display: inline-block; padding: 2px 10px; background: var(--green-light); color: var(--green); font-size: 12px; border-radius: 4px; margin-bottom: 10px; }
.news-page-card h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.news-page-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.news-page-card time { font-size: 12px; color: var(--text-light); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; font-size: 14px;
  border: 1px solid #ddd; transition: all 0.2s;
}
.pagination a:hover, .pagination span.active { background: var(--green); color: #fff; border-color: var(--green); }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.about-intro-img { height: 360px; border-radius: var(--radius); background-size: cover; background-position: center; }
.about-intro-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.about-intro-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--green-light); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green-light);
}
.timeline-item .year { font-size: 18px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.team-avatar { height: 200px; background-size: cover; background-position: center top; }
.team-card h4 { font-size: 16px; font-weight: 600; padding: 16px 16px 4px; }
.team-card span { font-size: 13px; color: var(--text-muted); display: block; padding-bottom: 16px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card { background: var(--green-light); border-radius: var(--radius); padding: 36px; }
.contact-info-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 24px; color: var(--green-dark); }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon svg { width: 20px; height: 20px; color: var(--green); }
.contact-info-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.contact-form h3 { font-size: 20px; font-weight: 600; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.map-placeholder {
  height: 300px; border-radius: var(--radius); margin-top: 48px;
  background: var(--bg-gray) url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1200&h=400&fit=crop') center/cover;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
  border: 1px solid #eee;
}

.hosting-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center;
  border: 2px solid #eee; transition: border-color 0.2s, transform 0.2s;
}
.plan-card:hover { border-color: var(--green); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.plan-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.plan-card .plan-price { font-size: 32px; font-weight: 700; color: var(--green); margin: 16px 0; }
.plan-card .plan-price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.plan-card ul { text-align: left; margin: 24px 0; }
.plan-card ul li { font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid #f0f0f0; }

.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.expert-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; background-size: cover; background-position: center; }
.expert-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.expert-card .title { font-size: 13px; color: var(--green); margin-bottom: 8px; }
.expert-card p { font-size: 12px; color: var(--text-muted); }

.machinery-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.machinery-item {
  display: flex; gap: 20px; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.machinery-item .img { width: 200px; flex-shrink: 0; background-size: cover; background-position: center; }
.machinery-item .info { padding: 24px; flex: 1; }
.machinery-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.machinery-item p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.machinery-item .meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); }
.machinery-item .meta strong { color: var(--green); }

/* Responsive */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .hosting-plans, .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .expert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-gallery { max-width: 560px; margin: 0 auto; width: 100%; }
  .product-detail-actions { flex-direction: column; }
  .related-products .products-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header .container.header-inner { padding-left: var(--page-x); }
  .header .logo { margin-left: -4px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px var(--page-x); gap: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero-title-line { font-size: 34px; }
  .hero-content { padding: 40px var(--page-x) 88px; }
  .hero-title { margin-bottom: 28px; }
  .hero-desc { margin-bottom: 28px; line-height: 1.85; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid, .why-grid, .about-intro, .contact-layout, .feature-grid, .machinery-list, .ecosystem-grid { grid-template-columns: 1fr; }
  .products-grid, .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .section-header.row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-action { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .hosting-plans { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 28px; }
  .machinery-item { flex-direction: column; }
  .machinery-item .img { width: 100%; height: 160px; }
}
@media (max-width: 480px) {
  .stats-grid, .products-grid, .news-page-grid, .footer-grid, .team-grid, .expert-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ===== Homepage Preloader ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2E9E4D 0%, #248038 50%, #5cb87a 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  text-align: center;
  color: #fff;
}
.preloader-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  animation: preloader-pulse 2s ease-in-out infinite;
}
.preloader-logo svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.loading-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.loading-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 18px;
}
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.loading-dots .dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: dot-bounce 1.4s infinite ease-in-out both;
}
.loading-dots .dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dots .dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dots .dot:nth-child(3) { animation-delay: 0s; }
.progress-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  width: 0;
  animation: progress-load 2s ease-in-out forwards;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}
@keyframes progress-load {
  0% { width: 0; }
  20% { width: 20%; }
  40% { width: 45%; }
  60% { width: 70%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(46, 158, 77, 0.35);
}
.scroll-top svg {
  width: 22px;
  height: 22px;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 158, 77, 0.45);
}
@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

.form-tip { font-size: 14px; margin-bottom: 16px; padding: 10px 14px; border-radius: 8px; }
.form-tip.success { color: #1a7f37; background: #e8f5ec; }
.form-tip.error { color: #b42318; background: #fef3f2; }

.search-results { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.search-result-item { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.search-result-item h3 { font-size: 18px; margin-bottom: 8px; }
.search-result-item h3 a { color: var(--text); text-decoration: none; }
.search-result-item h3 a:hover { color: var(--green); }
.search-result-item p { font-size: 14px; color: var(--text-muted); margin: 8px 0; line-height: 1.6; }
.search-result-item time { font-size: 13px; color: var(--text-muted); }
.empty-tip { text-align: center; color: var(--text-muted); padding: 48px 0; }

.legal-content { max-width: 800px; padding: 48px 0 64px; }
.legal-content .legal-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; color: var(--green-dark); }
.legal-content p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 12px; }
