/* ============================================================
   断云工作室 · 单页主页样式
   深色科技风 / 动图背景 / 鼠标视差 / Tab 动效
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-soft: #080d18;
  --panel: rgba(13, 21, 38, 0.55);
  --panel-solid: rgba(10, 16, 30, 0.86);
  --line: rgba(120, 190, 255, 0.14);
  --line-strong: rgba(120, 200, 255, 0.32);
  --txt: #e8f4ff;
  --muted: #8ea3c2;
  --cyan: #38e1ff;
  --teal: #2fe0c0;
  --violet: #8b7bff;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, li, figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(56, 225, 255, 0.28);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #05070f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 225, 255, 0.55), rgba(139, 123, 255, 0.45));
  border-radius: 999px;
  border: 3px solid #05070f;
}

/* ==================== 背景层 ==================== */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 90% at 18% 10%, #0b1526 0%, #05070f 55%, #03050b 100%);
}

.bg-image {
  position: absolute;
  inset: -8%;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.05);
  animation: kenburns 46s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0%   { transform: scale(1.06) translate3d(-1.2%, 1%, 0); }
  50%  { transform: scale(1.14) translate3d(1.4%, -1.4%, 0); }
  100% { transform: scale(1.08) translate3d(-0.6%, 1.8%, 0); }
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora-1 {
  width: 48vw;
  height: 48vw;
  left: -12vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.5), transparent 68%);
  animation: drift1 26s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 42vw;
  height: 42vw;
  right: -10vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.42), transparent 70%);
  animation: drift2 34s ease-in-out infinite alternate;
}

.aurora-3 {
  width: 52vw;
  height: 40vw;
  left: 22vw;
  bottom: -22vh;
  background: radial-gradient(circle, rgba(47, 224, 192, 0.32), transparent 70%);
  animation: drift3 30s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 5vh, 0) scale(1.15); }
}

@keyframes drift2 {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-7vw, -6vh, 0) scale(0.92); }
}

@keyframes drift3 {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to   { transform: translate3d(4vw, -7vh, 0) scale(1.12); }
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 62%, rgba(0, 0, 0, 0.95), transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 62%, rgba(0, 0, 0, 0.95), transparent 72%);
  opacity: 0.7;
  animation: gridShift 24s linear infinite;
}

@keyframes gridShift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 72px, 72px 0; }
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(3, 5, 11, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.55) 0%, transparent 26%, transparent 62%, rgba(5, 7, 15, 0.9) 100%);
}

/* ==================== 鼠标跟随光效 ==================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.14), rgba(139, 123, 255, 0.075) 44%, transparent 70%);
  filter: blur(4px) saturate(1.2);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

/* 指针光点：高亮核心 + 柔光尾蕴，替代生硬的空心圆 */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #a8f4ff 36%, rgba(56, 225, 255, 0.32) 68%, rgba(56, 225, 255, 0) 100%);
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.8), 0 0 26px rgba(56, 225, 255, 0.4);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), box-shadow 0.35s ease;
  will-change: transform;
}

body.has-pointer .cursor-glow {
  opacity: 0.9;
}

body.has-pointer .cursor-dot {
  opacity: 1;
}

body.is-hovering .cursor-glow {
  opacity: 1;
}

body.is-hovering .cursor-dot {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  box-shadow: 0 0 16px rgba(56, 225, 255, 0.95), 0 0 44px rgba(56, 225, 255, 0.55);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--teal) 45%, var(--violet));
  box-shadow: 0 0 18px rgba(56, 225, 255, 0.7);
}

