/* 智稿通 · Futuristic AI Agent / Deep Tech */

:root {
  --void: #050505;
  --void-2: #0a0f1c;
  --cyan: #00f0ff;
  --violet: #7000ff;
  --cyan-soft: rgba(0, 240, 255, 0.45);
  --violet-soft: rgba(112, 0, 255, 0.4);
  --ink: #ffffff;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.1);
  --font-ui: "Space Grotesk", "Outfit", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-brand: "Space Grotesk", "Outfit", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: linear-gradient(180deg, var(--void) 0%, var(--void-2) 48%, #050505 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1152px, calc(100% - 40px)); margin: 0 auto; }

/* —— 场景 —— */
.cyber-scene { position: relative; isolation: isolate; overflow: hidden; }
.cyber-grid {
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000 15%, transparent 72%);
}
.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}
.aurora-cyan { background: rgba(0, 240, 255, 0.22); }
.aurora-purple { background: rgba(112, 0, 255, 0.2); }

/* —— 文字 / 玻璃 / 按钮 —— */
.gradient-text {
  background: linear-gradient(100deg, #00f0ff 0%, #3b82f6 45%, #7000ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-flow {
  background: linear-gradient(100deg, #00f0ff, #38bdf8, #7000ff, #00f0ff);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flow-text 6s linear infinite;
}
@keyframes flow-text {
  to { background-position: 220% center; }
}
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #041016;
  background: linear-gradient(90deg, #00f0ff, #67e8f9 40%, #c084fc);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.45), 0 0 48px rgba(112, 0, 255, 0.2);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-neon:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.7), 0 0 64px rgba(112, 0, 255, 0.35);
}
.btn-ghost-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.05);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-ghost-neon:hover {
  transform: scale(1.02);
  border-color: rgba(0, 240, 255, 0.75);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

/* —— Hero 视觉 —— */
.hero-stage { perspective: 1400px; perspective-origin: 60% 40%; }
.hero-mock-tilt {
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-mock-tilt:hover { transform: rotateY(-7deg) rotateX(3deg) scale(1.015); }
.hero-reflect {
  margin-top: 10px;
  height: 56px;
  transform: scaleY(-1);
  opacity: 0.28;
  filter: blur(1px);
  mask-image: linear-gradient(#000, transparent 70%);
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  pointer-events: none;
}
.orb-core {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 12%;
  top: 6%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), transparent 18%),
    radial-gradient(circle at 55% 50%, #00f0ff 0%, #2563eb 32%, #7000ff 62%, #050505 82%);
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.4), 0 0 140px rgba(112, 0, 255, 0.28);
  animation: floaty 7s ease-in-out infinite;
}
.orb-ring {
  position: absolute;
  left: 2%;
  top: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.35);
  animation: spin 26s linear infinite;
}
.orb-ring-2 {
  position: absolute;
  left: 16%;
  top: 14%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid rgba(112, 0, 255, 0.4);
  animation: spin 16s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes hero-in {
  from { opacity: 0; transform: rotateY(-14deg) rotateX(6deg) translateY(28px); }
  to { opacity: 1; transform: rotateY(-14deg) rotateX(6deg) translateY(0); }
}

/* 仪表盘卡片 */
.dash-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.dash-card:hover {
  transform: translateY(-3px);
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.16), inset 0 0 28px rgba(0, 240, 255, 0.04);
}
.mod-panel {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.mod-panel::before,
.mod-panel::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  opacity: 0.35;
  transition: opacity .3s ease, box-shadow .3s ease;
}
.mod-panel::before {
  top: 8px; left: 8px;
  border-top: 1px solid #00f0ff;
  border-left: 1px solid #00f0ff;
}
.mod-panel::after {
  right: 8px; bottom: 8px;
  border-right: 1px solid #00f0ff;
  border-bottom: 1px solid #00f0ff;
}
.mod-panel:hover::before,
.mod-panel:hover::after {
  opacity: 1;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.65);
}
.mod-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(0, 240, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
  pointer-events: none;
}
.mod-panel:hover .mod-sweep {
  animation: sweep 0.85s ease;
}
@keyframes sweep {
  to { transform: translateX(120%); }
}
.icon-glow { filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.75)); }

/* 芯片节点 / 能量线 */
.reactor {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #a5f3fc;
  background: radial-gradient(circle at 50% 45%, rgba(0, 240, 255, 0.55), rgba(5, 5, 5, 0.92) 68%);
  border: 1px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45), inset 0 0 10px rgba(0, 240, 255, 0.35);
  animation: pulse-node 2.8s ease-in-out infinite;
}
@keyframes pulse-node {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 240, 255, 0.35), inset 0 0 8px rgba(0, 240, 255, 0.25); }
  50% { box-shadow: 0 0 22px rgba(112, 0, 255, 0.5), inset 0 0 12px rgba(0, 240, 255, 0.55); }
}
.energy-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, #7000ff, #00f0ff, transparent);
  background-size: 200% 100%;
  mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 14px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 14px);
  animation: energy-flow 2.2s linear infinite;
}
@keyframes energy-flow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* 芯片卡槽 */
.slot-card {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.07), rgba(255, 255, 255, 0.03) 28%, rgba(5, 5, 5, 0.25));
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 1rem;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.slot-card::before,
.slot-card::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 6px;
  height: 18px;
  border-radius: 2px;
  background: rgba(0, 240, 255, 0.35);
  box-shadow: 0 28px 0 rgba(0, 240, 255, 0.18);
}
.slot-card::before { left: 8px; }
.slot-card::after { right: 8px; }
.slot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.2);
}
.logo-orb {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18), rgba(5, 5, 5, 0.45) 70%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.slot-card:hover .logo-orb {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}

