/* =========================================================
   HoloVison Studio — 设计系统
   设计原点：一束在完全黑暗的空气中悬浮的蓝白色光。
   光，是唯一的装饰。去掉光效，页面就是纯黑背景 + 白字。
   ========================================================= */

:root {
  /* —— 背景：光出现之前的黑暗，无紫/蓝/灰调 —— */
  --bg: #030507;
  /* —— 文字：纯白。光本身就是白的 —— */
  --text: #FFFFFF;
  /* —— 辅助：极淡灰，占比极小 —— */
  --text-2: #8A9AAF;
  /* —— 光色：冷白偏蓝（约 6500K） —— */
  --light: #E8F2FF;
  --light-2: #D0E4FF;
  /* —— 发光体边缘：极淡青色晕染（空气散射） —— */
  --halo: #A8D8FF;
  /* —— 极细分割线 —— */
  --line: #1A1F2A;
  /* —— 苹果质感：材质与圆角（深色下用白色低透明度做玻璃层） —— */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-edge: rgba(255, 255, 255, 0.09);
  --radius: 14px;

  --maxw: 1080px;
  /* 字体合规 2026-09-03：仅开源白名单（Inter/Noto 系列，均 SIL OFL 免费商用）。
     系统字体不再显式点名（微软雅黑/苹方等），由 system-ui 兜底，渲染效果不变。
     严禁在此加入 方正/汉仪/华康/文鼎/站酷需授权字体 或任何付费 webfont。 */
  --font: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Naskh Arabic",
    "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* 可点元素统一按压反馈（emil-design-eng：按钮必须响应按压） */
.btn:active, .chat-fab:active, .back-to-top:active, .nav-toggle:active,
.lang-current:active, .modal-close:active, .chat-close:active, .lang-option:active {
  transform: scale(0.97);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* —— P0-4 滚动边界与触控行为（2026-09-01 移动端适配） ——
   overscroll-behavior: none 阻止链式滚动/下拉刷新干扰页面内交互；
   touch-action: manipulation 去掉双击缩放延迟（保留捏合缩放），
   同时杜绝 iOS 双击误触按钮导致 300ms 延迟问题。 */
html, body { overscroll-behavior-y: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  /* 点击高亮：交给自定义 :active 反馈，去掉系统默认灰块（P3-1） */
  -webkit-tap-highlight-color: transparent;
}
/* 移动端弹层/菜单打开时由 JS 挂 .no-scroll 锁住页面滚动（P0-4） */
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video, canvas { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* —— 标题：大字号、细字重，非粗体 —— */
h1, h2, h3, h4 { font-weight: 300; line-height: 1.25; letter-spacing: 0.01em; margin: 0; }

/* —— 区块：大留白；相邻区块用极细线分隔，不用卡片 —— */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 500;
  margin: 0 0 48px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
/* 左对齐为主；覆盖原有 center 修饰（用逻辑属性，RTL 自动翻转起点） */
.section-title.center { text-align: start; }
.section-title::after { content: none; }

/* —— 顶部导航：苹果毛玻璃材质，顶部 1px 高光边 —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 5, 7, 0.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  /* P0-2：刘海屏安全区（仅 iPhone 全面屏 > 0） */
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-weight: 400; letter-spacing: 0.14em; font-size: 17px; color: var(--text); }
.site-nav { display: flex; gap: 34px; }
.nav-link { color: var(--text-2); font-size: 15px; font-weight: 400; transition: color 0.25s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -23px; height: 1px;
  background: var(--light); box-shadow: 0 0 8px var(--halo);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* —— 按钮：克制，光是唯一装饰 —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px;
  font-size: 15px; font-weight: 400; letter-spacing: 0.02em; font-family: inherit;
  border: 1px solid var(--line); color: var(--text); background: transparent;
  border-radius: 8px; cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { border-color: var(--light); color: var(--light); box-shadow: 0 0 18px rgba(168, 216, 255, 0.18); }
.btn-primary { border-color: rgba(216, 228, 255, 0.5); }
.btn-ghost { border-color: var(--line); }

/* ===================== HERO ===================== */
/* P0-1：视口高度统一 dvh（iOS 地址栏伸缩时布局不跳变；vh 兜底旧浏览器） */
.hero { position: relative; min-height: 64vh; min-height: 64dvh; display: flex; overflow: hidden; background: var(--bg); }
#heroParticles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 苹果式：满屏 + 文字水平垂直双居中（之前是左对齐 + 浮于中心，用户感知为"没居中"） */
.hero-overlay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: min(900px, 92vw); padding: 0 24px; text-align: center;
}
.hero-slogan {
  font-size: clamp(44px, 8.4vw, 104px); margin: 0 0 26px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.04;
  text-shadow: 0 0 48px rgba(168, 216, 255, 0.22);
}
.hero-sub { color: var(--text-2); font-size: clamp(15px, 2vw, 19px); margin: 0 auto 40px; font-weight: 300; max-width: 32em; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* 极淡水平光纹，居中提示"向下滚动"（贴 hero 底部，紧邻下方 mission） */
.hero-scanline {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 12px; width: 60%; max-width: 560px; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(168, 216, 255, 0.45), transparent);
  filter: blur(0.5px); animation: scan 7s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { opacity: 0.3; transform: translate(-50%, 0); } 50% { opacity: 0.75; transform: translate(-50%, 14px); } }

/* —— 视频模态：淡入 + 内容从 center 缩放（modal 保持 center，规范 200-500ms） —— */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(2, 3, 5, 0.9); opacity: 0; visibility: hidden; transition: opacity 250ms ease, visibility 0s linear 250ms; }
.modal.open { opacity: 1; visibility: visible; transition: opacity 250ms ease; }
.modal-inner { position: relative; width: min(90vw, 900px); aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transform: scale(0.96); opacity: 0; transition: transform 250ms var(--ease), opacity 250ms ease; }
.modal.open .modal-inner { transform: none; opacity: 1; }
.modal-video { width: 100%; height: 100%; }
.modal-video iframe, .modal-video video { width: 100%; height: 100%; border: 0; }
.modal-close, .chat-close { position: absolute; top: 10px; inset-inline-end: 12px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 3; }
.modal-close { top: -46px; inset-inline-end: 0; }

/* ===================== 使命（整段背景图，图片承托文字背后） ===================== */
.section.mission { padding: 0; }  /* 强制 mission 不继承 .section 的 padding */
.mission {
  position: relative; min-height: 48vh; min-height: 48dvh; padding: 32px 0;
  overflow: hidden; isolation: isolate;
  display: flex; align-items: center;  /* 文字垂直居中 */
}
.mission-visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; border: 0; border-radius: 0; min-height: 0; }
.mission .mission-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; z-index: -1; margin: 0;
  border: 0; border-radius: 0; min-height: 0;
  opacity: 0.55; filter: brightness(0.6) saturate(1.05);
}
.mission-media--ph { opacity: 1; filter: none; background: radial-gradient(circle at 65% 50%, rgba(168, 216, 255, 0.18) 0%, rgba(168, 216, 255, 0.06) 40%, transparent 70%); }
/* 左侧暗色蒙版（让左侧文字清晰可读，右侧不挡原图） */
.mission::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 3, 5, 0.9) 0%, rgba(2, 3, 5, 0.55) 50%, rgba(2, 3, 5, 0.18) 100%);
}
.mission-grid {
  position: relative; z-index: 1; width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 max(28px, 6vw);
  display: flex; align-items: center; min-height: inherit;
}
/* mission-visual 作为 .mission 直接子元素，absolute 相对 .mission 全段铺满 */
.mission-text { max-width: 720px; }
.mission-text p { color: var(--text); font-size: 17px; font-weight: 300; line-height: 1.7; }

