/* ===== CSS变量定义 ===== */
:root {
  /* 主色调 - 柔和茱萸粉 */
  --primary-100: #F5E9E6;
  --primary-500: #D8AFA3;
  --primary-700: #B58D81;
  
  /* 中性色 */
  --neutral-0: #FDFBFA;
  --neutral-100: #FFFFFF;
  --neutral-500: #797573;
  --neutral-900: #1E1C1B;
  
  /* 点缀色 - 金色 */
  --accent-gold: #C9A877;
  
  /* 语义色 */
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  
  /* 间距令牌 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  
  /* 字体 */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  /* 阴影 */
  --shadow-card: 0 8px 32px rgba(181, 141, 129, 0.1);
  --shadow-card-hover: 0 12px 40px rgba(181, 141, 129, 0.15);
  --shadow-input: 0 0 0 3px rgba(216, 175, 163, 0.2);
  
  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* 动画 */
  --transition-fast: 300ms ease-out;
  --transition-normal: 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== 重置和基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--neutral-900);
  background-color: var(--neutral-0);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: 61px; }
h2 { font-size: 49px; }
h3 { font-size: 39px; font-weight: 600; }
h4 { font-size: 31px; font-weight: 600; }

p {
  margin-bottom: var(--space-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== 按钮样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  height: 56px;
  padding: 0 var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-500);
  color: var(--neutral-100);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--neutral-100);
  color: var(--neutral-900);
  border: 1px solid var(--primary-100);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-500);
  border: 1px solid var(--primary-500);
}

.btn-outline:hover {
  background-color: var(--primary-500);
  color: var(--neutral-100);
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(253, 251, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 175, 163, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0;
}

.nav-logo span {
  font-size: 12px;
  color: var(--neutral-500);
  font-weight: 500;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-900);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-btn {
  background: none;
  border: none;
  color: var(--neutral-500);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--primary-100);
  color: var(--primary-500);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--neutral-900);
  transition: var(--transition-fast);
}

/* ===== 页面头部 ===== */
.page-header {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--neutral-0) 100%);
}

.page-title {
  font-size: 61px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.page-subtitle {
  font-size: 18px;
  color: var(--neutral-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 英雄区块 ===== */
.hero {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--neutral-0) 0%, var(--primary-100) 100%);
}

.hero-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-title {
  font-size: 61px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--neutral-900);
}

