/* ============================================================
   中声智家 ZHONGSHENG ZHIJIA — 公司官网样式
   设计基调：简洁、专业、近似 Apple 风格的浅色主题
   ============================================================ */

:root {
  --ink: #0f172a;          /* 主文字/深墨 */
  --ink-soft: #475569;     /* 次级文字 */
  --ink-faint: #94a3b8;    /* 弱化文字 */
  --bg: #ffffff;           /* 页面底色 */
  --bg-soft: #f6f8fb;      /* 区块浅底 */
  --bg-dark: #0b1220;      /* 深色 hero */
  --line: #e2e8f0;         /* 分割线 */
  --brand: #1d4ed8;        /* 品牌主色 蓝 */
  --brand-deep: #1e3a8a;   /* 深蓝 */
  --accent: #06b6d4;       /* 青色点缀（声学/科技感） */
  --accent-warm: #f59e0b;  /* 暖橙点缀（续航/性能） */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand .logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: var(--shadow);
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links a.btn { color: #fff; font-size: 15px; }
.nav-links a.btn:hover { color: #fff; text-decoration: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eef3ff; }

.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(6,182,212,.18), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(29,78,216,.22), transparent 55%),
              var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 96px 0 110px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid rgba(6,182,212,.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #67e8f9, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.30), rgba(29,78,216,.14) 45%, transparent 70%);
  filter: blur(14px);
}
.hero-visual img {
  position: relative;
  max-height: 430px;
  width: auto;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, .55));
}
.hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 120px;
}
.badge .num { font-size: 26px; font-weight: 800; color: #fff; }
.badge .num span { font-size: 14px; color: var(--accent); }
.badge .label { font-size: 12px; color: #94a3b8; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 12px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- 能力卡片 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef3ff, #e0f7fa);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 产品 ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.product:last-child { border-bottom: 0; }
.product.reverse .product-media { order: 2; }
.product-media {
  background: radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #eef2f7 60%, #e7ecf3 100%);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-height: 320px;
}
.product-media img {
  max-height: 310px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, .14));
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-shipping { background: #dcfce7; color: #15803d; }
.tag-rnd { background: #fef3c7; color: #b45309; }
.tag-app { background: #e0f2fe; color: #0369a1; }
.product h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.product p.desc { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.spec-list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.spec-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--ink-soft);
}
.spec-list li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* ---------- 解决方案 ---------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.solution .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 24px;
  margin-bottom: 18px;
}
.solution h3 { font-size: 20px; margin-bottom: 10px; }
.solution p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.about-grid h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.about-grid p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.about-card .row {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.about-card .row:last-child { border-bottom: 0; }
.about-card .row .k { color: var(--ink-faint); }
.about-card .row .v { font-weight: 600; text-align: right; }
.placeholder { color: var(--accent-warm) !important; font-style: italic; font-weight: 500 !important; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card .role { color: var(--ink-faint); font-size: 14px; margin-bottom: 18px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 15px;
}
.contact-item .lab { width: 64px; color: var(--ink-faint); font-size: 13px; }
.contact-item .val { font-weight: 600; color: var(--ink); word-break: break-all; }
.map-note {
  margin-top: 14px; font-size: 13px; color: var(--ink-faint);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 56px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: #94a3b8; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: 13px; color: #64748b;
}

/* ---------- 内页（隐私/条款） ---------- */
.doc-page { padding: 120px 0 90px; }
.doc-page .container { max-width: 860px; }
.doc-page h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; }
.doc-page .doc-meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 36px; }
.doc-page h2 { font-size: 22px; font-weight: 700; margin: 34px 0 12px; }
.doc-page h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.doc-page p, .doc-page li { color: var(--ink-soft); font-size: 15.5px; }
.doc-page ul { padding-left: 22px; margin: 8px 0 16px; }
.doc-page li { margin-bottom: 8px; }
.doc-page table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; }
.doc-page th, .doc-page td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.doc-page th { background: var(--bg-soft); }
.doc-page .note {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin: 16px 0;
}
.doc-page a { color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .solutions { grid-template-columns: 1fr; }
  .product, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .product.reverse .product-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 24px; gap: 14px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
}
