/* ============================================================
   珀瓦网络 PWCOM — 官方网站样式
   Dark / Tech / Game Studio
   ============================================================ */

:root {
  --bg: #04060c;
  --bg-soft: #070a13;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf7;
  --text-soft: #c3cada;
  --muted: #949db3;
  --cyan: #3ce4ff;
  --cyan-deep: #0ea5c4;
  --violet: #8b5cff;
  --violet-soft: #b69cff;
  --grad: linear-gradient(120deg, #4de6ff 0%, #6f7dff 52%, #b07cff 100%);
  --grad-btn: linear-gradient(120deg, #57e9ff 0%, #9b82ff 100%);
  --radius: 18px;
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 620px at 6% -4%, rgba(139, 92, 255, 0.12), transparent 62%),
    radial-gradient(820px 560px at 102% 2%, rgba(60, 228, 255, 0.09), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

h1, h2, h3, h4, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(60, 228, 255, 0.28);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #04060c;
}
::-webkit-scrollbar-thumb {
  background: #1c2436;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2c3852;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 布局基础 ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 84px;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title.light {
  color: #fff;
}

.section-title.light em {
  background: linear-gradient(120deg, #7df0ff 0%, #a993ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.eyebrow.light {
  color: #8ff0ff;
}

.section-desc {
  max-width: 620px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .section-desc {
  margin: 18px auto 0;
}

.lead {
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.95;
}

/* ---------- 按钮 ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  color: #050a14;
  background: var(--grad-btn);
  box-shadow: 0 12px 34px rgba(86, 200, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(120, 170, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(60, 228, 255, 0.5);
  background: rgba(60, 228, 255, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.text-link b {
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--cyan);
}

.text-link:hover b {
  transform: translateX(5px);
}

.text-link.light {
  color: #d8def0;
}

.text-link.light:hover {
  color: #fff;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease, height 0.4s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(4, 6, 12, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: rgba(5, 8, 15, 0.97);
  border-bottom-color: var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 24px rgba(60, 228, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.45);
  transform-origin: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-text small {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

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

.nav-link {
  position: relative;
  padding: 10px 15px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 8px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #fff;
}

.nav-contact {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, top 0.35s var(--ease);
}

.burger span:nth-child(1) {
  top: 14px;
}
.burger span:nth-child(2) {
  top: 20px;
}
.burger span:nth-child(3) {
  top: 26px;
}

.burger.open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #05070e;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.15);
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 12, 0.62) 0%, rgba(4, 6, 12, 0.38) 32%, rgba(4, 6, 12, 0.82) 76%, #04060c 100%),
    linear-gradient(92deg, rgba(4, 6, 12, 0.94) 0%, rgba(4, 6, 12, 0.6) 38%, rgba(4, 6, 12, 0.24) 72%, rgba(4, 6, 12, 0.68) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.22) 0%, rgba(60, 228, 255, 0.08) 42%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfd8ea;
  animation: fadeUp 1s var(--ease) both;
}

.hero-badge i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.3);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(60, 228, 255, 0.6);
  animation: pulse 2.2s infinite;
}

.hero-title {
  margin: 28px 0 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  animation: fadeUp 1.1s 0.1s var(--ease) both;
}

.hero-title .line {
  display: block;
}

.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(80, 200, 255, 0.28));
}

.hero-sub {
  margin-top: 28px;
  max-width: 640px;
  color: #b6c0d6;
  font-size: 16px;
  line-height: 1.95;
  animation: fadeUp 1.1s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  animation: fadeUp 1.1s 0.3s var(--ease) both;
}

.hero-meta {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 66px;
  animation: fadeUp 1.1s 0.4s var(--ease) both;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-meta-item strong {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(120deg, #eaf6ff, #a9b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-meta-item span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted);
}

.scroll-text {
  font-size: 9.5px;
  letter-spacing: 0.32em;
}

.mouse {
  position: relative;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
}

.mouse i {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  animation: mouseWheel 1.9s ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--cyan);
}

@keyframes mouseWheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  75% { opacity: 1; transform: translateY(11px); }
  100% { opacity: 0; transform: translateY(14px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 228, 255, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(60, 228, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 228, 255, 0); }
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 关键词滚动条 ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #8b95ad;
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  font-size: 8px;
  color: var(--cyan);
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 关于我们 ---------- */

.about {
  padding-top: 130px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 78px;
}

.about-visual {
  position: relative;
}

.about-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 12, 0) 40%, rgba(4, 6, 12, 0.7) 100%);
  pointer-events: none;
}

.about-frame img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.about-visual:hover .about-frame img {
  transform: scale(1.045);
}

.about-badge {
  position: absolute;
  left: -30px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(130, 210, 255, 0.24);
  border-radius: 16px;
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.about-badge strong {
  font-size: 38px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-badge span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-soft);
}

.about-tag {
  position: absolute;
  top: 22px;
  right: -16px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #dbe4f5;
}

.about-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.about-copy .lead {
  color: var(--text-soft);
  font-size: 16.5px;
}

.about-copy .btn {
  margin-top: 34px;
}

.check-list {
  margin-top: 28px;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: #c8d1e4;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(60, 228, 255, 0.22), rgba(139, 92, 255, 0.32));
  border: 1px solid rgba(100, 220, 255, 0.4);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 12px;
  width: 6px;
  height: 9px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(40deg);
}

/* ---------- 业务服务 ---------- */

.services {
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(60, 228, 255, 0.05), transparent 65%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.45s var(--ease), border-color 0.45s ease,
    box-shadow 0.45s ease, background 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -35%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 210, 255, 0.18), transparent 66%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 220, 255, 0.34);
  background: linear-gradient(160deg, rgba(60, 228, 255, 0.07), rgba(139, 92, 255, 0.05));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(80, 220, 255, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  border: 1px solid rgba(90, 220, 255, 0.2);
  background: linear-gradient(140deg, rgba(60, 228, 255, 0.12), rgba(139, 92, 255, 0.12));
  color: #7ee9ff;
  transition: transform 0.45s var(--ease), border-color 0.45s ease, color 0.45s ease;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  transform: translateY(-3px) rotate(-4deg);
  border-color: rgba(90, 220, 255, 0.5);
  color: #fff;
}

