/* ==========================================================================
   芯瀚峰智算 · 官网样式（深色 / 极简 / 科技）
   零外部依赖：不使用 CDN / 外部字体 / 外部图片
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --bg:        #05070c;
  --bg-soft:   #080b12;
  --panel:     #0a0e17;

  --text:      #eef2f9;
  --text-2:    #98a4ba;
  --text-3:    #5d6880;

  --line:      rgba(255, 255, 255, .085);
  --line-2:    rgba(255, 255, 255, .16);

  --accent:    #4d9dff;
  --cyan:      #3fd8e8;
  --violet:    #8a6bff;
  --grad:      linear-gradient(100deg, #5ee7f2 0%, #5b93ff 52%, #a78bfa 100%);

  --shell:     1320px;
  --pad:       clamp(20px, 4.2vw, 56px);
  --nav-h:     74px;

  --ease:      cubic-bezier(.22, .61, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas,
          "Liberation Mono", monospace;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: rgba(77, 157, 255, .3); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 18px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}
.skip:focus { left: 16px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 进度条 / 光标光晕 ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(77, 157, 255, .9);
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background: radial-gradient(circle, rgba(77, 157, 255, .13) 0%, rgba(94, 231, 242, .06) 34%, transparent 66%);
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity .5s var(--ease);
}
.cursor-glow.on { opacity: 1; }

/* ---------- 通用元素 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
}

.col-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--text-3);
}
.label-idx { color: var(--accent); }
.label-txt { text-transform: uppercase; }

.h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  letter-spacing: -.03em;
  line-height: 1.08;
}

.section {
  position: relative;
  padding: clamp(76px, 8.6vw, 128px) 0;
  scroll-margin-top: var(--nav-h);
}

.sec-head { margin-bottom: clamp(38px, 5vw, 68px); }
.sec-head .col-label { margin-bottom: 20px; }
.sec-desc {
  margin-top: 18px;
  max-width: 520px;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
}

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease),
              backdrop-filter .45s var(--ease), height .45s var(--ease);
}
.nav.scrolled {
  height: 64px;
  background: rgba(5, 7, 12, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: auto; height: 36px; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
}
.brand-text em {
  font-family: var(--mono);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: .22em;
  color: var(--text-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  flex-shrink: 0;
  margin-left: 18px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #05070c;
  background: linear-gradient(100deg, #7ee8f3, #8fb4ff);
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(120, 190, 255, .9);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 84px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.hero-grid {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(to right, rgba(120, 160, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 160, 255, .07) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 32% 34%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 62% at 32% 34%, #000 5%, transparent 72%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-84px, -84px, 0); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .42;
  will-change: transform;
}
.orb-1 {
  width: 720px; height: 720px;
  top: -26%; left: -12%;
  background: radial-gradient(circle, rgba(63, 216, 232, .5), transparent 66%);
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-2 {
  width: 820px; height: 820px;
  bottom: -34%; right: -16%;
  background: radial-gradient(circle, rgba(91, 147, 255, .46), transparent 66%);
  animation: orbFloat 26s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(36px, 30px, 0) scale(1.09); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
}

/* 缓慢下移的光带 */
.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 200, 255, .5), transparent);
  opacity: .55;
  animation: scan 9s linear infinite;
}
@keyframes scan {
  0%   { top: 8%; opacity: 0; }
  12%  { opacity: .55; }
  88%  { opacity: .55; }
  100% { top: 92%; opacity: 0; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.hero-copy { max-width: 860px; }

.hero-badge {
  margin-bottom: clamp(22px, 3vw, 34px);
  color: var(--text-2);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(63, 216, 232, .7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 216, 232, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(63, 216, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 216, 232, 0); }
}

.hero-title {
  font-size: clamp(2.7rem, 7.6vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.05s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .1s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }
@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero-sub {
  margin-top: clamp(22px, 2.6vw, 32px);
  max-width: 680px;
  text-wrap: pretty;
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--text-2);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .42s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .54s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.btn-solid {
  color: #05070c;
  background: linear-gradient(100deg, #7ee8f3, #9dbcff);
  box-shadow: 0 14px 34px -16px rgba(125, 200, 255, .95);
}
.btn-solid:hover { box-shadow: 0 20px 44px -16px rgba(125, 200, 255, 1); }
.btn-solid:hover svg { transform: translateX(4px); }
.btn-line {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
}
.btn-line:hover {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .06);
}

/* 右侧竖排信息 */
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
}
.hero-side-label {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.9;
  letter-spacing: .26em;
  color: var(--text-3);
  writing-mode: vertical-rl;
  text-align: center;
}
.hero-side-line {
  width: 1px;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
}

/* 首屏数据 */
.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.hero-stats > div {
  padding: 26px 24px 0;
  border-left: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .7s forwards;
}
.hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.hero-stats dt {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .u {
  font-size: .46em;
  color: var(--accent);
  margin-left: 3px;
  letter-spacing: 0;
}
.hero-stats dd {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
}
.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--line-2));
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}
.scroll-cue-txt {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .3em;
}