/* ===================== 核心理念（苹果玻璃卡片） ===================== */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.concept-card {
  position: relative;  /* 角标定位 */
  padding: 26px; border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--glass); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.concept-card:visited { color: inherit; }
.concept-card:hover { transform: translateY(-3px); border-color: rgba(168, 216, 255, 0.28); background: var(--glass-strong); }
.concept-card:focus-visible { outline: 2px solid var(--halo); outline-offset: 2px; }
.concept-no { font-size: 12px; color: var(--halo); letter-spacing: 0.32em; margin-bottom: 18px; }
.concept-card h3 { margin: 0 0 14px; font-size: 21px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.concept-card p { color: var(--text-2); margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; }

/* 苹果式"了解更多"角标：hover 时从右侧滑入 */
.card-arrow {
  position: absolute; right: 22px; bottom: 18px;
  font-size: 20px; color: var(--halo);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.concept-card:hover .card-arrow,
.scenario-card:hover .card-arrow,
.news-item:hover .card-arrow {
  opacity: 1; transform: translateX(0);
}

/* ===================== 技术 ===================== */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.tech-steps { list-style: none; padding: 0; margin: 0; }
.tech-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tech-step:first-child { border-top: 1px solid var(--line); }
.step-no { flex: 0 0 auto; color: var(--halo); font-size: 15px; font-weight: 400; letter-spacing: 0.1em; padding-top: 2px; }
.tech-step h4 { margin: 0 0 6px; font-size: 18px; font-weight: 400; color: var(--text); }
.tech-step p { margin: 0; color: var(--text-2); font-size: 15px; font-weight: 300; }
.tech-note { color: var(--text-2); font-size: 14px; margin-top: 26px; border-inline-start: 1px solid var(--line); padding-inline-start: 14px; font-weight: 300; }

/* 技术示意图：光场中的发光点，单色 */
.tech-visual { position: relative; min-height: 460px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(168, 216, 255, 0.07), transparent 70%); }
.beam { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--light), transparent); opacity: 0.45; }
.focus-point { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 0 22px 5px rgba(168, 216, 255, 0.6); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; } 50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; } }
.scan-dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-around; }
.scan-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--light); opacity: 0.18; animation: dotlight 3.4s ease-in-out infinite; }
.scan-dots i:nth-child(2) { animation-delay: .7s; } .scan-dots i:nth-child(3) { animation-delay: 1.4s; } .scan-dots i:nth-child(4) { animation-delay: 2.1s; }
@keyframes dotlight { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.9; box-shadow: 0 0 8px var(--halo); } }

