/* ==========================================================================
   讯闪科技 · 访客预约 / 车辆入场 宣传页 共享样式（动感升级版）
   深海军蓝底 + 蓝/青（车辆页琥珀）双主色 + 玻璃拟态
   动效（轻量优化版）：静态极光背景 · 入场序列 · 跑马灯 · 数字滚动 ·
         滚动进度 · 主题滚动条 · reduced-motion 降级（已移除：漂移/颗粒/视差/3D倾斜/聚光/常驻浮动）
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-900: #050b18;
  --navy-800: #081226;
  --navy-700: #0c1c3a;
  --navy-600: #12305c;
  --brand: #2b7cff;
  --brand-lt: #7cc4ff;
  --teal: #12b3a6;
  --teal-lt: #5ce3d6;
  --cyan: #38d9f5;
  --violet: #6a5cff;
  --amber: #f5a623;
  --amber-lt: #ffd88a;
  --danger: #ff5c7a;
  --ink: #eaf1ff;
  --ink-soft: #9fb3d4;
  --ink-dim: #6c81a6;
  --line: rgba(124, 196, 255, .14);
  --glass: rgba(18, 48, 92, .6);
  --radius: 18px;
  --shadow: 0 22px 60px rgba(3, 10, 24, .55);
  --accent: var(--brand);
  --accent-lt: var(--brand-lt);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}

/* ---------- 主题滚动条 ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--teal));
  border-radius: 8px; border: 3px solid var(--navy-900);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--brand-lt), var(--teal-lt)); }
html { scrollbar-width: thin; scrollbar-color: var(--brand) var(--navy-900); }

/* ---------- 背景层：静态辉光 + 漂移极光 + 颗粒 ---------- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(43, 124, 255, .20), transparent 62%),
    radial-gradient(820px 480px at 92% 4%, rgba(18, 179, 166, .14), transparent 60%),
    radial-gradient(700px 460px at 50% 108%, rgba(43, 124, 255, .12), transparent 62%);
}
.bg-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .42; }
.aurora-blob.a1 { width: 620px; height: 620px; left: -160px; top: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(43, 124, 255, .5), transparent 66%);
 }
.aurora-blob.a2 { width: 560px; height: 560px; right: -140px; top: 6%;
  background: radial-gradient(circle at 55% 45%, rgba(18, 179, 166, .42), transparent 66%);
 }
.aurora-blob.a3 { width: 700px; height: 700px; left: 30%; bottom: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(106, 92, 255, .3), transparent 66%);
 }

.bg-grain { display: none; } /* 性能优化:关闭全屏 mix-blend-mode 噪点层。 */

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }

