/* 首页模板共享样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  color: #1f2329; background: #f5f6f8; min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== 经典模板 ===== */
.home-classic .hc-nav {
  height: 64px; display: flex; align-items: center; padding: 0 32px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05); position: sticky; top: 0; z-index: 50;
}
.hc-nav .hc-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #1677ff; }
.hc-nav .hc-logo .mark {
  width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg,#1677ff,#36a3ff);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hc-nav .sp { flex: 1; }
.hc-nav .hc-nav-menu { display: flex; align-items: center; gap: 8px; margin-left: 32px; }
.hc-nav .hc-nav-link {
  font-size: 14px; color: #4e5969; padding: 8px 14px; border-radius: 6px;
  text-decoration: none; transition: all .15s;
}
.hc-nav .hc-nav-link:hover { color: #1677ff; background: rgba(22,119,255,.08); }
.hc-nav a.hc-btn {
  font-size: 14px; color: #4e5969; border: 1px solid #d6d9de; border-radius: 8px; padding: 7px 16px; margin-left: 10px; transition: all .15s;
}
.hc-nav a.hc-btn:hover { color: #1677ff; border-color: #1677ff; }
.hc-nav a.hc-btn.primary { color: #fff; background: #1677ff; border-color: #1677ff; }
.hc-nav a.hc-btn.primary:hover { background: #3c8cff; }

.hc-hero { text-align: center; padding: 90px 24px 70px; background: linear-gradient(180deg,#eef4ff,#f5f6f8); }
.hc-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: 1px; }
.hc-hero h1 .hl { color: #1677ff; }
.hc-hero p.sub { font-size: 17px; color: #6b7280; margin-top: 18px; }
.hc-hero .hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hc-hero a.hero-btn {
  font-size: 16px; border-radius: 10px; padding: 13px 34px; font-weight: 600; transition: all .15s;
}
.hc-hero a.hero-btn.primary { background: #1677ff; color: #fff; box-shadow: 0 8px 20px rgba(22,119,255,.25); }
.hc-hero a.hero-btn.primary:hover { background: #3c8cff; transform: translateY(-2px); }
.hc-hero a.hero-btn.ghost { background: #fff; color: #1677ff; border: 1px solid #1677ff; }
.hc-hero a.hero-btn.ghost:hover { background: #f0f6ff; }

.hc-features { max-width: 1080px; margin: 30px auto 0; padding: 0 24px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hc-feature { background: #fff; border-radius: 14px; padding: 24px 20px; box-shadow: 0 4px 16px rgba(31,35,41,.05); }
.hc-feature .f-ico { font-size: 32px; margin-bottom: 12px; }
.hc-feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.hc-feature p { font-size: 13px; color: #86909c; line-height: 1.7; }

.hc-foot { text-align: center; padding: 30px 24px 40px; color: #a9aeb8; font-size: 13px; }
.hc-foot .icp-link, .hc-foot .police-link { color: #8a93a6; text-decoration: none; margin-left: 12px; transition: color .2s; }
.hc-foot .icp-link:hover, .hc-foot .police-link:hover { color: #1677ff; }

/* ===== 百度风格模板 ===== */
.home-baidu { background: #fff; }
.home-baidu .bd-nav { height: 60px; display: flex; align-items: center; padding: 0 40px; border-bottom: 1px solid #f0f1f3; }
.home-baidu .bd-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; color: #1f2329; }
.home-baidu .bd-logo .bd-mark {
  width: 30px; height: 30px; background: #1677ff; color: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.home-baidu .bd-nav .sp { flex: 1; }
.home-baidu .bd-nav a.bd-nav-btn { font-size: 14px; color: #4e5969; margin-left: 22px; }
.home-baidu .bd-nav a.bd-nav-btn:hover { color: #1677ff; }
.home-baidu .bd-nav a.bd-btn { font-size: 14px; border-radius: 6px; padding: 7px 18px; margin-left: 12px; }
.home-baidu .bd-btn.primary { background: #1677ff; color: #fff; }
.home-baidu .bd-btn.primary:hover { background: #3c8cff; }
.home-baidu .bd-btn.line { border: 1px solid #d6d9de; color: #4e5969; }
.home-baidu .bd-btn.line:hover { color: #1677ff; border-color: #1677ff; }

.home-baidu .bd-hero { max-width: 1120px; margin: 0 auto; padding: 70px 40px; display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.home-baidu .bd-hero-left { flex: 1; min-width: 300px; }
.home-baidu .bd-hero-left h1 { font-size: 40px; font-weight: 800; line-height: 1.35; }
.home-baidu .bd-hero-left h1 .hl { color: #1677ff; }
.home-baidu .bd-hero-left p { font-size: 16px; color: #6b7280; margin: 20px 0 30px; line-height: 1.8; }
.home-baidu .bd-hero-left .bd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-baidu .bd-hero-left a.bd-hero-btn { font-size: 16px; border-radius: 8px; padding: 12px 32px; font-weight: 600; }
.home-baidu .bd-hero-left a.bd-hero-btn.primary { background: #1677ff; color: #fff; box-shadow: 0 6px 18px rgba(22,119,255,.25); }
.home-baidu .bd-hero-left a.bd-hero-btn.primary:hover { background: #3c8cff; }
.home-baidu .bd-hero-left a.bd-hero-btn.line { border: 1px solid #d6d9de; color: #4e5969; }
.home-baidu .bd-hero-left a.bd-hero-btn.line:hover { border-color: #1677ff; color: #1677ff; }
.home-baidu .bd-hero-right { flex: 1; min-width: 300px; }
.home-baidu .bd-hero-right .bd-panel {
  background: linear-gradient(135deg,#f0f6ff,#eef4ff); border: 1px solid #e3edfd; border-radius: 18px;
  padding: 40px 34px; text-align: center;
}
.home-baidu .bd-panel .p-ico { font-size: 54px; }
.home-baidu .bd-panel h3 { font-size: 20px; margin: 16px 0 8px; font-weight: 700; }
.home-baidu .bd-panel p { font-size: 14px; color: #6b7280; line-height: 1.7; }
.home-baidu .bd-panel .bd-stats { display: flex; justify-content: space-around; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(22,119,255,.15); }
.home-baidu .bd-stats .st b { display: block; font-size: 22px; color: #1677ff; }
.home-baidu .bd-stats .st span { font-size: 12px; color: #86909c; }

.home-baidu .bd-features { background: #fafbfc; padding: 40px 40px 60px; margin-top: 40px; }
.home-baidu .bd-features-inner { max-width: 1120px; margin: 0 auto; }
.home-baidu .bd-features h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 36px; }
.home-baidu .bd-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.home-baidu .bd-fcard { background: #fff; border: 1px solid #f0f1f3; border-radius: 14px; padding: 26px 22px; transition: all .15s; }
.home-baidu .bd-fcard:hover { box-shadow: 0 10px 28px rgba(31,35,41,.06); transform: translateY(-3px); }
.home-baidu .bd-fcard .fi { font-size: 30px; margin-bottom: 12px; }
.home-baidu .bd-fcard h3 { font-size: 16px; margin-bottom: 8px; }
.home-baidu .bd-fcard p { font-size: 13px; color: #86909c; line-height: 1.7; }

.home-baidu .bd-foot { text-align: center; padding: 34px 24px 44px; color: #a9aeb8; font-size: 13px; }
.home-baidu .bd-foot .icp-link, .home-baidu .bd-foot .police-link { color: #8a93a6; text-decoration: none; margin-left: 12px; transition: color .2s; }
.home-baidu .bd-foot .icp-link:hover, .home-baidu .bd-foot .police-link:hover { color: #1677ff; }