/* ==================== 导航 ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 44px);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s var(--ease), backdrop-filter 0.4s ease;
}

.nav.is-stuck {
  height: 66px;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(120, 200, 255, 0.12), 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan), var(--teal) 60%, #9df7e8);
  box-shadow: 0 10px 30px -10px rgba(56, 225, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}

.brand-mark svg {
  display: block;
  width: 36px;
  height: 36px;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--muted);
  opacity: 0.8;
}

.tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(12, 20, 36, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tab-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  pointer-events: none;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56, 225, 255, 0.9), rgba(47, 224, 192, 0.75));
  box-shadow: 0 8px 24px -10px rgba(56, 225, 255, 0.9);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease), opacity 0.3s ease;
  opacity: 0;
}

.tab {
  position: relative;
  z-index: 1;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s ease;
}

.tab span {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.tab:hover span {
  transform: translateY(-1.5px);
}

.tab.is-active {
  color: #04121a;
  font-weight: 700;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  border: 1px solid var(--line-strong);
  background: rgba(56, 225, 255, 0.08);
  transition: all 0.4s var(--ease);
}

.nav-cta:hover {
  color: #04121a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-color: transparent;
  box-shadow: 0 14px 34px -14px rgba(56, 225, 255, 0.9);
}

/* ==================== 通用 ==================== */
main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 130px) clamp(18px, 4vw, 32px);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-head h2 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan), var(--teal) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tab 点击落点高亮 */
.flash {
  animation: flashGlow 1.1s ease-out;
}

@keyframes flashGlow {
  0%   { box-shadow: inset 0 0 0 0 rgba(56, 225, 255, 0); }
  26%  { box-shadow: inset 0 0 140px 0 rgba(56, 225, 255, 0.14); }
  100% { box-shadow: inset 0 0 0 0 rgba(56, 225, 255, 0); }
}

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==================== 首屏 ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) clamp(18px, 4vw, 32px) 90px;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1.6px;
  color: #cfe8ff;
  background: rgba(12, 22, 40, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(47, 224, 192, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 224, 192, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(47, 224, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 224, 192, 0); }
}

@font-face {
  font-family: "DY Display";
  src: url("../fonts/dy-display.woff2?v=20261115c") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  margin: 26px 0 20px;
  font-family: "DY Display", "LXGW WenKai", "Kaiti SC", "KaiTi", "STKaiti", serif;
  font-size: clamp(52px, 12.6vw, 136px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: clamp(2px, 1.2vw, 12px);
  color: #eaf9ff;
  transform: skewX(-3deg);
  transform-origin: 50% 100%;
  transition: filter 0.5s ease;
  filter:
    drop-shadow(0 0 1px rgba(170, 242, 255, 0.55))
    drop-shadow(0 0 16px rgba(56, 225, 255, 0.22))
    drop-shadow(0 2px 0 rgba(10, 58, 94, 0.9))
    drop-shadow(0 5px 0 rgba(7, 40, 62, 0.75))
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
}

.hero-title:hover {
  filter:
    drop-shadow(0 0 3px rgba(190, 248, 255, 0.85))
    drop-shadow(0 0 28px rgba(56, 225, 255, 0.55))
    drop-shadow(0 2px 0 rgba(10, 58, 94, 0.9))
    drop-shadow(0 5px 0 rgba(7, 40, 62, 0.75))
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
}

.hero-title .char {
  position: relative;
  display: inline-block;
  color: inherit;
  opacity: 0;
  transform: translateY(52px) rotate(7deg) scale(0.94);
  animation: charIn 1.1s var(--ease) forwards;
  transition: scale 0.5s var(--ease);
  will-change: transform;
}

/* 每个字自带金属渐变：让 background-clip: text 作用在元素自身的文本上。
   父级裁剪后代文本只有 Chromium 会做，iOS Safari / 微信内核会直接不画。 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title .char {
    background-image: linear-gradient(
      96deg,
      #ffffff 0%, #e6faff 10%, #9fe9ff 22%, #46c8f5 34%, #1b9ada 46%,
      #7fe0ff 58%, #ffffff 70%, #d3f2ff 82%, #ffffff 100%
    );
    background-repeat: no-repeat;
    background-size: 500% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* 五个字各取渐变的 1/5，拼回整行的金属质感 */
  .hero-title .char:nth-child(1) { background-position: 0% 50%; }
  .hero-title .char:nth-child(2) { background-position: 25% 50%; }
  .hero-title .char:nth-child(3) { background-position: 50% 50%; }
  .hero-title .char:nth-child(4) { background-position: 75% 50%; }
  .hero-title .char:nth-child(5) { background-position: 100% 50%; }
}

