/* ==========================================================================
   玄熠数字视觉 XUANYI DIGITAL VISION
   Official Website Stylesheet
   设计语言：暗场光影 / 数字科技 / 东方叙事
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --bg:          #05070c;
  --bg-deep:     #020407;
  --bg-soft:     #0a0f19;
  --bg-elev:     #0e1420;

  --line:        rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --surface:     rgba(255, 255, 255, 0.028);
  --surface-2:   rgba(255, 255, 255, 0.055);

  --text:        #e9eef7;
  --text-soft:   #b6c2d4;
  --text-muted:  #7d8b9f;
  --text-faint:  #56637a;

  --cyan:        #2ad4e8;
  --azure:       #2f7bff;
  --violet:      #8b5cf6;
  --magenta:     #d946ef;
  --gold:        #e8a94a;

  --grad-brand:  linear-gradient(115deg, #2ad4e8 0%, #2f7bff 42%, #8b5cf6 100%);
  --grad-warm:   linear-gradient(115deg, #e8a94a 0%, #f06a3a 55%, #d946ef 100%);
  --grad-line:   linear-gradient(90deg, transparent, rgba(42, 212, 232, 0.65), rgba(139, 92, 246, 0.65), transparent);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
               system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num:  "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gut: 40px;
  --navh: 82px;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --glow-cyan: 0 0 40px -8px rgba(42, 212, 232, 0.55);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { overflow: visible; }

::selection { background: rgba(42, 212, 232, 0.32); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(42, 212, 232, 0.5), rgba(139, 92, 246, 0.5));
  border-radius: 20px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #2ad4e8, #8b5cf6); }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section {
  position: relative;
  padding: 130px 0;
}

.section--tight { padding: 90px 0; }
.section--deep { background: var(--bg-deep); }

.section__glow {
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
}

.glow-a { width: 620px; height: 620px; top: -180px; left: -160px; background: radial-gradient(circle, rgba(47, 123, 255, 0.32), transparent 68%); }
.glow-b { width: 560px; height: 560px; bottom: -200px; right: -140px; background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 68%); }
.glow-c { width: 480px; height: 480px; top: 40%; right: 12%; background: radial-gradient(circle, rgba(42, 212, 232, 0.22), transparent 68%); }

.section > .wrap { position: relative; z-index: 2; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

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

.h1, .h2, .h3, .h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.h1 { font-size: clamp(38px, 6.2vw, 84px); }
.h2 { font-size: clamp(30px, 4vw, 52px); }
.h3 { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.32; }
.h4 { font-size: 19px; line-height: 1.4; font-weight: 700; }

.h2 .thin, .h1 .thin {
  font-weight: 300;
  color: var(--text-soft);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.grad-text--warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-soft);
  max-width: 62ch;
}

.muted { color: var(--text-muted); }
.center { text-align: center; }

.center .lead { margin-inline: auto; }

/* Section head */
.sec-head { max-width: 780px; margin-bottom: 66px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin: 22px 0 24px; }
.sec-head--center .lead { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 34px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 14px 40px -14px rgba(42, 212, 232, 0.6);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #8b5cf6, #2ad4e8);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
}

.btn--primary:hover { box-shadow: 0 20px 52px -14px rgba(139, 92, 246, 0.7); }
.btn--primary:hover::after { opacity: 1; }
.btn--primary > * { position: relative; z-index: 1; }

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

.btn--ghost:hover {
  border-color: rgba(42, 212, 232, 0.6);
  color: #fff;
  background: rgba(42, 212, 232, 0.08);
  box-shadow: var(--glow-cyan);
}

.btn--sm { height: 44px; padding: 0 24px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  transition: gap 0.4s var(--ease), color 0.3s;
}