/* ---------- 滚动进度条 ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--cyan));
  box-shadow: 0 0 12px rgba(56, 217, 245, .6); transition: width .1s linear; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(5, 11, 24, .82);
  border-bottom: 1px solid rgba(124, 196, 255, .08);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.scrolled { background: rgba(5, 11, 24, .86); box-shadow: 0 12px 40px rgba(3, 10, 24, .5); border-color: rgba(124, 196, 255, .16); }
.nav-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 8px 22px rgba(43, 124, 255, .35); position: relative; overflow: hidden;
}
.logo-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%); }
.logo-mark svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.logo em { font-style: normal; color: var(--ink-soft); font-weight: 600; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-lt), var(--teal-lt)); transition: width .25s var(--ease); }
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #1f5fd8); color: #fff;
  box-shadow: 0 10px 26px rgba(43, 124, 255, .32); transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(43, 124, 255, .45); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .98; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(5, 11, 24, .95) 0%, rgba(5, 11, 24, .78) 40%, rgba(5, 11, 24, .34) 72%, rgba(5, 11, 24, .18) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }

/* 入场序列 */
.rise { opacity: 0; transform: translateY(30px); }
.hero.entered .rise, .portal-hero.entered .rise { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--brand-lt); background: rgba(43, 124, 255, .14); border: 1px solid rgba(124, 196, 255, .28);
}
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-lt); box-shadow: 0 0 0 4px rgba(92, 227, 214, .18); }
.hero h1 { margin: 22px 0 18px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: -.5px; }
.hero h1 span, .portal-hero h1 span {
  background: linear-gradient(100deg, var(--brand-lt), var(--teal-lt), var(--cyan), var(--brand-lt));
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 17.5px; color: var(--ink-soft); max-width: 580px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.btn { padding: 13px 30px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: all .22s var(--ease); display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #1f5fd8); color: #fff; box-shadow: 0 14px 34px rgba(43, 124, 255, .34); }
.btn-primary::after { content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-160%) skewX(-18deg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(43, 124, 255, .48); }
.btn-primary:hover::after { animation: btn-shine .8s var(--ease); }
@keyframes btn-shine { to { transform: translateX(260%) skewX(-18deg); } }
.btn-ghost { border: 1px solid rgba(124, 196, 255, .3); color: var(--ink); background: rgba(18, 48, 92, .5); }
.btn-ghost:hover { border-color: var(--brand-lt); background: rgba(43, 124, 255, .14); transform: translateY(-2px); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { padding: 7px 15px; border-radius: 999px; font-size: 13px; color: var(--ink-soft); border: 1px solid var(--line); background: rgba(12, 28, 58, .85); transition: border-color .2s, color .2s, transform .2s; }
.chip:hover { border-color: rgba(124,196,255,.4); color: var(--ink); transform: translateY(-2px); }

/* Hero 悬浮实时卡片 */
.hero-stage { position: absolute; z-index: 2; right: clamp(24px, 6vw, 110px); top: 50%; transform: translateY(-50%); width: min(380px, 36vw); display: grid; gap: 18px; pointer-events: none; }
.live-card {
  pointer-events: auto; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(18, 48, 92, .92), rgba(8, 18, 38, .95));
  border: 1px solid rgba(124, 196, 255, .24);
  box-shadow: 0 20px 50px rgba(3, 10, 24, .55); display: flex; gap: 13px; align-items: center;
}
.live-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(43,124,255,.32), rgba(18,179,166,.26)); border: 1px solid rgba(124,196,255,.3); }
.live-ic svg { width: 21px; height: 21px; stroke: var(--accent-lt); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.live-tx { min-width: 0; }
.live-tx b { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); }
.live-tx small { display: block; font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-lt); box-shadow: 0 0 8px var(--teal-lt); }
.live-val { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--accent-lt); letter-spacing: -.5px; }

/* 滚动提示 */
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 11.5px; letter-spacing: 2px; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(124,196,255,.4); border-radius: 13px; position: relative; }
.scroll-mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--brand-lt); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 跑马灯 ---------- */
.marquee { position: relative; z-index: 1; padding: 20px 0; border-block: 1px solid rgba(124,196,255,.1);
  background: linear-gradient(90deg, rgba(8,18,38,.6), rgba(12,28,58,.4), rgba(8,18,38,.6));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 11px; padding: 0 30px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.mq-item i { font-style: normal; color: var(--accent-lt); font-size: 11px; }

/* ---------- 数据条 ---------- */
.stats { position: relative; z-index: 1; margin-top: -52px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 26px 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-lt), transparent); opacity: .6; }
.stat:hover { transform: translateY(-5px); border-color: rgba(124,196,255,.34); }
.stat .num { font-size: 32px; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(120deg, var(--accent-lt), var(--teal-lt)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num small { font-size: 15px; font-weight: 700; margin-left: 3px; }
.stat p { font-size: 13.5px; color: var(--ink-dim); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { position: relative; padding: 100px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-lt); margin-bottom: 14px; }
.section-label::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-lt)); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.25; letter-spacing: -.4px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.center .section-label::before { display: none; }
.tech-bg { position: absolute; inset: 0; background: url('../image/tech-grid.svg') center/cover no-repeat; opacity: .5; pointer-events: none; z-index: 0; }
.section > .wrap { z-index: 1; }

