* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans SC', sans-serif;
}

:root {
  --primary: #1A1A1A;       /* 深灰主色调 */
  --secondary: #FFD700;     /* 金色辅助色 */
  --accent: #4CAF50;        /* 绿色强调色 */
  --light: #F5F5F5;         /* 浅灰背景 */
  --dark: #0F0F0F;          /* 纯黑边框 */
}

body {
  background: var(--light);
  color: var(--primary);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5rem;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* 移除链接悬停时的下划线样式 */
.nav-links a::after {
  display: none;
}

.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), 
              url('hero-bg-industrial.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem; /* 减小元素间距 */
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 0.5rem; /* 减小标题与描述的间距 */
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 0.3rem; /* 减小描述与按钮的间距 */
}

.btn {
  background: var(--secondary);
  color: var(--dark);
  padding: 1rem 3rem; /* 微调按钮尺寸 */
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 0.8rem !important; /* 调整为一行文字的高度 */
  position: relative;
  z-index: 10;
}

.btn:hover {
  background: #FFB300;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
  transform: translateY(-3px);
}

.dark-section {
  background: var(--primary);
  color: white;
  padding: 8rem 0;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
}

.section-title span {
  color: var(--secondary);
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
}

.advantage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.advantage-card {
  background: rgba(255,255,255,0.05);
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.advantage-card:hover {
  transform: translateY(-10px);
}

.advantage-card .icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.process-gallery,
.model-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.process-card,
.model-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.process-card:hover,
.model-item:hover {
  transform: translateY(-10px);
}

.card-content,
.model-overlay {
  padding: 2rem;
  text-align: left;
  background: white;
  color: var(--primary);
}

.model-overlay {
  position: relative;
}

.process-card img,
.model-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s;
}

.model-overlay h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.model-overlay p {
  color: #64748B;
  font-size: 0.9rem;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  margin: 1rem 0;
  border: 1px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
  margin-top: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
  font-size: 1.1rem;
}

.info-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.qr-code-item {
  text-align: center;
  padding: 2.5rem;
}

.qr-code-item img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

footer {
  background: var(--dark);
  color: white;
  padding: 5rem 0;
  font-size: 0.9rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

/* 移除 footer 链接悬停时的下划线样式 */
.footer-links a::after {
  display: none;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .container {
    padding: 0 2rem;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    margin-top: 0.6rem !important; /* 移动端进一步减小间距 */
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
  }

  .process-gallery,
  .model-gallery {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.5rem;
  }
}