/* 首页：全屏视频、首屏、能力、场景、产品、联系表单。 */

/* 首屏 */
.hero {
  position: relative;
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-dim);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  background: var(--cyan-soft);
  color: var(--accent);
  font-size: 10px; letter-spacing: .18em;
  width: fit-content;
}
.tag__dot {
  width: 6px; height: 6px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.4s infinite;
}
.hero__coords { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 11px; }
.hero__coords code {
  color: var(--ink-faint); margin-right: 8px;
  font-size: 10px; letter-spacing: .15em;
}
.hero__coords b { color: var(--accent-2); font-weight: 600; }

.hero__eyebrow {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .18em;
  display: inline-flex; gap: 10px; align-items: center;
  margin: 0 0 20px;
}
.bracket { color: var(--accent); }

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero__title .glitch { display: block; }
.hero__title .accent { color: var(--accent); }

/* 标题故障效果 */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.glitch::before { color: var(--cyan); transform: translate(-2px, 0); clip-path: polygon(0 0,100% 0,100% 45%,0 45%); opacity: .45; }
.glitch::after  { color: var(--magenta); transform: translate(2px, 0); clip-path: polygon(0 55%,100% 55%,100% 100%,0 100%); opacity: .45; }
.glitch:hover::before { animation: glitchX .6s steps(3) infinite; }
.glitch:hover::after  { animation: glitchY .6s steps(3) infinite; }
@keyframes glitchX { 0%,100%{transform:translate(-2px,0)} 50%{transform:translate(-6px,1px)} }
@keyframes glitchY { 0%,100%{transform:translate(2px,0)}  50%{transform:translate(6px,-1px)} }

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 480px);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.hero__sub {
  color: var(--ink-dim); font-size: 17px;
  max-width: 68ch; margin: 0 0 32px;
  line-height: 1.7;
}
.hero__sub b { color: var(--ink); font-weight: 600; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

.hero__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero__kpis > div {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero__kpis > div:last-child { border-right: 0; }
.hero__kpis > div::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 6px; height: 6px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero__kpis b {
  font-family: var(--f-mono);
  font-size: 34px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__kpis em {
  font-style: normal; color: var(--accent);
  font-family: var(--f-mono); font-size: 16px; margin-left: 2px;
}
.hero__kpis span {
  display: block; font-size: 11px;
  color: var(--ink-faint); letter-spacing: .16em;
  font-family: var(--f-mono); margin-top: 6px;
  text-transform: uppercase;
}

/* 检测面板 */
.hero__panel { position: sticky; top: 100px; }
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
  font-family: var(--f-mono); font-size: 11px;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(255,255,255,.02) 2px 3px);
  pointer-events: none;
}
.panel__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-faint);
}
.panel__bar .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #333;
}
.panel__bar .dot.r { background: #ff3a4d; box-shadow: 0 0 6px #ff3a4d; }
.panel__bar .dot.y { background: var(--orange); }
.panel__bar .dot.g { background: var(--accent-2); }
.panel__bar code { margin-left: 6px; color: var(--ink-dim); }
.panel__rec {
  margin-left: auto; color: #ff3a4d;
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: .2em;
}
.panel__rec i {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: blink 1s infinite;
}

.panel__view { position: relative; }
.panel__view .scanline { animation: scan 4s linear infinite; }
@keyframes scan { 0%{transform:translateY(0)} 100%{transform:translateY(260px)} }
.bbox { animation: flicker 3.5s infinite; }
.bbox--2 { animation-delay: -1.5s; }
@keyframes flicker { 0%,95%,100% {opacity:1} 96% {opacity:.2} 98% {opacity:.7} }

.panel__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.panel__meta > div {
  padding: 10px 12px; font-size: 10px;
  color: var(--ink-dim); border-right: 1px solid var(--border);
}
.panel__meta > div:last-child { border-right: 0; }
.panel__meta code { display: block; color: var(--ink-faint); font-size: 9px; margin-bottom: 3px; letter-spacing: .18em; }

.panel__alerts {
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: grid; gap: 6px;
}
.alert {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--ink-dim);
}
.alert span {
  padding: 2px 6px; font-size: 9px; letter-spacing: .15em;
  background: var(--border);
  color: var(--ink);
}
.alert--crit span { background: var(--crit); color: #fff; box-shadow: 0 0 10px var(--crit); }
.alert--warn span { background: var(--orange); color: #000; }

.hero__divider {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  position: absolute; left: 32px; bottom: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--ink-faint);
}
.hero__divider svg { animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(4px); } }

