/* ============================================================
   悟奇科技 WUQI TECH — 企业官网样式
   深空藏青 × 青绿 × 电光青 · 简约科技风
   ============================================================ */

:root {
  --bg: #060f18;
  --bg-soft: #0a1723;
  --panel: rgba(13, 30, 44, 0.72);
  --line: rgba(88, 199, 214, 0.14);
  --line-strong: rgba(88, 199, 214, 0.3);
  --ink: #e8f1f4;
  --ink-dim: #93a8b3;
  --ink-faint: #5a7280;
  --teal: #16a394;
  --teal-bright: #1fc9a8;
  --cyan: #2cc5f2;
  --grad: linear-gradient(100deg, var(--teal-bright), var(--cyan));
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Chakra Petch", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-cn);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(44, 197, 242, 0.3); color: #fff; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--teal), var(--cyan));
  border-radius: 5px;
  border: 2px solid var(--bg);
}

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(88px, 12vw, 150px) 0; position: relative; }

/* ---------- 背景氛围 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(88, 199, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 199, 214, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}

.bg-glow {
  position: fixed; border-radius: 50%; z-index: -3;
  filter: blur(120px); pointer-events: none;
}
.bg-glow--1 {
  width: 60vw; height: 60vw; top: -25vw; right: -15vw;
  background: radial-gradient(circle, rgba(22, 163, 148, 0.22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 45vw; height: 45vw; bottom: -10vw; left: -12vw;
  background: radial-gradient(circle, rgba(44, 197, 242, 0.1), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4vw, 3vw) scale(1.12); }
}

.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(6, 15, 24, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__logo {
  width: 44px; height: 44px; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.nav__brand:hover .nav__logo { filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(44, 197, 242, 0.8)); }
.nav__name { display: flex; flex-direction: column; line-height: 1.2; }
.nav__name strong { font-weight: 700; font-size: 17px; letter-spacing: 0.14em; }
.nav__name em {
  font-style: normal; font-family: var(--font-latin);
  font-size: 10px; letter-spacing: 0.34em; color: var(--cyan);
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links > a {
  font-size: 14.5px; font-weight: 400; color: var(--ink-dim);
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav__links > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--grad); transition: width 0.35s var(--ease);
}
.nav__links > a:hover { color: var(--ink); }
.nav__links > a:hover::after { width: 100%; }

.nav__cta {
  color: #04121c !important;
  font-weight: 500 !important;
  padding: 9px 22px !important;
  background: var(--grad);
  border-radius: 3px;
  box-shadow: 0 0 0 rgba(44, 197, 242, 0);
  transition: box-shadow 0.35s, transform 0.35s !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(31, 201, 168, 0.4);
}

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding: 120px 0 80px;
}
.hero__inner { width: min(1160px, 100% - 48px); margin-inline: auto; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-latin);
  font-size: 12px; letter-spacing: 0.32em; color: var(--cyan);
  border: 1px solid var(--line-strong);
  padding: 8px 18px; border-radius: 2px;
  background: rgba(44, 197, 242, 0.04);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero__title {
  margin-top: 36px;
  font-size: clamp(44px, 8.2vw, 104px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.04em;
}
.hero__title > span { display: block; }
.hero__title-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cursor {
  display: inline-block;
  width: 0.09em; height: 0.78em;
  margin-left: 0.08em;
  background: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__sub {
  margin-top: 30px;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-dim);
}

.hero__actions { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  padding: 15px 34px; border-radius: 3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--primary {
  background: var(--grad); color: #04121c;
  box-shadow: 0 8px 30px rgba(31, 201, 168, 0.25);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(31, 201, 168, 0.4); }
.btn__arrow { transition: transform 0.3s; }
.btn--primary:hover .btn__arrow { transform: translateX(5px); }
.btn--ghost {
  border: 1px solid var(--line-strong); color: var(--ink);
  background: rgba(44, 197, 242, 0.03);
}
.btn--ghost:hover { border-color: var(--cyan); background: rgba(44, 197, 242, 0.08); transform: translateY(-3px); }

.hero__meta {
  margin-top: 72px;
  display: flex; gap: 56px; flex-wrap: wrap;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-item b {
  font-family: var(--font-latin); font-size: 26px; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__meta-item span { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.12em; }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 9px;
  transition: border-color 0.3s;
}
.hero__scroll:hover { border-color: var(--cyan); }
.hero__scroll span {
  width: 3px; height: 9px; border-radius: 2px;
  background: var(--cyan);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 跑马灯 ---------- */
