/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #714DFF;
  --primary-light: #F4F1FF;
  --primary-dark: #6D4DF2;
  --text-primary: #181D27;
  --text-secondary: #535862;
  --text-tertiary: #9497A1;
  --background: #FFFFFF;
  --background-secondary: rgba(245, 245, 245, 0.5);
  --border: #E5E7EB;
  --border-light: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 导航栏样式 */
.navbar {
  position: sticky;
  top: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  height: 32px;
}

.logo-text {
  height: 20px;
}

.menu {
  display: flex;
  gap: 40px;
}

.menu-item {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s;
}

.menu-item:hover {
  color: var(--text-primary);
}

.menu-item.active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
}

.icon-button:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.primary-button {
  background: transparent;
  color: var(--background);
  border: none;
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.secondary-button {
  background: #FFFFFF;
  color: #714DFF;
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-button:hover {
  background: var(--primary-light);
}


.services-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: start;
  background: url('/assets/products-bg.png') no-repeat center center;
  background-position: 90% center;
}

.services-header {
  background-color: #f4f1ff;
  padding: 64px 0;
  text-align: center;
}

.services-header h1 {
  color: #714DFF;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5%;
  margin-bottom: 16px;
  max-width: 675px;
}

.services-header p {
  font-size: 16px;
  font-weight: 300;
  color: #714DFF;
  max-width: 675px;
}

/* 核心能力概览样式 */
.capabilities-overview {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 20px;
  color: var(--text-secondary);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.capability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 16px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.capability-card:hover {
  transform: translateY(-8px);
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  background: #F4EBFF;
  border: 8px solid #F9F5FF;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.capability-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.capability-card p {
  font-size: 16px;
  color: var(--text-tertiary);
}

/* 详细服务介绍样式 */
.services-detail {
  padding: 80px 0;
  background: var(--background-secondary);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
}

.service-item.reverse {
  background: var(--background);
}

.service-item.reverse .service-content {
  order: 2;
}

.service-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(113, 77, 255, 0.1);
  border: 2px solid var(--background);
  border-radius: 21px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-content h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-content>p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  position: absolute;
  left: 16px;
  top: 24px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  padding-left: 24px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-tertiary);
  padding-left: 24px;
}

.service-image {
  overflow: hidden;
  border-radius: 12px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-image img:hover {
  transform: scale(1.05);
}

/* 技术支持团队样式 */
.support-team {
  padding: 60px 0;
  background-color: #6D4DF2;
  text-align: center;
  color: var(--bg-primary);
  position: relative;
  height: 274px;
  overflow: hidden;
}

.vision-img {
  background: url(../assets/vision-bg.jpg) no-repeat center bottom -100px / cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.1;
  z-index: 0;
}

.support-content {
  position: relative;
  z-index: 2;
  max-width: 768px;
  margin: 0 auto;
}

.support-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--background);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.support-content p {
  font-size: 14px;
  color: var(--background);
  margin-bottom: 24px;
}

.support-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* 页脚样式 */
.footer {
  background: var(--background-secondary);
  padding-top: 64px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copyright {
  font-size: 16px;
  color: #717680;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0;
  }

  .service-item.reverse .service-content {
    order: 0;
  }

  .service-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .nav-actions {
    gap: 12px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .primary-button,
  .secondary-button {
    padding: 10px 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}


/* 愿景区域 */
.vision {
  background-color: #6D4DF2;
  text-align: center;
  color: var(--bg-primary);
  position: relative;
  height: 274px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.vision-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 60px;
}

.vision-description {
  font-size: 14px;
  line-height: 1.571;
}

.vision-img {
  background: url(../assets/vision-bg.jpg) no-repeat center bottom -100px / cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.1;
  z-index: 0;
}