/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
nav {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo h1 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
}

.logo p {
  color: #64748b;
  font-size: 14px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #14b8a6;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #0f172a;
  cursor: pointer;
}

/* Hero 区域 */
.hero {
  background-color: #f8fafc;
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #0f172a;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #14b8a6;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
}

/* 通用部分样式 */
section {
  padding: 100px 0;
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #14b8a6;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* 关于我们 */
.about {
  background-color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 20px;
}

/* 服务区域 */
.services {
  background-color: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: #f0fdfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 32px;
  color: #14b8a6;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* 核心优势 */
.advantages {
  background-color: #fff;
}

.advantage-section {
  margin-bottom: 60px;
}

.advantage-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.advantage-number {
  font-size: 36px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1;
}

.advantage-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
}

.advantage-content p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
}

.advantage-image {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.advantage-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.ai-tool-item {
  background-color: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ai-tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ai-tool-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .ai-tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .advantage-header h3 {
    font-size: 20px;
  }
}

/* 客户案例 */
.cases {
  background-color: #f8fafc;
}

.cases-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.case-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.case-content {
  padding: 30px;
}

.case-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
}

.case-content p {
  font-size: 14px;
  color: #14b8a6;
  font-weight: 500;
}

/* 宣传册 */
.brochure {
  background-color: #f8fafc;
}

.brochure-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.brochure-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brochure-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.brochure-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brochure-item:hover img {
  transform: scale(1.05);
}

.brochure-item {
  overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .brochure-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* 联系区域 */
.contact {
  background-color: #fff;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item i {
  font-size: 24px;
  color: #14b8a6;
  margin-top: 4px;
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 14px;
  color: #64748b;
}

/* 页脚 */
.footer {
  background-color: #0f172a;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

.footer p {
  font-size: 14px;
}

.footer .beian {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
    text-align: center;
  }

  section {
    padding: 80px 0;
  }

  section h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    flex: 0 0 250px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }
}