.ticker {
  border-block: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  background: rgba(13, 30, 44, 0.4);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker__track span {
  font-size: 13.5px; letter-spacing: 0.22em; color: var(--ink-faint);
  white-space: nowrap;
}
.ticker__track i {
  font-style: normal; font-size: 8px; color: var(--teal);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 数据 ---------- */
.stats { padding: clamp(70px, 9vw, 110px) 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 10px 32px;
  border-right: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 600; line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: 13.5px; color: var(--ink-dim); letter-spacing: 0.14em; }

/* ---------- 通用节标题 ---------- */
.sec-head { margin-bottom: clamp(48px, 7vw, 76px); }
.sec-head__tag {
  font-family: var(--font-latin);
  font-size: 12.5px; letter-spacing: 0.3em;
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.sec-head__title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700; line-height: 1.35; letter-spacing: 0.03em;
}
.sec-head--row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.sec-head--row .sec-head__title { margin-bottom: 0; }
.sec-head__note {
  font-size: 14px; color: var(--ink-faint);
  border-left: 2px solid var(--teal);
  padding-left: 18px; line-height: 2;
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__tag { margin-bottom: 14px; }

/* ---------- 业务领域 ---------- */
.services { background: linear-gradient(180deg, transparent, rgba(10, 23, 35, 0.85) 20%, rgba(10, 23, 35, 0.85) 80%, transparent); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.svc {
  position: relative;
  padding: 40px 34px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.svc::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(31, 201, 168, 0.08);
}
.svc:hover::before { transform: scaleX(1); }

.svc__index {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-latin);
  font-size: 52px; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(88, 199, 214, 0.22);
  transition: -webkit-text-stroke-color 0.4s;
}
.svc:hover .svc__index { -webkit-text-stroke-color: rgba(44, 197, 242, 0.55); }

.svc__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(44, 197, 242, 0.05);
  margin-bottom: 26px;
  transition: box-shadow 0.4s;
}
.svc__icon svg { width: 26px; height: 26px; }
.svc:hover .svc__icon { box-shadow: 0 0 24px rgba(44, 197, 242, 0.3); }

.svc h3 { font-size: 22px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 14px; }
.svc > p { font-size: 14px; color: var(--ink-dim); min-height: 76px; }
.svc ul { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.svc li {
  font-size: 13.5px; color: var(--ink-dim);
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: color 0.3s, padding-left 0.3s;
}
.svc li::before {
  content: "▸"; position: absolute; left: 2px;
  color: var(--teal-bright); font-size: 12px;
}
.svc li:hover { color: var(--ink); padding-left: 26px; }

/* ---------- 服务流程 ---------- */
.process__steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(13, 30, 44, 0.4);
  transition: border-color 0.4s, background 0.4s;
}
.step:hover { border-color: var(--line-strong); background: rgba(13, 30, 44, 0.75); }
.step__no {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  color: #04121c;
  background: var(--grad);
  padding: 4px 12px; border-radius: 2px;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.06em; }
.step p { font-size: 13.5px; color: var(--ink-dim); }

/* ---------- 关于 ---------- */
.about { background: linear-gradient(180deg, transparent, rgba(10, 23, 35, 0.9) 25%, rgba(10, 23, 35, 0.9) 75%, transparent); }
.about__grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about__text p { font-size: 15px; color: var(--ink-dim); margin-bottom: 20px; max-width: 520px; }
.about__logo {
  margin-top: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 200px; height: 120px;
  background: linear-gradient(160deg, #f4f8f9, #dfe9ec);
  border-radius: 10px;
  padding: 24px;
}
.about__logo img { max-height: 64px; object-fit: contain; }

.about__panel {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
}
.about__panel::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 201, 168, 0.16), transparent 70%);
  pointer-events: none;
}
.about__panel-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.about__panel-row span { color: var(--ink-faint); white-space: nowrap; }
.about__panel-row b { font-weight: 500; text-align: right; }
.about__quote {
  margin-top: 28px;
  font-size: 17px; font-weight: 500; line-height: 2;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 联系 ---------- */
.contact__lead {
  margin-top: 22px;
  color: var(--ink-dim); font-size: 15.5px;
}
.contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(44px, 6vw, 64px);
}
.contact__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.contact__card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(44, 197, 242, 0.1);
}
.contact__label {
  font-family: var(--font-latin);
  font-size: 11.5px; letter-spacing: 0.28em; color: var(--teal-bright);
}
.contact__value {
  font-size: 20px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; flex-direction: column;
}
.contact__value small { font-size: 12px; font-weight: 300; color: var(--ink-faint); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 40px;
  background: rgba(6, 15, 24, 0.9);
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img {
  width: 40px; height: 40px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.footer__brand b { display: block; font-size: 15px; letter-spacing: 0.1em; }
.footer__brand span {
  display: block; font-family: var(--font-latin);
  font-size: 10px; letter-spacing: 0.22em; color: var(--ink-faint);
}
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: 13px; color: var(--ink-dim); transition: color 0.3s; }
.footer__links a:hover { color: var(--cyan); }
.footer__copy { width: 100%; font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal--in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
.br-desktop { display: inline; }

@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .stat { border-left: 1px solid var(--line); padding: 18px 26px; }
  .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .svc > p { min-height: 0; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(6, 15, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links--open { transform: translateY(0); }
  .nav__links > a { width: 100%; padding: 13px 0; font-size: 16px; }
  .nav__cta { margin-top: 12px; text-align: center; justify-content: center; }
  .nav__burger { display: flex; }
  .br-desktop { display: none; }
  .hero__meta { gap: 32px; margin-top: 52px; }
  .process__steps { grid-template-columns: 1fr; }
  .stat { padding: 16px 18px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
