:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ink: #0f172a;
  --ink-soft: #475569;
  --bg-alt: #f1f5f9;
  --line: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(15,23,42,.06); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  font-size: 18px; font-weight: 700;
}

.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 1px; }

.site-nav { display: flex; gap: 28px; }

.site-nav a {
  font-size: 15px; color: var(--ink-soft);
  transition: color .2s;
}

.site-nav a:hover, .site-nav a.active { color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 120px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(124, 58, 237, .14), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(37, 99, 235, .12), transparent 60%),
    linear-gradient(180deg, #f8faff, #fff);
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 6px;
  background: linear-gradient(120deg, var(--primary), #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan { margin-top: 18px; font-size: 24px; font-weight: 600; color: var(--ink); }

.hero-desc { margin-top: 16px; font-size: 16px; color: var(--ink-soft); }

.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-ghost:hover { background: rgba(37, 99, 235, .08); }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }

.section-alt { background: var(--bg-alt); }

.section-title { text-align: center; font-size: 32px; font-weight: 700; }

.section-sub {
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 6px 0 48px;
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p { color: var(--ink-soft); margin-bottom: 16px; }

.about-stats { display: grid; gap: 16px; }

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  transition: transform .2s;
}

.stat-card:hover { transform: translateY(-3px); }

.stat-card strong { font-size: 18px; color: var(--primary); }

.stat-card span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 产品服务 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15, 23, 42, .12); }

.product-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 22px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
}

.product-card h3 { font-size: 20px; }

.product-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }

.product-link { color: var(--primary); font-size: 14px; font-weight: 600; }
.product-link:hover { color: var(--primary-dark); }

/* ---------- 联系我们 ---------- */
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 32px;
  display: grid;
  gap: 4px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-item:last-child { border-bottom: none; }

.contact-label {
  flex-shrink: 0;
  min-width: 72px;
  font-size: 13px;
  color: #94a3b8;
  letter-spacing: 1px;
}

.contact-item a { color: var(--primary); font-size: 15px; }
.contact-item a:hover { color: var(--primary-dark); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 44px 0 36px;
  text-align: center;
}

.footer-brand { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 2px; }

.footer-copy { font-size: 13px; margin-top: 10px; color: #94a3b8; }

.entity-suffix { font-size: 12px; color: #64748b; }

.icp-links {
  margin-top: 20px;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.icp-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #cbd5e1;
  transition: color .2s;
}

.icp-links a:hover { color: #fff; }

.icp-badge { width: 16px; height: 16px; }

.beian-icon { width: 16px; height: auto; display: inline-block; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero { padding: 140px 0 90px; }
  .hero h1 { font-size: 38px; letter-spacing: 4px; }
  .about-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 15px 24px; border-bottom: 1px solid var(--bg-alt); }

  .icp-links { gap: 16px; }
}