.service-card h3 {
  margin-top: 26px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.service-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--cyan);
  opacity: 0.75;
  transition: opacity 0.3s ease, gap 0.3s var(--ease);
}

.card-link span {
  transition: transform 0.3s var(--ease);
}

.service-card:hover .card-link {
  opacity: 1;
}

.service-card:hover .card-link span {
  transform: translateX(4px);
}

/* ---------- 数据条 ---------- */

.stats {
  position: relative;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), rgba(60, 228, 255, 0.04), rgba(139, 92, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-num {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #eef8ff 0%, #91a4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-times {
  font-size: 0.62em;
  vertical-align: 0.12em;
  margin: 0 2px;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}

.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 龙矩工作室群 ---------- */

.studio {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 84px;
  isolation: isolate;
}

.studio-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.studio-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.36) saturate(1.2);
}

.studio-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 5, 18, 0.94) 0%, rgba(7, 9, 22, 0.82) 45%, rgba(9, 6, 24, 0.7) 100%),
    radial-gradient(700px 500px at 80% 20%, rgba(139, 92, 255, 0.2), transparent 70%);
}

.studio-watermark {
  position: absolute;
  right: -30px;
  bottom: -34px;
  z-index: -1;
  font-size: clamp(90px, 15vw, 220px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
}

.studio-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 64px;
}

.studio .section-title {
  margin-top: 6px;
}

.studio-lead {
  padding-bottom: 6px;
  color: #b4bed3;
  font-size: 15.5px;
  line-height: 1.95;
}

.studio-units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.unit-card {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease), border-color 0.45s ease, background 0.45s ease;
}

.unit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 130, 255, 0.4);
  background: rgba(139, 92, 255, 0.09);
}

.unit-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.36);
}

.unit-card h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.unit-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #aab4c9;
}

.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.unit-tags span {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #b9c4db;
  background: rgba(255, 255, 255, 0.03);
}

.studio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-foot > span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8d97ae;
}

/* ---------- 核心优势 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: transform 0.45s var(--ease), border-color 0.45s ease, background 0.45s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 220, 255, 0.3);
  background: var(--panel-strong);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(100, 220, 255, 0.22);
  background: rgba(60, 228, 255, 0.07);
  color: #7de8ff;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  margin-top: 24px;
  font-size: 17.5px;
  font-weight: 600;
}

.why-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 加入我们 ---------- */

.join {
  background:
    radial-gradient(760px 460px at 0% 100%, rgba(139, 92, 255, 0.07), transparent 66%);
}

.join-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 56px;
}

.join-intro .section-desc {
  margin-bottom: 26px;
}

.job-list {
  border-top: 1px solid var(--line);
}

.job-row {
  display: grid;
  grid-template-columns: 1.4fr 0.72fr 0.6fr 0.32fr auto;
  align-items: center;
  gap: 20px;
  padding: 25px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, padding 0.35s var(--ease);
}

.job-row:hover {
  background: rgba(60, 228, 255, 0.045);
  padding-left: 26px;
}

.job-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.job-meta {
  font-size: 13px;
  color: var(--muted);
}

