/* ==========================================================================
   杭州慧能科技 · 官网设计体系（零依赖）
   深色科技风格：深空蓝渐变 + 玻璃拟态 + 渐变高光
   所有页面统一引用本文件，不再依赖 Bootstrap / jQuery / Swiper / AOS
   ========================================================================== */

/* 1. 设计令牌 */
:root {
  --bg: #05080f;
  --bg-2: #070e1e;
  --bg-3: #0a1730;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #e9eefb;
  --ink-2: #a9b8d6;
  --ink-3: #7889a9;
  --brand: #2f7bff;
  --brand-2: #22d3ee;
  --grad: linear-gradient(120deg, #2f7bff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(140deg, rgba(47, 123, 255, 0.28), rgba(34, 211, 238, 0.12));
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(3, 10, 28, 0.9);
  --shadow-brand: 0 30px 60px -30px rgba(47, 123, 255, 0.55);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. 基础重置 */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 8% -5%, rgba(47, 123, 255, 0.16), transparent 70%),
    radial-gradient(45% 40% at 95% 5%, rgba(34, 211, 238, 0.1), transparent 70%),
    radial-gradient(50% 50% at 50% 110%, rgba(109, 92, 255, 0.12), transparent 70%);
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }

::selection { background: rgba(34, 211, 238, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  background: var(--brand); color: #03101f; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* 3. 布局与排版 */
.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }

.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section > .container { position: relative; z-index: 1; }
.section--tight { padding-top: clamp(36px, 4vw, 56px); }

.section--alt {
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.6), rgba(5, 8, 15, 0.1) 65%, transparent);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section--alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(65% 75% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(65% 75% at 50% 40%, #000, transparent 78%);
  opacity: 0.5;
}

.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 1rem; }
.section-head--left { margin-inline: 0; text-align: left; }
.h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 0.35rem 0.9rem;
  border: 1px solid rgba(47, 123, 255, 0.35); border-radius: 999px;
  background: rgba(47, 123, 255, 0.1); color: #bcd6ff;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}

.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.section-cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* 4. 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border: 1px solid transparent; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: #04101f; box-shadow: 0 14px 30px -14px rgba(47, 123, 255, 0.85); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(34, 211, 238, 0.75); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #9fd8ff; font-size: 0.94rem; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--brand-2); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. 站点头部与导航 */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }

.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(5, 8, 15, 0.78);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; opacity: 0;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled::before,
.site-header--solid::before { opacity: 1; border-bottom-color: var(--line); }

.header-inner {
  position: relative; z-index: 1; display: flex;
  align-items: center; gap: 1.5rem; height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 170px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.3rem; }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--ink-2); font-size: 0.95rem; font-weight: 500; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-link.is-current { color: #fff; background: rgba(255, 255, 255, 0.09); }

.nav-link .chev { width: 12px; height: 12px; opacity: 0.65; transition: transform 0.25s var(--ease); }
.nav-item--has-drop:hover .nav-link .chev,
.nav-item--has-drop:focus-within .nav-link .chev { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: calc(100% + 22px); left: 50%;
  min-width: 190px; padding: 0.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(9, 17, 34, 0.97);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
}

/* 鼠标从导航移入下拉面板的过渡区域 */
.nav-drop::before { content: ""; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }

.nav-item--has-drop:hover .nav-drop,
.nav-item--has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-drop a { display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 0.9rem; }
.nav-drop a:hover { color: #fff; background: rgba(47, 123, 255, 0.18); }
.nav-cta { display: inline-flex; align-items: center; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, 0.05);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  border-radius: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6. 首页 Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(56px, 7vw, 100px);
}

.hero::before {
  content: ""; position: absolute; inset: -30% -15% auto; height: 130%; z-index: -2;
  background:
    radial-gradient(48% 55% at 20% 18%, rgba(47, 123, 255, 0.3), transparent 70%),
    radial-gradient(40% 48% at 82% 12%, rgba(34, 211, 238, 0.2), transparent 72%),
    radial-gradient(55% 55% at 62% 88%, rgba(109, 92, 255, 0.18), transparent 72%);
}

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 32%, #000, transparent 76%);
  mask-image: radial-gradient(70% 65% at 50% 32%, #000, transparent 76%);
  opacity: 0.65;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 64px); align-items: center;
}

