/* ==========================================================================
   LUMO 灵目 — 官网模板样式
   布局参考高端智能硬件品牌站：暗色沉浸式 + 大图产品卡片
   ========================================================================== */

:root {
  --bg: #0b0d10;
  --bg-alt: #101419;
  --card: #161b21;
  --card-hover: #1b2129;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f4f6;
  --muted: #98a2ad;
  --accent: #25d5c3;
  --accent-deep: #0ea99b;
  --radius: 18px;
  --nav-h: 72px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
}
.btn-primary { background: var(--accent); color: #05201d; }
.btn-primary:hover { background: #4ae3d4; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 213, 195, 0.35); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(0,0,0,0.2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost-sm { border-color: rgba(255,255,255,0.45); color: #fff; padding: 10px 26px; font-size: 14px; }
.btn-ghost-sm:hover { border-color: var(--accent); color: var(--accent); }
.btn-line { border-color: var(--line); color: var(--text); padding: 11px 30px; font-size: 14px; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ============ 顶部公告条 ============ */
.topbar {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  color: #04201d;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ============ 导航栏 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 40px; width: 100%; }

.nav-logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 28px; width: auto; display: block; opacity: 0.95; transition: opacity 0.3s, transform 0.3s; }
.nav-logo:hover .logo-img { opacity: 1; transform: translateY(-1px); }
.footer .logo-img { height: 34px; }

.nav-menu { display: flex; gap: 8px; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: color 0.3s;
}
.nav-item > a:hover { color: var(--accent); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  z-index: 110;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; padding: 0; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 9px;
  transition: all 0.25s;
  white-space: nowrap;
}
.dropdown a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-caret {
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease);
  opacity: 0.6;
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: translateY(0) rotate(-135deg); opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: all 0.3s;
}
.icon-btn:hover { color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 语言切换器 ============ */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: all 0.3s;
  cursor: pointer;
}
.lang-toggle:hover {
  color: var(--accent);
  border-color: rgba(37, 213, 195, 0.5);
  background: rgba(37, 213, 195, 0.08);
}
.lang-toggle[aria-expanded="true"] { color: var(--accent); border-color: rgba(37, 213, 195, 0.5); }
.lang-current { min-width: 24px; text-align: center; }
.lang-caret { transition: transform 0.3s var(--ease); }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  z-index: 120;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { margin: 0; padding: 0; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: none;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.lang-menu button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.lang-menu button.active { color: var(--accent); background: rgba(37, 213, 195, 0.1); }
.lang-menu button .lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.lang-menu button .lang-name {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-menu button.active .lang-code { background: var(--accent); color: #05201d; }

/* ============ 首屏轮播 ============ */
.hero { position: relative; height: min(92vh, 860px); min-height: 560px; margin-top: calc(-1 * var(--nav-h)); overflow: hidden; }

.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.active { opacity: 1; visibility: visible; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.slide.active .slide-bg { transform: scale(1); }
/* 轮播片也支持视频背景（后台可上传/选择视频） */
video.slide-bg { width: 100%; height: 100%; object-fit: cover; display: block; background: #050709; }

.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 9, 0.92) 0%, rgba(5, 7, 9, 0.35) 45%, rgba(5, 7, 9, 0.25) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 130px;
  padding-top: 120px;
}
.slide-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  border: 1px solid rgba(37, 213, 195, 0.5);
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.slide h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.slide p { font-size: clamp(15px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.82); margin-bottom: 34px; }

.slide-content > * { animation: slideUp 0.9s var(--ease) both; }
.slide.active .slide-content > *:nth-child(1) { animation-delay: 0.15s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.3s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.45s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: 0.6s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

.hero-dots {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 3;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all 0.3s;
}
.dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }

.hero-nums {
  position: absolute;
  left: 40px; bottom: 40px;
  display: flex; gap: 20px;
  z-index: 3;
}
.num { font-size: 14px; color: rgba(255, 255, 255, 0.35); font-weight: 700; letter-spacing: 0.1em; transition: color 0.3s; }
.num.active { color: var(--accent); }

/* ============ 通用区块 ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { display: flex; align-items: center; gap: 22px; margin-bottom: 54px; }
.section-index {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.15em;
  border: 1px solid rgba(37, 213, 195, 0.4);
  border-radius: 999px;
  padding: 3px 16px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: 0.02em; }

/* ============ 产品卡片 ============ */
.vc-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 26px; }
.card-xl { grid-row: 1 / 3; }
.card-md { display: flex; flex-direction: column; }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(37, 213, 195, 0.35); background: var(--card-hover); }

.card-media { position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }

.card-xl .card-media { height: 460px; }
.card-md .card-media { height: 250px; flex: none; }

.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--accent);
  color: #05201d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 999px;
}

.card-body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-xl .card-body { padding: 38px 40px 42px; }
.card-cat { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); text-transform: uppercase; }
.card-title { font-size: 22px; font-weight: 700; line-height: 1.35; }
.card-xl .card-title { font-size: 30px; }
.card-feats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.card-feats li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.card-feats li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.card-body .btn { align-self: flex-start; margin-top: auto; }

