:root {
  --accent: #1a56db;
  --accent-deep: #1243a8;
  --accent-soft: #eaf1ff;
  --ink: #1d2233;
  --ink-2: #44546a;
  --muted: #6b7a8d;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 97px; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== 导航 ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-topbar { background: #1f1f1f; color: #fff; }
.nav-topbar-inner {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 40px; height: 28px;
}
.nav-topbar-inner span { font-size: clamp(10px, 0.6vw, 13px); color: #fff; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 32px; flex: 1; }
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-size: clamp(14px, 0.835vw, 20px); color: var(--ink-2); font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: #0068eb; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 10px;
  font-size: clamp(11px, 0.7vw, 15px); font-weight: 600;
  transition: background .18s ease, transform .08s ease, border-color .18s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d2e0; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: clamp(11px, 0.6vw, 14px); }

/* ===== Hero ===== */
.hero {
  padding: 56px 0;
  background-image:
    linear-gradient(rgba(214, 232, 255, 0.85), rgba(214, 232, 255, 0.85)),
    url("http://www.sixun.com.cn/Images/ShowImg/seo-geo/products/product-hero-bg.webp");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  background-color: var(--accent-soft);
}
.hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(28px, 2.3vw, 56px);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 700;
  color: #0068eb;
}
.hero-sub { margin: 16px auto 28px; font-size: clamp(16px, 1vw, 24px); color: var(--ink-2);  }

/* ===== 数据条 ===== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }
.stat-cell strong { display: block; font-size: clamp(21px, 1.2vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.stat-cell span { font-size: clamp(10px, 0.6vw, 13px); color: var(--muted); }

/* ===== 区块 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 900px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(20px, 1.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { margin-top: 12px; font-size: clamp(12px, 0.835vw, 24px); color: var(--ink-2); }

/* ===== 卡片网格 ===== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #0d99ff; }
.card-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; padding: 4px;
  background: var(--bg); overflow: hidden;
  display: grid; place-items: center;
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; min-width: 0; }
.card-name { font-size: clamp(14px, 0.835vw, 20px); font-weight: 500; line-height: 1.5; }
.card-desc { margin-top: 4px; font-size: clamp(10px, 0.73vw, 16px); color: var(--muted); line-height: 1.5; }
.card-tag {
  display: inline-block; margin-top: 8px;
  font-size: clamp(10px, 0.5vw, 12px); color: var(--accent-deep); background: var(--accent-soft);
  padding: 3px 9px; border-radius: 6px; font-weight: 600;
}

/* ===== 部署与服务 ===== */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service-block h3 { font-size: clamp(14px, 0.8vw, 18px); font-weight: 700; margin-bottom: 18px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-list li {
  position: relative; padding-left: 20px; font-size: clamp(11px, 0.7vw, 15px); color: var(--ink-2);
}
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* ===== CTA ===== */
.cta { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-inner { text-align: center; max-width: 720px; }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.cta-inner p { margin: 16px auto 32px; font-size: clamp(12px, 0.7vw, 16px); color: #b9c4d2; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.sg-footer { background: #e8e9ee; color: #1d2233; }
.sg-footer-main {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 80px;
  padding: 80px 0 40px;
}
.sg-footer-contact {
  display: flex; flex-direction: column; align-items: flex-start;
  flex: none;
}
.sg-footer-contact > img { width: 194px; height: 24px; display: block; }
.sg-contact-label { font-size: clamp(15px, 0.9vw, 20px); line-height: 24px; margin-top: 50px; }
.sg-contact-phone { font-size: clamp(21px, 1.2vw, 28px); font-weight: 700; margin-top: 15px; }
.sg-socials { display: flex; gap: 20px; margin-top: 15px; }
.sg-social-wrap { position: relative; display: flex; }
.sg-social-item {
  width: 48px; height: 48px; border: 1px solid transparent; border-radius: 16px;
  background: #d9d9d9; display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.sg-social-item img { width: 32px; height: 32px; }
.sg-social-qr {
  display: none; position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%); width: 158px; padding: 12px 12px 10px;
  background: #fff; border-radius: 8px; box-shadow: 0 12px 34px rgba(29, 34, 51, 0.18);
  flex-direction: column; align-items: center; z-index: 10;
}
.sg-social-wrap:hover .sg-social-qr { display: flex; }
.sg-social-qr img { width: 100%; height: auto; }
.sg-social-qr em { font-style: normal; font-size: clamp(10px, 0.5vw, 12px); color: #1d2233; margin-top: 6px; }
.sg-social-wrap:first-child .sg-social-qr { left: 0; transform: none; }
.sg-social-wrap:last-child .sg-social-qr { left: auto; right: 0; transform: none; }
.sg-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; flex: 1; }
.sg-footer-cols > div { display: block; }
.sg-footer-cols h3 { font-size: clamp(15px, 0.9vw, 20px); font-weight: 500; margin: 0 0 40px; }
.sg-footer-cols a { display: block; font-size: clamp(12px, 0.73vw, 16px); line-height: 40px; color: #1d2233; text-decoration: none; }
.sg-footer-cols a:hover { color: var(--accent); }
.sg-footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 0 32px 40px;
}
.sg-footer-bottom p { font-size: clamp(10px, 0.5vw, 12px); color: #1d2233; margin: 0; }
.sg-footer-bottom a { color: #1d2233; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .sg-footer-main { flex-direction: column; }
  .sg-footer-cols { grid-template-columns: repeat(2, 1fr); margin-top: 48px; gap: 32px 48px; }
  .sg-footer-cols h3 { margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .nav-topbar-inner { gap: 20px; }
  .nav-links {
    display: none; position: absolute; top: 96px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .sg-footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .sg-footer-bottom { padding: 0 20px 32px; }
}
