:root {
  --background: #f8f8f8;
  --text: #1a1a1a;
  --accent: #3a3a3a;
  --hover: #2a2a2a;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  height: 100vh;
  overflow: hidden;
}

.main-container {
  min-height: 100vh;
  background: var(--background);
}

/* 内容区域样式 */
.content-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem;
  height: 100vh;
}

/* 内容包装器样式 */
.content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  height: calc(100vh - 120px); /* 减去导航的高度 */
  align-items: center;
}

/* 左侧区域 */
.left-section {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 导航栏样式 */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.3s var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: 1rem; /* 保持原有大小，可以根据需要调整 */
  letter-spacing: -0.05em; /* 调整字母间距，使其更接近hero标题的风格 */
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #333; /* 假设这是链接的默认颜色 */
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #333; /* 使用与文字相同的颜色 */
  transition: width 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7; /* 轻微降低不透明度 */
}

.nav-links a:hover::after {
  width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
}

/* 英雄区域样式 */
.hero-content {
  padding-right: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
}

.hero-title .line {
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.7;
  max-width: 500px;
  margin-top: 2rem;
}

/* 右侧产品展示 */
.right-section {
  padding: 4rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 产品列表样式 */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all 0.3s var(--transition);
  padding: 1.5rem;
  border-radius: 16px;
  text-decoration: none; /* 移除下划线 */
  color: inherit; /* 继承文本颜色 */
}

.product-item:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 产品图标样式优化 */
.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--background);
}

.product-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* 为每个产品设置独特的背景 */
.product-item:nth-child(1) .product-icon {
  background: rgba(255, 107, 107, 0.1);
}

.product-item:nth-child(2) .product-icon {
  background: rgba(78, 205, 196, 0.1);
}

.product-item:nth-child(3) .product-icon {
  background: rgba(108, 92, 231, 0.1);
}

/* 产品信息样式优化 */
.product-info h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.product-info p {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.4;
  color: var(--text);
}

/* 添加微妙的光效 */
.product-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: transform 0.6s var(--transition);
}

.product-item:hover .product-icon::after {
  transform: rotate(45deg) translate(50%, 50%);
}

/* 自定义光标 */
.cursor {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: transform 0.2s var(--transition);
}

.cursor.hover {
  transform: scale(2);
}

/* 响应式计 */
@media (max-width: 768px) {
  .hero {
    padding: 0 5vw;
  }
  
  .products {
    padding: 5vw;
  }
  
  .navigation {
    padding: 1rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}

/* 动画 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    height: auto;
  }

  .hero-content {
    padding-right: 0;
  }

  .content-section {
    height: auto;
    padding: 2rem;
  }
}

/* 在现有样式基础上添加或更新 */

/* 内容页面特定样式 */
.privacy-content,
.contact-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

.text-content {
  max-width: 800px;
}

.text-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.text-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.8;
}

.text-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: var(--text);
  opacity: 0.8;
}

/* 面包屑导航 */
.breadcrum {
  margin-bottom: 2rem;
}

.breadcrum a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s var(--transition);
}

.breadcrum a:hover {
  opacity: 1;
}

/* 联系页面特定样式 */
.contact-info {
  max-width: 600px;
}

.contact-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  background: var(--background);
  transition: all 0.3s var(--transition);
}

.contact-link:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .privacy-content,
  .contact-content {
    padding: 1.5rem;
    max-height: none;
  }
}