/* 人工巡检与 AI 对比 */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px; align-items: stretch;
}
.compare__card {
  border: 1px solid var(--border-strong);
  background: var(--panel);
  padding: 40px;
  position: relative;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.compare__card header { margin-bottom: 20px; }
.compare__card header code {
  color: var(--ink-faint); font-size: 11px; letter-spacing: .18em;
}
.compare__card h3 {
  font-family: var(--f-display);
  font-size: 26px; margin: 6px 0 0;
}
.compare__card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.compare__card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-dim); font-size: 14px; }
.compare__card .x { color: var(--crit); font-weight: 700; }
.compare__card .v { color: var(--accent-2); font-weight: 700; }
.compare__card footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.compare__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}
.compare__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.compare__metric-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
html[lang="zh-CN"] .compare__metric-label {
  letter-spacing: .08em;
  text-transform: none;
}
.compare__metric-value {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  word-break: break-word;
}
.compare__metric-value--high { color: var(--crit); }
.compare__metric-value--low { color: var(--accent-2); }
.compare__metric-value--dim { color: var(--ink-faint); }
.compare__note {
  margin: 20px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--ink-faint);
  text-align: center;
}

.compare__card--old {
  border-color: rgba(255, 51, 85, .25);
  background:
    radial-gradient(ellipse at top right, rgba(255,51,85,.08), transparent 60%), var(--panel);
}
.compare__card--new {
  border-color: rgba(79, 176, 255, .35);
  box-shadow: inset 0 0 0 1px rgba(79,176,255,.12), 0 0 40px rgba(79,176,255,.08);
  background:
    radial-gradient(ellipse at bottom left, rgba(79,176,255,.09), transparent 60%), var(--panel);
}
.compare__arrow {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--accent); align-self: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em;
}
.compare__arrow svg { filter: drop-shadow(0 0 8px var(--accent)); }

/* 产品卡片 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 32px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  transition: .35s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(79, 176, 255, .08));
  pointer-events: none;
  opacity: 0;
  transition: .35s;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(79, 176, 255, 0.08);
}
.product-card:hover::after { opacity: 1; }
.product-card__chip code {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--accent);
}
.product-card__name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.product-card__desc {
  flex: 1;
  margin: 0;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
}
.product-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* 能力宫格 */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 22px;
}
.bento__cell {
  position: relative;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transition: .35s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.bento__cell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(79,176,255,.08));
  pointer-events: none; opacity: 0; transition: .35s;
}
.bento__cell:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(79, 176, 255, 0.08);
}
.bento__cell:hover::after { opacity: 1; }

