/* ============================================================
 * 迈诺诗 · 暗色科技感
 * 颜色、字体、间距 —— 仅在这里改 token 即可统一风格
 * ============================================================ */
:root {
  --bg-0: #050505;
  --bg-1: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #1a1a20;

  --text-0: #ffffff;
  --text-1: #e6e6ec;
  --text-2: #a0a0ad;
  --text-3: #6b6b78;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 品牌渐变色（可改成你公司色） */
  --brand-1: #6366f1; /* indigo */
  --brand-2: #06b6d4; /* cyan   */
  --brand-3: #a855f7; /* violet */

  --grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 50%, var(--brand-3) 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .35);

  --container: 1240px;

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med:  320ms cubic-bezier(.4,0,.2,1);
}

/* ============================================================
 * 基础重置
 * ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* body 直接子元素 main 默认占满剩余高度（内页用） */
body > main { flex: 1; display: flex; flex-direction: column; min-height: 0; }
main > section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
/* 单段 section 占满（仅一段 section 的页面用 .fill-remaining） */
main > section.fill-remaining { flex: 1; }
/* page-hero 不参与 flex 平分 */
.page-hero { flex: 0 0 auto; }
/* 内容多的页面：让 main 自己滚，body 不滚 */
main.is-scrollable { overflow-y: auto; }
/* 锚点跳转时，给 section 预留导航栏高度（68px + 一点呼吸空间），避免内容被遮住 */
section[id] { scroll-margin-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ============================================================
 * 导航栏
 * ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, .55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med);
}
.nav.scrolled {
  background: rgba(10, 10, 12, .85);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--text-0);
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-menu ul {
  display: flex;
  gap: 28px;
}
.nav-menu a {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
  transition: color var(--t-fast);
  position: relative;
}
.nav-menu a:hover { color: var(--text-0); }
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0; height: 1px;
  background: var(--grad);
  transition: width var(--t-med), left var(--t-med);
}
.nav-menu a:hover::after { width: 100%; left: 0; }
.nav-menu a.active { color: var(--text-0); }
.nav-menu a.active::after { width: 100%; left: 0; }

/* 语言切换按钮 */
.lang-switch-wrap {
    display: inline-flex;
    position: static;
    margin-left: 4px;
  }
.lang-switch {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  border: 1px solid transparent;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  line-height: 1.4;
}
.lang-switch:hover { color: var(--text-0); border-color: var(--line-strong); }
.lang-switch.is-active {
  color: var(--text-0);
  background: rgba(255,255,255,.08);
  border-color: var(--line-strong);
}

/* 文字列表式产品（products 列表页、详情页侧栏共用） */

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-0);
  color: var(--text-0);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.4); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span {
  width: 22px; height: 1.5px; background: var(--text-0);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

/* ============================================================
 * Hero（首页 100vh 一屏）
 * ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);     /* 减掉 footer 高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 60px;                 /* 给固定 nav 留位 */
  width: 100%;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg-url, var(--bg-1)) center/cover no-repeat;
  opacity: .35;
  filter: saturate(.9);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(5,5,5,.3) 0%,
    rgba(5,5,5,.55) 50%,
    rgba(5,5,5,.95) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .5;
}
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99,102,241,.25) 0%, rgba(6,182,212,.12) 35%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: .15em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text-1);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text-0);
  margin-bottom: 22px;
  background: linear-gradient(180deg, #fff 0%, #c8c8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
  color: var(--text-2);
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.btn-primary {
  background: var(--text-0);
  color: var(--bg-0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,.18); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text-0);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ============================================================
 * Section 通用
 * ============================================================ */
.section {
  padding: clamp(24px, 3vw, 40px) 0;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.section-head {
  text-align: center;
  margin-bottom: 28px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--brand-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--text-0);
  margin-bottom: 8px;
}
.section-desc {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 14px;
}

/* ============================================================
 * 数据展示
 * ============================================================ */
.stats-section { padding: 40px 0; border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-value {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--text-2); letter-spacing: .05em; }

/* ============================================================
 * 产品系列（首段贴顶，下面分段）
 * ============================================================ */
#products { padding-top: clamp(40px, 5vw, 72px); }
#products > .container > .section-head { margin-bottom: 36px; }
.series {
  margin-bottom: 80px;
}
.series:last-child { margin-bottom: 0; }
.series-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.series-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.series-name {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 12px;
}
.series-desc {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-2);
}

