/* 设计令牌 */
:root {
  --color-primary: #000000;
  --color-secondary: #ffffff;
  --color-accent: #808080;
  --color-dark-blue: #1a365d;
  --color-camel: #c19a6b;
  --font-family: 'PingFang SC', 'Helvetica Neue', sans-serif;
}

/* 全局样式 */
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  line-height: 1.6;
}

/* 导航栏样式 */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-accent);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-dark-blue);
}

/* 英雄区域 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 100;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--color-secondary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 内容区域 */
.content {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  text-align: center;
  margin-bottom: 4rem;
}

.intro h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.intro p {
  font-size: 1.1rem;
  color: var(--color-accent);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.explore-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

/* 预览网格 */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.preview-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.preview-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.preview-item:hover .preview-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.preview-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }
  
  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .intro h2 {
    font-size: 2rem;
  }
  
  .preview-grid {
    grid-template-columns: 1fr;
  }
}