/* 新欣电子官网 - 全局样式 v2 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; background: #fff; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; border-radius: 50%; }
.logo .logo-img { height: 48px; width: 48px; border-radius: 50%; object-fit: contain; }
.logo-text { font-size: 17px; font-weight: 700; color: #1a5ab8; line-height: 1.2; }
.logo-text span { font-size: 11px; color: #999; font-weight: 400; display: block; letter-spacing: 0.5px; }
/* 页脚Logo */
.footer-logo { height: 52px; width: 52px; border-radius: 50%; object-fit: contain; margin-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 18px; font-size: 15px; color: #444; border-radius: 6px; transition: all 0.25s; font-weight: 500; }
.nav a:hover, .nav a.active { color: #1a5ab8; background: #f0f5ff; }
.lang-switch {
  margin-left: 20px; padding: 7px 18px;
  background: #1a5ab8; color: #fff; border-radius: 20px;
  font-size: 13px; cursor: pointer; border: none; transition: all 0.3s; font-weight: 600; letter-spacing: 0.5px;
}
.lang-switch:hover { background: #0e3d82; }

/* ===== 汉堡菜单（移动端） ===== */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  font-size: 22px; color: #1a5ab8; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: 8px; transition: background 0.2s;
}
.hamburger:hover { background: #f0f5ff; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav {
    display: flex !important;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; z-index: 999;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { font-size: 18px; padding: 14px 32px; }
  .header-search { display: none; }
  .lang-switch { margin-left: auto; }
}

/* ===== 搜索栏 ===== */
.header-search {
  position: relative; margin-left: 24px;
  display: flex; align-items: center;
}
.header-search input {
  width: 0; padding: 8px 14px;
  border: 1.5px solid #e0e8f0; border-radius: 20px;
  font-size: 13px; outline: none; transition: all 0.35s;
  background: #f7f9fc; color: #333;
  opacity: 0;
}
.header-search input:focus,
.header-search.open input {
  width: 220px; opacity: 1; padding-right: 38px;
}
.header-search input::placeholder { color: #bbb; }
.header-search .search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: none;
  cursor: pointer; display: flex; align-items: center; justify-content:center;
  z-index: 2;
}
.header-search .search-btn svg {
  width: 17px; height: 17px; stroke: #888; fill:none;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  transition: stroke .25s;
}
.header-search .search-btn:hover svg { stroke: #1a5ab8; }
.search-results-popup {
  display:none; position:absolute; top:64px; right:40px;
  width:400px; max-width:calc(100vw - 32px); max-height:420px; background:#fff;
  border:1px solid #e0e8f0; border-radius:12px;
  box-shadow:0 16px 48px rgba(0,0,0,0.15);
  z-index:2000; overflow-y:auto;
}
@media(max-width:600px) {
  .search-results-popup { width:calc(100vw - 40px); right:20px; max-height:360px; }
}
.search-results-popup.show { display:block; }
.srp-item { display:flex; gap:14px; padding:14px 18px; cursor:pointer;
  transition:background .2s; border-bottom:1px solid #f5f5f5; align-items:flex-start; }
.srp-item:hover { background:#f7f9fc; }
.srp-item:last-child { border-bottom:none; }
.srp-icon { width:36px;height:36px;border-radius:8px;background:#f0f5ff;
  display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.srp-icon svg { width:18px;height:18px;stroke:#1a5ab8;fill:none;stroke-width:1.8; }
.srp-info h5 { font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:3px; }
.srp-info p { font-size:12px;color:#888;line-height:1.5; }
.srp-cat { font-size:11px;color:#fff;background:#1a5ab8;padding:1px 8px;
  border-radius:10px;font-weight:600;display:inline-block;margin-top:4px; }
.srp-empty { text-align:center;padding:40px 20px;color:#bbb;font-size:14px; }

/* ===== 全屏 HERO BANNER ===== */
.hero {
  margin-top: 72px;
  width: 100%; height: calc(100vh - 72px);
  min-height: 560px; max-height: 900px;
  background: #000; /* 纯黑底色，视频未满时无感 */
  position: relative; overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    height: 100vh; margin-top: 0;
    min-height: 480px; max-height: none;
  }
}

/* 视频全屏背景 */
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: #000;
}
/* 海报兜底层：视频加载前/失败时可见 */
.hero-poster {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-fallback.jpg') center/cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  display: block;
  background: #000;
}

/* 文字遮罩层 */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.02) 100%);
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  width: 100%; position: relative; z-index: 2;
}
.hero-text { color: #fff; max-width: 560px; }
.hero-tag {
  display: inline-block; padding: 5px 14px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; font-size: 13px; color: rgba(255,255,255,0.85);
  letter-spacing: 1px; margin-bottom: 24px; font-weight: 500;
}
.hero-text h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero-text h1 em { color: #7eb8ff; font-style: normal; }
.hero-text p {
  font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.8;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: #fff; color: #1a5ab8;
  border-radius: 6px; font-size: 15px; font-weight: 700; transition: all 0.3s;
}
.hero-btn-primary:hover { background: #f0f5ff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4); color: #fff;
  border-radius: 6px; font-size: 15px; font-weight: 600; transition: all 0.3s;
}
.hero-btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* 底部数字条 — 极简透明 */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(0,0,0,0.12); backdrop-filter: blur(3px);
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: center; gap: 0;
}
.hero-stat {
  flex: 1; max-width: 240px; text-align: center;
  padding: 10px 20px; border-right: 1px solid rgba(255,255,255,0.04);
  color: #fff;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .n { font-size: 26px; font-weight: 700; color: #7eb8ff; line-height: 1; }
.hero-stat .n em { font-style: normal; font-size: 14px; font-weight: 500; opacity: 0.7; }
.hero-stat .t { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; letter-spacing: 0.5px; }

/* ===== 通用 Section ===== */
.section-wrap { padding: 90px 40px; }
.section-wrap.bg-light { background: linear-gradient(175deg, #f0f2f6 0%, #f5f7fa 40%, #f2f4f8 100%); }
.section-wrap.bg-dark { background: #050e26; }
@media(max-width:768px) { .section-wrap { padding: 56px 20px; } }
@media(max-width:480px) { .section-wrap { padding: 40px 14px; } }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
@media(max-width:768px){.section-header{margin-bottom:40px;}}
@media(max-width:480px){.section-header{margin-bottom:28px;}}
.section-header .label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #1a5ab8; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 { font-size: 36px; font-weight: 800; color: #1a1a2e; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: #888; max-width: 500px; margin: 0 auto; line-height: 1.7; }
.section-header.dark h2 { color: #fff; }
.section-header.dark p { color: rgba(255,255,255,0.55); }

/* ===== 核心优势 / 特性卡片 ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  padding: 36px 28px; background: #fff; border-radius: 12px;
  border: 1px solid #eef2f7; transition: all 0.3s; text-align: center;
}
.feature-card:hover { border-color: #1a5ab8; box-shadow: 0 8px 32px rgba(26,90,184,0.1); transform: translateY(-4px); }
.feature-icon {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  color: #1a5ab8;
}
.feature-icon svg { width: 48px; height: 48px; stroke: #1a5ab8; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #888; line-height: 1.7; }

/* ===== 关于我们 ===== */
.about-grid { display: grid; grid-template-columns: 11fr 6fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #f0f4fa; }
.about-img-wrap img { width: 100%; display: block; border-radius: 16px; object-fit: contain; }
.about-img-placeholder {
  width: 100%; height: 420px;
  background: linear-gradient(135deg,#e8f0fe,#c8d8f8);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed #b0c4e8; color: #8aabe0; font-size: 15px;
  flex-direction: column; gap: 12px;
}
.about-img-placeholder svg { width: 48px; height: 48px; stroke: #8aabe0; fill: none; stroke-width: 1.5; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: #1a5ab8; color: #fff; border-radius: 12px;
  padding: 20px 28px; box-shadow: 0 10px 30px rgba(26,90,184,0.3);
  text-align: center;
}
.about-badge .n { font-size: 36px; font-weight: 800; line-height: 1; }
.about-badge .t { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.about-text .sup-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #1a5ab8; text-transform: uppercase; margin-bottom: 12px; display: block; }
.about-text h2 { font-size: 34px; font-weight: 800; color: #1a1a2e; line-height: 1.3; margin-bottom: 20px; }
.about-text p { font-size: 15px; color: #666; line-height: 1.9; margin-bottom: 20px; }
.about-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.about-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #444; font-weight: 500; }
.about-item svg { width: 18px; height: 18px; stroke: #1a5ab8; fill: none; flex-shrink: 0; stroke-width: 2; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; background: #1a5ab8; color: #fff;
  border-radius: 6px; font-size: 15px; font-weight: 700; transition: all 0.3s;
}
.btn-primary:hover { background: #0e3d82; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border: 2px solid #1a5ab8; color: #1a5ab8;
  border-radius: 6px; font-size: 15px; font-weight: 700; transition: all 0.3s; margin-left: 16px;
}
.btn-outline:hover { background: #1a5ab8; color: #fff; }

/* ===== 产品中心 ===== */
.product-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.product-tab {
  padding: 10px 26px; border: 1.5px solid #e0e8f0; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s;
  background: #fff; color: #666; white-space: nowrap;
}
.product-tab:hover { border-color: #1a5ab8; color: #1a5ab8; }
.product-tab.active { border-color: #1a5ab8; color: #fff; background: #1a5ab8; }
@media(max-width:480px) {
  .product-tabs{gap:6px;margin-bottom:32px;}
  .product-tab{padding:8px 16px;font-size:12px;border-radius:4px;}
}
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid #eef2f7; transition: all 0.3s; display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); border-color: #d0dcf0; }
@media(max-width:480px) {
  .product-card, .feature-card, .news-card { border:1px solid #f0f2f5; border-radius:10px; }
}
.product-card .thumb {
  height: 200px; background: #f5f8ff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb-placeholder {
  width: 100%; height: 100%; background: linear-gradient(145deg,#eef4ff,#dce8fb);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #8aabe0; gap: 10px;
}
.product-card .thumb-placeholder svg { width: 40px; height: 40px; stroke: #8aabe0; fill: none; stroke-width: 1.5; }
.product-card .thumb-placeholder span { font-size: 13px; }
.product-info { padding: 20px 22px; }
.product-info h4 { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.product-info p { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 14px; }
.product-tag {
  display: inline-block; padding: 3px 10px; background: #f0f5ff;
  color: #1a5ab8; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.view-all-wrap { text-align: center; margin-top: 50px; }


/* ===== 新闻资讯 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid #eef2f7; transition: all 0.3s; display: block;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.news-card .thumb { height: 180px; background: #f0f5ff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .thumb-placeholder {
  width: 100%; height: 100%; background: linear-gradient(145deg,#eef4ff,#dce8fb);
  display: flex; align-items: center; justify-content: center; color: #8aabe0;
}
.news-card .thumb-placeholder svg { width: 36px; height: 36px; stroke: #8aabe0; fill: none; stroke-width: 1.5; }
.news-info { padding: 22px 22px 20px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-category { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #1a5ab8; text-transform: uppercase; }
.news-date { font-size: 12px; color: #bbb; }
.news-info h4 { font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.5; margin-bottom: 10px; }
.news-info p { font-size: 13px; color: #888; line-height: 1.65; margin-bottom: 14px; }
.news-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1a5ab8; font-weight: 600; }
.news-more svg { width: 14px; height: 14px; stroke: #1a5ab8; stroke-width: 2.5; fill: none; transition: transform 0.2s; }
.news-card:hover .news-more svg { transform: translateX(3px); }

/* ===== 联系方式条 ===== */
.contact-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.contact-bar-item {
  padding: 48px 40px; display: flex; align-items: flex-start; gap: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.contact-bar-item:last-child { border-right: none; }
.cbi-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,0.06); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.cbi-icon svg { width: 24px; height: 24px; stroke: #7eb8ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbi-text h4 { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 6px; font-weight: 500; }
.cbi-text p { font-size: 16px; color: #fff; font-weight: 600; line-height: 1.5; }

/* ===== 页脚 ===== */
.footer { background: #0d0d1f; color: #aaa; padding: 60px 40px 24px; }
@media(max-width:768px){.footer{padding:40px 20px 20px;}}
@media(max-width:480px){.footer{padding:32px 14px 16px;}}
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.3px; }
.footer-col p, .footer-col a { font-size: 13.5px; color: #777; line-height: 2; display: block; }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 13px; color: #666; line-height: 1.8; margin-top: 12px; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid #1e1e35;
  text-align: center; font-size: 13px; color: #555;
}

/* ===== Banner（子页面）===== */
.page-banner {
  margin-top: 72px; height: 280px;
  background: linear-gradient(130deg, #050e26 0%, #0d2554 50%, #1a5ab8 100%);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
@media(max-width:768px) {.page-banner{height:200px;}}
@media(max-width:480px) {.page-banner{height:140px;margin-top:60px;}}
.page-banner::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.04);
}
.page-banner-text { text-align: center; color: #fff; position: relative; z-index: 2; }
.page-banner-text h1 { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.page-banner-text p { font-size: 16px; color: rgba(255,255,255,0.65); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #fff; }

/* ===== 统计数字 ===== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 48px 30px;
  border-right: 1px solid #eef2f7;
}
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 44px; font-weight: 800; color: #1a5ab8; line-height: 1; margin-bottom: 8px; }
.stat-item .num em { font-style: normal; font-size: 22px; }
.stat-item .label { font-size: 14px; color: #888; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner { padding: 0 24px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,14,38,0.55) 0%, rgba(5,14,38,0.35) 60%, rgba(5,14,38,0.1) 100%); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { background: #f0f4fa; }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: 32px; }
  .header-inner { padding: 0 20px; }
  .product-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-bar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { display: none; }
  .page-banner { height: 200px; margin-top: 72px; }
  .page-banner-text h1 { font-size: 28px; }
  .page-banner-text p { font-size: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { font-size: 26px; }
  .about-items { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 16px; }
  .section-header h2 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-info-cards { gap: 12px; }
  .cic-card { padding: 20px 16px; }
  .back-top { bottom: 20px; right: 20px; width: 38px; height: 38px; font-size: 16px; }
  .map-wrap { height: 260px; }
}
@media (max-width: 480px) {
  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 26px; }
  .page-banner-text h1 { font-size: 24px; }
  .section-header h2 { font-size: 22px; }
  .header-inner { padding: 0 12px; height: 60px; }
  .header { position: fixed; }
  .page-banner, .hero { margin-top: 60px; }
  .nav { top: 60px; }
  .logo img, .logo .logo-img { height: 36px; width: 36px; }
  .logo-text { font-size: 14px; }
  .logo-text span { font-size: 10px; }
  .lang-switch { padding: 5px 12px; font-size: 12px; }
  .hamburger { width: 36px; height: 36px; font-size: 20px; }
  .map-wrap { height: 220px; }
}


/* ===== 滚动动画辅助 ===== */
.feature-card, .product-card, .news-card,
.about-text, .about-img, .about-item,
.stat-item, .tl-item, .partner-logo,
.section-header, .ph-left, .ph-right,
.cat-nav-wrap, .pcard, .contact-bar-item,
.footer-col, .prod-hero {
  will-change: opacity, transform;
}

/* 导航栏滚动后微调 */
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}

/* 按钮悬停微动效 */
.btn-primary:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,90,184,0.25);
}

/* 产品卡片图片悬停放大 */
.pcard-thumb img, .thumb-placeholder {
  transition: transform 0.4s ease;
}
.pcard:hover .pcard-thumb img,
.pcard:hover .thumb-placeholder {
  transform: scale(1.05);
}

/* 分类导航按钮活跃指示条 */
.cat-nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #1a5ab8;
  border-radius: 2px;
  animation: navBarIn 0.3s ease;
}
@keyframes navBarIn {
  from { width: 0; }
  to   { width: 60%; }
}

/* 页脚链接悬停滑动效果 */
.footer-col a {
  transition: color 0.25s, padding-left 0.25s;
  display: inline-block;
}
.footer-col a:hover {
  padding-left: 6px;
}

/* 回到顶部按钮 */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a5ab8;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(26,90,184,0.3);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
}
.back-top:hover {
  background: #0e3d82;
  transform: translateY(-3px);
}

/* ===== 页面Banner动画 ===== */
.page-banner-text h1 {
  opacity:0; transform:translateY(-20px);
  animation: bannerIn .7s ease .2s forwards;
}
.page-banner-text p {
  opacity:0; transform:translateY(16px);
  animation: bannerIn .7s ease .45s forwards;
}
.page-banner-text .breadcrumb {
  opacity:0;
  animation: bannerIn .6s ease .7s forwards;
}
@keyframes bannerIn {
  to { opacity:1; transform:translateY(0); }
}

/* ===== 新闻详情弹窗 ===== */
.news-detail-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.55); z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.news-detail-overlay.show { display: flex; }
.news-detail-modal {
  background: #fff; border-radius: 14px; width: 90%; max-width: 820px;
  max-height: 85vh; overflow-y: auto; padding: 40px 48px;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: ndmFadeIn .3s ease;
}
@keyframes ndmFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 28px; color: #999; background: none; border: none;
  cursor: pointer; line-height: 1; transition: color .2s;
}
.modal-close:hover { color: #333; }
.ndm-category {
  display: inline-block; padding: 3px 12px; background: #f0f5ff;
  color: #1a5ab8; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  border-radius: 4px; margin-bottom: 16px;
}
.ndm-title {
  font-size: 26px; font-weight: 800; color: #1a1a2e;
  line-height: 1.4; margin-bottom: 12px;
}
.ndm-date {
  font-size: 13px; color: #aaa; margin-bottom: 28px;
  padding-bottom: 24px; border-bottom: 1px solid #eef2f7;
}
.ndm-body {
  font-size: 15px; color: #555; line-height: 2; margin-bottom: 32px;
}
.ndm-body h3 {
  font-size: 17px; font-weight: 700; color: #1a1a2e;
  margin: 28px 0 10px;
}
.ndm-body p { margin-bottom: 14px; }
.ndm-footer {
  display: flex; gap: 12px; padding-top: 20px;
  border-top: 1px solid #eef2f7;
}
@media (max-width:768px) {
  .news-detail-modal { padding: 28px 22px; max-width: 95%; }
  .ndm-title { font-size: 20px; }
  .ndm-body { font-size: 14px; line-height: 1.8; }
}

/* ===== 英雄区背景渐变动效 ===== */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* 视频加载前/失败时的渐变底色 */
.hero-video-bg {
  background: linear-gradient(135deg, #0d2554 0%, #1a5ab8 40%, #0e3d82 70%, #0d2554 100%);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
}
.hero::before {
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { opacity: 0.5; transform: translateX(0); }
  to   { opacity: 1;   transform: translateX(30px); }
}

/* ===== 产品卡片层级延迟出现 ===== */
.prod-grid-new .pcard:nth-child(1) { animation: fadeUp .5s ease .05s both; }
.prod-grid-new .pcard:nth-child(2) { animation: fadeUp .5s ease .12s both; }
.prod-grid-new .pcard:nth-child(3) { animation: fadeUp .5s ease .19s both; }
.prod-grid-new .pcard:nth-child(4) { animation: fadeUp .5s ease .26s both; }
.prod-grid-new .pcard:nth-child(n+5) { animation: fadeUp .5s ease .33s both; }
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* =============================================
   高级商务装饰系统 v3 — 多层次、多材质
   ============================================= */

/* ---------- 工程蓝图精密网格 ---------- */
.bg-blueprint {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, #f3f5f8 0%, #f6f7fa 30%, #f3f5f8 100%);
}
.bg-blueprint::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(80,100,140,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,100,140,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-blueprint::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 35% 50% at 20% 45%, rgba(45,70,130,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 25% 45% at 78% 55%, rgba(65,130,200,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 15% 30% at 50% 20%, rgba(26,90,184,0.05) 0%, transparent 80%);
}

/* ---------- V形飞翼 / 速度条纹 ---------- */
.bg-chevron {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f2f4f7 0%, #f6f8fa 50%, #f2f4f7 100%);
}
.bg-chevron::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(72deg, transparent, transparent 24px, rgba(80,95,130,0.05) 24px, rgba(80,95,130,0.05) 25px, transparent 25px, transparent 48px);
  background-size: 68px 48px;
}
.bg-chevron::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 40% 55% at 50% 50%, rgba(26,90,184,0.04) 0%, transparent 65%);
}

/* ---------- 六边形精密网格（科技研发） ---------- */
.bg-hex {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #f0f3f8 0%, #f5f7fa 40%, #f3f5f9 100%);
}
.bg-hex::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 0px 16px, rgba(70,100,150,0.09) 1.5px, transparent 1.5px),
    radial-gradient(circle at 28px 16px, rgba(70,100,150,0.09) 1.5px, transparent 1.5px),
    radial-gradient(circle at 14px 40px, rgba(70,100,150,0.09) 1.5px, transparent 1.5px);
  background-size: 42px 48px;
}
.bg-hex::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle 300px at 25% 55%, rgba(26,90,184,0.06) 0%, transparent 100%),
    radial-gradient(circle 200px at 72% 35%, rgba(126,184,255,0.04) 0%, transparent 100%);
}

/* ---------- 暗纹编织 / 高端纸张 ---------- */
.bg-linen {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, #f4f5f8 0%, #f7f8fa 50%, #f4f5f8 100%);
}
.bg-linen::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(140,155,180,0.04) 2px, rgba(140,155,180,0.04) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(130,145,170,0.03) 12px, rgba(130,145,170,0.03) 13px);
}
.bg-linen::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 45% 40% at 15% 40%, rgba(26,90,184,0.045) 0%, transparent 70%),
    radial-gradient(ellipse 30% 45% at 85% 55%, rgba(26,90,184,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 22% 35% at 50% 75%, rgba(45,110,180,0.035) 0%, transparent 75%);
}

/* ---------- 斜纹碳素 / 工业硬朗 ---------- */
.bg-twill {
  position: relative; overflow: hidden;
  background: linear-gradient(185deg, #f2f4f7 0%, #f5f7f9 50%, #f2f4f7 100%);
}
.bg-twill::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(26deg, transparent, transparent 6px, rgba(90,105,135,0.05) 6px, rgba(90,105,135,0.05) 7px),
    repeating-linear-gradient(-18deg, transparent, transparent 10px, rgba(110,125,155,0.035) 10px, rgba(110,125,155,0.035) 11px);
}
.bg-twill::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle 350px at 50% 40%, rgba(26,90,184,0.04) 0%, transparent 100%);
}

/* ---------- 微点渐变（浅色区极简纹理） ---------- */
.bg-grain {
  position: relative;
  background: linear-gradient(180deg, #f3f5f8 0%, #f7f8fa 40%, #f4f6f9 100%);
}
.bg-grain::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle 1px at 14px 18px, rgba(100,120,155,0.06), transparent),
    radial-gradient(circle 1px at 34px 38px, rgba(100,120,155,0.05), transparent),
    radial-gradient(circle 1px at 54px 12px, rgba(100,120,155,0.06), transparent);
  background-size: 60px 48px;
}
.bg-grain::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 35% 40% at 25% 50%, rgba(26,90,184,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 28% 50% at 78% 45%, rgba(65,130,190,0.03) 0%, transparent 60%);
}

/* ---------- 深色科技背景（产品概览专用） ---------- */
.bg-tech-dark {
  position: relative; overflow: hidden;
}
.bg-tech-dark::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    /* 六边形点阵 */
    radial-gradient(circle at 0px 14px, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle at 24px 14px, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle at 12px 34px, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
    /* 多层蓝色光晕 */
    radial-gradient(ellipse 45% 40% at 18% 40%, rgba(26,90,184,0.3) 0%, transparent 55%),
    radial-gradient(ellipse 30% 55% at 80% 55%, rgba(86,160,220,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 20% 35% at 50% 20%, rgba(126,184,255,0.06) 0%, transparent 70%);
  background-size: 36px 42px, 36px 42px, 36px 42px, 100% 100%, 100% 100%, 100% 100%;
}

/* ---------- 页面Banner增强 ---------- */
.page-banner::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 220px at 18% 50%, rgba(126,184,255,0.08) 0%, transparent 100%),
    radial-gradient(circle 180px at 82% 40%, rgba(86,160,220,0.05) 0%, transparent 100%),
    linear-gradient(152deg, transparent 38%, rgba(255,255,255,0.03) 48%, transparent 58%),
    linear-gradient(0deg, rgba(13,37,84,0.15) 0%, transparent 60%);
}

/* ---------- Hero区增强 ---------- */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px; z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(126,184,255,0.2) 15%, rgba(166,200,240,0.35) 50%, rgba(126,184,255,0.2) 85%, transparent);
}

/* ---------- 斜切分区分隔 ---------- */
.section-skew {
  position: relative;
}
.section-skew::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: inherit;
  transform: skewY(-1.5deg);
  z-index: 2; pointer-events: none;
}

/* ---------- 所有装饰背景内的内容层级 ---------- */
.bg-blueprint .section-inner,
.bg-chevron .section-inner,
.bg-hex .section-inner,
.bg-linen .section-inner,
.bg-twill .section-inner,
.bg-grain .section-inner,
.bg-tech-dark .ph-inner {
  position: relative; z-index: 1;
}

/* ===== 全局装饰SVG（页面内固定几何装饰） ===== */
.decor-geo {
  position: absolute; pointer-events: none; z-index: 0; opacity: 0.13;
}
.decor-geo.blue { stroke: #1a5ab8; }
.decor-geo.gray { stroke: #8899b0; }
.decor-geo.light { stroke: #bcc8d8; }

/* ===== 左侧浮动联系浮标 ===== */
.side-float {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 1001;
  display: flex; flex-direction: column; gap: 0;
}
.side-float-item {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #1a5ab8; cursor: pointer;
  transition: background 0.25s;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.side-float-item:first-child { border-radius: 0 8px 0 0; }
.side-float-item:last-child { border-radius: 0 0 8px 0; border-bottom: none; }
.side-float-item:hover { background: #0e3d82; }
.side-float-item svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-float-item.email-icon svg { stroke-width: 1.5; }

/* 浮标弹出卡片 */
.side-float-popup {
  position: absolute; left: 52px; top: 50%; transform: translateY(-50%);
  background: #fff; border-radius: 10px; box-shadow: 0 8px 36px rgba(0,0,0,0.18);
  padding: 16px 20px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 10;
}
.side-float-item:hover .side-float-popup {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.side-float-popup::before {
  content: ''; position: absolute; left: -7px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  border-right: 8px solid #fff;
}
.side-float-popup-title {
  font-size: 13px; font-weight: 700; color: #1a5ab8; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.side-float-popup-title svg { width: 16px; height: 16px; stroke: #1a5ab8; }
.side-float-popup-body { font-size: 13px; color: #333; line-height: 1.7; }

/* 电话浮标 */
.side-float-popup-body a { color: #1a5ab8; text-decoration: none; font-weight: 600; }
.side-float-popup-body a:hover { text-decoration: underline; }

/* 二维码 */
.side-float-qr { display: flex; gap: 10px; }
.side-float-qr img {
  width: 150px; min-width: 150px; height: 150px; min-height: 150px;
  border-radius: 6px; flex-shrink: 0;
  border: 1px solid #eee; object-fit: contain;
}
.side-float-qr .qr-label { font-size: 12px; color: #999; text-align: center; margin-top: 6px; }

/* 邮箱浮标 */
.side-float-email-btn {
  display: inline-block; padding: 6px 14px; background: #1a5ab8; color: #fff !important;
  border-radius: 5px; font-size: 12px; font-weight: 600; text-decoration: none !important;
  transition: background 0.2s;
}
.side-float-email-btn:hover { background: #0e3d82; text-decoration: none !important; }

@media(max-width:768px) {
  .side-float { display: none; }
}