/* 摄像头 4 列网格 */
.wc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card-sm .card-media { height: 230px; }
.card-sm .card-body { padding: 26px; }
.card-sm .card-title { font-size: 19px; }

/* ============ 品牌愿景 ============ */
.vision { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.vision-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.vision-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 10, 0.94) 20%, rgba(6, 8, 10, 0.55) 65%, rgba(6, 8, 10, 0.3));
}
.vision-content { position: relative; z-index: 2; max-width: 720px; }
.vision-content h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 26px; letter-spacing: 0.04em; }
.vision-content h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 20px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.vision-content p { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255, 255, 255, 0.85); }

/* ============ 双横幅 ============ */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.banner:hover img { transform: scale(1.05); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 7, 9, 0.92), rgba(5, 7, 9, 0.15) 60%); }
.banner-body { position: relative; z-index: 2; padding: 36px 38px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.banner-body h3 { font-size: 26px; font-weight: 800; }
.banner-body p { color: rgba(255, 255, 255, 0.78); font-size: 15px; max-width: 460px; }

/* ============ 媒体评价 ============ */
.quote { padding: 120px 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(37, 213, 195, 0.08), transparent 65%), var(--bg-alt); }
.quote-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 40px; }
.quote blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
}
.quote-author { margin-top: 28px; color: var(--muted); font-size: 15px; letter-spacing: 0.05em; }

/* ============ 解决方案 ============ */
.sol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 46px; }
.sol-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 38px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s var(--ease);
}
.sol-item svg { width: 44px; height: 44px; transition: all 0.4s var(--ease); }
.sol-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; transition: all 0.4s var(--ease); }
.sol-item:hover { color: var(--accent); border-color: rgba(37, 213, 195, 0.4); transform: translateY(-6px); background: var(--card-hover); }
.sol-item:hover svg, .sol-item:hover img { transform: scale(1.12); }
.sol-more { text-align: center; }

