/* ============================================================
   安企智能 / 雀鸣电子 官网公共样式(视觉增强版)
   主题色由 js/data.js 中 site.themeColor 动态注入,这里无需修改
   ============================================================ */

:root {
  --primary: #0b5fff;          /* 默认主题色,会被 data.js 覆盖 */
  --primary-dark: #0847c0;
  --primary-light: #eaf1ff;
  --primary-soft: rgba(11, 95, 255, 0.08);
  --text: #1f2733;
  --text-light: #5c6675;
  --text-faint: #8a94a3;
  --bg: #ffffff;
  --bg-gray: #f6f8fb;
  --bg-deep: #101828;
  --border: #e8ecf3;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.05);
  --shadow: 0 10px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
  --nav-h: 72px;
  --font-title: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-title);
  color: var(--text);
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--primary); color: #fff; }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.07);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; transition: transform 0.3s; }
.logo:hover { transform: scale(1.02); }
.logo img { height: 40px; width: auto; }
.logo-text {
  font-size: 23px; font-weight: 800; color: var(--text);
  letter-spacing: 2px;
}
.logo-text span { color: var(--primary); }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 18px; font-size: 15px; color: var(--text-light);
  border-radius: 8px; transition: all 0.25s; font-weight: 500;
}
.nav-list a { position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: translateX(-50%); transition: width 0.3s;
}
.nav-list a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-list a.active {
  color: var(--primary); font-weight: 700; background: var(--primary-soft);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 22px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0;
  transition: 0.3s;
}
.nav-list.open + .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-list.open + .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-list.open + .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg-deep); color: #98a2b3; padding: 64px 0 24px; margin-top: 100px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.7;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 36px; }
.footer-grid h4 {
  color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600;
  position: relative; padding-bottom: 10px;
}
.footer-grid h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.footer-grid p { font-size: 14px; margin-bottom: 8px; }
.footer-grid a { font-size: 14px; display: block; margin-bottom: 10px; transition: all 0.25s; }
.footer-grid a:hover { color: #fff; transform: translateX(4px); }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: 1px; }
.footer-brand span { color: var(--primary); }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px;
  font-size: 13px; text-align: center; color: #6b7280;
}
.footer-icp { color: inherit; transition: color 0.3s; }
.footer-icp:hover { color: #fff; }

/* ============ 页面横幅(内页顶部) ============ */
.page-banner {
  margin-top: var(--nav-h);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0a1e4f 100%);
  color: #fff; padding: 84px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(500px 260px at 10% 80%, rgba(255, 255, 255, 0.08), transparent 60%);
}
.page-banner h1 { font-size: 36px; letter-spacing: 4px; font-weight: 800; position: relative; }
.page-banner h1::after {
  content: ""; display: block; width: 48px; height: 3px; margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.8); border-radius: 2px;
}
.page-banner p { margin-top: 14px; font-size: 15px; opacity: 0.9; position: relative; }
.breadcrumb { margin-top: 16px; font-size: 13px; opacity: 0.75; position: relative; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ============ 通用区块 ============ */
.section { padding: 90px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 52px; }
.title-tag {
  display: block; width: fit-content; margin: 0 auto 14px;
  font-size: 12px; letter-spacing: 3px; font-weight: 600;
  color: var(--primary); background: var(--primary-soft);
  padding: 5px 18px; border-radius: 30px;
}
.section-title h2 { font-size: 32px; letter-spacing: 2px; font-weight: 800; position: relative; display: inline-block; }
.section-title h2::before {
  content: ""; position: absolute; left: -26px; top: calc(50% - 7.5px); width: 9px; height: 9px;
  border: 2.5px solid var(--primary); border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.section-title h2::after {
  content: ""; display: block; width: 52px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--primary), rgba(11, 95, 255, 0.15));
  border-radius: 2px;
}
.section-title p { color: var(--text-light); margin-top: 14px; font-size: 15px; }