/* 文字列表式产品 */
.product-list {
  display: flex;
  flex-direction: column;
}
.product-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast), padding var(--t-fast);
}
.product-row:first-child { border-top: 1px solid var(--line); }
.product-row:hover {
  background: rgba(255, 255, 255, .025);
  padding-left: 16px;
  padding-right: 16px;
}
.product-row-index {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-3);
  font-feature-settings: "tnum";
}
.product-row-main { min-width: 0; }
.product-row-main h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 4px;
  transition: color var(--t-fast);
}
.product-row:hover .product-row-main h4 { color: var(--brand-2); }
.product-row-main .product-tagline {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-row-link {
  font-size: 13px;
  color: var(--brand-2);
  white-space: nowrap;
  transition: color var(--t-fast), transform var(--t-fast);
}
.product-row:hover .product-row-link { transform: translateX(3px); color: var(--text-0); }
.product-row-link.is-static { color: var(--text-3); }

/* ============================================================
 * 核心技术
 * ============================================================ */
.tech-section { background: var(--bg-1); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tech-card {
  padding: 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med), border-color var(--t-med), background var(--t-med);
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-3);
}
.tech-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(6,182,212,.18));
  color: var(--brand-2);
  margin-bottom: 18px;
}
.tech-icon svg { width: 24px; height: 24px; }
.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
 * 视频
 * ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}
.video-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-med);
}
.video-card:hover { border-color: var(--line-strong); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.video-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,10,12,.6);
}
.video-placeholder span { position: relative; z-index: 1; }
.video-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-0);
  padding: 22px 24px 4px;
}
.video-card p {
  font-size: 14px;
  color: var(--text-2);
  padding: 0 24px 24px;
}

/* ============================================================
 * 关于
 * ============================================================ */
.about-section { background: var(--bg-1); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text .section-tag { text-align: left; }
.about-text .section-title { text-align: left; }
.about-subtitle {
  font-size: 1.15rem;
  color: var(--text-1);
  margin-bottom: 24px;
}
.about-paragraphs p {
  color: var(--text-1);
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
}
.about-sections {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-0);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.about-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-section-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-1);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.75;
}
.about-section-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
 * 联系
 * ============================================================ */
.contact-section { padding-bottom: clamp(80px, 10vw, 140px); }
.contact-card {
  background:
    linear-gradient(135deg, rgba(99,102,241,.06), rgba(6,182,212,.04)),
    var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
}
.contact-card .section-tag { color: var(--brand-2); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}
.contact-item { display: flex; flex-direction: column; gap: 8px; }
.contact-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-3);
  text-transform: uppercase;
}
.contact-value {
  font-size: 1.05rem;
  color: var(--text-0);
  transition: color var(--t-fast);
}
a.contact-value:hover { color: var(--brand-2); }

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}
.social-qr {
  width: 96px; height: 96px;
  border-radius: var(--radius);
  background: #fff;
  padding: 6px;
  overflow: hidden;
}
.social-qr img { width: 100%; height: 100%; object-fit: contain; }
.social-item span {
  font-size: 13px;
  color: var(--text-2);
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-1);
  font-size: 13px;
}
.social-icon svg { width: 24px; height: 24px; }
a.social-link { transition: transform var(--t-fast); }
a.social-link:hover { transform: translateY(-2px); }
a.social-link:hover .social-icon { border-color: var(--line-strong); background: var(--bg-3); }

/* ============================================================
 * Footer
 * ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-0);
  flex-shrink: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-0);
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-2);
}
.footer-links a:hover { color: var(--text-0); }
.footer-meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  gap: 8px;
}
.footer-divider { opacity: .5; }

/* ============================================================
 * 回到顶部
 * ============================================================ */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  color: var(--text-0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), background var(--t-fast);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(255, 255, 255, .15);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
 * 滚动渐显动画
 * ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
 * 响应式
 * ============================================================ */
/* ============================================================
 * 响应式断点（5 档）
 *  ≥1200  桌面宽屏
 *  960~1200  桌面标准
 *  720~960  平板横屏 / 小桌面
 *  480~720  手机横屏 / 平板竖屏
 *  ≤480  手机竖屏
 * ============================================================ */

/* 小屏：单 section 也允许 main 内部滚动（避免内容溢出被裁） */
@media (max-width: 720px) {
  body > main { overflow-y: auto; }
  main > section.fill-remaining { flex: 0 0 auto; }
}
@media (min-width: 1200px) {
  .hero-content { padding: 80px 24px; }
  .hero-title { letter-spacing: -.025em; }
}

