/* 铭赞网络 - 全域网络营销 - 全局样式
   字体使用：系统安全字体（PingFang SC/Microsoft YaHei/Hiragino Sans GB/思源黑体），避免侵权
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { color: #1f2329; background: #f7f8fa; line-height: 1.6; font-size: 14px; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--theme-color, #1e6dff); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; outline: none; border: 0; }
button { cursor: pointer; background: none; }

:root {
  --theme-color: #1e6dff;
  --theme-color-2: #00c2ff;
  --theme-color-3: #ff6a3d;
  --text-color: #1f2329;
  --text-color-2: #5b6370;
  --text-color-3: #8a93a3;
  --bg-color: #f7f8fa;
  --bg-color-2: #ffffff;
  --border-color: #e6e8ee;
  --shadow-sm: 0 2px 8px rgba(15, 25, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 25, 60, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 25, 60, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1280px;
  --header-height: 88px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ================= 顶部导航 ================= */
.topbar { background: #1c1f26; color: #c8ccd4; font-size: 12px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #c8ccd4; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.topbar .left span { margin-right: 18px; }
.topbar .left i { color: var(--theme-color-2); margin-right: 4px; }

.header { position: sticky; top: 0; z-index: 99; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; box-shadow: 0 6px 18px rgba(30,109,255,.3); position: relative; }
.logo-mark::after { content: "®"; position: absolute; top: -2px; right: -4px; font-size: 11px; color: #fff; background: var(--theme-color-3); width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name { font-size: 20px; font-weight: 800; color: var(--text-color); letter-spacing: 1px; }
.logo-text .name span { color: var(--theme-color); }
.logo-text .slogan { font-size: 12px; color: var(--text-color-3); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.logo-text .slogan::before { content: "|"; color: var(--theme-color); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a { display: block; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--text-color); position: relative; border-radius: 8px; }
.nav > li > a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; background: var(--theme-color); transition: all .25s; }
.nav > li > a:hover, .nav > li > a.active { color: var(--theme-color); }
.nav > li > a:hover::after, .nav > li > a.active::after { width: 24px; left: calc(50% - 12px); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .25s; cursor: pointer; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%); color: #fff; box-shadow: 0 6px 18px rgba(30,109,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,109,255,.4); color: #fff; }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-color); }
.btn-outline:hover { border-color: var(--theme-color); color: var(--theme-color); }
.btn-ghost { color: var(--text-color-2); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ================= 通用版块 ================= */
.section { padding: 80px 0; position: relative; }
.section-sm { padding: 50px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; font-size: 13px; color: var(--theme-color); background: rgba(30,109,255,.08); padding: 5px 14px; border-radius: 999px; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; }
.section-head h2 { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 14px; color: var(--text-color); }
.section-head h2 span { color: var(--theme-color); }
.section-head p { color: var(--text-color-2); font-size: 15px; }

/* ================= 底部 ================= */
.footer { background: linear-gradient(180deg, #0e1118 0%, #1a1f2c 100%); color: #a0a8b8; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 600; }
.footer ul li { padding: 6px 0; font-size: 13px; }
.footer ul li a { color: #a0a8b8; }
.footer ul li a:hover { color: var(--theme-color-2); }
.footer .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .footer-logo .name { color: #fff; font-size: 20px; font-weight: 800; }
.footer .footer-logo .name span { color: var(--theme-color-2); }
.footer .about { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 13px; }
.contact-list i { color: var(--theme-color-2); margin-top: 4px; }
.qrcode { width: 130px; height: 130px; background: #fff; padding: 6px; border-radius: 10px; }
.qrcode img { width: 100%; height: 100%; object-fit: contain; }
.qrcode-box { display: flex; align-items: center; gap: 14px; }
.qrcode-box .tip { font-size: 12px; color: #a0a8b8; }
.qrcode-box .tip b { color: #fff; display: block; margin-bottom: 4px; font-size: 14px; }
.copyright { padding: 22px 0; text-align: center; font-size: 13px; color: #6f7787; background: rgba(0,0,0,.2); margin-top: 32px; }
.copyright a { color: #a0a8b8; }
.copyright a:hover { color: var(--theme-color-2); }
.beian-link { display: inline-flex; align-items: center; gap: 4px; }
.beian-link::before { content: ""; width: 14px; height: 14px; background: #1e6dff; display: inline-block; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/></svg>") center/contain no-repeat; }

.cities { padding: 60px 0; background: #fff; }
.cities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 30px; }
.cities-grid a { padding: 10px 14px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 13px; text-align: center; transition: all .2s; color: var(--text-color-2); }
.cities-grid a:hover { border-color: var(--theme-color); color: var(--theme-color); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* 微信二维码弹窗 */
.qr-modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 9999; display: none; align-items: center; justify-content: center; }
.qr-modal.show { display: flex; }
.qr-modal .box { background: #fff; padding: 30px; border-radius: 16px; text-align: center; max-width: 340px; }
.qr-modal .box img { width: 240px; height: 240px; margin: 0 auto 16px; border: 1px solid #eee; }
.qr-modal .box h3 { font-size: 18px; margin-bottom: 8px; }
.qr-modal .box p { color: var(--text-color-2); font-size: 14px; }
.qr-modal .close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 32px; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 24px; }
  .topbar .left span { display: none; }
}