/* ============ 首页 Hero 轮播 ============ */
.hero {
  margin-top: var(--nav-h); position: relative; height: 640px; overflow: hidden;
  background: var(--primary-dark);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; animation: heroKen 7s ease-out forwards; }
@keyframes heroKen {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 60, 0.72), rgba(8, 20, 60, 0.35) 55%, rgba(8, 20, 60, 0.45)),
    radial-gradient(700px 340px at 78% 26%, rgba(255, 255, 255, 0.1), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 24px; }
.hero-eyebrow {
  display: inline-block; padding: 8px 24px; margin-bottom: 18px;
  border-radius: 40px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; letter-spacing: 4px; font-weight: 600;
  opacity: 0; transform: translateY(26px);
}
.hero-slide.active .hero-eyebrow { animation: heroUp 0.9s ease 0.1s forwards; }
.hero-content h2 {
  font-size: 48px; letter-spacing: 4px; margin-bottom: 18px; font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: translateY(26px);
}
.hero-slide.active .hero-content h2 { animation: heroUp 0.9s ease 0.25s forwards; }
.hero-content p {
  font-size: 17px; opacity: 0.95; margin-bottom: 36px; letter-spacing: 1px;
  opacity: 0; transform: translateY(26px);
}
.hero-slide.active .hero-content p { animation: heroUp 0.9s ease 0.45s forwards; }
.hero-slide.active .btn-primary { animation: heroUp 0.9s ease 0.65s forwards; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.btn-primary {
  display: inline-block; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 13px 38px; border-radius: 40px; font-size: 15px;
  font-weight: 600; letter-spacing: 1px; transition: all 0.3s;
  border: none; cursor: pointer; box-shadow: 0 10px 26px rgba(11, 95, 255, 0.32);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.6s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 95, 255, 0.4); }
.btn-primary:hover::after { left: 120%; }

.hero-dots {
  position: absolute; bottom: 30px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 34px; height: 4px; border: none; border-radius: 4px;
  background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: all 0.35s;
}
.hero-dots button.active {
  background: #fff; width: 48px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* ============ 业务亮点 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 42px 30px; text-align: center; transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.feature-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 22px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(11, 95, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s;
}
.feature-card:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 28px rgba(11, 95, 255, 0.35);
}
.feature-card .icon svg { width: 36px; height: 36px; stroke: var(--primary); transition: stroke 0.35s; }
.feature-card:hover .icon svg { stroke: #fff; }
.feature-card h3 { font-size: 19px; margin-bottom: 12px; font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ============ 数据统计 ============ */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #0a1e4f 100%);
  color: #fff; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 260px at 15% 20%, rgba(255, 255, 255, 0.1), transparent 60%),
    radial-gradient(420px 220px at 88% 82%, rgba(255, 255, 255, 0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px);
}
.stats::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; }
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: -12px; top: 14%; bottom: 14%;
  width: 1px; background: rgba(255, 255, 255, 0.14);
}
.stat-num {
  font-size: 46px; font-weight: 800; letter-spacing: 2px;
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.16), 0 4px 18px rgba(0, 0, 0, 0.2);
}
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 8px; letter-spacing: 2px; }

/* ============ 产品卡片 ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.35s ease; cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.product-card .thumb {
  height: 220px; background: var(--bg-gray) center/cover no-repeat; position: relative;
  transition: transform 0.5s ease;
}
.product-card .thumb::after {
  content: "查看详情"; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 20px 14px; font-size: 13px; letter-spacing: 1px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 34, 0.6));
  opacity: 0; transform: translateY(8px); transition: all 0.35s ease;
}
.product-card:hover .thumb::after { opacity: 1; transform: none; }
.product-card:hover .thumb { transform: scale(1.05); }
.product-card .thumb-wrap { overflow: hidden; position: relative; }
.product-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, 0.92); color: var(--primary);
  font-size: 12px; padding: 4px 14px; border-radius: 20px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12); backdrop-filter: blur(6px);
}
.product-card .info { padding: 24px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; transition: color 0.25s; }
.product-card:hover h3 { color: var(--primary); }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ============ 解决方案卡片 ============ */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.solution-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: all 0.35s ease; cursor: pointer;
}
.solution-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.solution-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.solution-card:hover::before { opacity: 1; }
.solution-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.solution-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.solution-card > p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.solution-points { list-style: none; }
.solution-points li {
  font-size: 13px; color: var(--text-light); padding: 4px 0 4px 22px;
  position: relative;
}
.solution-points li::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  color: var(--primary); font-weight: 700;
}
.solution-more {
  display: inline-block; margin-top: 16px; color: var(--primary);
  font-size: 13px; font-weight: 600; transition: transform 0.25s;
}
.solution-card:hover .solution-more { transform: translateX(6px); }

