/* ============================================================
   全局样式 - 蓝黄配色
   ============================================================ */

:root {
  --brand-1: #e6f0ff;
  --brand-3: #99c2ff;
  --brand-5: #66a3ff;
  --brand-6: #3388ff;
  --brand-7: #1a73e8;
  --brand-8: #125ab3;
  --brand-10: #003166;

  --cta: #ffce44;
  --cta-hover: #ffd966;

  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-section: #f5f7fa;

  --text: #333333;
  --text-soft: #666666;
  --text-mute: #999999;
  --border: #e5e7eb;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}
a { color: var(--brand-6); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-8); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  transition: all .2s; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--brand-6); color: #fff; }
.btn-primary:hover { background: var(--brand-8); color: #fff; }
.btn-cta { background: var(--cta); color: #4c4c4c; font-weight: 600; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-outline { background: #fff; color: var(--brand-6); border: 1px solid var(--brand-6); }
.btn-outline:hover { background: var(--brand-6); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--brand-8); }
.site-logo .logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-6), var(--brand-8));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.nav-list { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-list a {
  display: block; padding: 10px 18px; color: var(--text);
  font-size: 15px; border-radius: var(--radius); transition: all .2s;
}
.nav-list a:hover, .nav-list a.active { color: var(--brand-6); background: var(--brand-1); }
.header-right { display: flex; align-items: center; gap: 12px; }
.phone-link { display: flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: 14px; }
.phone-link:hover { color: var(--brand-6); }

/* 分类筛选标签 */
.cat-tag {
  padding: 6px 18px; border-radius: 20px; cursor: pointer;
  font-size: 14px; background: #fff; color: var(--text-soft);
  border: 1px solid var(--border); transition: all .2s;
}
.cat-tag:hover { color: var(--brand-6); border-color: var(--brand-5); }
.cat-tag.active {
  background: var(--brand-1); color: var(--brand-8);
  border-color: var(--brand-6); font-weight: 500;
}

/* 页脚 */
.site-footer { background: #1a1a1a; color: #ccc; padding: 50px 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px; margin-bottom: 30px;
}
.footer-col h4 {
  color: #fff; font-size: 15px; margin-bottom: 16px;
  position: relative; padding-bottom: 8px;
}
.footer-col h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 24px; height: 2px; background: var(--brand-6);
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #aaa; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #aaa; font-size: 14px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 20px; text-align: center;
  color: #777; font-size: 13px;
}

/* 百度保障模块 */
.footer-guarantee {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding: 24px 0;
  border-top: 1px solid #333; border-bottom: 1px solid #333;
  margin-top: 20px;
}
.guarantee-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.guarantee-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(51,136,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.guarantee-text h5 {
  color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px;
}
.guarantee-text p {
  color: #999; font-size: 12px; line-height: 1.5;
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-guarantee { grid-template-columns: 1fr; }
}
