/* ===== 东禾驭明 - 全局样式 ===== */

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

:root {
  --primary: #0d2137;          /* 深蓝 - 主色 */
  --primary-light: #1a3a5c;
  --accent: #00c896;           /* 科技青 - 强调 */
  --accent-dark: #00a579;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a1a1a;
  --text-sec: #555555;
  --text-light: #888888;
  --border: #e4e8ed;
  --shadow: 0 2px 12px rgba(13, 33, 55, 0.08);
  --shadow-hover: 0 6px 24px rgba(13, 33, 55, 0.15);
  --radius: 8px;
  --transition: 0.25s ease;
  --maxw: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  height: 68px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  margin-top: 68px;
  min-height: 560px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #0d4f3a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content { max-width: 720px; }
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 200, 150, 0.15);
  border: 1px solid var(--accent);
  border-radius: 40px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 200, 150, 0.35); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); color: #fff; }

/* ===== 通用 Section ===== */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-sec);
  font-size: 16px;
}
.section-header .divider {
  width: 48px; height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== 亮点卡片 Grid ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.highlight-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.highlight-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.15), rgba(13, 33, 55, 0.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.highlight-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.highlight-card p { color: var(--text-sec); font-size: 14px; line-height: 1.8; }

/* ===== 两栏布局 ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.two-col p { color: var(--text-sec); margin-bottom: 16px; }
.feature-list { list-style: none; margin: 24px 0 32px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-sec);
}
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}

.placeholder-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
.placeholder-visual::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background:
    linear-gradient(45deg, transparent 48%, rgba(0,200,150,0.1) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(0,200,150,0.1) 50%, transparent 52%);
  background-size: 30px 30px;
}

/* ===== 产品卡片 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4a5a 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 4px;
}
.product-card:nth-child(2) .product-img { background: linear-gradient(135deg, #1a3a5c 0%, #0d5a4a 100%); }
.product-card:nth-child(3) .product-img { background: linear-gradient(135deg, #2a1a5c 0%, #0d4a5a 100%); }

.product-body { padding: 28px; }
.product-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.product-body .tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 200, 150, 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.product-body p { color: var(--text-sec); font-size: 14px; line-height: 1.7; }
.product-body .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-dark);
}
.product-body .learn-more::after { content: '→'; transition: transform var(--transition); }
.product-body:hover .learn-more::after { transform: translateX(4px); }

/* ===== 数据统计 ===== */
.stats-bar {
  background: var(--primary);
  color: #fff;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 32px; }

/* ===== 页脚 ===== */
.footer {
  background: #081a2a;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 内部页面 Banner ===== */
.page-banner {
  margin-top: 68px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.page-banner h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-banner p { color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.page-banner .breadcrumb {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.page-banner .breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-banner .breadcrumb a:hover { color: var(--accent); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.contact-info .info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .info-icon {
  width: 44px; height: 44px;
  background: rgba(0, 200, 150, 0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
  font-size: 20px;
}
.contact-info h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.contact-info p { color: var(--text-sec); font-size: 14px; }

.contact-form {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: var(--radius);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== 解决方案详情 ===== */
.solution-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution-feature {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.solution-feature:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.solution-feature h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.solution-feature h3::before {
  content: '';
  width: 6px; height: 20px;
  background: var(--accent);
  border-radius: 3px;
}
.solution-feature p { color: var(--text-sec); font-size: 14px; line-height: 1.7; }

/* ===== About 页 ===== */
.about-intro { font-size: 17px; line-height: 2; color: var(--text-sec); }
.milestone {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.milestone-item {
  position: relative;
  padding: 28px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.milestone-year {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.milestone-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.milestone-item p { font-size: 14px; color: var(--text-sec); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }

  .highlights-grid,
  .products-grid { grid-template-columns: 1fr; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid { grid-template-columns: 1fr; }

  .solution-features,
  .milestone { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  section { padding: 56px 0; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== 解决方案配图 ===== */
.solution-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(13, 33, 55, .14);
}
@media (max-width: 768px) {
  .solution-visual { order: -1; }
}

/* ===== 关节模组产品图集 ===== */
.joint-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.joint-item {
  background: #ffffff;
  border: 1px solid #e6ebf1;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(13, 33, 55, .06);
}
.joint-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.joint-item span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
@media (max-width: 768px) {
  .joint-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .joint-item { padding: 8px; }
  .joint-item img { height: 120px; }
  .joint-item span { font-size: 12px; }
}