/* ============ 客户案例卡片 ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: all 0.35s ease;
}
.case-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.case-tag {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.case-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.case-card > p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 18px; }
.case-result {
  font-size: 13.5px; color: var(--primary); background: var(--primary-light);
  border-left: 3px solid var(--primary); border-radius: 4px;
  padding: 12px 16px; line-height: 1.7;
}
.case-result b {
  display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700;
  color: var(--primary-dark);
}

/* 区块"查看全部"链接 */
.section-more { text-align: center; margin-top: 40px; }
.section-more a {
  display: inline-block; padding: 10px 30px; border-radius: 40px;
  border: 1px solid var(--border); color: var(--text-light); font-size: 14px;
  font-weight: 600; transition: all 0.3s;
}
.section-more a:hover {
  color: var(--primary); border-color: var(--primary); transform: translateY(-2px);
}

/* 弹窗内功能要点列表 */
.modal-points {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
  margin: 16px 0 20px; padding: 16px 20px;
  background: var(--primary-light); border-radius: var(--radius);
}
.modal-points li { font-size: 14px; color: var(--text); padding-left: 22px; position: relative; }
.modal-points li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

/* ============ 新闻卡片 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all 0.35s ease; display: block; position: relative; overflow: hidden;
}
.news-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.news-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.news-card:hover::before { opacity: 1; }
.news-card .date {
  font-size: 13px; color: var(--text-faint); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.news-card .date::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); display: inline-block;
}
.news-card .date span {
  background: var(--primary-light); color: var(--primary);
  padding: 3px 12px; border-radius: 14px; font-size: 12px; font-weight: 600;
}
.news-card h3 { font-size: 17px; margin-bottom: 12px; line-height: 1.55; font-weight: 700; transition: color 0.25s; }
.news-card:hover h3 { color: var(--primary); }
.news-card p { font-size: 14px; color: var(--text-light); }
.news-card .more {
  color: var(--primary); font-size: 13px; margin-top: 16px; display: inline-block;
  font-weight: 600; transition: transform 0.25s;
}
.news-card:hover .more { transform: translateX(6px); }

/* ============ 关于我们 ============ */
.about-intro {
  max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-light);
  text-align: center; line-height: 2.1; background: var(--bg-gray);
  border-radius: var(--radius-lg); padding: 44px 56px;
  border-left: 4px solid var(--primary);
}
.timeline { max-width: 760px; margin: 56px auto 0; position: relative; padding-left: 44px; }
.timeline::before {
  content: ""; position: absolute; left: 14px; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--border) 85%);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ""; position: absolute; left: -37px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft);
}
.timeline-item .year { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.timeline-item p { color: var(--text-light); font-size: 15px; margin-top: 6px; }
.honor-list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.honor-list li {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  color: var(--primary); padding: 12px 26px; border-radius: 40px; font-size: 14px;
  font-weight: 600; border: 1px solid rgba(11, 95, 255, 0.12);
  transition: all 0.3s;
}
.honor-list li:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

/* ============ 联系页 ============ */
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 56px; }
.contact-item {
  display: flex; gap: 18px; padding: 24px 8px; border-bottom: 1px dashed var(--border);
  transition: all 0.3s; border-radius: var(--radius-sm);
}
.contact-item:hover { background: var(--bg-gray); padding-left: 18px; }
.contact-item .c-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-soft), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(11, 95, 255, 0.12);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-item .c-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.contact-item h4 { font-size: 15px; margin-bottom: 5px; font-weight: 700; }
.contact-item p { font-size: 14px; color: var(--text-light); }
.contact-map { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ============ 产品详情弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 16, 34, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; animation: modalFade 0.3s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: #fff; border-radius: 20px; max-width: 720px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 40px; position: relative;
  animation: modalIn 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: var(--shadow-lg);
}
@keyframes modalIn { from { transform: translateY(30px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h3 { font-size: 24px; margin-bottom: 14px; font-weight: 800; }
.modal-box .modal-img {
  width: 100%; height: 280px; background: var(--bg-gray) center/cover no-repeat;
  border-radius: 14px; margin-bottom: 22px;
}
.modal-box p { font-size: 14px; color: var(--text-light); white-space: pre-line; line-height: 1.9; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-gray); border: none; font-size: 18px; cursor: pointer; color: var(--text);
  transition: all 0.3s; z-index: 2;
}
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

/* ============ 新闻详情 ============ */
.news-detail { max-width: 860px; margin: 0 auto; }
.news-detail h1 { font-size: 30px; text-align: center; margin-bottom: 16px; font-weight: 800; line-height: 1.5; }
.news-meta {
  text-align: center; color: var(--text-faint); font-size: 14px; margin-bottom: 40px;
  padding-bottom: 24px; border-bottom: 1px dashed var(--border);
}
.news-body { font-size: 15px; color: #3d4653; }
.news-body p { margin-bottom: 20px; line-height: 2; }

/* ============ 空状态提示 ============ */
.empty-tip { text-align: center; color: var(--text-light); padding: 70px 0; font-size: 15px; }

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 28px; bottom: 44px; width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: 14px; font-size: 18px; cursor: pointer;
  z-index: 90; opacity: 0; pointer-events: none; transition: all 0.35s;
  box-shadow: 0 10px 26px rgba(11, 95, 255, 0.35);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); }

/* ============ 产品筛选按钮(胶囊) ============ */
.filter-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 600; padding: 9px 26px; border-radius: 40px;
  margin: 0 6px 12px; cursor: pointer; letter-spacing: 1px;
  transition: all 0.3s;
}
.filter-btn:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.28);
}

