:root {
  --bg: #FDF6E3; /* 浅米黄，作为亮色背景 */
  --surface: #F5EFE0; /* 浅灰褐，次级背景 */
  --surface-alt: #EBE4D4; /* 更浅的灰褐 */
  --text: #333333; /* 深墨色，文字 */
  --muted: #666666; /* 柔和的灰色，次要文字 */
  --primary: #A0522D; /* 赭石红，主色调 */
  --accent: #DAA520; /* 金色，强调色 */
  --card: #FFFFFF; /* 卡片背景，白色 */
  --border: #D4C8B0; /* 边框，浅灰褐 */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "KaiTi", "SimSun", serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(253,246,227,0.9), rgba(253,246,227,0.5) 60%, rgba(253,246,227,0));
  border-bottom: 1px solid rgba(218,165,32,0.08); /* 使用金色作为边框的淡化色 */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--accent);
  font-size: 18px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, var(--accent), transparent 60%), radial-gradient(circle at 80% 80%, var(--primary), transparent 55%), var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  margin-right: 8px;
}

.logo-initial {
  font-size: 18px;
  color: var(--text); /* 确保在亮色背景下可见 */
}

.logo-text {
  font-size: 16px;
  color: var(--text);
}

.menu a {
  margin-left: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.2s ease;
  color: var(--muted);
}

.menu a.active {
  color: var(--text);
  background: rgba(218,165,32,0.25); /* 使用金色作为高亮背景的淡化色 */
}

.menu a:hover {
  color: var(--text);
  background: rgba(218,165,32,0.12); /* 使用金色作为高亮背景的淡化色 */
}

.hero {
  background:
    radial-gradient(1000px 380px at 10% 10%, rgba(160,82,45,0.1), transparent 60%), /* 使用赭石红 */
    radial-gradient(900px 320px at 80% 0%, rgba(218,165,32,0.12), transparent 60%), /* 使用金色 */
    linear-gradient(180deg, var(--surface), var(--bg) 50%, var(--bg));
  padding: 96px 0 72px;
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
}

.hero-sub {
  padding: 80px 0 56px;
  background:
    radial-gradient(800px 260px at 10% 0%, rgba(160,82,45,0.15), transparent 60%), /* 使用赭石红 */
    linear-gradient(180deg, var(--surface), var(--bg) 60%);
}

.hero-sub-inner {
  max-width: 720px;
}

.subtitle {
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

.cta {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--text); /* 确保在亮色背景下有良好对比度 */
  font-weight: 600;
  transition: transform 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
}

h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(218,165,32,0.1); /* 使用金色淡化背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent); /* 图标填充色 */
}

.case {
  background:
    linear-gradient(180deg, rgba(160,82,45,0.08), rgba(0,0,0,0) 40%), /* 使用赭石红 */
    var(--card);
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.label {
  color: var(--muted);
  font-size: 13px;
}

.value {
  margin-top: 6px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  
  .steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
    position: relative;
    padding-left: 20px;
  }
  
  .steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
  }
  
  .step {
    position: relative;
  }
  
  .step-index {
    position: absolute;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg);
  }
  
  .step-body {
    margin-left: 30px;
  }
  
  .step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .step-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
  }
  
  @media (max-width: 960px) {
    .grid {
      grid-template-columns: 1fr 1fr;
    }
    .contact {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .menu {
      display: none;
    }
    .hero h1 {
      font-size: 28px;
    }
    .subtitle {
      font-size: 14px;
    }
    .grid {
      grid-template-columns: 1fr;
    }
    .steps {
      padding-left: 0;
    }
    .steps::before {
      left: 18px;
    }
    .step-index {
      left: 0;
    }
    .step-body {
      margin-left: 50px;
    }
  }
  
  html {
    scroll-behavior: smooth;
  }