/* ≤1200 桌面：收紧 nav 间距 */
@media (max-width: 1200px) {
  .nav-inner { gap: 16px; }
  .nav-menu ul { gap: 22px; }
  .nav-menu a, .nav-trigger { font-size: 13px; }
}

/* ≤960 平板：多列网格收成 2 列 */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .nav-inner { gap: 12px; }
  .nav-menu ul { gap: 18px; }
  .nav-menu a, .nav-trigger { font-size: 13px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* 详情页：左右两栏变上下 */
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-side { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 20px; }
  .detail-pane { grid-template-columns: 1fr; gap: 20px; }
}

/* ≤720 手机：汉堡菜单 + 单列 */
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .lang-switch { font-size: 12px; padding: 4px 10px; }
  .nav-inner { height: 60px; gap: 10px; }

  /* hero：保证小屏高度合理，不出现大块空白 */
  .hero { min-height: calc(100vh - 60px); padding-top: 60px; }
  .hero-content { padding: 32px 20px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; max-width: 320px; margin: 0 auto; }

  .section { padding: clamp(48px, 10vw, 72px) 0; }
  .section-head { margin-bottom: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .product-list .product-row { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; }
  .product-list .product-row:hover { padding-left: 8px; padding-right: 8px; }
  .product-list .product-row-link { grid-column: 2; font-size: 12px; }

  .video-grid { grid-template-columns: 1fr; gap: 20px; }

  /* 产品总览：3 卡变 1 卡 */
  .series-overview-grid { grid-template-columns: 1fr; }
  .series-block { margin-top: 56px; }

  /* 联系页 */
  .contact-page-card .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-page { padding: 100px 0 60px; }
  .contact-page-card { padding: 32px 22px; }

  /* page-hero 顶部留白在移动端缩小 */
  .page-hero { padding: 100px 0 36px; }
  .page-hero h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }

  /* 详情页右侧面板：取消 target 高亮左右 padding */
  .detail-pane:target { padding-left: 0; padding-right: 0; }

  /* 回到顶部按钮小一点 */
  .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ≤480 小屏手机：进一步缩 */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(1.8rem, 1.4rem + 2.5vw, 2.6rem); }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .product-list .product-row { grid-template-columns: 28px 1fr; gap: 10px; }
  .product-list .product-row-index { font-size: 11px; }
  .tech-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-meta { font-size: 11px; flex-wrap: wrap; justify-content: center; }
}

/* ============================================================
 * 导航下拉菜单（产品系列）
 * ============================================================ */
.nav-has-dropdown {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-family: inherit;
  line-height: 22px;            /* 与 .nav-menu a 严格一致 */
  color: var(--text-2);
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color var(--t-fast);
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--text-0);
}
/* 顶部那条渐变下划线（与普通 a 一致） */
.nav-trigger::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0; height: 1px;
  background: var(--grad);
  transition: width var(--t-med), left var(--t-med);
}
.nav-has-dropdown:hover .nav-trigger::after,
.nav-trigger[aria-expanded="true"]::after {
  width: 100%;
  left: 0;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(240px, 92vw);
  background: rgba(15, 15, 20, .92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear var(--t-med);
  z-index: 200;
}
/* 用一个看不见的桥接区，让鼠标从 trigger 移动到面板时不丢 hover */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s;
}

.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.nav-dd-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-1);
  text-align: left;
  transition: background var(--t-fast), border-color var(--t-fast), padding var(--t-fast);
  opacity: 0;
  transform: translateY(6px);
  animation: navDDIn .3s cubic-bezier(.2,.8,.2,1) forwards;
}
.nav-dd-card:hover {
  background: var(--bg-3);
  border-color: var(--line-strong);
  padding-left: 18px;
  padding-right: 18px;
  transform: translateY(-3px);
}
.nav-has-dropdown:hover .nav-dd-card:nth-child(1),
.nav-has-dropdown.is-open .nav-dd-card:nth-child(1) { animation-delay: 30ms; }
.nav-has-dropdown:hover .nav-dd-card:nth-child(2),
.nav-has-dropdown.is-open .nav-dd-card:nth-child(2) { animation-delay: 70ms; }
.nav-has-dropdown:hover .nav-dd-card:nth-child(3),
.nav-has-dropdown.is-open .nav-dd-card:nth-child(3) { animation-delay: 110ms; }
@keyframes navDDIn {
  to { opacity: 1; transform: translateY(0); }
}