/* ===================== 应用场景（苹果玻璃卡片） ===================== */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scenario-card {
  position: relative;  /* 角标定位 */
  padding: 26px; border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--glass); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  display: block; text-decoration: none; color: inherit;
  scroll-margin-top: 100px;  /* 锚点跳转留出顶部空间 */
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.scenario-card:visited { color: inherit; }
.scenario-card:hover { transform: translateY(-3px); border-color: rgba(168, 216, 255, 0.28); background: var(--glass-strong); }
.scenario-card:focus-visible { outline: 2px solid var(--halo); outline-offset: 2px; }
.scenario-card h3 { margin: 0 0 12px; color: var(--text); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.scenario-card p { margin: 0; color: var(--text-2); font-size: 15px; font-weight: 300; line-height: 1.7; }

/* 苹果式 See All 卡：虚线 + 居中文字 + 常显箭头（占满网格凑 2×3） */
.scenario-card--more {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-style: dashed; border-color: rgba(255, 255, 255, 0.12); min-height: 160px;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.scenario-card--more:hover { border-color: rgba(168, 216, 255, 0.4); background: rgba(168, 216, 255, 0.04); }
.more-label { font-size: 17px; font-weight: 400; letter-spacing: 0.02em; color: var(--text); }
.card-arrow--always { position: static; opacity: 0.8; transform: none; margin-top: 12px; }
.card-arrow--always:hover { opacity: 1; }

/* ===================== 专利（苹果玻璃卡网格） ===================== */
.patents-body { color: var(--text-2); text-align: center; max-width: 720px; margin: 0 auto 44px; font-weight: 300; }
.patents-list { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 960px; }
.patent-card {
  padding: 26px; border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--glass); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.patent-card:hover { transform: translateY(-3px); border-color: rgba(168, 216, 255, 0.28); background: var(--glass-strong); }
.patent-no { font-size: 12px; color: var(--halo); letter-spacing: 0.32em; }
.patent-text { color: var(--text); font-weight: 300; line-height: 1.6; }

/* ===================== 通栏背景图（与 mission 一致的"图片承托文字"模式） ===================== */
.section.with-bg { position: relative; overflow: hidden; isolation: isolate; }
.section.with-bg > .container { position: relative; z-index: 1; }
.section.with-bg .section-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.section.with-bg .section-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; filter: brightness(0.6) saturate(1.05);
}
.section.with-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(2, 3, 5, 0.7);
}

/* ===================== 关于首页 ===================== */
.about-home-text { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.about-home-text p { color: var(--text); font-size: 17px; font-weight: 300; }
/* 「了解更多 →」按钮靠右（容器用 inline-flex 让按钮靠右对齐） */
.about-home .btn { display: inline-flex; }
.about-home-cta { display: block; width: max-content; margin-left: auto; margin-right: 0; }

/* ===================== 子页面通用 ===================== */
.page-hero { position: relative; overflow: hidden; padding: 140px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 0 0 16px; font-weight: 300; }
.page-hero p { color: var(--text-2); margin: 0; max-width: 640px; font-weight: 300; }

/* 页面顶部背景：单图 */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.35; }

