/**
 * 全站壳层 — 对齐 index.php 新版首页视觉
 * 主色 #0066cc；用于 head/foot、shipin、SEO 与旧页软覆盖
 */
:root {
  --blue: #0066cc;
  --blue-dark: #004c99;
  --blue-light: #e8f2ff;
  --blue-soft: #f4f7fa;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --white: #fff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

body.zk-shell {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--blue-soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.zk-container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .zk-container { padding: 0 32px; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.site-header .logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-header .nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.site-header .nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.site-header .nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.site-header .nav a.is-active {
  color: var(--blue);
  background: var(--blue-light);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-legacy {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 8px 4px;
  text-decoration: none;
}
.header-legacy:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.28);
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline {
  color: var(--blue);
  background: var(--white);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost {
  color: var(--text-muted);
  background: var(--blue-soft);
}
.btn-ghost:hover { color: var(--blue); }

@media (min-width: 768px) {
  .site-header .nav { display: flex; }
}
@media (max-width: 767px) {
  .header-actions-login { display: none; }
}

/* Main content shell */
.zk-main {
  min-height: 48vh;
  padding: 28px 0 48px;
}
.zk-page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .zk-page-card { padding: 32px; }
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr auto;
    align-items: start;
  }
}
.footer-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-light);
}
.footer-brand-desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  text-decoration: none;
}
.site-footer a:hover { color: var(--gold-light); }
.footer-apps {
  display: flex;
  gap: 20px;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-apps { justify-content: flex-end; }
}
.footer-app { text-align: center; }
.footer-app img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background: var(--white);
}
.footer-app span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-copy {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}
.footer-copy a { color: rgba(255, 255, 255, 0.45); }
.footer-copy a:hover { color: var(--gold-light); }

/* 旧版浮层客服保留，颜色贴近新蓝 */
.zk-new-support-float {
  position: fixed;
  right: 18px;
  bottom: 120px;
  z-index: 9999;
  width: 72px;
  padding: 14px 8px 12px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
.zk-new-support-float:hover {
  background: var(--blue-dark);
  color: #fff !important;
}

/* 隐藏旧头尾骨架（若残留） */
body.zk-shell .dxl_header,
body.zk-shell header > .top,
body.zk-shell .dxl_footer {
  display: none !important;
}
body.zk-shell .dxl_right_service {
  display: none !important;
}

/* 旧站主色软覆盖 → 新蓝 */
body.zk-shell a { color: inherit; }
body.zk-shell .jg_ls2,
body.zk-shell .price,
body.zk-shell [class*="jg_"] {
  color: var(--blue) !important;
}
body.zk-shell .btn-primary,
body.zk-shell button[type="submit"],
body.zk-shell .qrdd_zf_je button,
body.zk-shell .anniu .zc,
body.zk-shell .anniu .dl {
  border-radius: 10px;
}
/* 常见旧蓝 #1ea0fa 替换观感 */
body.zk-shell .dh li a:hover,
body.zk-shell .dxl_f_nav a:hover,
body.zk-shell a[style*="#1ea0fa"],
body.zk-shell .cur,
body.zk-shell .on,
body.zk-shell .active {
  color: var(--blue);
}

/* SEO 页头对齐 */
.seo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.seo-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.seo-logo img { height: 40px; width: auto; display: block; }
.seo-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}
.seo-nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  text-decoration: none;
}
.seo-nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.seo-actions { display: flex; gap: 8px; align-items: center; }
.seo-btn-primary {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.28);
}
.seo-btn-outline {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  color: var(--blue) !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}
.seo-footer-simple {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.55);
  padding: 36px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 2;
}
.seo-footer-simple a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 8px;
  text-decoration: none;
}
.seo-footer-simple a:hover { color: var(--gold-light); }
.seo-footer-simple p { margin: 16px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.35); }
@media (min-width: 768px) {
  .seo-nav { display: flex; }
}