.hero-description {
  font-size: 18px;
  color: var(--neutral-500);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.floating-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.card-1 {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.card-2 {
  top: 50%;
  right: 10%;
  animation: float 6s ease-in-out infinite 2s;
}

.card-3 {
  bottom: 20%;
  left: 30%;
  animation: float 6s ease-in-out infinite 4s;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--neutral-900);
}

.card-content p {
  font-size: 14px;
  color: var(--neutral-500);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== 区块通用样式 ===== */
section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 49px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 18px;
  color: var(--neutral-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ===== 产品分类 ===== */
.categories {
  background-color: var(--neutral-100);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.category-card {
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid rgba(216, 175, 163, 0.1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-500);
}

.category-icon {
  color: var(--primary-500);
  margin-bottom: var(--space-md);
}

.category-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.category-card p {
  color: var(--neutral-500);
  margin-bottom: var(--space-md);
}

.category-arrow {
  color: var(--primary-500);
  font-size: 20px;
  font-weight: 600;
}

/* ===== 产品网格 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

/* 首页精选产品仅显示 6 个，并优化栅格 */
.featured-products .products-grid {
  grid-template-columns: repeat(3, 1fr);
}
.featured-products .product-card:nth-child(n+7) {
  display: none;
}

.product-card {
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.product-image {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.image-placeholder {
  color: var(--neutral-500);
  text-align: center;
}

.product-info {
  padding: var(--space-lg);
}

.product-category {
  font-size: 12px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-spec {
  font-size: 14px;
  color: var(--primary-500);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

/* ===== 品牌故事 ===== */
.brand-story {
  background: var(--neutral-100);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story-text .section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.story-description {
  font-size: 18px;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.story-points {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.story-points li {
  font-size: 16px;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  position: relative;
}

.story-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-500);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 14px;
  color: var(--neutral-500);
  margin-top: var(--space-xs);
}

/* ===== 联系我们页面样式 ===== */
.contact-info {
  background: var(--neutral-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.contact-card {
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.contact-icon {
  color: var(--primary-500);
  margin-bottom: var(--space-md);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.contact-card p {
  font-size: 16px;
  color: var(--neutral-900);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.contact-card span {
  font-size: 14px;
  color: var(--neutral-500);
}

/* ===== 联系表单 ===== */
.contact-form-section {
  background: var(--neutral-0);
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.form-content h2 {
  font-size: 39px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.form-content p {
  color: var(--neutral-500);
  margin-bottom: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  height: 56px;
  padding: 0 var(--space-md);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  font-size: 16px;
  background: var(--neutral-100);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: var(--shadow-input);
}

.form-group textarea {
  height: auto;
  resize: vertical;
  padding: var(--space-md);
}

.form-actions {
  margin-top: var(--space-md);
}

/* ===== FAQ样式 ===== */
.faq-section {
  background: var(--neutral-100);
}

.faq-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--neutral-0);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--primary-100);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-500);
  transition: var(--transition-fast);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: none;
}

.faq-answer p {
  color: var(--neutral-500);
  line-height: 1.6;
  margin: 0;
}

/* ===== 产品列表页面样式 ===== */
.product-controls {
  background: var(--neutral-100);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(216, 175, 163, 0.1);
}

.controls-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: center;
}

.search-box {
  position: relative;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-500);
}

.search-box input {
  width: 100%;
  height: 56px;
  padding-left: calc(var(--space-md) + 24px);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  font-size: 16px;
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: var(--shadow-input);
}

.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-tab {
  height: 44px;
  padding: 0 var(--space-lg);
  border: 1px solid var(--primary-100);
  border-radius: 22px;
  background: var(--neutral-100);
  color: var(--neutral-500);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-tab:hover {
  background: var(--primary-100);
}

.filter-tab.active {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--neutral-100);
}

.products-section {
  padding: var(--space-3xl) 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.products-count {
  font-size: 16px;
  color: var(--neutral-500);
}

.products-count strong {
  color: var(--primary-500);
}

.sort-section {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sort-section label {
  font-size: 14px;
  color: var(--neutral-500);
}

.sort-section select {
  height: 40px;
  padding: 0 var(--space-sm);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  background: var(--neutral-100);
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: var(--space-4xl);
  color: var(--neutral-500);
}

.no-results-icon {
  color: var(--neutral-500);
  margin-bottom: var(--space-lg);
}

.no-results h3 {
  font-size: 24px;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

/* ===== 产品详情页面样式 ===== */
.breadcrumb {
  background: var(--neutral-100);
  padding: calc(80px + var(--space-lg)) 0 var(--space-md);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
}

.breadcrumb-nav a {
  color: var(--neutral-500);
}

.breadcrumb-nav a:hover {
  color: var(--primary-500);
}

.breadcrumb-separator {
  color: var(--neutral-500);
}

#breadcrumb-current {
  color: var(--neutral-900);
  font-weight: 500;
}

.product-detail {
  padding: var(--space-3xl) 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.product-images .main-image {
  position: relative;
  width: 100%;
  height: 500px;
  background: var(--primary-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-images .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder-large {
  color: var(--neutral-500);
  text-align: center;
}

.image-placeholder-large p {
  margin-top: var(--space-sm);
  font-size: 14px;
}

.product-header {
  margin-bottom: var(--space-xl);
}

.product-category {
  font-size: 14px;
  color: var(--primary-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.product-title {
  font-size: 49px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.2;
  margin: 0;
}

.product-specs {
  margin-bottom: var(--space-xl);
}

.spec-item {
  display: flex;
  margin-bottom: var(--space-sm);
}

.spec-label {
  font-weight: 600;
  color: var(--neutral-900);
  margin-right: var(--space-sm);
}

.spec-value {
  color: var(--neutral-500);
}

.product-description,
.product-features {
  margin-bottom: var(--space-xl);
}

.product-description h3,
.product-features h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.product-description p {
  color: var(--neutral-500);
  line-height: 1.7;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  color: var(--neutral-500);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
}

.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-share h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.share-buttons {
  display: flex;
  gap: var(--space-sm);
}

.share-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  background: var(--neutral-100);
  color: var(--neutral-500);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.share-btn:hover {
  background: var(--primary-100);
  color: var(--primary-500);
}

.related-products {
  background: var(--neutral-100);
  padding: var(--space-4xl) 0;
}

.related-products .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

/* ===== 关于我们页面样式 ===== */
.brand-values {
  background: var(--neutral-100);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  color: var(--primary-500);
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--neutral-500);
  line-height: 1.6;
  margin: 0;
}

.team-section {
  background: var(--neutral-0);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.team-member {
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.member-photo {
  margin-bottom: var(--space-md);
}

.member-photo .image-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-xs);
}

.member-position {
  color: var(--primary-500);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.member-description {
  color: var(--neutral-500);
  line-height: 1.6;
  margin: 0;
}

.timeline-section {
  background: var(--neutral-100);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-500);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

.timeline-year {
  width: 80px;
  height: 80px;
  background: var(--primary-500);
  color: var(--neutral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding: 0 var(--space-xl);
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  color: var(--neutral-500);
  line-height: 1.6;
  margin: 0;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-500);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--neutral-100);
  margin-bottom: var(--space-sm);
}

.footer-logo p {
  color: var(--primary-500);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-section h4 {
  color: var(--neutral-100);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

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

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--neutral-500);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-500);
}

.footer-bottom {
  border-top: 1px solid rgba(121, 117, 115, 0.3);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  margin: 0;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .hero-container,
  .story-content,
  .form-wrapper,
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }
  
  .timeline-item .timeline-content {
    text-align: left !important;
  }
  
  .timeline-year {
    position: absolute;
    left: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-products .products-grid {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 40px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .controls-grid {
    grid-template-columns: 1fr;
  }
  
  .products-header {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  
  .sort-section {
    justify-content: space-between;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-card {
    position: static;
    margin-bottom: var(--space-md);
    animation: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .hero {
    padding-top: calc(80px + var(--space-xl));
  }
}

/* ===== 工具类和动画 ===== */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== 打印样式 ===== */
@media print {
  .navbar,
  .hero-actions,
  .product-actions,
  .share-buttons,
  .footer {
    display: none;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