/* 页面顶部背景：多张轮播 */
.page-hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.page-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.page-hero-slide.active { opacity: 0.35; }

/* 首页技术图解：单图 / 轮播 */
.tech-visual-img { padding: 0; background: none; min-height: 460px; display: flex; }
.tech-visual-img img { width: 100%; height: 100%; flex: 1; object-fit: cover; border-radius: 4px; }
.tech-visual-slideshow { position: relative; background: none; min-height: 460px; }
.tech-visual-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; opacity: 0; transition: opacity 1.2s ease; }
.tech-visual-slideshow img.active { opacity: 1; }

/* 页脚前自定义内容 */
.page-bottom-blocks { border-top: 1px solid var(--line); }
.page-bottom-blocks .container { display: flex; flex-direction: column; gap: 40px; }
.page-bottom-text { color: var(--text-2); font-size: 16px; font-weight: 300; line-height: 1.8; max-width: 820px; }
.page-bottom-img { max-width: 100%; width: auto; max-height: 460px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; padding: 8px; background: rgba(255,255,255,0.02); display: block; margin: 0 auto; }
.about-page-text p { color: var(--text); font-size: 17px; font-weight: 300; max-width: 760px; }
.about-values-title { margin-top: 44px; font-size: 18px; font-weight: 400; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { border: 1px solid var(--line); border-radius: 2px; padding: 8px 18px; color: var(--text-2); font-size: 14px; font-weight: 300; }

/* ===================== 联系表单 ===================== */
.contact-wrap { max-width: 560px; }
.contact-form { display: grid; gap: 20px; }
.contact-form label { display: grid; gap: 10px; font-size: 14px; color: var(--text-2); font-weight: 300; }
.contact-form input, .contact-form textarea {
  background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: 13px 15px;
  color: var(--text); font-family: inherit; font-size: 15px; font-weight: 300; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--light); }