.hero-copy h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.18; letter-spacing: -0.02em; }
.hero-copy h1 em {
  font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 34em; margin-top: 22px; color: var(--ink-2); font-size: clamp(0.98rem, 1.1vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(32px, 4vw, 46px); padding-top: 26px; border-top: 1px solid var(--line);
}
.stat dt {
  font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.2;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat dd { margin: 6px 0 0; color: var(--ink-3); font-size: 0.8rem; }

/* Hero 右侧解决方案展示卡 */
.hero-card {
  position: relative; padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(47, 123, 255, 0.08);
}
.hero-card::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--grad); opacity: 0.12; filter: blur(28px);
}

.slider { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0a1428; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0) 72%, rgba(4, 8, 18, 0.72) 100%);
}

.slider-bar {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px;
}
.slider-title {
  flex: 1 1 auto; min-width: 0; font-size: 0.86rem; font-weight: 600; color: #fff;
  letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slider-dots { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.slider-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.7); }
.slider-dot.is-active { width: 24px; background: var(--grad); }
.slider-dot span { display: none; }

/* 7. 卡片：优势 / 产品 */
.card-grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose + .card-grid,
.card-grid + .prose { margin-top: clamp(24px, 3vw, 36px); }

.feature-card {
  position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; right: -30%; bottom: -60%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.4), transparent 68%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(47, 123, 255, 0.42); box-shadow: var(--shadow-brand); }
.feature-card:hover::after { opacity: 1; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { color: var(--ink-2); font-size: 0.94rem; }

.icon-tile {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border: 1px solid rgba(47, 123, 255, 0.35); border-radius: 18px;
  background: var(--grad-soft); color: #a8dcff;
}
.icon-tile svg { width: 26px; height: 26px; }

/* 软件产品：3 + 2 排布；仅两条产品线时均分两列 */
.software-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.software-grid > * { grid-column: span 2; }
.software-grid--two > * { grid-column: span 3; }
.software-grid > *:nth-child(4),
.software-grid > *:nth-child(5) { grid-column: span 3; }

.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.product-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(47, 123, 255, 0.16), transparent 55%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(47, 123, 255, 0.45); box-shadow: var(--shadow-brand); }
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; }
.product-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.product-card p { flex: 1; color: var(--ink-2); font-size: 0.93rem; }
.product-card .link-arrow { margin-top: 20px; }
.product-tag {
  display: inline-block; margin-bottom: 14px; padding: 0.2rem 0.6rem;
  border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink-3); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* 8. 硬件产品图墙 */
.hardware-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hardware-item {
  position: relative; display: block; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #0a1428;
}
.hardware-item img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.92;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.hardware-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0) 45%, rgba(4, 8, 18, 0.88) 100%);
}
.hardware-item:hover { border-color: rgba(47, 123, 255, 0.45); }
.hardware-item:hover img { transform: scale(1.06); opacity: 1; }
.hardware-name {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; color: #fff; font-size: 0.95rem; font-weight: 600;
}
.hardware-name svg { width: 18px; height: 18px; color: var(--brand-2); transition: transform 0.3s var(--ease); }
.hardware-item:hover .hardware-name svg { transform: translateX(4px); }