/* HUD */
.hud-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #a5f3fc;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.28);
}
.hud-tag::before,
.hud-tag::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: #00f0ff;
  border-style: solid;
}
.hud-tag::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hud-tag::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

/* —— Nav —— */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: rgba(0, 240, 255, 0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.22);
}
.logo svg { width: 18px; height: 18px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.brand-sub { font-size: 11px; color: #64748b; margin-top: 1px; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 6px 16px; font-size: 13px; color: #94a3b8; }
.nav-links a:hover, .nav-links a.active { color: #e2e8f0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: filter .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: #041016;
  background: linear-gradient(90deg, #00f0ff, #a78bfa);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost {
  color: #cbd5e1;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover { border-color: rgba(0, 240, 255, 0.5); color: #fff; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 文档 / 更新 */
.tu-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tu-chip {
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  color: #94a3b8; border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer;
}
.tu-chip.active, .tu-chip:hover { background: rgba(0,240,255,0.12); color: #e0f2fe; border-color: rgba(0,240,255,0.45); }
.tu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tu-card {
  text-align: left; border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem;
  background: rgba(255,255,255,0.04); backdrop-filter: blur(12px);
  overflow: hidden; cursor: pointer; padding: 0; font: inherit; color: inherit;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tu-card:hover { border-color: rgba(0,240,255,0.5); transform: translateY(-3px); box-shadow: 0 0 24px rgba(0,240,255,0.15); }
.tu-cover { height: 140px; background: #0a0f1c; display: grid; place-items: center; position: relative; overflow: hidden; }
.tu-cover img { width: 100%; height: 100%; object-fit: cover; }
.tu-play { position: absolute; right: 10px; bottom: 10px; background: rgba(5,5,5,.8); color: #00f0ff; font-size: 11px; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(0,240,255,0.3); }
.tu-body { padding: 16px; }
.tu-cat { font-size: 11px; color: #00f0ff; letter-spacing: 0.06em; }
.tu-body h3 { margin: 6px 0 8px; font-size: 16px; color: #fff; }
.tu-body p { margin: 0; font-size: 13px; color: #94a3b8; }
.tu-empty { padding: 40px; text-align: center; color: #64748b; }
.cl-years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cl-year-btn {
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: rgba(0, 240, 255, 0.05);
  color: #94a3b8;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cl-year-btn:hover {
  color: #e2e8f0;
  border-color: rgba(0, 240, 255, 0.45);
}
.cl-year-btn.is-on {
  color: #041016;
  background: linear-gradient(90deg, #00f0ff, #67e8f9);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
}
.cl-year-block { margin-bottom: 28px; }
.cl-year-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
}
.cl-year-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.cl-year-head span {
  font-size: 12px;
  color: #64748b;
}
.cl-list { display: flex; flex-direction: column; }
.cl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cl-meta { display: flex; flex-direction: column; gap: 4px; }
.cl-ver { display: block; font-weight: 600; color: #00f0ff; font-size: 14px; }
.cl-date { font-size: 12px; color: #64748b; }
.cl-title { margin: 0 0 8px; font-size: 16px; color: #fff; }
.cl-items { margin: 0; padding-left: 1.1em; color: #cbd5e1; font-size: 14px; }
.cl-empty { padding: 24px 0; color: #64748b; }
.cl-empty-line { margin: 0; color: #64748b; font-size: 14px; }
.nav-links a.active { color: #e2e8f0; }

.tu-modal { position: fixed; inset: 0; z-index: 80; background: rgba(5,5,5,0.78); display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.tu-modal.open { display: flex; }
.tu-dialog { width: min(760px, 100%); max-height: min(86vh, 900px); overflow: auto; background: #0a0f1c; border-radius: 1rem; border: 1px solid rgba(0,240,255,0.25); }
.tu-dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; background: rgba(10,15,28,0.95); z-index: 1; }
.tu-dialog-head h3 { margin: 4px 0 0; font-size: 22px; color: #fff; }
.tu-dialog-head .tu-cat { font-size: 11px; color: #00f0ff; }
.tu-dialog-close { border: 0; background: rgba(255,255,255,0.06); color: #e2e8f0; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; }
.tu-dialog-body { padding: 18px 22px 28px; color: #cbd5e1; }
.tu-dialog-body .tu-content { font-size: 15px; line-height: 1.75; }
.tu-dialog-body .tu-content img { border-radius: 10px; margin: 12px 0; }
.tu-dialog-body .tu-content p { margin: 0 0 12px; }

@media (max-width: 960px) {
  .tu-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .hide-sm { display: none; }
  .cl-item { grid-template-columns: 1fr; }
  .orb-core, .orb-ring, .orb-ring-2 { display: none; }
  .hero-mock-tilt, .hero-mock-tilt:hover { transform: none; }
  .hero-reflect { display: none; }
}
@media (max-width: 640px) {
  .tu-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
