/* 弘星文化传播（邢台）有限公司 - 官网样式 */
:root {
  --primary: #1d4ed8;
  --primary-light: #2563eb;
  --primary-soft: #eff6ff;
  --accent: #0ea5e9;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .1);
}

* { 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", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

img { max-width: 100%; display: block; }

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

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: .2px; }
.brand-sub { font-size: 11px; color: var(--text-3); letter-spacing: .3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-2);
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .18s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); font-weight: 600; background: var(--primary-soft); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: 19px;
  color: var(--text-2);
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(150deg, #0b2a6b 0%, #1d4ed8 52%, #3b82f6 100%);
  color: #fff;
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .6px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.26);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: 38px; line-height: 1.32; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px; }
.hero p { font-size: 16px; color: rgba(255,255,255,.88); margin-bottom: 30px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all .18s;
  border: 1px solid transparent;
}
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--primary); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(29,78,216,.28); }
.btn-primary:hover { background: #1a43bd; color: #fff; }
.btn-line { border-color: var(--line); color: var(--text-2); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }

/* ============ 通用区块 ============ */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 27px; font-weight: 700; letter-spacing: .3px; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 15px; }

/* ============ 卡片网格 ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all .2s;
}
.card:hover { border-color: #c7d7f5; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.card h3 { font-size: 16.5px; margin-bottom: 9px; font-weight: 600; }
.card p { font-size: 14px; color: var(--text-2); }

/* ============ 产品展示 ============ */
.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.product + .product { margin-top: 78px; }
.product-info h3 { font-size: 23px; margin-bottom: 6px; }
.product-tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.product-info p { color: var(--text-2); margin-bottom: 14px; }
.feature-list { list-style: none; margin: 18px 0 24px; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: var(--text-2);
  font-size: 14.5px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--primary);
  font-weight: 700;
}
.shot-wrap {
  border-radius: 18px;
  background: linear-gradient(150deg, #e0ecff, #f3f8ff);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.shot-wrap img { border-radius: 12px; box-shadow: var(--shadow-lg); }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-weight: 600; color: var(--text); white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
td { color: var(--text-2); }

/* ============ 内容页（协议/隐私） ============ */
.page-head {
  background: linear-gradient(135deg, #0b2a6b, #1d4ed8);
  color: #fff;
  padding: 52px 0;
}
.page-head h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.82); font-size: 14px; }

.article { max-width: 880px; margin: 0 auto; padding: 52px 24px 72px; }
.article .meta {
  font-size: 13px;
  color: var(--text-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.article h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}
.article h2:first-of-type { margin-top: 0; }
.article h3 { font-size: 15.5px; font-weight: 600; margin: 22px 0 8px; }
.article p { color: var(--text-2); margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 14px 22px; color: var(--text-2); }
.article li { margin-bottom: 7px; }
.article .note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-2);
  margin: 18px 0;
}

/* ============ 联系信息 ============ */
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: none; }
.info-key { width: 110px; flex: none; color: var(--text-3); font-size: 14px; }
.info-val { color: var(--text); font-size: 14.5px; word-break: break-all; }

/* ============ CTA 条 ============ */
.cta {
  background: linear-gradient(135deg, #0b2a6b, #1d4ed8);
  border-radius: 18px;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta h3 { font-size: 21px; margin-bottom: 8px; font-weight: 600; }
.cta p { color: rgba(255,255,255,.85); font-size: 14.5px; }

/* ============ 页脚 ============ */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 52px 0 26px;
  font-size: 14px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand span { color: #e2e8f0; font-size: 16px; font-weight: 600; }
.footer-desc { font-size: 13.5px; line-height: 1.85; color: #94a3b8; max-width: 420px; }
.footer-col h4 { color: #e2e8f0; font-size: 14.5px; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #7c8ba1;
  line-height: 1.9;
}
.footer-bottom .icp a { color: #94a3b8; }
.footer-bottom .icp a:hover { color: #fff; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product.reverse .shot-wrap { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero { padding: 54px 0 60px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 22px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta { padding: 32px 24px; }
  .page-head { padding: 40px 0; }
  .page-head h1 { font-size: 22px; }
  .article { padding: 40px 20px 60px; }
}