/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.4s var(--ease); }
.news-card:hover { transform: translateY(-6px); border-color: rgba(37, 213, 195, 0.35); }
.news-media { height: 210px; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.news-body h3 { font-size: 17.5px; font-weight: 700; line-height: 1.5; transition: color 0.3s; }
.news-card:hover .news-body h3 { color: var(--accent); }
.news-date { font-size: 13.5px; color: var(--muted); letter-spacing: 0.05em; }
/* 分类标签 + 元信息行（首页「新闻动态」与新闻列表页共用，数据来自后台「新闻资讯」） */
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(37, 213, 195, 0.12); color: var(--accent); letter-spacing: 0.04em; }
.news-desc { font-size: 14px; color: var(--muted); line-height: 1.75; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 合作伙伴 ============ */
.partners-desc {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  margin: -20px 0 50px;
}
.partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
}
.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 213, 195, 0.35);
  background: var(--card-hover);
}
.partner-mark {
  flex: none;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 213, 195, 0.15), rgba(14, 169, 155, 0.05));
  border: 1px solid rgba(37, 213, 195, 0.25);
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all 0.4s var(--ease);
}
.partner-card:hover .partner-mark {
  background: var(--accent);
  color: #05201d;
  transform: scale(1.04);
}
.partner-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.partner-name { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.partner-desc { font-size: 13.5px; color: var(--muted); }

/* ============ 页脚 ============ */
.footer { background: #08090b; border-top: 1px solid var(--line); padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 20px 0 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.3s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 12px; color: var(--text); }
.footer-col a { color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.3s, transform 0.3s; }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-bottom p { color: rgba(152, 162, 173, 0.7); font-size: 13px; text-align: center; }

/* ============ 滚动入场动画 ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .wc-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + 37px);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 13, 16, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 16px; }
  .dropdown a { color: var(--muted); }
  .burger { display: inline-flex; }
  .nav-actions .btn { display: none; }

  .vc-grid { grid-template-columns: 1fr; }
  .card-xl { grid-row: auto; }
  .card-xl .card-media { height: 320px; }
  .duo-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-dots { right: 18px; }
  .hero-nums { left: 24px; bottom: 26px; }
  .slide-content { padding-bottom: 110px; }
  .vision-overlay { background: linear-gradient(to top, rgba(6, 8, 10, 0.92), rgba(6, 8, 10, 0.45)); }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .wc-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .card-body, .card-xl .card-body { padding: 24px; }
  .card-xl .card-media { height: 250px; }
  .topbar { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   子页面（pages/*.html）专用样式
   ============================================================ */

/* 子页 Hero（与首页 hero 类似但更紧凑，留出 nav 高度） */
.page-hero {
  position: relative;
  margin-top: calc(-1 * var(--nav-h));
  padding: 200px 0 90px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,7,9,0.6) 0%, rgba(5,7,9,0.2) 30%, rgba(5,7,9,0.7) 100%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  border: 1px solid rgba(37,213,195,0.5);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.page-hero p {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 760px;
  line-height: 1.6;
}

/* 介绍段 */
.section-head h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.intro-desc {
  max-width: 860px;
  margin: 18px auto 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  text-align: center;
}

/* Items 网格容器 */
.items-grid {
  display: grid;
  gap: 24px;
}
.product-grid { grid-template-columns: repeat(4, 1fr); }
.topic-grid   { grid-template-columns: repeat(3, 1fr); }
.doc-grid     { grid-template-columns: repeat(2, 1fr); }

/* 产品卡（继承首页 .card 样式，但需要 specs 和 desc 字段） */
.product-grid .card-specs {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-grid .card-specs li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  padding-left: 16px;
  position: relative;
}
.product-grid .card-specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.product-grid .card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 10px 0 14px;
}

/* 产品卡整卡可点 + 「查看详情」引导 */
.card-hit { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-more {
  margin-top: auto;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); opacity: 0.88;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card-hit:hover .card-more { opacity: 1; transform: translateX(5px); }

/* ============ 产品详情页 ============ */
.pd-hero { padding: 132px 0 30px; background: linear-gradient(180deg, rgba(37,213,195,0.09), transparent 78%); }
.pd-back { display: inline-block; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 18px; }
.pd-back:hover { color: var(--accent); }
.pd-cat { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.pd-title { font-size: 40px; line-height: 1.24; font-weight: 800; margin: 0 0 14px; }
.pd-sum { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 840px; margin: 0; }
.pd-wrap { max-width: 1180px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.pd-main { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.pd-main img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb {
  width: 92px; height: 70px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card);
  transition: border-color 0.3s var(--ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.on, .pd-thumb:hover { border-color: var(--accent); }
.pd-h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.52); margin: 0 0 16px; }
.pd-specs { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.pd-specs li { position: relative; padding: 13px 0 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: rgba(255,255,255,0.82); }
.pd-specs li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pd-price { font-size: 26px; font-weight: 800; color: var(--accent); margin: 0 0 20px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-detail, .pd-related { margin-top: 66px; padding-top: 44px; border-top: 1px solid var(--line); }
.pd-rich { font-size: 15.5px; line-height: 1.85; color: rgba(255,255,255,0.78); }
.pd-rich h2, .pd-rich h3 { font-size: 20px; color: #fff; margin: 26px 0 12px; }
.pd-rich p { margin: 0 0 14px; }
.pd-rich ul, .pd-rich ol { margin: 0 0 16px; padding-left: 22px; }
.pd-rich li { margin-bottom: 8px; }
.pd-rich img { max-width: 100%; border-radius: 12px; margin: 10px 0; }
.pd-empty { text-align: center; padding: 90px 0; font-size: 17px; color: rgba(255,255,255,0.6); }
@media (max-width: 900px) {
  .pd-hero { padding-top: 106px; }
  .pd-title { font-size: 29px; }
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 主题卡（solutions / about 用） */
.topic-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(37,213,195,0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.topic-card:hover {
  border-color: rgba(37,213,195,0.4);
  transform: translateY(-4px);
}
.topic-card:hover::before { opacity: 1; }
.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(37,213,195,0.1);
  color: var(--accent);
  margin-bottom: 18px;
}
.topic-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.topic-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* 文档列表卡 */
.doc-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease);
}
.doc-item:hover {
  border-color: rgba(37,213,195,0.4);
  transform: translateX(4px);
  background: rgba(37,213,195,0.04);
}
.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(37,213,195,0.08);
  color: var(--accent);
  flex-shrink: 0;
}
.doc-body { flex: 1; min-width: 0; }
.doc-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 5px;
}
.doc-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.doc-arrow { color: var(--muted); flex-shrink: 0; }
.doc-item:hover .doc-arrow { color: var(--accent); transform: translateX(4px); }

/* CTA 段 */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(37,213,195,0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-section h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* 子页响应式 */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 160px 0 70px; }
  .product-grid, .topic-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 0; }
}

/* ==========================================================================
   栏目内容（后台「栏目内容管理」自动生成）：图文详情 / 图集 / 文档下载
   —— 未在后台填写内容的页面不会出现这些区块
   ========================================================================== */
.mc-section .section-head { text-align: center; margin-bottom: 26px; }
.mc-section .mc-rich { max-width: 900px; margin: 0 auto; }
.mc-section .mc-rich > :first-child { margin-top: 0; }
.mc-section .mc-rich table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.mc-section .mc-rich th,
.mc-section .mc-rich td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.mc-section .mc-rich th { background: rgba(255,255,255,0.04); color: #fff; }
.mc-section .mc-rich figure { margin: 20px 0; }
.mc-section .mc-rich figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

.mc-cover { margin: 26px auto 6px; max-width: 1000px; }
.mc-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.mc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.mc-shot {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: all 0.4s var(--ease);
}
.mc-shot img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s var(--ease); }
.mc-shot:hover { border-color: rgba(37,213,195,0.4); transform: translateY(-4px); }
.mc-shot:hover img { transform: scale(1.04); }
.mc-section + .mc-section { padding-top: 0; }

/* 栏目条目卡片网格（后台「栏目条目」维护，多条图文条目） */
.mc-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 6px;
}
.mc-item-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.mc-item-card:hover {
  border-color: rgba(37,213,195,0.4);
  transform: translateY(-4px);
}
.mc-item-img { display: block; overflow: hidden; }
.mc-item-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mc-item-card:hover .mc-item-img img { transform: scale(1.04); }
.mc-item-body { padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.mc-item-title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.mc-item-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }
.mc-item-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s var(--ease);
}
.mc-item-toggle:hover { border-color: rgba(37,213,195,0.5); background: rgba(37,213,195,0.06); }
.mc-item-toggle svg { transition: transform 0.3s var(--ease); }
.mc-item-toggle.open svg { transform: rotate(180deg); }
.mc-item-detail { width: 100%; font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.8; }
.mc-item-detail img { max-width: 100%; border-radius: 10px; }

