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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  position: relative;
  /* 新增：为logo绝对定位提供参考 */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-left: 122px;
  /* 新增：为左侧logo预留空间（55+67） */
}

.header-left {
  display: flex;
  align-items: center;
}

/* 调整logo样式 */
.logo-wrapper {
  /* 新增：logo外层容器 */
  position: absolute;
  left: 1rem;
  /* 与container的padding保持一致 */
  top: 50%;
  transform: translateY(-50%);
  /* 垂直居中 */
  display: flex;
  align-items: center;
}

.logo {
  height: auto;
  width: 55px;
  object-fit: contain;
}

.logo2 {
  height: auto;
  width: 67px;
  object-fit: contain;
}

.logo-lenovo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #111827;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language {
  font-size: 0.875rem;
  color: #6b7280;
}

.icon {
  width: 20px;
  height: 20px;
  color: #6b7280;
  cursor: pointer;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  background: #001449;
  /* 黄色背景 */
  color: #fff;
  /* 文字保持白色 */
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 分为两列，文字和图片各占一半 */
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-image {
  justify-self: end;
  /* 图片靠右对齐 */
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  /* 可选：添加图片圆角 */
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.btn-outline:hover {
  background: #eff6ff;
}

.btn-outline-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}

/* Products Section */
.products {
  padding: 4rem 0;
}

.container {
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.875rem;
  color: #000000;
  margin: 0;
}

/* 左右布局样式 */
.products-layout {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.products-image {
  flex: 1;
}

/* 产品主图样式 */
.main-product-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  max-width: 600px;
  object-fit: cover;
}

.products-content {
  flex: 1;
}

.info-card {
  margin-top: 1.5rem;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 400px;
}

.info-card h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  margin-top: 0;
}

.info-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* 按钮样式 */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: #fff;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.icon-shape img {
  display: block;
  margin: 0 auto;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-link {
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Customers Section */
.customers {
  padding: 4rem 0;
  height: 800px;
  position: relative;
  overflow: hidden;
  /* 隐藏溢出内容 */
}

/* 添加全屏背景图片 */
.customers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('public/world-map.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.customers .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 标题居中 */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.875rem;
  font-weight: bold;
  color: #111827;
}


/* 滚动容器样式 */
.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 60px;
}

/* 客户标识滚动样式 */
.customer-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
  width: max-content;
  height: 100%;
}

.customer-logo {
  color: #6b7280;
  font-size: 1.125rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 1rem;
}

/* 按钮样式 */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}




/* Case Studies Section */
.case-studies {
  padding: 4rem 0;
  background: #fff;
}

.section-border-title {
  border-left: 4px solid #111827;
  padding-left: 1rem;
  margin-bottom: 3rem;
}

.section-border-title h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
}

.case-studies-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.case-card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.case-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.case-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-content {
  padding: 1.5rem;
}

.case-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.case-content p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.case-link {
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

/* News Section */
.news-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card-large {
  display: flex;
  width: 100%;
  max-width: 1500px;
}

.news-card-large img {
  width: 40%;
  /* Increased from 25% to 40% to show full image */
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.news-content p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-grid {
  display: grid;
  gap: 2rem;
}

/* Footer */
.footer {
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.logo-sap-footer {
  color: #0066cc;
  font-weight: 700;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.contact-hint {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-link {
  color: #0066cc;
  text-decoration: underline;
}

.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-action-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-icon {
  width: 20px;
  height: 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #0066cc;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 96px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s;
}

.social-link:hover {
  color: #111827;
}


/* Added floating contact button styles */
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transition: all 0.3s;
  z-index: 1000;
}

.floating-contact-btn:hover {
  background: #0052a3;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
  transform: translateY(-2px);
}

.floating-icon {
  width: 24px;
  height: 24px;
}

/* Added contact modal styles */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-content {
  background: white;
  border-radius: 0.5rem;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

.contact-modal-header {
  background: #0066cc;
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-country {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.modal-phone {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modal-hint {
  font-size: 0.875rem;
  opacity: 0.9;
}

.modal-link {
  color: white;
  text-decoration: underline;
}

.contact-modal-body {
  padding: 1.5rem;
}

.contact-option {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option-icon {
  flex-shrink: 0;
  color: #0066cc;
}

.contact-option-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.contact-option-content p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.qr-code {
  width: 120px;
  height: 120px;
  margin-top: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    padding: 6rem 0;
  }

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

  .hero-title {
    font-size: 3rem;
  }

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

  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

.case-studies-gr {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
    margin-left: 16rem;
    margin-right: 16rem;
}
    

  .news-card-large {
    flex-direction: row;
  }

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

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 300px 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-copyright {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}