.bento__cell--xl { grid-column: span 2; grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--dark {
  background:
    linear-gradient(180deg, #06090e, #020508);
  border-color: rgba(57, 255, 106, .18);
}
.bento__cell--hero-feature {
  background:
    radial-gradient(ellipse at bottom left, rgba(79,176,255,.18), transparent 60%),
    linear-gradient(180deg, #0a1724, #061018);
  border-color: rgba(79,176,255,.35);
}

.cell__chip {
  display: inline-block;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--accent); margin-bottom: 14px;
  border: 1px solid var(--border-strong);
  padding: 3px 8px;
}
.bento__cell h3 {
  font-family: var(--f-display);
  font-size: 20px; margin: 0 0 10px; font-weight: 700;
}
.bento__cell--xl h3 { font-size: 30px; }
.bento__cell p { color: var(--ink-dim); font-size: 14px; margin: 0; }
.bento__cell p code { color: var(--accent-2); }
.cell__tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cell__tags li {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  padding: 4px 8px; color: var(--ink-dim);
  border: 1px solid var(--border);
}
.cell__viz { margin: 14px 0; border: 1px solid var(--border); padding: 6px; background: rgba(0,0,0,.25); }

.cell__badge {
  margin-top: 14px;
  display: inline-block;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
  padding: 3px 8px;
  box-shadow: 0 0 12px rgba(57,255,106,.3);
}

.cell__code {
  display: block; margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--accent);
  background: #000; padding: 8px 10px;
  border: 1px solid var(--border);
}
.cell__snippet {
  margin: 14px 0 0; padding: 12px;
  background: #000; border: 1px solid var(--border);
  color: var(--ink-dim); font-size: 11px; overflow: auto;
}
.cell__stamps {
  display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap;
}
.cell__stamps span {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  padding: 4px 8px;
  color: var(--ink-dim);
  border: 1px solid var(--border-strong);
}

/* 宫格里的迷你仪表 */
.mini-dash { margin-top: 16px; }
.mini-dash__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 10px;
  font-family: var(--f-mono);
}
.mini-dash__row > div { display: flex; flex-direction: column; gap: 2px; }
.mini-dash__row code { font-size: 9px; color: var(--ink-faint); letter-spacing: .16em; }
.mini-dash__row b { font-size: 18px; color: var(--ink); }
.mini-dash__bars {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 4px; height: 48px; align-items: end;
}
.mini-dash__bars span {
  height: var(--h); background: linear-gradient(180deg, var(--cyan), transparent 140%);
  display: block;
}

/* 行业场景 */
.usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-strong);
}
.uc-tab {
  text-align: left; padding: 22px 20px;
  border-right: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink-dim);
  transition: .25s;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.uc-tab:last-of-type { border-right: 0; }
.uc-tab code {
  color: var(--ink-faint);
  font-size: 11px; letter-spacing: .2em;
}
.uc-tab b {
  font-family: var(--f-display);
  font-size: 18px; color: var(--ink); font-weight: 700;
}
.uc-tab em {
  font-style: normal; font-family: var(--f-mono);
  font-size: 10px; color: var(--ink-faint);
  letter-spacing: .12em;
}
.uc-tab:hover { color: var(--ink); background: var(--bg-3); }
.uc-tab.is-active {
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent), 0 0 0 1px rgba(79,176,255,.2);
}
.uc-tab.is-active code { color: var(--accent); }

.uc-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--panel-2);
}
.uc-panel__content {
  padding: 40px;
  border-right: 1px solid var(--border);
  min-height: 320px;
  position: relative;
}
.uc-item { display: none; }
.uc-item.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.uc-item h3 {
  font-family: var(--f-display);
  font-size: 28px; margin: 0 0 16px;
}
.uc-item p {
  color: var(--ink-dim); margin: 0 0 28px;
  max-width: 68ch;
}
.uc-item b { color: var(--ink); }
.uc-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.uc-stats li { display: flex; flex-direction: column; gap: 2px; }
.uc-stats b {
  font-family: var(--f-mono); font-size: 24px; color: var(--accent);
  letter-spacing: -0.02em;
}
.uc-stats em {
  font-style: normal; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .18em; color: var(--ink-faint);
  text-transform: uppercase;
}

.uc-panel__side {
  padding: 24px; display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse at top right, rgba(79,176,255,.08), transparent 60%);
}
.uc-map { flex: 1; border: 1px solid var(--border); padding: 10px; background: #000; }
.uc-map__path {
  stroke-dashoffset: 0;
  animation: dashmove 3s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -36; } }