.tlink svg { width: 15px; height: 15px; }
.tlink:hover { gap: 15px; color: #fff; }

/* ---------- 6. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--bg-deep);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
  animation: preAutoHide 0.7s var(--ease) 5s forwards;
}

@keyframes preAutoHide { to { opacity: 0; visibility: hidden; } }

.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__mark {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseFade 1.8s var(--ease-io) infinite;
}

.preloader__bar {
  width: 190px;
  height: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  border-radius: 2px;
}

.preloader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  transition: width 0.3s linear;
}

.preloader__txt {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--text-faint);
  text-transform: uppercase;
}

@keyframes pulseFade { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ---------- 7. Cursor light ---------- */
.cursor-light {
  position: fixed;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(42, 212, 232, 0.085), rgba(139, 92, 246, 0.045) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  will-change: transform;
}

body.has-cursor .cursor-light { opacity: 1; }

/* ---------- 8. Header / Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--navh);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s var(--ease),
              border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  height: 68px;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}

.header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 13px; flex: none; }

.logo__mark {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo:hover .logo__mark {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(231, 22, 26, 0.45));
}

.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__cn { font-size: 17px; font-weight: 800; letter-spacing: 0.1em; }
.logo__en {
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  display: block;
  padding: 10px 17px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 4px;
  height: 1px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 16px; flex: none; }

.header__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  transition: color 0.3s;
}

.header__tel svg { width: 15px; height: 15px; color: var(--cyan); }
.header__tel:hover { color: var(--cyan); }

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.burger i {
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.burger.is-open i:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open i:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(3, 5, 10, 0.97);
  backdrop-filter: blur(18px);
  padding: calc(var(--navh) + 30px) var(--gut) 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}

.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a {
  padding: 18px 4px;
  font-size: 26px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  transition: color 0.3s, padding-left 0.4s var(--ease);
}

.drawer a:hover { color: #fff; padding-left: 12px; }
.drawer a small { font-family: var(--font-num); font-size: 11px; letter-spacing: 0.28em; color: var(--text-faint); }

.drawer__foot {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--navh) + 60px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease-io) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.4%, -1.6%, 0); }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.86) 0%, rgba(5, 7, 12, 0.42) 34%, rgba(5, 7, 12, 0.72) 72%, var(--bg) 100%),
    linear-gradient(100deg, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.3) 52%, rgba(5, 7, 12, 0.72) 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 78%);
}

.hero__inner { position: relative; z-index: 3; width: 100%; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 34px;
}

.hero__badge b {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--grad-brand);
  color: #fff;
}

.hero__title { max-width: 17ch; }

.hero__title em {
  font-style: normal;
  display: block;
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.hero__sub {
  margin: 30px 0 44px;
  max-width: 54ch;
  font-size: 17.5px;
  line-height: 1.95;
  color: var(--text-soft);
}

.hero__sub strong { color: #fff; font-weight: 600; }

/* Hero stats */
.hero__stats {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hstat {
  background: rgba(6, 9, 15, 0.62);
  padding: 26px 26px 24px;
  transition: background 0.45s var(--ease);
}

.hstat:hover { background: rgba(14, 20, 32, 0.86); }

.hstat__n {
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hstat__n sup { font-size: 17px; font-weight: 600; }

.hstat__l { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); letter-spacing: 0.06em; }

/* Hero side vertical text */
.hero__side {
  position: absolute;
  right: calc(var(--gut) / 2);
  bottom: 130px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  writing-mode: vertical-rl;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__side::before {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollPulse 2.2s var(--ease-io) infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0.2); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1);   transform-origin: top; opacity: 0; }
}

/* Page hero (sub pages) */
.phero {
  position: relative;
  padding: calc(var(--navh) + 92px) 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 12% 0%, rgba(47, 123, 255, 0.2), transparent 62%),
    radial-gradient(ellipse 60% 90% at 92% 20%, rgba(139, 92, 246, 0.18), transparent 62%);
  pointer-events: none;
}

.phero .wrap { position: relative; z-index: 2; }

.phero__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 26px;
}

.phero__crumb span { color: var(--cyan); }
.phero__crumb i { font-style: normal; opacity: 0.45; }

.phero .h1 { font-size: clamp(34px, 4.6vw, 62px); }
.phero .lead { margin-top: 24px; }