.consent { font-size: 13px; color: var(--text-2); margin: 0; font-weight: 300; }
.form-msg { font-size: 14px; margin: 0; min-height: 20px; }
.form-msg.ok { color: var(--light); }
.form-msg.err { color: #E0A0A0; }

/* ===================== 进展（苹果玻璃卡片，居中单列） ===================== */
.news-list { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; }
.news-item {
  position: relative;  /* 角标定位 */
  border: 1px solid rgba(255, 255, 255, 0.07); padding: 26px;
  background: var(--glass); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  display: block; text-decoration: none; color: inherit;
  scroll-margin-top: 100px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.news-item:visited { color: inherit; }
.news-item:hover { transform: translateY(-3px); border-color: rgba(168, 216, 255, 0.28); background: var(--glass-strong); }
.news-item:focus-visible { outline: 2px solid var(--halo); outline-offset: 2px; }
.news-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.news-date { color: var(--halo); font-size: 14px; font-weight: 400; }
.news-type { font-size: 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; padding: 2px 10px; color: var(--text-2); }
.news-item h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.news-item p { margin: 0 0 30px; color: var(--text-2); font-weight: 300; }  /* 底部留空给角标 */

/* 首页最新进展 */
.progress-home-more { margin-top: 40px; text-align: center; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0; }
.footer-inner { display: grid; gap: 18px; }
.footer-brand { font-weight: 400; letter-spacing: 0.14em; color: var(--text); }
.footer-meta p { margin: 4px 0; color: var(--text-2); font-size: 14px; font-weight: 300; }
.footer-meta a:hover { color: var(--light); }
.footer-note { color: var(--text-2); font-size: 12px; opacity: 0.7; margin: 8px 0 0; font-weight: 300; }

/* ===================== AI 客服浮窗（与返回顶部按钮统一风格） ===================== */
.chat-fab {
  position: fixed; inset-inline-end: 24px; bottom: 84px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line, #1b2536);
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, var(--light, #a9d8ff) 45%, var(--light-2, #4a8fd6) 100%);
  color: #030507; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 0 20px rgba(168, 216, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), opacity 0.2s;
}
.chat-fab svg { width: 26px; height: 26px; overflow: visible; display: block; }
.chat-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 30px rgba(168, 216, 255, 0.6), 0 0 0 6px rgba(168, 216, 255, 0.1); }
/* 客服离线（非工作时间）：半透明置灰，鼠标禁止 */
.chat-fab-offline { opacity: .55; filter: grayscale(.8); cursor: not-allowed; }
.chat-fab-offline:hover { transform: none; box-shadow: 0 0 20px rgba(168, 216, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.25); opacity: .8; }
/* 离线提示气泡 */
.chat-offline-tip {
  position: fixed; z-index: 90; max-width: 260px; padding: 10px 14px;
  background: #0a1018; border: 1px solid var(--line, #1b2536); border-radius: 6px;
  color: var(--text, #d7e6ff); font-size: 13px; line-height: 1.6; font-weight: 300;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); display: none;
}
.chat-panel {
  position: fixed; inset-inline-end: 24px; bottom: calc(40% - 80px); z-index: 80; width: 360px; width: min(360px, 92vw); height: 460px; max-height: 64vh; max-height: 64dvh;
  background: rgba(10, 13, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; flex-direction: column; overflow: hidden;
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 12px 40px rgba(0, 0, 0, 0.5);
  display: flex; opacity: 0; visibility: hidden;
  transform-origin: bottom right; transform: translateY(8px) scale(0.98);
  transition: opacity 200ms ease, transform 200ms var(--ease), visibility 0s linear 200ms;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms var(--ease); }
/* 移动端拖拽关闭用：把手条 */
.chat-grabber {
  display: none; /* 仅移动端 bottom-sheet 显示 */
  flex: 0 0 auto; height: 22px; align-items: center; justify-content: center;
  cursor: grab; touch-action: none;
}
.chat-grabber i { width: 40px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); display: block; }
.chat-grabber:active { cursor: grabbing; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; border-bottom: 1px solid var(--line); font-weight: 300; color: var(--text); }
/* 头部标题不与关闭按钮重叠：自动省略 */
.chat-head #chatTitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head .chat-close { flex: 0 0 auto; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { padding: 11px 15px; border-radius: 4px; font-size: 14px; max-width: 85%; line-height: 1.65; font-weight: 300; }
.chat-msg.bot { background: transparent; border: 1px solid var(--line); align-self: flex-start; color: var(--text); }
.chat-msg.user { background: var(--light); color: #07101C; align-self: flex-end; font-weight: 400; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-loadmore { border: 1px dashed var(--line); background: transparent; color: var(--text); opacity: .65; border-radius: 2px; margin: 10px 16px 0; padding: 7px; font-family: inherit; font-size: 12px; font-weight: 300; cursor: pointer; transition: opacity .2s; }
.chat-loadmore:hover { opacity: 1; }
.chat-input input { flex: 1; background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; color: var(--text); font-family: inherit; font-weight: 300; }
.chat-input input:focus { outline: none; border-color: var(--light); }
.chat-input button { background: var(--light); color: #07101C; border: 0; border-radius: 2px; padding: 0 18px; font-weight: 400; cursor: pointer; }

/* ===================== 移动端底部 Tab Bar（P1-1，苹果式） ===================== */
.mobile-tabbar {
  display: none; /* 桌面隐藏，≤900px 显示 */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(3, 5, 7, 0.86);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mobile-tabbar-inner { display: flex; width: 100%; height: 100%; }
.tab-item {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: var(--text-2); text-decoration: none;
  min-height: 44px; /* P0-3：触控目标 ≥44px */
  transition: color 0.2s;
}
.tab-item:active { transform: scale(0.94); }
.tab-item.active { color: var(--light); }
.tab-icon { width: 22px; height: 22px; display: grid; place-items: center; }
.tab-icon svg { width: 22px; height: 22px; }
.tab-label { font-size: 11px; font-weight: 300; letter-spacing: 0.02em; line-height: 1; }

/* ===================== 触控目标升级（P0-3） ===================== */
@media (max-width: 900px) {
  /* 输入框 ≥16px 防 iOS 聚焦自动缩放 */
  .contact-form input, .contact-form textarea,
  .chat-input input { font-size: 16px; }
  .btn { min-height: 44px; }
  .modal-close, .chat-close { width: 44px; height: 44px; font-size: 22px; }
  .lang-current { min-height: 44px; }
}

/* ===================== 轮播移动端横滑吸附（P1-3） ===================== */
@media (max-width: 900px) {
  .tech-visual-slideshow {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .tech-visual-slideshow::-webkit-scrollbar { display: none; }
  .tech-visual-slideshow img {
    flex: 0 0 100%; min-width: 100%; scroll-snap-align: start;
    position: relative; inset: auto; opacity: 1 !important;
    height: 100%; object-fit: cover; transition: none;
  }
  .page-hero-slideshow {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .page-hero-slideshow::-webkit-scrollbar { display: none; }
  .page-hero-slide {
    flex: 0 0 100%; min-width: 100%; scroll-snap-align: start;
    opacity: 0.35; position: relative; height: 100%;
  }
  .page-hero-slide.active { opacity: 0.35; }
}

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .mission-grid, .tech-grid { grid-template-columns: 1fr; gap: 40px; }
  .concept-grid, .scenario-grid { grid-template-columns: 1fr; gap: 18px; }
  .concept-card, .scenario-card { padding: 26px; }
  .patents-list { grid-template-columns: 1fr; }
  /* P1-1：底部 Tab Bar 替代汉堡菜单（苹果式） */
  .nav-toggle { display: none; }
  .site-nav { display: none; } /* 移动端隐藏顶部导航，改用底部 tab bar */
  .mobile-tabbar { display: flex; height: 58px; height: calc(58px + env(safe-area-inset-bottom)); }
  /* 内容底部留出 tab bar + 安全区高度，避免被遮挡（双写：env() 不支持的旧内核回退 58px） */
  body { padding-bottom: 58px; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

  /* P1-2：客服面板移动端变底部 bottom-sheet（抬到 tab bar 之**上**，避免输入框被遮） */
  .chat-panel {
    inset-inline-end: 0; bottom: 58px; bottom: calc(58px + env(safe-area-inset-bottom));
    width: 100%; height: 68dvh; max-height: none;
    /* T-2 保险：横屏/小屏时面板顶部不溢出（含 tab bar + 留 12px 间距） */
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    transform-origin: bottom center;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .chat-grabber { display: flex; }
  /* 打开面板锁滚动 */
  body.chat-open { overflow: hidden; }

  /* P0-2：底部悬浮按钮避开 tab bar + 安全区（双写：env() 不支持的旧内核回退 82px）。
     Bug-54：chat-fab 与 back-to-top 改为左右并排（不再垂直堆叠）：
     - chat-fab 保持最右下：bottom:82px / inline-end:24px
     - back-to-top 移到 fab 左侧 12px：同一 bottom:82px（共享基线），inline-end:84px
       (= 24px fab 右边距 + 48px fab 宽 + 12px 间距)
     ⚠️ back-to-top 仍需 body 选择器提升 specificity 到 (0,1,1)，
     否则源码靠后的桌面段 .back-to-top { inset-inline-end:24px; bottom:24px }（617 行）覆盖本段。 */
  .chat-fab { bottom: 82px; bottom: calc(58px + 24px + env(safe-area-inset-bottom)); }
  body .back-to-top {
    bottom: 82px; bottom: calc(58px + 24px + env(safe-area-inset-bottom));
    inset-inline-end: 84px;
  }

  /* T-1：tab label 防换行 + 6 项拥挤适配（小屏保留可读性） */
  .tab-item { gap: 3px; padding: 2px 0; }
  .tab-item .tab-icon { width: 20px; height: 20px; }
  .tab-item .tab-icon svg { width: 20px; height: 20px; }
  .tab-item .tab-label {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%; padding: 0 2px; letter-spacing: -0.1px;
  }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero-overlay { bottom: auto; top: 50%; transform: translateY(-50%); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* P2-2：360px 及以下小屏核对（iPhone SE / 老安卓） */
@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero-slogan { font-size: clamp(36px, 10vw, 44px); }
  .hero-sub { font-size: 15px; }
  .concept-card, .scenario-card, .patent-card, .news-item { padding: 20px; }
  .section { padding: 52px 0; }
  /* 极小屏：6 tab 仍挤，缩 icon+label 到极致，确保单行不换行不溢出 */
  .tab-item .tab-icon, .tab-item .tab-icon svg { width: 18px; height: 18px; }
  .mobile-tabbar .tab-label { font-size: 9.5px; letter-spacing: -0.2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ===================== 语言切换器（下拉菜单） ===================== */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); color: var(--text-2);
  font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1;
  padding: 7px 10px; border-radius: 2px; cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.lang-current:hover { color: var(--text); border-color: var(--light); background: rgba(255,255,255,0.04); }
.lang-curr-label { display: inline-block; }
.lang-caret { font-size: 10px; opacity: .7; }
.lang-switch.open .lang-current { color: var(--text); border-color: rgba(216, 228, 255, 0.5); background: rgba(255,255,255,0.06); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0;
  min-width: 140px; max-height: 70vh; max-height: 70dvh; overflow: auto;
  background: rgba(10, 13, 20, 0.82); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px;
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 10px 32px rgba(0,0,0,0.5);
  display: none; flex-direction: column; padding: 4px; z-index: 100;
}
.lang-switch.open .lang-menu { display: flex; }
.lang-option {
  background: transparent; border: 0; color: var(--text-2);
  font-family: inherit; font-size: 13px; font-weight: 300; line-height: 1;
  text-align: start; padding: 9px 12px; border-radius: 8px; cursor: pointer; transition: color .2s, background .2s;
}
.lang-option:hover, .lang-option:focus { color: var(--text); background: rgba(168, 216, 255, 0.10); outline: none; }
.lang-option.active { color: var(--text); background: rgba(168, 216, 255, 0.14); }

/* ===================== 滚动进场（JS 就绪后启用，无 JS 时内容始终可见） ===================== */
.reveal-ready .section, .reveal-ready .page-hero {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-ready .section.in-view, .reveal-ready .page-hero.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .section, .reveal-ready .page-hero { opacity: 1; transform: none; transition: none; }
}

/* 小屏：下拉菜单宽度自适应，避免溢出 */
@media (max-width: 560px) {
  .lang-menu { min-width: 120px; inset-inline-end: -10px; }
  .lang-current { padding: 6px 8px; font-size: 12px; }
}

/* 返回顶部按钮（全页面通用，RTL 友好） */
.back-to-top {
  position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line, #1b2536);
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, var(--light, #a9d8ff) 45%, var(--light-2, #4a8fd6) 100%);
  color: #030507; font-size: 22px; line-height: 1; font-weight: 700; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 0 20px rgba(168, 216, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), opacity 0.2s;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 30px rgba(168, 216, 255, 0.6), 0 0 0 6px rgba(168, 216, 255, 0.1); }
/* 极小屏缩小返回顶部按钮；bottom 继承 900px 段（82px）。
   Bug-54：清掉此段原 inset-inline-end:16px，避免覆盖 900px 段的 84px（并排位置）。 */
@media (max-width: 520px) { .back-to-top { width: 42px; height: 42px; font-size: 19px; } }

/* =========================================================
   嵌入模块（页脚前可嵌入的「技术 / 应用场景 / 关于我们」整段）
   ========================================================= */
.page-bottom-blocks { display: contents; }
.embed-module {
  border-top: 1px solid rgba(168, 216, 255, 0.12);
  margin-top: 48px;
  padding-top: 56px;
  /* 轻微 "由深到浅" 渐变，与页面正文章过渡 */
  position: relative;
}
.embed-module::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, #A8D8FF 50%, transparent);
  opacity: 0.65;
}
.sub-hint { font-size: 12px; opacity: 0.6; margin: 6px 0 0 0; line-height: 1.6; }

/* =========================================================
   动效规范（emil-design-eng / apple-design，2026-08-31 应用）
   ========================================================= */

/* 语言菜单：从触发器 origin 弹出（150ms ease-out，规范 125-200ms） */
.lang-menu {
  transform-origin: top right;
  animation: menuIn 150ms var(--ease) both;
}
@keyframes menuIn {
  from { opacity: 0; transform: scale(0.96) translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* 滚动进场：多 section 交错出现（stagger 60ms，规范 30-80ms） */
.reveal-ready .section.in-view { transition-delay: 0s; }
.reveal-ready .section:nth-of-type(2).in-view { transition-delay: 60ms; }
.reveal-ready .section:nth-of-type(3).in-view { transition-delay: 120ms; }
.reveal-ready .section:nth-of-type(4).in-view { transition-delay: 180ms; }

/* 触摸设备：禁用会误导的缩放型 hover（颜色 hover 保留，避免 tap 误触发） */
@media (hover: none), (pointer: coarse) {
  .chat-fab:hover { transform: none; }
  .back-to-top:hover { transform: none; }
  .btn:hover { box-shadow: none; }
}