.hero-title .char:nth-child(1) { animation-delay: 0.16s; }
.hero-title .char:nth-child(2) { animation-delay: 0.28s; }
.hero-title .char:nth-child(3) { animation-delay: 0.40s; }
.hero-title .char:nth-child(4) { animation-delay: 0.52s; }
.hero-title .char:nth-child(5) { animation-delay: 0.64s; }

.hero-title .char:hover {
  scale: 1.07;
}

@keyframes charIn {
  0%   { opacity: 0; transform: translateY(52px) rotate(7deg) scale(0.94); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

.hero-sub {
  max-width: 660px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.95;
}

.hero-sub strong {
  color: #d8f0ff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(56, 225, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
}

.hero-sub strong::after {
  content: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}

.hero-tags span {
  padding: 7px 15px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #b9d7f2;
  background: rgba(13, 23, 41, 0.62);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}

.hero-tags span:hover {
  color: #04121a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  transform: translateY(-3px) scale(1.04);
  border-color: transparent;
  box-shadow: 0 14px 30px -14px rgba(56, 225, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease), color 0.35s ease, border-color 0.4s ease;
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  color: #04121a;
  background: linear-gradient(135deg, var(--cyan), var(--teal) 70%, #a8f6e8);
  box-shadow: 0 18px 40px -18px rgba(56, 225, 255, 0.9);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px -18px rgba(56, 225, 255, 1);
}

.btn-ghost {
  color: #d5ecff;
  border: 1px solid var(--line-strong);
  background: rgba(12, 22, 40, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 225, 255, 0.7);
  color: #fff;
  box-shadow: 0 18px 40px -22px rgba(56, 225, 255, 0.8);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  margin-top: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 7vh, 70px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffffff, #7fd8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat b em {
  font-style: normal;
  font-size: 0.55em;
  margin-left: 2px;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}

.stat span {
  font-size: 12.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

/* ==================== 业务卡片 ==================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 225, 255, 0.1), transparent 62%),
    linear-gradient(160deg, rgba(16, 26, 46, 0.78), rgba(8, 13, 24, 0.66));
  border: 1px solid var(--line);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease), border-color 0.45s ease, box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(56, 225, 255, 0.65), transparent 42%, transparent 62%, rgba(139, 123, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover {
  border-color: rgba(56, 225, 255, 0.3);
  box-shadow: 0 30px 70px -40px rgba(56, 225, 255, 0.65), 0 0 0 1px rgba(56, 225, 255, 0.08) inset;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--cyan);
  background: linear-gradient(150deg, rgba(56, 225, 255, 0.16), rgba(139, 123, 255, 0.12));
  border: 1px solid rgba(56, 225, 255, 0.22);
  transition: transform 0.55s var(--ease), color 0.4s ease, background 0.5s ease;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card-icon {
  transform: translateY(-3px) rotate(-6deg);
  color: #04121a;
  background: linear-gradient(150deg, var(--cyan), var(--teal));
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.card p {
  margin-top: 10px;
  font-size: 14.2px;
  color: var(--muted);
  line-height: 1.8;
}

.card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card ul li {
  position: relative;
  padding: 4px 11px 4px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #a6c4e0;
  background: rgba(56, 225, 255, 0.06);
  border: 1px solid rgba(120, 200, 255, 0.1);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
}

.card-num {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: rgba(150, 215, 255, 0.09);
  transition: color 0.5s ease, transform 0.5s var(--ease);
}

.card:hover .card-num {
  color: rgba(56, 225, 255, 0.22);
  transform: translateY(-2px) scale(1.05);
}

.card-cta {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 123, 255, 0.16), transparent 62%),
    linear-gradient(160deg, rgba(24, 20, 48, 0.8), rgba(9, 12, 26, 0.7));
}

.card-cta .card-icon {
  color: var(--violet);
  border-color: rgba(139, 123, 255, 0.3);
  background: linear-gradient(150deg, rgba(139, 123, 255, 0.2), rgba(56, 225, 255, 0.1));
}

.card-cta:hover .card-icon {
  color: #0a0418;
  background: linear-gradient(150deg, #a99bff, var(--cyan));
}

/* ==================== 关于 ==================== */
.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 800;
}

.about-copy p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.95;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.about-points > div {
  display: grid;
  grid-template-columns: 10px auto;
  grid-template-areas: "dot title" "dot desc";
  gap: 2px 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(12, 21, 38, 0.55);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.4s ease, background 0.4s ease;
}

.about-points > div:hover {
  transform: translateX(6px);
  border-color: rgba(56, 225, 255, 0.32);
  background: rgba(16, 28, 50, 0.7);
}

.about-points i {
  grid-area: dot;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 0 14px rgba(56, 225, 255, 0.7);
}

.about-points b {
  grid-area: title;
  font-size: 15px;
  font-weight: 600;
}

.about-points span {
  grid-area: desc;
  font-size: 13px;
  color: var(--muted);
}

.about-panel {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(11, 18, 33, 0.92), rgba(6, 10, 20, 0.86));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), 0 0 60px -30px rgba(56, 225, 255, 0.35);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.panel-head .dot {
  width: 10px;
  height: 10px;
  animation: none;
  box-shadow: none;
}

.panel-head .dot:nth-child(1) { background: #ff6b6b; }
.panel-head .dot:nth-child(2) { background: #ffd166; }
.panel-head .dot:nth-child(3) { background: #4ade80; }

.panel-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.code {
  margin: 0;
  padding: 22px 20px 26px;
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.95;
  color: #c3d8ee;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.c-key { color: #ff9ecb; }
.c-str { color: #7ce7c4; }
.c-fn  { color: #82c8ff; }

.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ==================== 联系 ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 224, 192, 0.1), transparent 62%),
    linear-gradient(160deg, rgba(15, 25, 44, 0.8), rgba(8, 12, 23, 0.68));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease), border-color 0.45s ease, box-shadow 0.5s var(--ease);
}

.contact-card:hover {
  border-color: rgba(56, 225, 255, 0.32);
  box-shadow: 0 30px 70px -44px rgba(56, 225, 255, 0.7);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--teal);
  background: linear-gradient(150deg, rgba(47, 224, 192, 0.18), rgba(56, 225, 255, 0.1));
  border: 1px solid rgba(47, 224, 192, 0.28);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label {
  font-size: 11.5px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-value {
  margin: 6px 0 20px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(100deg, #ffffff, #8fe6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-all;
  position: relative;
}

.contact-value::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s var(--ease);
}

.contact-card:hover .contact-value::after {
  transform: scaleX(1);
}

.copy-btn {
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #bfe4ff;
  border: 1px solid var(--line-strong);
  background: rgba(56, 225, 255, 0.07);
  transition: all 0.4s var(--ease);
}

.copy-btn:hover {
  color: #04121a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-color: transparent;
  box-shadow: 0 14px 32px -16px rgba(56, 225, 255, 0.9);
}

.copy-btn.is-done {
  color: #04121a;
  background: linear-gradient(135deg, var(--teal), #9af7e0);
  border-color: transparent;
}

.contact-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  text-align: center;
}

.contact-foot p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==================== 页脚 & 提示 ==================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 14, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.footer-brand {
  font-weight: 700;
  color: var(--txt);
  letter-spacing: 1px;
}

.footer-brand em {
  margin-left: 8px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
}

.footer-meta {
  letter-spacing: 0.4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 80;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  color: #04121a;
  font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 22px 50px -22px rgba(56, 225, 255, 0.95);
  transform: translate(-50%, 26px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}

.toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* 点击水波纹 */
.ripple {
  position: fixed;
  z-index: 70;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  border: 1.5px solid rgba(56, 225, 255, 0.85);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 0.75s var(--ease) forwards;
}

@keyframes rippleOut {
  to {
    transform: translate(-50%, -50%) scale(11);
    opacity: 0;
  }
}

/* ==================== 团队成员 ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), hsla(var(--hue, 190), 92%, 60%, 0.12), transparent 62%),
    linear-gradient(160deg, rgba(16, 26, 46, 0.78), rgba(8, 13, 24, 0.66));
  border: 1px solid var(--line);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease), border-color 0.45s ease, box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.member::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsla(var(--hue, 190), 92%, 64%, 0.85), transparent);
  opacity: 0.5;
  transition: opacity 0.45s ease;
}

.member:hover {
  border-color: hsla(var(--hue, 190), 92%, 64%, 0.32);
  box-shadow: 0 30px 70px -44px hsla(var(--hue, 190), 92%, 62%, 0.75);
}

.member:hover::before {
  opacity: 1;
}

.member-lead {
  grid-column: span 2;
  background:
    radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 225, 255, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(19, 38, 64, 0.86), rgba(9, 15, 27, 0.72));
  border-color: rgba(56, 225, 255, 0.24);
}

.member-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 25px;
  font-weight: 700;
  color: #f2fdff;
  background:
    radial-gradient(circle at 30% 24%, hsla(var(--hue, 190), 96%, 74%, 0.98), hsla(var(--hue, 190), 88%, 48%, 0.52) 58%, hsla(var(--hue, 190), 90%, 26%, 0.45));
  box-shadow: 0 12px 30px -14px hsla(var(--hue, 190), 92%, 60%, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 22px;
  border: 1px solid hsla(var(--hue, 190), 90%, 68%, 0.26);
}

.member-id h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.role-badge {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
  color: #04121a;
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  box-shadow: 0 6px 18px -10px rgba(56, 225, 255, 0.9);
}

.member-role {
  margin: 0 0 7px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: hsla(var(--hue, 190), 88%, 74%, 0.95);
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.member-meta span {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--muted);
  background: rgba(120, 190, 255, 0.07);
  border: 1px solid var(--line);
}

.member-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #b4c7e2;
}

.member-desc .desc-lead {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #e8f4ff;
  letter-spacing: 0.5px;
}

.skill-groups {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.skill-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.skill-row b {
  padding-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
}

.skill-row .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.skill-row .tags span {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #cfe6ff;
  background: rgba(120, 190, 255, 0.08);
  border: 1px solid rgba(120, 200, 255, 0.14);
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.member:hover .skill-row .tags span {
  color: #e6f6ff;
  border-color: hsla(var(--hue, 190), 90%, 66%, 0.3);
  background: rgba(120, 190, 255, 0.12);
}

.member-note {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(120, 190, 255, 0.14);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(14, 24, 42, 0.72), rgba(8, 13, 24, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 12px 11px;
  border-radius: 14px;
  border: 1px solid rgba(120, 200, 255, 0.14);
  background: rgba(120, 190, 255, 0.05);
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease);
}

.flow-step:hover {
  border-color: rgba(56, 225, 255, 0.34);
  background: rgba(56, 225, 255, 0.09);
  transform: translateY(-3px);
}

.flow-step b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan);
}

.flow-step span {
  font-size: 13px;
  color: #dceeff;
}

.flow-step em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-lead {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-lead {
    grid-column: auto;
  }

  .member {
    padding: 22px 18px 20px;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }
}

/* ==================== 响应式 ==================== */
@media (max-width: 980px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    display: none;
  }

  .tabs {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 68px;
  }

  .brand-text em {
    display: none;
  }

  /* 小屏下减少滤镜层数，避免大面积文字多层 drop-shadow 拖慢滚动 */
  .hero-title {
    filter:
      drop-shadow(0 0 14px rgba(56, 225, 255, 0.3))
      drop-shadow(0 2px 0 rgba(10, 58, 94, 0.85))
      drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
  }

  .tabs {
    padding: 4px;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    padding: 7px 11px;
    font-size: 12.5px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .hero-title {
    letter-spacing: 2px;
    font-size: clamp(54px, 14.4vw, 118px);
  }

  .pc-only {
    display: none;
  }

  .cursor-glow,
  .cursor-dot {
    display: none;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .nav {
    gap: 10px;
  }

  .tab {
    padding: 6px 8px;
    font-size: 11.5px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 15px;
  }

  .tab {
    padding: 6px 7px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