/* ---------- 10. Marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  gap: 58px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

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

.marquee__item {
  display: flex;
  align-items: center;
  gap: 58px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  flex: none;
}

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

/* ---------- 11. Business grid ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bcard {
  position: relative;
  grid-column: span 6;
  min-height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  transition: transform 0.65s var(--ease), border-color 0.5s, box-shadow 0.6s;
}

.bcard--wide { grid-column: span 12; min-height: 400px; }

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

.bcard__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.8s;
  filter: saturate(0.9) brightness(0.72);
}

.bcard__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.18) 0%, rgba(4, 6, 11, 0.62) 52%, rgba(4, 6, 11, 0.95) 100%);
  transition: opacity 0.6s;
}

.bcard:hover { transform: translateY(-6px); border-color: rgba(42, 212, 232, 0.4); box-shadow: var(--shadow-lg); }
.bcard:hover .bcard__bg img { transform: scale(1.07); filter: saturate(1.1) brightness(0.85); }

/* light sweep */
.bcard__sweep {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s var(--ease);
}

.bcard:hover .bcard__sweep { left: 120%; }

.bcard__idx {
  position: absolute;
  top: 34px;
  right: 38px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.42);
}

.bcard__body { position: relative; z-index: 2; max-width: 62ch; }

.bcard__cat {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(42, 212, 232, 0.4);
  background: rgba(42, 212, 232, 0.1);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.bcard__title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.24;
  margin-bottom: 14px;
}

.bcard__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin 0.5s;
}

.bcard:hover .bcard__desc { max-height: 200px; opacity: 1; margin-bottom: 18px; }

.bcard__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.bcard__tags span {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.06em;
}

/* Two column timeline */
.tl-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }

/* ---------- 12. Capability cards ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.cap {
  position: relative;
  padding: 36px 32px 34px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.5s, transform 0.6s var(--ease), background 0.5s;
}

.cap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: var(--grad-line);
  opacity: 0;
  transition: opacity 0.5s;
}

.cap:hover { transform: translateY(-5px); border-color: rgba(42, 212, 232, 0.32); background: linear-gradient(160deg, rgba(42, 212, 232, 0.07), rgba(255, 255, 255, 0.015)); }
.cap:hover::before { opacity: 1; }

.cap__ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 24px;
  background: linear-gradient(140deg, rgba(42, 212, 232, 0.18), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(42, 212, 232, 0.24);
}

.cap__ico svg { width: 25px; height: 25px; stroke: var(--cyan); }

.cap h4 { font-size: 19px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.02em; }
.cap p { font-size: 14.5px; line-height: 1.85; color: var(--text-muted); }

.cap__no {
  position: absolute;
  right: 26px;
  top: 26px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* ---------- 13. Cases ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter button {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: all 0.4s var(--ease);
}

.filter button:hover { color: var(--text); border-color: var(--line-strong); }

.filter button.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -12px rgba(42, 212, 232, 0.65);
}

/* 分类按钮上的数量角标 */
.filter button i {
  font-style: normal;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
  margin-left: 6px;
  letter-spacing: 0;
}

.filter button.is-active i { opacity: 0.8; }

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

.case {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  cursor: pointer;
  transition: transform 0.6s var(--ease), border-color 0.5s, opacity 0.4s, box-shadow 0.6s;
}

.case.is-hidden { display: none; }
.case:hover { transform: translateY(-6px); border-color: rgba(42, 212, 232, 0.35); box-shadow: var(--shadow-lg); }

.case__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.case__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.7s;
  filter: brightness(0.78) saturate(0.95);
}

.case:hover .case__thumb img { transform: scale(1.07); filter: brightness(0.92) saturate(1.08); }

.case__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(6, 9, 15, 0.92) 100%);
}

.case__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.case__body { padding: 22px 24px 26px; }

.case__title { font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 9px; transition: color 0.35s; }
.case:hover .case__title { color: var(--cyan); }

.case__meta { font-size: 13px; color: var(--text-faint); letter-spacing: 0.06em; }

.case__more {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.5s var(--ease);
}

.case__more svg { width: 14px; height: 14px; }
.case:hover .case__more { opacity: 1; transform: none; border-color: var(--cyan); color: var(--cyan); }

/* Case feature (large) */
.case-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  margin-bottom: 26px;
}

.case-feature__media { position: relative; min-height: 420px; overflow: hidden; }
.case-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); transition: transform 1.2s var(--ease); }
.case-feature:hover .case-feature__media img { transform: scale(1.05); }

.case-feature__body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(140deg, rgba(10, 15, 25, 0.9), rgba(6, 9, 15, 0.6));
}