.hardware-more {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; padding: 28px; aspect-ratio: 4 / 3;
  border: 1px dashed rgba(47, 123, 255, 0.45); border-radius: var(--radius-lg);
  background: rgba(47, 123, 255, 0.07);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hardware-more:hover { background: rgba(47, 123, 255, 0.14); border-color: rgba(47, 123, 255, 0.8); }
.hardware-more strong { font-size: 1.05rem; }
.hardware-more span { color: var(--ink-2); font-size: 0.88rem; }

/* 9. 案例 */
.case-list { display: grid; gap: clamp(40px, 5vw, 72px); }
.case-row {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.case-media {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #0a1428; box-shadow: var(--shadow);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case-media:hover img { transform: scale(1.04); }
.case-body h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 14px; }
.case-body p { color: var(--ink-2); font-size: 0.95rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.case-tags span {
  padding: 0.25rem 0.7rem; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px;
  background: rgba(34, 211, 238, 0.08); color: #a5e9f7; font-size: 0.76rem;
}
.case-body .link-arrow { margin-top: 22px; }
.case-row--flip .case-media { order: 2; }

/* 10. 合作伙伴 */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.partner-item {
  display: grid; place-items: center; padding: 22px;
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.94);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-item img {
  width: 100%; max-width: 150px; opacity: 0.8; filter: saturate(0.85);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.partner-item:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(47, 123, 255, 0.75); }
.partner-item:hover img { opacity: 1; filter: none; }

/* 11. CTA 区块 */
.cta-band {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(47, 123, 255, 0.32); border-radius: 28px;
  background:
    radial-gradient(55% 120% at 12% 0%, rgba(47, 123, 255, 0.3), transparent 70%),
    radial-gradient(45% 110% at 92% 100%, rgba(34, 211, 238, 0.22), transparent 72%),
    rgba(10, 23, 48, 0.5);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { max-width: 620px; margin: 16px auto 0; color: var(--ink-2); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* 12. 页脚 */
.site-footer {
  margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 16, 34, 0.55), rgba(4, 7, 14, 0.96));
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 32px; }
.footer-brand img { width: 160px; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; color: var(--ink-2); font-size: 0.88rem; }
.footer-col h4 { margin-bottom: 16px; color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--ink-2); font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }

.footer-contact li { display: flex; gap: 10px; color: var(--ink-2); font-size: 0.88rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 5px; flex: none; color: var(--brand-2); }
.footer-contact a:hover { color: #fff; }

.footer-qr { margin-top: 20px; }
.footer-qr .qr-box { display: inline-block; padding: 8px; border-radius: var(--radius-sm); background: #fff; }
.footer-qr img { width: 104px; height: 104px; object-fit: contain; }
.footer-qr p { margin-top: 8px; color: var(--ink-3); font-size: 0.78rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(36px, 5vw, 56px); padding: 22px 0;
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--ink); }

/* 13. 悬浮操作按钮 */
.fab-stack {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(10, 20, 40, 0.92); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px -12px #000;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.fab svg { width: 20px; height: 20px; }
.fab:hover { background: rgba(47, 123, 255, 0.28); border-color: rgba(47, 123, 255, 0.65); color: #fff; transform: translateY(-2px); }
.fab--top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* 14. 滚动显现动画 */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* 15. 内页通用组件（模板使用） */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 5vw, 64px)) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 90% at 15% 0%, rgba(47, 123, 255, 0.22), transparent 70%),
    radial-gradient(45% 80% at 90% 10%, rgba(34, 211, 238, 0.14), transparent 72%);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-hero p { max-width: 46em; margin-top: 14px; color: var(--ink-2); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--ink-3); font-size: 0.84rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, 0.25); }

.pill-nav {
  display: flex; gap: 10px; overflow-x: auto; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav a {
  flex: none; padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-size: 0.9rem; white-space: nowrap;
}
.pill-nav a:hover,
.pill-nav a.is-current { border-color: rgba(47, 123, 255, 0.55); background: rgba(47, 123, 255, 0.18); color: #fff; }

.prose { max-width: 960px; color: var(--ink-2); }
.prose h2 { margin: 48px 0 14px; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); }
.prose h3 { margin: 32px 0 10px; color: var(--ink); font-size: 1.05rem; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 16px; padding-left: 1.1rem; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose img { width: 100%; height: auto; margin: 24px auto; border-radius: var(--radius); }
.prose .center { text-align: center; }

.panel {
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

/* 16. 列表页 / 详情页 / 资料页组件 */
.media-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card:hover { transform: translateY(-5px); border-color: rgba(47, 123, 255, 0.45); box-shadow: var(--shadow-brand); }
.media-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #0a1428; }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-card:hover .media-card__media img { transform: scale(1.05); }
.media-card__body { padding: 18px 20px 22px; }
.media-card__body h3 { font-size: 1.02rem; }
.media-card__body p { margin-top: 8px; color: var(--ink-2); font-size: 0.88rem; }

.plain-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 84px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plain-tile span { color: var(--ink); font-weight: 600; }
.plain-tile svg { flex: none; width: 18px; height: 18px; color: var(--brand-2); transition: transform 0.3s var(--ease); }
.plain-tile:hover { transform: translateY(-3px); border-color: rgba(47, 123, 255, 0.45); box-shadow: var(--shadow-brand); }
.plain-tile:hover svg { transform: translateX(4px); }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.media-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #0a1428;
}
.media-grid--one { grid-template-columns: 1fr; max-width: 680px; }

.spec-block {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}
.spec-block + .spec-block { margin-top: 18px; }
.spec-block h3 { font-size: 1.12rem; }
.spec-model { margin-top: 4px; color: var(--ink-3); font-size: 0.82rem; letter-spacing: 0.04em; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px; margin-top: 18px; padding: 0; list-style: none; }
.spec-list li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.65; }
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); opacity: 0.65;
}

