/* AI号库 · xwzhj.com */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
  background: #f6f5fc; color: #1e1b33; -webkit-font-smoothing: antialiased;
}
a { color: #6d3af0; text-decoration: none; }
a:hover { opacity: .85; }

/* 顶部导航 */
.nav {
  background: linear-gradient(90deg, #201a44, #6d3af0);
  padding: 0 20px; height: 62px; display: flex; align-items: center;
  justify-content: space-between; color: #fff; position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 14px rgba(33, 20, 80, .25);
}
.nav .brand { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .4px; display: flex; align-items: baseline; gap: 8px; }
.nav .brand-tag { font-size: 11.5px; font-weight: 600; color: #c9b8ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 2px 8px; border-radius: 10px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: #ddd2ff; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 22px 16px 46px; }

/* 首页 hero */
.hero {
  background: linear-gradient(120deg, #201a44, #6d3af0 70%);
  border-radius: 18px; padding: 38px 32px; color: #fff; margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(33, 20, 80, .2);
}
.hero h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.25; letter-spacing: .3px; }
.hero p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.7; color: #ded6ff; max-width: 720px; }
.hero-tags { display: flex; gap: 9px; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  padding: 5px 13px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
}

/* 卖点条 */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 26px; }
.feat {
  background: #fff; border-radius: 13px; padding: 15px 16px;
  box-shadow: 0 4px 16px rgba(64, 45, 120, .07);
}
.feat h3 { margin: 0 0 6px; font-size: 14px; color: #241d47; }
.feat p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #6f6a88; }

/* 板块标题 */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { margin: 0; font-size: 19px; color: #241d47; }
.sec-head .more { font-size: 13px; font-weight: 600; }

/* 分类卡片 */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-card {
  background: #fff; border-radius: 15px; padding: 18px; display: block;
  box-shadow: 0 4px 16px rgba(64, 45, 120, .07); transition: .18s;
  border: 1px solid transparent;
}
.cat-card:hover { box-shadow: 0 10px 26px rgba(64, 45, 120, .15); transform: translateY(-2px); border-color: #e0d6ff; }
.cat-card h3 { margin: 0 0 7px; font-size: 15.5px; color: #241d47; }
.cat-card p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.6; color: #6f6a88; }
.cat-card .cc-link { font-size: 13px; font-weight: 700; color: #6d3af0; }
.cat-card .cc-badge {
  display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700;
  color: #6d3af0; background: #efeaff; padding: 1px 7px; border-radius: 8px; vertical-align: middle;
}

/* 商品列表 */
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.item {
  background: #fff; border-radius: 14px; padding: 15px; display: flex; gap: 13px;
  box-shadow: 0 4px 16px rgba(64, 45, 120, .07); transition: .18s;
}
.item:hover { box-shadow: 0 8px 24px rgba(64, 45, 120, .14); transform: translateY(-1px); }
.item .icon {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  background: #efeaff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; font-weight: 700; color: #241d47; }
.item .desc { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: #6f6a88; }
.item .bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: #dc2648; font-weight: 800; font-size: 16.5px; }
.price small { font-size: 11.5px; font-weight: 600; color: #96a0b5; margin-left: 4px; }
.stock { font-size: 11.5px; color: #17a673; font-weight: 700; }
.stock.low { color: #e69500; }
.buy {
  border: 0; cursor: pointer; padding: 8px 20px; border-radius: 9px;
  background: #6d3af0; color: #fff; font-weight: 700; font-size: 13.5px;
}
.buy:hover { background: #5b2bd6; }

/* 内容页 */
.page-card {
  background: #fff; border-radius: 16px; padding: 30px 34px;
  box-shadow: 0 4px 18px rgba(64, 45, 120, .08);
}
.page-card h1 { margin: 0 0 18px; font-size: 25px; color: #241d47; }
.page-card h2 { margin: 28px 0 10px; font-size: 18px; color: #241d47; }
.page-card p, .page-card li { font-size: 14px; line-height: 1.85; color: #413c5c; }
.page-card ul { padding-left: 20px; }

/* 提示框 */
.tip { background: #f4f1ff; border-left: 3px solid #6d3af0; border-radius: 8px; padding: 12px 15px; margin: 16px 0; }
.tip p { margin: 0; font-size: 13.5px; }
.warn { background: #fff8e6; border-left: 3px solid #e6a23c; border-radius: 8px; padding: 12px 15px; margin: 16px 0; }
.warn p { margin: 0; font-size: 13.5px; color: #7b5c1e; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.tbl th, .tbl td { padding: 9px 11px; border-bottom: 1px solid #eee9fb; text-align: left; }
.tbl th { background: #faf9ff; font-weight: 700; color: #241d47; font-size: 12.5px; }
.tbl td { color: #4b4566; }

/* footer */
.foot { background: #fff; border-top: 1px solid #ece8f8; padding: 24px 20px; margin-top: 30px; }
.foot-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.foot p { margin: 0 0 6px; font-size: 12.5px; color: #8b8699; }
.foot-note { font-size: 12px; color: #a9a4b8; }

/* 悬浮客服 */
.contact-float { position: fixed; right: 18px; bottom: 22px; display: flex; flex-direction: column; gap: 9px; z-index: 50; }
.cf-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 24px;
  background: #6d3af0; color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(109, 58, 240, .34);
}
.cf-btn:hover { color: #fff; opacity: .92; }

@media (max-width: 720px) {
  .nav { height: auto; flex-direction: column; gap: 8px; padding: 12px 14px; align-items: flex-start; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .hero { padding: 26px 20px; }
  .hero h1 { font-size: 23px; }
  .page-card { padding: 22px 18px; }
  .list { grid-template-columns: 1fr; }
}

/* ===== 指南 / 长文内容 ===== */
.guide-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:14px 0 26px}
.guide-card{display:block;padding:18px 20px;background:#fff;border:1px solid #e9e5f7;border-radius:12px;text-decoration:none;color:inherit;transition:.18s}
.guide-card:hover{border-color:#6d3af0;box-shadow:0 4px 16px rgba(109,58,240,.12);transform:translateY(-1px)}
.guide-card h3{margin:0 0 8px;font-size:16px;color:#241d47;line-height:1.45}
.guide-card p{margin:0;font-size:13px;color:#6b6484;line-height:1.7}
.guide-meta{margin-top:10px;font-size:12px;color:#9d97b0}
.article{line-height:1.85;font-size:15px;color:#34304d}
.article h2{margin:32px 0 12px;font-size:19px;color:#241d47;padding-bottom:8px;border-bottom:1px solid #efecf9}
.article h3{margin:22px 0 8px;font-size:16px;color:#241d47}
.article p{margin:0 0 14px}
.article ul,.article ol{margin:0 0 16px;padding-left:22px}
.article li{margin:6px 0}
.article table{width:100%;border-collapse:collapse;margin:14px 0 18px;font-size:14px}
.article th,.article td{border:1px solid #e9e5f7;padding:9px 12px;text-align:left}
.article th{background:#f7f4ff;font-weight:600;color:#241d47}
.article a{color:#6d3af0}
.crumb{font-size:13px;color:#9d97b0;margin-bottom:14px}
.crumb a{color:#6d3af0;text-decoration:none}
.toc{background:#f7f4ff;border-left:3px solid #6d3af0;border-radius:0 8px 8px 0;padding:14px 18px;margin:0 0 24px;font-size:14px}
.toc p{margin:0 0 8px;font-weight:600;color:#241d47}
.toc ol{margin:0;padding-left:20px}
.toc a{color:#6d3af0;text-decoration:none}
