/* tools_index.css - 工具频道专属样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f8f4ed; /* 米白纸色 */
  color: #333;
  line-height: 1.7;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
}

/* === 标题 === */
h1 {
  font-size: 3.6rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: #2c1e18;
  margin-bottom: 24px;
  font-family: "STKaiti", "KaiTi", serif;
}

/* === 核心句 === */
.core {
  font-size: 1.4rem;
  color: #5d4037;
  margin-bottom: 20px;
  font-family: "STKaiti", "KaiTi", serif;
}

/* === 副句 === */
.sub {
  font-size: 1.1rem;
  color: #795548;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* === 功能区 === */
.feature {
  margin: 40px 0;
  padding: 0 20px;
}

.feature h2 {
  font-size: 1.5rem;
  color: #4e342e;
  margin-bottom: 20px;
  font-family: "STKaiti", "KaiTi", serif;
}

.desc {
  font-size: 1.1rem;
  margin: 16px 0;
  color: #5d4037;
}

.desc strong {
  color: #4e342e;
}

/* === 小程序码 === */
.qrcode-section {
  margin: 50px 0;
}

.qrcode-section h3 {
  font-size: 1.2rem;
  color: #795548;
  margin-bottom: 20px;
}

.qrcode {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 0 auto;
  display: block;
}

.qrcode-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #8d6e63;
}

/* === 返回主页 === */
.back_home {
  margin-top: 30px;
}

.back_home a {
  color: #8d6e63;
  text-decoration: none;
  font-size: 0.95rem;
}

.back_home a:hover {
  text-decoration: underline;
}

/* === 页脚 === */
.footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #d7ccc8;
  font-size: 0.9rem;
  color: #8d6e63;
  text-align: center;
}

.footer a {
  color: #8d6e63;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* === 响应式 === */
@media (max-width: 600px) {
  h1 { font-size: 2.8rem; }
  .core { font-size: 1.2rem; }
  .sub { font-size: 1rem; }
  .qrcode {
    width: 160px;
    height: 160px;
  }
}