/* ==========================================================================
   关于
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  align-items: start;
}
.about-main { max-width: 900px; }

.lead {
  margin-top: clamp(22px, 3vw, 34px);
  text-wrap: pretty;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  line-height: 1.72;
  color: var(--text-2);
  letter-spacing: -.01em;
}
.lead em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

.chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: clamp(38px, 5vw, 62px);
  border-top: 1px solid var(--line);
}
.chain li {
  position: relative;
  padding: 20px 14px 0 0;
  font-size: clamp(14px, 1.25vw, 16.5px);
  font-weight: 500;
  color: var(--text);
  transition: color .35s var(--ease);
}
.chain li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .5s var(--ease);
}
.chain li:hover::before { width: 100%; }
.chain li:hover { color: var(--accent); }
.chain-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--text-3);
}

.about-note {
  margin-top: clamp(32px, 4vw, 52px);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--text-3);
}

/* ==========================================================================
   业务（列表行）
   ========================================================================== */
.rows { border-top: 1px solid var(--line); }

.row {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr 54px;
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s var(--ease);
}
.row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(77, 157, 255, .1), rgba(77, 157, 255, .02) 42%, transparent 72%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.row::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width .55s var(--ease);
}
.row:hover::before { opacity: 1; }
.row:hover::after { width: 100%; }
.row:hover { border-color: transparent; }

.row-idx {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-3);
  transition: color .4s var(--ease);
}
.row:hover .row-idx { color: var(--accent); }

.row-body { position: relative; display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.row-title {
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  transition: transform .5s var(--ease);
}
.row:hover .row-title { transform: translateX(8px); }
.row-desc {
  font-size: clamp(13.5px, 1.05vw, 15px);
  color: var(--text-3);
  transition: color .4s var(--ease);
}
.row:hover .row-desc { color: var(--text-2); }

.row-arrow {
  position: relative;
  justify-self: end;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  opacity: .45;
  transform: translateX(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              background .4s var(--ease), border-color .4s var(--ease);
}
.row-arrow svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--text); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.row:hover .row-arrow {
  opacity: 1;
  transform: translateX(0);
  background: rgba(77, 157, 255, .14);
  border-color: rgba(77, 157, 255, .5);
}

/* ==========================================================================
   产品（规格网格）
   ========================================================================== */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background .45s var(--ease);
}
.spec::after {
  content: "";
  position: absolute;
  right: -40%; top: -80%;
  width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(77, 157, 255, .16), transparent 62%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.spec:hover { background: rgba(255, 255, 255, .022); }
.spec:hover::after { opacity: 1; }

.spec-idx {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--text-3);
  margin-bottom: 14px;
  transition: color .4s var(--ease);
}
.spec:hover .spec-idx { color: var(--accent); }

.spec h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.01em;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.spec-chips span {
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .01em;
  color: var(--text-2);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color .3s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease), transform .3s var(--ease);
}
.spec:hover .spec-chips span {
  color: var(--text);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}
