/* === 全局变量 === */
:root {
  --nav-bg: #1a3a5c;
  --nav-hover: #0d2340;
  --accent: #e67e22;
  --accent-dark: #d35400;
  --text-dark: #222;
  --text-muted: #666;
  --border: rgba(0,0,0,0.08);
  --card-bg: #ffffff;
  --section-bg: #f8f9fa;
}

/* === 基础重置 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* === 导航栏 === */
.navbar {
  background: #1a3a5c;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar .logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  gap: 10px;
}
.navbar .logo-wrap span {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.navbar nav { display: flex; flex-wrap: wrap; gap: 4px; }
.navbar nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.navbar nav a:hover,
.navbar nav a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  animation: fade-up 0.8s ease both;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fade-up 0.8s 0.2s ease both;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.3s ease both;
}
.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 500;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === 按钮 === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: #e67e22;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}
.btn-primary:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.4);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* === Section === */
.section { padding: 80px 0; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #e67e22;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #1a3a5c;
}
.section-desc {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 50px; }

/* === 产品卡片 === */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  animation: fade-up 0.6s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: #e67e22;
}
.product-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.product-card:hover img { transform: scale(1.05); }
.product-card .card-body { padding: 20px; }
.product-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: #1a3a5c; }
.product-card p { font-size: 14px; color: #666; margin-bottom: 16px; line-height: 1.7; }
.product-card .card-link {
  color: #e67e22;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.product-card:hover .card-link { gap: 10px; }
.product-card .card-link::after { content: "→"; }

/* === 统计数据 === */
.stats-section {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  padding: 70px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: #e67e22;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }

/* === 新闻卡片 === */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: #e67e22; }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card .card-body { padding: 18px; }
.news-date { font-size: 12px; color: #e67e22; margin-bottom: 8px; font-weight: 600; }
.news-card h3 { font-size: 15px; font-weight: 700; line-height: 1.5; color: #1a3a5c; }

/* === Page Header === */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
}
.page-header h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: #ffffff; margin-bottom: 10px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.75); }

/* === 详情内容 === */
.detail-section { padding: 60px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.detail-grid.reverse { direction: rtl; }
.detail-grid.reverse > * { direction: ltr; }
.detail-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.detail-img img { width: 100%; display: block; }
.detail-tag { font-size: 11px; color: #e67e22; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.detail-title { font-size: 28px; font-weight: 800; margin-bottom: 14px; line-height: 1.25; color: #1a3a5c; }
.detail-text { color: #555; font-size: 15px; line-height: 1.9; }
.detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.detail-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.detail-feature::before { content: "✓"; color: #e67e22; font-weight: 700; font-size: 12px; }

/* === 分隔线 === */
.divider { height: 1px; background: rgba(0,0,0,0.08); margin: 0 auto; max-width: 400px; }

/* === Footer === */
footer {
  background: #1a3a5c;
  padding: 50px 0 30px;
}
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #ffffff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #ffffff; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: #e67e22; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 35px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.45); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1); transition: all 0.3s; }
.social-links a:hover { background: #e67e22; transform: translateY(-2px); }
.social-links img { height: 18px; filter: brightness(0) invert(1); }

/* === 表单 === */
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  color: #222;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #e67e22; box-shadow: 0 0 0 3px rgba(230,126,34,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; font-weight: 500; }

/* === Partners === */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner-item {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.partner-item:hover { border-color: #e67e22; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.partner-item img { max-width: 80px; max-height: 40px; filter: brightness(0) invert(0.2); }

/* === Certs === */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: all 0.3s;
}
.cert-item:hover { border-color: #e67e22; transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.cert-item img { width: 100%; max-height: 120px; object-fit: contain; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  footer .container { grid-template-columns: 1fr; }
  .navbar nav a { padding: 8px 12px; font-size: 13px; }
  .hero { padding: 100px 20px 60px; }
  .detail-features { grid-template-columns: 1fr; }
}