.nav-dd-card-tag {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--text-3);
  text-transform: uppercase;
  font-feature-settings: "tnum";
}
.nav-dd-card-text .nav-dd-card-body {
  display: contents;
}
.nav-dd-card-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  margin: 0;
  line-height: 1.3;
}
.nav-dd-card-text p {
  display: none; /* 列表式：不要长描述，简洁 */
}
.nav-dd-card-text .nav-dd-card-more {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  transition: color var(--t-fast), transform var(--t-fast);
}
.nav-dd-card:hover .nav-dd-card-more {
  color: var(--brand-2);
  transform: translateX(3px);
}
@media (max-width: 960px) {
  .nav-dropdown-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* 移动端：下拉收起，trigger 与普通锚点同效 */
  .nav-has-dropdown { position: static; }
  .nav-dropdown { display: none; }
}

/* ============================================================
 * 产品总览页（products.html）—— 100vh 一屏
 * ============================================================ */
.page-hero {
  padding: 90px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-0);
  margin-bottom: 8px;
}
.page-hero p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-2);
}

.series-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.series-overview-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-1);
  transition: transform var(--t-med), border-color var(--t-med);
}
.series-overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.series-overview-cover {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
}
.series-overview-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.series-overview-card:hover .series-overview-cover img { transform: scale(1.05); }
.series-overview-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.series-overview-tag {
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--brand-2);
  text-transform: uppercase;
}
.series-overview-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-0);
  margin: 2px 0 4px;
}
.series-overview-body p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
.series-overview-cta {
  margin-top: auto;
  font-size: 13px;
  color: var(--brand-2);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.series-overview-card:hover .series-overview-cta { color: var(--text-0); }

.series-block { margin-top: 80px; }
.series-block-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.series-block-head h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-0);
  flex: 1;
  min-width: 0;
}
.series-block-link {
  font-size: 13px;
  color: var(--brand-2);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.series-block-link:hover { color: var(--text-0); }

@media (max-width: 960px) {
  .series-overview-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * 产品系列详情页（products/{id}.html）
 * ============================================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 12px;
}
.detail-side {
  position: sticky;
  top: 92px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.detail-side h3 {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.detail-side ul { display: flex; flex-direction: column; }
.detail-side li + li { margin-top: 4px; }
.detail-side li a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.detail-side li a:hover,
.detail-side li a.is-active {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}
.detail-side li a .product-row-index { font-size: 12px; }
.detail-side li a h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-side li a .product-tagline {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.detail-main { min-width: 0; }
.detail-pane {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.detail-pane:first-child { padding-top: 8px; }
.detail-pane:target { background: rgba(99,102,241,.05); border-radius: 12px; padding-left: 12px; padding-right: 12px; }
.detail-pane-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  align-self: start;
}
.detail-pane-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-intro {
  margin: 0;
  padding: 20px 22px;
  text-align: left;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.product-intro-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 14px;
  text-align: center;            /* 仅标题居中 */
  flex-shrink: 0;
}
.product-intro p {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.75;
  color: var(--text-0);
  text-align: left;              /* 正文左对齐 */
  white-space: pre-line;
}
.detail-pane-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}
.detail-pane-tagline {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.detail-pane-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-pane-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.detail-pane-specs li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.detail-pane-cta,
.detail-pane-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 14px;
  font-size: 14px;
  color: var(--brand-2);
  transition: color var(--t-fast);
}
.detail-pane-cta:hover,
.detail-pane-video:hover { color: var(--text-0); }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-side { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 20px; }
  .detail-pane { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
 * 联系页（contact.html）
 * ============================================================ */
.contact-page {
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
}
.contact-page-card {
  background:
    linear-gradient(135deg, rgba(99,102,241,.06), rgba(6,182,212,.04)),
    var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px);
  text-align: center;
}
.contact-page-card .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}
.contact-page-card .contact-item { display: flex; flex-direction: column; gap: 8px; }
.contact-page-card .contact-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-3);
  text-transform: uppercase;
}
.contact-page-card .contact-value {
  font-size: 1.05rem;
  color: var(--text-0);
}
@media (max-width: 720px) {
  .contact-page-card .contact-grid { grid-template-columns: 1fr; }
}