@media (max-width: 980px) {
  .mc-gallery { grid-template-columns: repeat(2, 1fr); }
  .mc-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mc-gallery { grid-template-columns: 1fr; }
  .mc-shot img { height: 190px; }
  .mc-items { grid-template-columns: 1fr; }
  .mc-item-img img { height: 190px; }
}

/* ==========================================================================
   留言页（联系我们 / 咨询产品）—— 表单 + 右下角固定联系卡片
   ========================================================================== */
.contact-section { position: relative; }
.contact-main { max-width: 860px; }
/* 表单区左对齐，与右下角固定联系卡呼应 */
.contact-main .section-head { margin-bottom: 22px; }
.contact-main .intro-desc { max-width: none; margin: 0 0 26px; text-align: left; }

/* 站内 <button> 元素（此前站点按钮全是 <a>，这里补默认外壳样式） */
button.btn { font: inherit; cursor: pointer; }
button.btn-line { background: transparent; }

@media (min-width: 1200px) {
  /* 给右下角联系卡片让出空间，避免遮挡表单 */
  .contact-section .container { padding-right: 372px; }
  .contact-main { max-width: none; }
}

/* ---------- 表单 ---------- */
.ct-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: rgba(37, 213, 195, 0.12);
  border: 1px solid rgba(37, 213, 195, 0.35);
  color: var(--accent);
  font-size: 13.5px;
}
.ct-product-chip b { color: var(--text); font-weight: 600; }
/* 类选择器上的 display 会盖过 [hidden] 的默认规则，必须显式兜底 */
.ct-product-chip[hidden] { display: none; }