.case-feature__body h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; line-height: 1.3; }
.case-feature__body p { font-size: 15px; line-height: 1.9; color: var(--text-soft); }

.kv { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-top: 8px; border-top: 1px solid var(--line); }
.kv div { display: flex; flex-direction: column; gap: 3px; }
.kv dt { font-size: 12px; letter-spacing: 0.14em; color: var(--text-faint); }
.kv dd { font-size: 15px; font-weight: 600; }

/* ---------- 14. Stats band ---------- */
.band {
  position: relative;
  padding: 74px 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 130% at 20% 50%, rgba(47, 123, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 60% 130% at 82% 40%, rgba(139, 92, 246, 0.15), transparent 65%),
    var(--bg-deep);
  overflow: hidden;
}

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

.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.stat__n {
  font-family: var(--font-num);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__n sup { font-size: 0.42em; font-weight: 600; }
.stat__l { margin-top: 14px; font-size: 14px; color: var(--text-muted); letter-spacing: 0.1em; }

/* ---------- 15. Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

.step { position: relative; padding: 0 22px 0 0; }

.step__line {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-bottom: 30px;
}

.step__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 2px rgba(42, 212, 232, 0.75);
  transition: width 0.6s var(--ease);
}

.step:hover .step__line::after { width: 100%; border-radius: 3px; box-shadow: 0 0 20px 3px rgba(42, 212, 232, 0.55); }

.step__no {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.8; color: var(--text-muted); }

/* ---------- 16. Split (about / intro) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
}

.split--rev .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.split__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.86); }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(42, 212, 232, 0.1), transparent 55%);
  pointer-events: none;
}

.split__media--tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 9px 18px;
  border-radius: 100px;
  background: rgba(5, 8, 14, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.split__body .h2 { margin: 20px 0 24px; }
.split__body .lead { font-size: 16px; }

.checks { display: grid; gap: 14px; margin-top: 34px; }

.check { display: flex; gap: 14px; align-items: flex-start; }

.check i {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 212, 232, 0.14);
  border: 1px solid rgba(42, 212, 232, 0.42);
}

.check i svg { width: 11px; height: 11px; stroke: var(--cyan); }
.check p { font-size: 15px; color: var(--text-soft); line-height: 1.75; }
.check b { color: #fff; font-weight: 600; }

/* ---------- 17. Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(139, 92, 246, 0.5) 55%, transparent);
}

.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(42, 212, 232, 0.12);
}

.tl-item__y {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 7px;
}

.tl-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.tl-item p { font-size: 14.5px; line-height: 1.8; color: var(--text-muted); }

/* ---------- 18. Value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.value {
  padding: 42px 36px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.5s;
}

.value:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.4); }

.value__en {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.value h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.value p { font-size: 14.5px; line-height: 1.9; color: var(--text-muted); }

.value__glow {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 212, 232, 0.28), transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.6s;
}

.value:hover .value__glow { opacity: 1; }

/* ---------- 19. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s, padding-left 0.45s var(--ease);
}

.faq__q:hover { color: var(--cyan); padding-left: 12px; }

.faq__q i {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
}

.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.45s var(--ease);
}

.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}

.faq__a p {
  padding: 0 4px 26px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 82ch;
}

/* ---------- 20. CTA band ---------- */
.cta {
  position: relative;
  padding: 108px 0;
  overflow: hidden;
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 120% at 50% 0%, rgba(47, 123, 255, 0.22), transparent 62%),
    radial-gradient(ellipse 45% 100% at 50% 100%, rgba(139, 92, 246, 0.2), transparent 62%);
}

.cta__beam {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 420px;
  height: 180%;
  transform: translateX(-50%) rotate(8deg);
  background: linear-gradient(180deg, rgba(42, 212, 232, 0.18), transparent 70%);
  filter: blur(50px);
  animation: beamSway 9s var(--ease-io) infinite alternate;
}

@keyframes beamSway {
  from { transform: translateX(-50%) rotate(8deg); opacity: 0.65; }
  to   { transform: translateX(-50%) rotate(-8deg); opacity: 1; }
}

