/* 驼旅在线 - 主样式 */
:root {
  --primary: #c17817;
  --primary-dark: #9e5f12;
  --bg: #faf9f6;
  --card-bg: #fff;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --border: #e8e4df;
  --radius: 10px;
  --shadow: 0 1px 4px rgba(0,0,0,0.06);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* 导航 */
nav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--text-light);
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  text-decoration: none;
  border-bottom-color: var(--primary);
}

/* 主容器 */
.container { max-width: 960px; margin: 0 auto; padding: 20px; }

/* 英雄区 */
.hero {
  text-align: center;
  padding: 48px 20px 32px;
}
.hero h1 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.hero .tagline {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
}
.brands {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.brand-badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  text-align: center;
  min-width: 120px;
  box-shadow: var(--shadow);
}
.brand-badge .icon { font-size: 28px; display: block; margin-bottom: 4px; }
.brand-badge .name { font-size: 14px; font-weight: 600; color: var(--text); }
.brand-badge .desc { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* 卡片 */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card h2 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h2 .emoji { font-size: 22px; }
.card p { font-size: 14px; color: var(--text-light); margin: 4px 0; }
.card .meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* 文章列表 */
.article-list { list-style: none; }
.article-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-list li:last-child { border-bottom: none; }
.article-list .title { font-size: 15px; font-weight: 500; }
.article-list .date { font-size: 12px; color: var(--text-muted); white-space: nowrap; margin-left: 12px; }

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.product-card .name { font-weight: 600; font-size: 16px; color: var(--text); }
.product-card .price { color: var(--primary); font-size: 20px; font-weight: 700; margin: 8px 0; }
.product-card .desc { font-size: 13px; color: var(--text-light); }
.product-card .btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 20px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 10px;
  transition: background 0.15s;
}
.product-card .btn:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

/* 页脚 */
footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

/* Grid 布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .hero h1 { font-size: 22px; }
}

/* 时间线 */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding: 8px 0 16px 16px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.timeline-item .date { font-size: 12px; color: var(--text-muted); }
.timeline-item .content { font-size: 14px; color: var(--text); }