.job-type {
  justify-self: start;
  padding: 4px 12px;
  border: 1px solid rgba(60, 228, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(60, 228, 255, 0.06);
}

.job-arrow {
  justify-self: end;
  font-size: 18px;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.35s var(--ease);
}

.job-row:hover .job-arrow {
  color: var(--cyan);
  transform: translateX(5px);
}

/* ---------- 新闻动态 ---------- */

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.news-head .text-link {
  padding-bottom: 6px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: transform 0.45s var(--ease), border-color 0.45s ease, background 0.45s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 220, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.news-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.05);
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 12, 0) 45%, rgba(4, 6, 12, 0.62));
  pointer-events: none;
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.news-cat {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #d9e4f6;
}

.news-body {
  padding: 22px 24px 26px;
}

.news-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.news-body h3 {
  margin-top: 10px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.55;
}

.news-body h3 a:hover {
  color: var(--cyan);
}

.news-body p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 联系我们 ---------- */

.contact {
  background:
    radial-gradient(820px 560px at 92% 8%, rgba(139, 92, 255, 0.1), transparent 66%),
    radial-gradient(620px 460px at 4% 92%, rgba(60, 228, 255, 0.06), transparent 66%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: start;
  gap: 72px;
}

.contact-copy .lead {
  margin-top: 20px;
  max-width: 480px;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(100, 220, 255, 0.2);
  border-radius: 12px;
  background: rgba(60, 228, 255, 0.06);
  color: #7de8ff;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-list li a,
.contact-list li > div > span:not(.contact-label) {
  font-size: 15.5px;
  color: var(--text-soft);
}

.contact-list li a:hover {
  color: var(--cyan);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}

.socials a svg {
  width: 19px;
  height: 19px;
}

.socials a:hover {
  color: var(--cyan);
  border-color: rgba(60, 228, 255, 0.45);
  transform: translateY(-3px);
}

.contact-form {
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: block;
  margin-bottom: 18px;
}

.form-field > span {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.form-field > span i {
  font-style: normal;
  color: var(--cyan);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(4, 8, 16, 0.6);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5f6b82;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(60, 228, 255, 0.55);
  background: rgba(4, 10, 20, 0.8);
  box-shadow: 0 0 0 3px rgba(60, 228, 255, 0.1);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%238a93a8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-field select option {
  background: #0a0f1c;
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: #03050a;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #d5dcec;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #67718a;
}

/* ---------- 回到顶部 & 提示 ---------- */

.to-top {
  position: fixed;
  z-index: 90;
  right: 26px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(8, 12, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s var(--ease),
    color 0.3s ease, border-color 0.3s ease;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--cyan);
  border-color: rgba(60, 228, 255, 0.5);
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 34px;
  padding: 14px 26px;
  border: 1px solid rgba(60, 228, 255, 0.35);
  border-radius: 12px;
  background: rgba(7, 14, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-size: 13.5px;
  color: #d9f6ff;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.4s var(--ease);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 滚动出现的动画 ---------- */

.reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .nav-link {
    padding: 10px 11px;
  }

  .about-grid {
    gap: 54px;
  }

  .about-badge {
    left: -18px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 100px 0;
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 40px;
    overflow-y: auto;
    background: rgba(5, 8, 15, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s var(--ease);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 14px 6px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-contact {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-frame img {
    height: 420px;
  }

  .about-visual {
    max-width: 640px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .studio-lead {
    max-width: 640px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-head {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 130px;
  }

  .hero-meta {
    margin-top: 50px;
  }

  .hero-meta-item {
    padding: 0 22px;
  }

  .hero-meta-item strong {
    font-size: 22px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    aspect-ratio: 21 / 9;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .stat {
    padding-left: 26px;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .studio-units {
    grid-template-columns: 1fr;
  }

  .job-row {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .job-meta {
    display: none;
  }

  .job-title {
    grid-column: 1;
    grid-row: 1;
  }

  .job-type {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .job-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .news-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 90px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 9.4vw, 3.2rem);
  }

  .hero-sub {
    font-size: 14.5px;
  }

  .hero-sub br {
    display: none;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    padding: 13px 22px;
    font-size: 14px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0;
  }

  .hero-meta-item {
    padding: 0 16px;
  }

  .hero-meta-item strong {
    font-size: 19px;
  }

  .hero-meta-item span {
    font-size: 10.5px;
    letter-spacing: 0.02em;
  }

  .scroll-cue {
    display: none;
  }

  .about-badge {
    left: 12px;
    bottom: 16px;
    padding: 14px 18px;
  }

  .about-badge strong {
    font-size: 28px;
  }

  .about-tag {
    right: 12px;
    top: 14px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .about-frame img {
    height: 320px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px 26px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    aspect-ratio: 16 / 10;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 34px 26px;
    padding-top: 56px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .studio {
    padding: 90px 0;
  }

  .studio-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .job-row {
    padding: 20px 8px;
  }

  .job-row:hover {
    padding-left: 8px;
  }

  .join-intro .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .logo-text small {
    display: none;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero-meta-item {
    padding: 0 12px;
  }

  .to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .stat,
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stat:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* ---------- 减少动态效果 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