/* ---------- 功能卡片（聚光 + 倾斜 + 扫光） ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 30px 26px 32px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 48, 92, .55), rgba(10, 22, 44, .65));
  border: 1px solid var(--line); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.card::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px 220px at 82% -12%, rgba(43, 124, 255, .22), transparent 70%); }
.card::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 196, 255, .16), transparent 62%); }
.card:hover { border-color: rgba(124, 196, 255, .38); box-shadow: 0 30px 66px rgba(3, 10, 24, .62); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(43, 124, 255, .3), rgba(18, 179, 166, .22));
  border: 1px solid rgba(124, 196, 255, .3); transition: box-shadow .3s, transform .3s;
}
.card:hover .card-ic { box-shadow: 0 0 0 6px rgba(43,124,255,.08), 0 10px 26px rgba(43,124,255,.3); transform: translateY(-2px); }
.card-ic svg { width: 24px; height: 24px; stroke: var(--accent-lt); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- 图文区块 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.split-media:hover img { transform: scale(1.015); }
.media-glow { position: absolute; inset: 12% 8% -6% 8%; background: radial-gradient(closest-side, rgba(43, 124, 255, .34), transparent); filter: blur(30px); z-index: -1; opacity: .85; }
.media-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--ink); background: rgba(8, 18, 38, .95); border: 1px solid rgba(124,196,255,.3);
  box-shadow: 0 14px 34px rgba(3,10,24,.5); }
.media-badge .live-dot { width: 6px; height: 6px; }
.bullets { margin-top: 22px; display: grid; gap: 13px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.bullets .tick { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: rgba(18, 179, 166, .2); border: 1px solid rgba(92, 227, 214, .5); position: relative; }
.bullets .tick::after { content: ''; position: absolute; left: 6px; top: 4px; width: 6px; height: 10px; border: solid var(--teal-lt); border-width: 0 2px 2px 0; transform: rotate(42deg); }

/* ---------- 画廊（真实界面截图） ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot { text-align: center; }
.shot-frame {
  position: relative; border-radius: 26px; padding: 10px;
  background: linear-gradient(160deg, rgba(43, 124, 255, .3), rgba(12, 28, 58, .8));
  border: 1px solid rgba(124, 196, 255, .22); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.shot-frame img { border-radius: 18px; width: 100%; }
.shot-frame::after { content: ''; position: absolute; inset: 10px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.shot:hover .shot-frame { transform: translateY(-10px); border-color: rgba(124,196,255,.45); box-shadow: 0 34px 70px rgba(3,10,24,.66), 0 0 40px rgba(43,124,255,.18); }
.shot figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.shot figcaption b { display: block; color: var(--ink); font-size: 15px; font-weight: 700; margin-bottom: 3px; }

/* ---------- 应用场景 ---------- */
.scen-card { padding: 28px 26px; border-radius: var(--radius); background: rgba(12, 28, 58, .55); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.scen-card::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px 160px at 80% -10%, rgba(43,124,255,.18), transparent 70%); }
.scen-card:hover { transform: translateY(-6px); border-color: rgba(124,196,255,.36); box-shadow: 0 26px 56px rgba(3,10,24,.55); }
.scen-card:hover::before { opacity: 1; }
.scen-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.scen-card p { font-size: 14px; color: var(--ink-soft); }
.scen-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(43, 124, 255, .16); border: 1px solid rgba(124, 196, 255, .28); transition: transform .3s, box-shadow .3s; }
.scen-card:hover .scen-ic { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 24px rgba(43,124,255,.28); }
.scen-ic svg { width: 20px; height: 20px; stroke: var(--accent-lt); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 能力矩阵 ---------- */
.matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 40px; }
.matrix div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); padding: 6px 0; transition: color .2s; }
.matrix div:hover { color: var(--ink); }
.matrix div::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--accent-lt); transform: rotate(45deg); box-shadow: 0 0 10px rgba(124,196,255,.5); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 92px 0; overflow: hidden; }
.cta-box { position: relative; padding: 58px 48px; border-radius: 26px; text-align: center; box-shadow: var(--shadow); overflow: hidden;
  background: linear-gradient(140deg, rgba(43, 124, 255, .22), rgba(18, 179, 166, .14)); border: 1px solid rgba(124, 196, 255, .26); }
