/* ── 海平线科技客服 · 共享样式 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:    #1a73e8;
  --brand-dk: #1557b0;
  --accent:   #34a853;
  --purple:   #7c3aed;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius:   12px;
}

html { scroll-behavior: smooth; }

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

/* ── 导航 ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .lg-main { font-size: 1rem; font-weight: 800; color: var(--gray-900); letter-spacing: -.3px; }
.nav-logo-text .lg-main em { color: var(--brand); font-style: normal; }
.nav-logo-text .lg-sub { font-size: .6rem; color: var(--gray-500); letter-spacing: .06em; }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--gray-700); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-demo {
  padding: 7px 18px; background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand); border-radius: 8px;
  font-size: .85rem; font-weight: 600; text-decoration: none; transition: .2s;
}
.nav-demo:hover { background: #eef4ff; }
.nav-cta {
  padding: 8px 20px; background: var(--brand); color: #fff;
  border-radius: 8px; font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--brand-dk); }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ── 公共组件 ── */
.tag {
  display: inline-block; padding: 3px 12px;
  background: #dbeafe; color: var(--brand);
  border-radius: 999px; font-size: .75rem; font-weight: 600;
}
.page-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; color: var(--gray-900); line-height: 1.2;
}
.page-sub { margin-top: 10px; color: var(--gray-500); font-size: .97rem; }

.btn {
  display: inline-block; padding: 13px 30px;
  background: var(--brand); color: #fff;
  border-radius: var(--radius); font-size: .95rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--brand-dk); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-ghost:hover { background: #eef4ff; transform: none; }

section { padding: 72px 5%; }

/* ── Footer ── */
footer {
  background: var(--gray-900); color: #94a3b8;
  text-align: center; padding: 28px 5%;
  font-size: .82rem;
}
footer strong { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