.uc-caption {
  margin-top: 10px;
  font-size: 10px; color: var(--ink-faint); letter-spacing: .2em;
}

/* 联系区 */
.cta {
  padding: 120px 0;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(79,176,255,.08), transparent 60%),
    linear-gradient(180deg, #06090e, #02050a);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(79,176,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79,176,255,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.cta__sig {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--accent); letter-spacing: .2em;
  margin-bottom: 16px;
}

.cta__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  position: relative;
}
.cta__form label {
  display: grid; grid-template-columns: 32px 1fr;
  align-items: center;
  background: #020608;
  border: 1px solid var(--border-strong);
  transition: .2s;
}
.cta__form-field--full { grid-column: 1 / -1; align-items: start; }
.cta__form-field--full code { padding-top: 16px; }
.cta__form label:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cta__form label code {
  justify-self: center; color: var(--accent);
  font-size: 10px; letter-spacing: .2em;
}
.cta__form input,
.cta__form select,
.cta__form textarea {
  background: transparent; border: 0; outline: none;
  padding: 14px 16px 14px 4px;
  color: var(--ink); font-family: var(--f-mono); font-size: 13px;
  width: 100%;
}
.cta__form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.cta__form select option { background: #020608; }
.cta__form .btn--primary { grid-column: 1 / -1; justify-self: end; }
.cta__form.is-sending .btn--primary { opacity: .6; pointer-events: none; }
.cta__ok {
  display: none;
  grid-column: 1 / -1;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--accent-2);
  margin: 0;
}
.cta__form.is-ok .cta__ok { display: block; }
.cta__form.is-ok input,
.cta__form.is-ok textarea,
.cta__form.is-ok select,
.cta__form.is-ok button { opacity: .5; pointer-events: none; }

.cta__channels {
  margin-top: 32px;
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-dim);
}
.cta__channels a:hover { color: var(--accent); }
.cta__channels code {
  color: var(--ink-faint); font-size: 10px; letter-spacing: .2em;
  margin-right: 8px;
}

/* 中文首屏标题字号 */
.hero__title--cn { font-size: clamp(44px, 5vw, 76px); line-height: 1.15; }
.hero__title--cn .glitch { display: block; }
.hero__kpis--cn b { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: 0.02em; }
.hero__kpis--cn div:nth-child(2) b { font-size: clamp(18px, 1.8vw, 26px); }

html[lang="en"] .hero__kpis--cn div:nth-child(2) b,
html[lang="en"] .about-stat b[data-i18n="about.preview.stat3.v"] {
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0;
  line-height: 1.25;
}
.cta__channels--info { display: grid; gap: 10px; margin-top: 24px; text-align: left; }
.cta__channels--info p { font-size: 14px; color: var(--ink-dim); }
.cta__channels--info code { color: var(--accent); margin-right: 8px; }
.cta__channels--info a { color: var(--accent); }

/* 首页关于我们简介 */
.about-preview__inner {
  display: grid;
  gap: 40px;
  max-width: none;
}
.about-preview__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.about-preview__locs { margin-top: 0; }
.about-preview__cta { margin-top: 8px; }