.ct-form { margin-top: 6px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ct-field { display: block; margin-bottom: 18px; }
.ct-field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ct-field input,
.ct-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.ct-field textarea { resize: vertical; min-height: 132px; line-height: 1.7; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #6b7681; }
.ct-field input:focus,
.ct-field textarea:focus { outline: none; border-color: var(--accent); background: var(--card-hover); }
.ct-field input.ct-bad,
.ct-field textarea.ct-bad { border-color: #ff6b6b; }

.ct-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.ct-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ct-privacy { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.ct-msg { margin-top: 12px; min-height: 18px; font-size: 13.5px; }
.ct-msg.err { color: #ff8080; }
.ct-msg.ok { color: var(--accent); }

.ct-success {
  padding: 56px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.ct-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(37, 213, 195, 0.14);
  color: var(--accent);
}
.ct-success h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.ct-success p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

/* ---------- 右下角固定联系卡片 ---------- */
.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 310px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
}
.contact-fab-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cfab-label { flex: 1; text-align: left; }
.cfab-caret { color: var(--muted); transition: transform 0.3s var(--ease); }
.contact-fab.is-collapsed .cfab-caret { transform: rotate(-90deg); }
.cfab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(37, 213, 195, 0.6);
  animation: cfabPulse 2.4s infinite;
}
@keyframes cfabPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 213, 195, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(37, 213, 195, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 213, 195, 0); }
}

.contact-fab-panel {
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  background: var(--card);
  padding: 16px 16px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.cfab-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 13px; }
.cfab-brand img { height: 19px; width: auto; }
.cfab-brand span { font-size: 13.5px; font-weight: 700; letter-spacing: 0.05em; }

.cfab-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cfab-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.55; }
.cfab-ico { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.cfab-val { color: rgba(255, 255, 255, 0.85); text-decoration: none; word-break: break-word; }
a.cfab-val:hover { color: var(--accent); }

.cfab-wa { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); text-align: center; }
.cfab-wa-label { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.cfab-qr { display: inline-block; padding: 8px; background: #fff; border-radius: 12px; line-height: 0; }
.cfab-qr img { display: block; width: 132px; height: 132px; }
.cfab-wa-tip { margin-top: 9px; font-size: 12px; color: var(--muted); }
.cfab-hours { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }

.contact-fab-mini {
  display: none;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #05201d;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 213, 195, 0.4);
}
.contact-fab-mini:hover { background: #4ae3d4; }

.contact-fab.is-collapsed { width: auto; align-items: flex-end; }
.contact-fab.is-collapsed .contact-fab-toggle,
.contact-fab.is-collapsed .contact-fab-panel { display: none; }
.contact-fab.is-collapsed .contact-fab-mini { display: inline-flex; }

@media (max-width: 900px) {
  .contact-fab { right: 16px; bottom: 16px; }
  .ct-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-fab { width: calc(100vw - 32px); }
  .cfab-qr img { width: 120px; height: 120px; }
}