.spec-chips span:hover {
  color: #05070c;
  background: linear-gradient(100deg, #7ee8f3, #9dbcff);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ==========================================================================
   展示区
   ========================================================================== */
.showcase {
  position: relative;
  padding: clamp(72px, 8.5vw, 120px) 0 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.showcase-title {
  margin-top: 22px;
  font-size: clamp(1.85rem, 4.4vw, 3.4rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  max-width: 780px;
}

.showcase-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(34px, 4.4vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.showcase-facts b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.showcase-facts b em { font-size: .5em; font-style: normal; color: var(--accent); margin-left: 2px; }
.showcase-facts span {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* 抽象机器纹理条 */
.showcase-strip {
  position: relative;
  margin-top: clamp(42px, 6vw, 76px);
  height: clamp(170px, 21vw, 300px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.showcase-strip img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .88;
  will-change: transform;
}
.showcase-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 7, 12, 0) 34%, rgba(5, 7, 12, 0) 66%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 12, 0) 16%, rgba(5, 7, 12, 0) 84%, var(--bg) 100%);
}

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.section-partner { padding-bottom: clamp(64px, 8vw, 110px); }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(48px, 9vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 12, .85) 42%, rgba(5, 7, 12, 0) 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(5, 7, 12, .85) 42%, rgba(5, 7, 12, 0) 100%);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}
.marquee.is-ready .marquee-track { animation: marquee 46s linear infinite; }
.marquee-rev.is-ready .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.logo {
  flex: 0 0 auto;
  width: 158px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  background: #eef1f7;
  border-radius: 10px;
  opacity: .92;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.logo img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.logo:hover {
  transform: translateY(-3px);
  background: #fff;
  opacity: 1;
  box-shadow: 0 16px 32px -18px rgba(120, 180, 255, .8);
}
.logo:hover img { transform: scale(1.04); }

/* ==========================================================================
   联系
   ========================================================================== */
.section-contact { border-top: 1px solid var(--line); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  margin-top: clamp(30px, 4vw, 52px);
  align-items: start;
}

.contact-main { display: block; }
.contact-k {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.contact-phone {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  transition: color .4s var(--ease), letter-spacing .4s var(--ease);
}
.contact-phone .sep { color: var(--accent); margin: 0 .1em; }
.contact-main:hover .contact-phone {
  color: #fff;
  text-shadow: 0 0 34px rgba(77, 157, 255, .75);
}
.contact-hint {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.contact-side { display: flex; flex-direction: column; gap: 26px; }
.contact-item { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-v { display: block; font-size: clamp(14.5px, 1.2vw, 16.5px); color: var(--text); }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.brand-footer .brand-mark { width: auto; height: 30px; }
.brand-footer .brand-text strong { font-size: 14px; }
.footer-copy, .footer-legal {
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal a { transition: color .3s var(--ease); }
.footer-legal a:hover { color: var(--text-2); }
.dot-sep { opacity: .5; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14, 20, 32, .82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s, border-color .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); }
.to-top svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--text); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ==========================================================================
   入场
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* 光斑（规格块） */
.spot { isolation: isolate; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-side { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .row-body { gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--pad) 24px;
    background: rgba(5, 7, 12, .97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    box-shadow: 0 26px 48px -24px rgba(0, 0, 0, .9);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a {
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .chain li:nth-child(4)::before { display: none; }

  .spec-grid { grid-template-columns: 1fr; }
  .showcase-facts { gap: 18px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div {
    padding: 20px 0 0;
    border-left: 0;
  }
  .hero-stats > div:nth-child(n+3) { margin-top: 22px; }
  .scroll-cue { display: none; }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }

  .hero { padding-bottom: 64px; }
  .hero-title { letter-spacing: -.04em; }
  .hero-sub br.br-pc { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .row {
    grid-template-columns: 34px 1fr;
    align-items: start;
    gap: 14px;
    padding: 24px 0;
  }
  .row-idx { padding-top: 5px; }
  .row-arrow { display: none; }
  .row-body { flex-direction: column; gap: 8px; }
  .row-desc { font-size: 13px; }

  .spec { padding: 26px 22px; }
  .spec-chips span { font-size: 11px; padding: 4px 10px; }

  .showcase-facts { grid-template-columns: 1fr; gap: 16px; }
  .showcase-facts li { display: flex; align-items: baseline; gap: 14px; }
  .showcase-facts span { margin-top: 0; }
  .showcase-strip { height: 150px; }

  .logo { width: 124px; height: 56px; padding: 8px 11px; border-radius: 9px; }
  .logo img { max-height: 30px; }

  .contact-phone { font-size: clamp(1.7rem, 8.6vw, 2.4rem); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (min-width: 1600px) {
  :root { --shell: 1440px; }
  .hero-copy { max-width: 940px; }
}

/* ==========================================================================
   降级 / 可访问性
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-sub, .hero-actions, .hero-stats > div { opacity: 1; animation: none; }
  .hero-canvas, .hero-scan { display: none; }
  .cursor-glow { display: none; }
  .marquee.is-ready .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

@media print {
  .nav, .to-top, .hero-canvas, .scroll-cue, .progress, .marquee,
  .cursor-glow, .hero-scan { display: none !important; }
  body { background: #fff; color: #000; }
  .showcase-media { display: none; }
  .grad { -webkit-text-fill-color: #000; color: #000; }
}