.cta .wrap { position: relative; z-index: 2; }
.cta .h2 { font-size: clamp(28px, 3.6vw, 46px); }
.cta .lead { margin: 22px auto 40px; }

/* ---------- 21. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: start; }

.info-list { display: grid; gap: 6px; margin-top: 36px; }

.info {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all 0.45s var(--ease);
}

.info:hover { border-color: var(--line); background: var(--surface); }

.info__ico {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(42, 212, 232, 0.17), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(42, 212, 232, 0.24);
}

.info__ico svg { width: 21px; height: 21px; stroke: var(--cyan); }
.info h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--text-faint); margin-bottom: 6px; }
.info p, .info a { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.6; transition: color 0.3s; word-break: break-all; }
.info a:hover { color: var(--cyan); }
.info small { display: block; font-size: 13px; font-weight: 400; color: var(--text-muted); margin-top: 3px; }

/* Form */
.form {
  padding: 44px 42px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(12px);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 9px;
}

.field label em { color: var(--magenta); font-style: normal; margin-left: 3px; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.55);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
  appearance: none;
}

.field textarea { min-height: 118px; resize: vertical; line-height: 1.8; }

.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8b9f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
  cursor: pointer;
}

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

.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(42, 212, 232, 0.6);
  background: rgba(3, 5, 10, 0.8);
  box-shadow: 0 0 0 3px rgba(42, 212, 232, 0.1);
}

.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: rgba(217, 70, 239, 0.7); }

.field__err {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #f472b6;
}

.field.is-error .field__err { display: block; }

.form__note { font-size: 13px; color: var(--text-faint); margin-top: 16px; line-height: 1.7; }

.form__ok {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(42, 212, 232, 0.1);
  border: 1px solid rgba(42, 212, 232, 0.34);
  font-size: 14px;
  color: var(--cyan);
}

.form__ok.is-show { display: flex; }

.map-box {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(42, 212, 232, 0.05), rgba(139, 92, 246, 0.05)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px),
    #070b12;
  height: 320px;
  display: grid;
  place-items: center;
  margin-top: 22px;
}

.map-box__pin {
  position: relative;
  text-align: center;
  color: var(--text-soft);
  font-size: 13.5px;
  letter-spacing: 0.1em;
}

.map-box__pin i {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(42, 212, 232, 0.16), 0 0 26px 4px rgba(42, 212, 232, 0.6);
  animation: pinPulse 2.4s var(--ease-io) infinite;
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(42, 212, 232, 0.16), 0 0 26px 4px rgba(42, 212, 232, 0.55); }
  50%      { box-shadow: 0 0 0 16px rgba(42, 212, 232, 0.05), 0 0 34px 6px rgba(42, 212, 232, 0.75); }
}

/* ---------- 22. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(2, 4, 8, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__card {
  width: min(1020px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  transform: scale(0.95);
  transition: transform 0.5s var(--ease);
}

.lightbox.is-open .lightbox__card { transform: none; }

.lightbox__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.lightbox__media img { width: 100%; height: 100%; object-fit: cover; }

.lightbox__body { padding: 34px 38px 40px; }
.lightbox__body h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.lightbox__body .case__meta { margin-bottom: 20px; display: block; }
.lightbox__body p { font-size: 15px; line-height: 1.9; color: var(--text-soft); }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(4, 7, 12, 0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  transition: all 0.35s;
}

.lightbox__close:hover { background: var(--grad-brand); border-color: transparent; transform: rotate(90deg); }
.lightbox__close svg { width: 17px; height: 17px; }

/* ---------- 23. Footer ---------- */
.footer {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 76px 0 0;
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 46px;
  padding-bottom: 56px;
}

.footer__brand .logo { margin-bottom: 22px; }
.footer__brand p { font-size: 14px; line-height: 1.9; color: var(--text-muted); max-width: 36ch; }

.footer__social { display: flex; gap: 10px; margin-top: 24px; }

.footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all 0.4s var(--ease);
}

.footer__social a:hover { border-color: rgba(42, 212, 232, 0.5); color: var(--cyan); transform: translateY(-3px); background: rgba(42, 212, 232, 0.07); }
.footer__social svg { width: 17px; height: 17px; }