.cta-box::before { content: ''; position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(124,196,255,.16) 82%, transparent 92%); }
.cta-box::after { content: ''; position: absolute; inset: 1px; border-radius: 25px; z-index: 0;
  background: linear-gradient(140deg, rgba(10,22,44,.92), rgba(8,18,38,.94)); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-box p { margin: 14px auto 26px; color: var(--ink-soft); max-width: 620px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 46px 0 38px; background: rgba(5, 11, 24, .6); position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand p { font-size: 13.5px; color: var(--ink-dim); margin-top: 12px; max-width: 320px; }
.footer-links { display: flex; gap: 34px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--ink-dim); transition: color .2s; }
.footer-links a:hover { color: var(--accent-lt); }
.footer-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(124, 196, 255, .08); font-size: 12.5px; color: var(--ink-dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- 门户页（index） ---------- */
.portal-hero { text-align: center; padding: 168px 0 100px; position: relative; overflow: hidden; }
.portal-hero::before { content: ''; position: absolute; inset: 0; background: url('../image/tech-grid.svg') center/cover no-repeat; opacity: .5; pointer-events: none; }
.portal-hero .wrap { z-index: 2; }
.portal-hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(34px, 5vw, 58px); line-height: 1.16; font-weight: 800; letter-spacing: -.6px; }
.portal-hero p.lead { margin: 22px auto 0; max-width: 660px; text-align: center; font-size: 17.5px; color: var(--ink-soft); }
.portal-orbit { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.portal-orbit span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(124,196,255,.16); transform: translate(-50%, -50%); }
.portal-orbit span:nth-child(1) { width: 520px; height: 520px; }
.portal-orbit span:nth-child(2) { width: 720px; height: 720px; border-color: rgba(92,227,214,.12); }
.portal-orbit span:nth-child(3) { width: 920px; height: 920px; border-color: rgba(124,196,255,.08); }
.portal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.portal-card { position: relative; padding: 40px 36px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 48, 92, .5), rgba(8, 18, 38, .72));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.portal-card::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124,196,255,.12), transparent 60%); }
.portal-card:hover { transform: translateY(-8px); border-color: rgba(124, 196, 255, .4); box-shadow: 0 34px 70px rgba(3,10,24,.6); }
.portal-card:hover::after { opacity: 1; }
.portal-card .pc-media { border-radius: 14px; margin-bottom: 24px; border: 1px solid var(--line); height: 230px; width: 100%; overflow: hidden; position: relative; }
.portal-card .pc-media img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.portal-card:hover .pc-media img { transform: scale(1.06); }
.portal-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.portal-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.portal-card .list { display: grid; gap: 8px; margin-bottom: 24px; }
.portal-card .list li { font-size: 13.5px; color: var(--ink-dim); display: flex; gap: 9px; align-items: flex-start; }
.portal-card .list li::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent-lt); box-shadow: 0 0 8px rgba(124,196,255,.5); }

/* ---------- 回到顶部 ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: linear-gradient(150deg, rgba(18,48,92,.85), rgba(8,18,38,.9)); border: 1px solid rgba(124,196,255,.3);
  box-shadow: 0 16px 40px rgba(3,10,24,.55);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, border-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--brand-lt); box-shadow: 0 16px 40px rgba(3,10,24,.55), 0 0 26px rgba(43,124,255,.3); }
.to-top svg { width: 20px; height: 20px; stroke: var(--accent-lt); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 滚动显现（多变体 +  stagger） ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.reveal.rv-left { transform: translateX(-36px); }
.reveal.rv-right { transform: translateX(36px); }
.reveal.rv-scale { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .hero-stage { display: none; }
  .hero-inner { max-width: 100%; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .portal-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 20px; background: rgba(5, 11, 24, .97); border-bottom: 1px solid var(--line); }
  .nav-links.open a { padding: 11px 0; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-inner { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 84px; }
  .section { padding: 70px 0; }
  .matrix { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .scroll-hint { display: none; }
  .portal-orbit { display: none; }
  .aurora-blob { filter: blur(56px); opacity: .4; }
}

/* ---------- 无障碍：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}