/* ============ 可访问性 & 滚动条 ============ */
.btn-primary:focus-visible, .back-top:focus-visible, .nav-toggle:focus-visible,
.hero-dots button:focus-visible, .filter-btn:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #c9d2e0; border-radius: 6px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #aab6c8; }

/* ============ 滚动入场动画 ============ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .feature-grid, .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-points { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-list { grid-template-columns: 1fr; }
  .hero { height: 480px; }
  .hero-content h2 { font-size: 32px; }
  .section { padding: 64px 0; }
  .about-intro { padding: 32px 26px; }
}

@media (max-width: 640px) {
  .nav-list {
    position: fixed; top: var(--nav-h); right: -280px; width: 280px; height: calc(100vh - var(--nav-h));
    background: #fff; flex-direction: column; padding: 24px; gap: 6px;
    box-shadow: -8px 0 32px rgba(16, 24, 40, 0.12); transition: right 0.3s ease; z-index: 99;
  }
  .nav-list.open { right: 0; }
  .nav-list a { padding: 14px 18px; font-size: 16px; }
  .nav-toggle { display: block; }
  .feature-grid, .product-grid, .news-grid { grid-template-columns: 1fr; }
  .solution-grid, .case-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .page-banner { padding: 60px 0; }
  .page-banner h1 { font-size: 26px; }
  .hero { height: 400px; }
  .hero-content h2 { font-size: 24px; letter-spacing: 2px; }
  .stat-num { font-size: 32px; }
  .section-title h2 { font-size: 24px; }
  .timeline { padding-left: 36px; }
}