.table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table-wrap th,
.table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); text-align: left; vertical-align: top; }
.table-wrap th { background: rgba(47, 123, 255, 0.1); color: var(--ink); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

.prose-figure { margin: 26px 0; }
.prose-figure img { margin: 0; }
.prose a { color: #9fd8ff; }
.prose a:hover { color: var(--brand-2); }

.download-list { display: grid; gap: 14px; }
.download-item {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 20px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.download-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.download-item h3 { font-size: 1rem; }
.download-item p { margin-top: 4px; color: var(--ink-2); font-size: 0.87rem; }

.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.block-title { margin: 52px 0 20px; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
.block-title:first-child { margin-top: 0; }

.about-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-video { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #0a1428; }
.about-video video { display: block; width: 100%; height: auto; }
.about-text p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.95; }
.about-text p + p { margin-top: 14px; }

.honour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.honour-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.035);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.honour-card:hover { transform: translateY(-4px); border-color: rgba(47, 123, 255, 0.45); }
.honour-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #eef2f8; padding: 8px; }
.honour-card span { padding: 12px 14px; color: var(--ink-2); font-size: 0.83rem; text-align: center; }

.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: center; }
.contact-hero img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #0a1428; }
.contact-hero p { color: var(--ink-2); font-size: 0.92rem; }
.contact-hero p + p { margin-top: 6px; }

.notice-title { margin-bottom: 8px; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.prose ol { margin: 0 0 16px; padding-left: 1.2rem; list-style: decimal; }
.prose ol li { margin-bottom: 8px; }
.prose h2:first-child { margin-top: 0; }
.is-disabled { opacity: 0.5; pointer-events: none; }
.address-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.03); }
.address-card h3 { margin-bottom: 10px; font-size: 1rem; }
.address-card p { color: var(--ink-2); font-size: 0.9rem; }
.address-card p + p { margin-top: 4px; }

/* 17. 响应式 */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; display: block;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1rem 1.5rem 2.5rem; margin-left: 0;
    background: rgba(6, 12, 26, 0.98);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }

  .nav-list { display: block; }
  .nav-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-link { width: 100%; padding: 0.9rem 0.25rem; border-radius: 0; font-size: 1rem; }
  .nav-link:hover { background: none; }
  .nav-link.is-current { background: none; color: var(--brand-2); }
  .nav-link .chev { display: none; }
  .nav-item--has-drop:hover .nav-link .chev,
  .nav-item--has-drop:focus-within .nav-link .chev { transform: none; }

  /* 移动端直接展开二级导航 */
  .nav-drop {
    position: static; min-width: 0; padding: 0 0 0.9rem 0.4rem;
    border: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  }
  .nav-drop::before { display: none; }
  .nav-item--has-drop:hover .nav-drop,
  .nav-item--has-drop:focus-within .nav-drop { transform: none; }
  .nav-drop a { padding: 0.5rem 0.6rem; font-size: 0.86rem; }
  .nav-cta { padding-top: 18px; }
  .nav-cta .btn { width: 100%; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software-grid > * { grid-column: span 1 !important; }
  .software-grid > *:last-child { grid-column: span 2 !important; }
  .software-grid--two > *:last-child { grid-column: span 1 !important; }

  .hardware-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-list { grid-template-columns: 1fr; }
  .about-intro, .contact-hero { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; }
  .case-row--flip .case-media { order: 0; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2.5rem); }
  :root { --header-h: 66px; }
  .brand img { width: 146px; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }

  .grid-3, .grid-2, .software-grid { grid-template-columns: 1fr; }
  .software-grid > *:last-child { grid-column: span 1 !important; }
  .hardware-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-grid, .address-grid, .download-item { grid-template-columns: 1fr; }
  .download-item img { width: 48px; height: 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }

  .fab-stack { right: 14px; bottom: 16px; }
  .fab { width: 42px; height: 42px; }

  .slider-bar { padding: 9px 12px; gap: 10px; }
  .slider-title { font-size: 0.76rem; }
  .slider-dot { width: 6px; height: 6px; }
  .slider-dot.is-active { width: 16px; }
}