.about-preview__stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* 窄屏：首页区块 */
@media (max-width: 1080px) {
  .hero__stage { grid-template-columns: 1fr; }
  .hero__meta { gap: 16px 32px; }
  .hero__panel { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--xl { grid-column: span 2; grid-row: auto; }
  .bento__cell--wide { grid-column: span 2; }
  .usecases { grid-template-columns: 1fr 1fr; }
  .uc-tab:nth-of-type(2) { border-right: 0; }
  .uc-tab:nth-of-type(1), .uc-tab:nth-of-type(2) { border-bottom: 1px solid var(--border); }
  .uc-panel { grid-template-columns: 1fr; }
  .uc-panel__content { border-right: 0; border-bottom: 1px solid var(--border); }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); margin: 0 auto; }
  .compare__metrics { gap: 10px 12px; }
  .compare__metric-value { font-size: 16px; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 48px 0 40px; }
  .hero__meta { flex-direction: column; gap: 16px; }
  .hero__kpis { grid-template-columns: 1fr 1fr; }
  .hero__kpis > div:nth-child(2) { border-right: 0; }
  .hero__kpis > div:nth-child(1),
  .hero__kpis > div:nth-child(2) { border-bottom: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--xl, .bento__cell--wide { grid-column: span 1; }
  .usecases { grid-template-columns: 1fr; }
  .uc-tab { border-right: 0; border-bottom: 1px solid var(--border); }
  .cta__form { grid-template-columns: 1fr; }
  .cta__form .btn--primary { grid-column: 1; }
}

/* 首页第一屏是全屏视频，原首屏接在下面。导航改为固定浮层。 */
.page-home .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.page-home .nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding: 14px 40px;
  gap: 20px;
}
.page-home .nav .logo {
  min-width: 0;
  align-items: center;
  gap: 10px;
  filter:
    drop-shadow(0 0 1px rgba(244, 247, 251, 0.9))
    drop-shadow(0 0 6px rgba(79, 176, 255, 0.72))
    drop-shadow(0 0 16px rgba(79, 176, 255, 0.38));
}
.page-home .nav .logo__img {
  width: 32px;
  height: 32px;
}
.page-home .nav .logo__word {
  width: 169px;
  height: 28px;
}
.page-home .lang-toggle {
  height: auto;
  box-sizing: border-box;
  padding: 0;
  gap: 6px;
  background: transparent;
  border: none;
  clip-path: none;
}
.page-home .lang-toggle:hover { border-color: transparent; }
.page-home .lang-toggle__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 2px 8px;
  font-size: 12px;
  color: rgba(219, 231, 242, 0.72);
  background: transparent;
  text-shadow: 0 1px 8px rgba(5, 9, 14, 0.55);
  transition: color .18s, text-shadow .18s;
}
.page-home .lang-toggle__btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-home .lang-toggle__btn:hover {
  color: #f4f7fb;
  text-shadow: 0 0 12px rgba(244, 247, 251, 0.85);
}
.page-home .lang-toggle__btn:hover::after { transform: scaleX(1); }
.page-home .lang-toggle__btn.is-on {
  background: transparent;
  color: #e8eef4;
  text-shadow: 0 1px 10px rgba(5, 9, 14, 0.65);
}
.page-home .lang-toggle__btn.is-on:hover {
  color: #f7fafc;
  text-shadow: 0 0 14px rgba(247, 250, 252, 0.9);
}

.film {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #05090e url("../assets/hero-poster.jpg") center / cover no-repeat;
}
.film__media,
.film__shade {
  position: absolute;
  inset: 0;
}
.film__media { z-index: 0; }
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.film__shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,9,14,.22) 0%, rgba(5,9,14,0) 16%);
}
.film__divider {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(219,231,242,.78);
  pointer-events: none;
}
.film__divider svg { animation: bounce 1.8s ease-in-out infinite; }

@media (max-width: 1080px) {
  .page-home .nav__inner {
    padding: 12px 20px;
  }
}
@media (max-width: 720px) {
  .film {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
  }
  .page-home .nav__inner { padding: 12px 20px; flex-wrap: nowrap; }
  .page-home .nav .logo { gap: 8px; }
  .page-home .nav .logo__img { width: 24px; height: 24px; }
  .page-home .nav .logo__word { width: 133px; height: 22px; }
  .page-home .nav__cta .lang-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .film__video { display: none; }
  .film__divider svg { animation: none; }
}

@media (max-width: 960px) {
  .about-preview__stats { grid-template-columns: repeat(2, 1fr); }
  .about-preview__stats .about-stat:nth-child(3) { border-bottom: 0; }
}