.footer h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: 14.5px; color: var(--text-soft); transition: color 0.3s, padding-left 0.4s var(--ease); }
.footer__links a:hover { color: var(--cyan); padding-left: 6px; }

.footer__contact { display: grid; gap: 14px; }
.footer__contact div { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-soft); line-height: 1.7; }
.footer__contact svg { width: 16px; height: 16px; stroke: var(--cyan); flex: none; margin-top: 4px; }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
}

.footer__bar nav { display: flex; gap: 22px; }
.footer__bar nav a:hover { color: var(--cyan); }

/* ---------- 23b. ICP 备案公示（法规要求，必须可见并链接备案系统） ---------- */
.footer__icp {
  padding: 0 0 28px;
  margin-top: -16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.footer__icp a {
  color: var(--text-faint);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.footer__icp a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(42, 212, 232, 0.45);
}

/* ---------- 24. Back to top ---------- */
.totop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 800;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(6, 10, 17, 0.82);
  backdrop-filter: blur(12px);
  color: var(--text-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.5s var(--ease);
}

.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { color: #fff; border-color: transparent; background: var(--grad-brand); box-shadow: 0 12px 34px -10px rgba(42, 212, 232, 0.7); }
.totop svg { width: 17px; height: 17px; }

/* ---------- 25. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="left"]  { transform: translateX(-38px); }
[data-reveal="right"] { transform: translateX(38px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="clip"]  { clip-path: inset(0 0 100% 0); transform: none; opacity: 1; transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- 26. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }
.mt-4 { margin-top: 56px; }
.mt-5 { margin-top: 80px; }
.pt-0 { padding-top: 0; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }

.tag-row span {
  padding: 6px 15px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- 27. Responsive ---------- */
@media (max-width: 1180px) {
  :root { --gut: 30px; }

  .nav { display: none; }
  .header__tel { display: none; }
  .burger { display: flex; }

  .hero__side { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
  .stat:nth-child(3)::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

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

  .bcard, .bcard--wide { grid-column: span 12; min-height: 380px; }
  .bcard__desc { max-height: 200px; opacity: 1; margin-bottom: 18px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }

  .case-feature { grid-template-columns: 1fr; }
  .case-feature__body { padding: 36px 30px; }

  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .form { padding: 32px 26px; }

  .tl-cols { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 720px) {
  :root { --gut: 22px; --navh: 70px; }

  body { font-size: 15px; }

  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 44px; }

  .hero { padding-top: calc(var(--navh) + 46px); min-height: auto; }
  .hero__sub { font-size: 16px; margin: 24px 0 34px; }
  .hero__badge { font-size: 12px; margin-bottom: 26px; }
  .hero__stats { margin-top: 54px; }
  .hstat { padding: 20px 18px; }
  .hstat__n { font-size: 30px; }
  .hstat__l { font-size: 12.5px; }

  .scroll-hint { display: none; }
  .cursor-light { display: none; }

  .cap-grid, .case-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .case-feature__body { padding: 30px 22px; }

  .bcard { padding: 28px 24px; min-height: 340px; }
  .bcard__idx { top: 24px; right: 24px; }

  .phero { padding-top: calc(var(--navh) + 56px); }
  .totop { right: 18px; bottom: 18px; }
  .lightbox { padding: 16px; }
  .lightbox__body { padding: 26px 22px 32px; }
}

/* ---------- 28. Quote teaser (home entry) ---------- */
.q-teaser {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 46px;
  align-items: center;
  padding: 46px 48px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(42, 212, 232, 0.26);
  background:
    radial-gradient(130% 170% at 0% 0%, rgba(42, 212, 232, 0.16), transparent 58%),
    radial-gradient(130% 170% at 100% 100%, rgba(139, 92, 246, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.q-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: var(--grad-line);
}

.q-teaser__t {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 18px 0 14px;
}

.q-teaser__d {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 640px;
}

.q-teaser__tags { margin-top: 22px; }

.q-teaser__cta { display: grid; gap: 14px; justify-items: center; }

.q-teaser__hint {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .q-teaser { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .q-teaser::before { left: 28px; right: 28px; }
  .q-teaser__t { font-size: 22px; }
  .q-teaser__cta { justify-items: stretch; text-align: center; }
}
