/* HEYDAY GROUP Official Website Styles */
:root {
  --color-bg: #070707;
  --color-bg-2: #0c0c0c;
  --color-card: #121212;
  --color-card-2: #181818;
  --color-red: #e60012;
  --color-red-dark: #b3000e;
  --color-red-glow: rgba(230, 0, 18, 0.35);
  --color-text: #ffffff;
  --color-text-2: #a0a0a0;
  --color-text-3: #666666;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(230, 0, 18, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Cross-platform CJK-safe font stacks: EN font first, then zh-Hans/zh-Hant fallbacks */
  --font-body: 'Inter', 'PingFang SC', 'PingFang TC', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans CJK SC', 'Noto Sans CJK TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', 'PingFang SC', 'PingFang TC', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans CJK SC', 'Noto Sans CJK TC', 'Source Han Sans SC', 'Source Han Sans TC', sans-serif;
}

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

html {
  /* Note: scroll-behavior:smooth removed — on iOS WebKit a long programmatic
     smooth scroll throttles requestAnimationFrame and freezes counter/video
     animations. Anchor jumps are smoothed via JS scrollIntoView instead. */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-dark {
  position: relative;
  padding: 90px 0;
  background: var(--color-bg);
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(230, 0, 18, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(230, 0, 18, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 10000;
  display: grid;
  place-items: center;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  width: 160px;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(230, 0, 18, 0.25));
}

.preloader-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--color-text);
  opacity: 0;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), backdrop-filter 0.4s;
}

#navbar.scrolled {
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.nav-container {
  width: min(1280px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-2);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(16px);
  padding: 24px;
  gap: 18px;
  border-bottom: 1px solid var(--color-border);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 8px 32px rgba(230, 0, 18, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(230, 0, 18, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.btn-lg { padding: 18px 48px; font-size: 14px; }

/* Section header */
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-desc {
  color: var(--color-text-2);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.65;
}

.section-header.center .section-desc { margin: 0 auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #120508 0%, #070707 60%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-beam {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 120vh;
  background: linear-gradient(120deg, transparent 30%, rgba(230, 0, 18, 0.12) 45%, transparent 60%);
  transform: skewX(-15deg);
  filter: blur(60px);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(7,7,7,0.6) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 920px;
  padding: 0 20px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 13vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 30px;
}

.ht-line { display: block; opacity: 0; transform: translateY(60px); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--color-text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(30px);
}
.hero-subtitle:empty { display: none; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-mouse span {
  width: 3px;
  height: 6px;
  background: var(--color-red);
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

.scroll-text {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-3);
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  position: relative;
}

/* About — capability wheel (mirrors PPT slide 4) */
.wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.wheel-svg {
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.55));
}

.wheel-svg .wheel-orbit {
  transform-origin: 280px 280px;
  transform-box: view-box;
  animation: orbitSpin 50s linear infinite;
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.wheel-svg .wheel-spokes line {
  stroke-dasharray: 4 7;
  animation: spokeFlow 3.2s linear infinite;
}
@keyframes spokeFlow {
  to { stroke-dashoffset: -44; }
}

.wheel-svg .wheel-node circle {
  transition: stroke 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}
.wheel-svg .wheel-node:hover circle {
  stroke: rgba(230, 0, 18, 0.95);
  filter: drop-shadow(0 0 14px rgba(230, 0, 18, 0.45));
}

.wheel-svg .wn-num {
  fill: var(--color-red);
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-body, Inter), sans-serif;
  letter-spacing: 1.5px;
}
.wheel-svg .wn-kw {
  fill: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body, Inter), 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.wheel-svg .wh-logo {
  fill: #fff;
  font-size: 25px;
  font-weight: 800;
  font-family: var(--font-display, Inter), sans-serif;
  letter-spacing: 2px;
}
.wheel-svg .wh-sub {
  fill: var(--color-red);
  font-size: 8.5px;
  font-weight: 700;
  font-family: var(--font-body, Inter), sans-serif;
  letter-spacing: 2.6px;
}
.wheel-svg .hub-breath {
  transform-origin: 280px 280px;
  transform-box: view-box;
  animation: hubBreath 3.6s ease-in-out infinite;
}
@keyframes hubBreath {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 0.35; }
}

.about-content { display: flex; flex-direction: column; gap: 18px; }

.about-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all 0.4s var(--ease-out);
}

.about-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.ac-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ac-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: 2px;
}

.ac-kw {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 3px 12px;
  border-radius: 999px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p { color: var(--color-text-2); font-size: 14px; line-height: 1.7; }

/* Timeline */
.timeline-wrap { position: relative; padding: 20px 0; }

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-line span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--color-red), rgba(230,0,18,0.2));
}

.timeline-items { display: flex; flex-direction: column; gap: 44px; }

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 48px;
}

.timeline-item:nth-child(odd) { align-self: flex-start; text-align: right; }
.timeline-item:nth-child(even) { align-self: flex-end; text-align: left; }

.ti-dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-red);
}

.timeline-item:nth-child(odd) .ti-dot { right: -8px; }
.timeline-item:nth-child(even) .ti-dot { left: -8px; }

.ti-year {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.ti-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ti-content p { color: var(--color-text-2); font-size: 14px; line-height: 1.65; }

.timeline-vision {
  margin-top: 60px;
  text-align: center;
  font-size: 18px;
  color: var(--color-text-2);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px 40px;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red) 0%, #ff4d4f 50%, rgba(230,0,18,0.35) 100%);
  opacity: 0.85;
}

.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230,0,18,0.45);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(230,0,18,0.08);
}

.adv-card:hover::before {
  opacity: 1;
  height: 4px;
}

.adv-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(230, 0, 18, 0.65);
  opacity: 0.9;
  user-select: none;
}

.adv-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 320px;
}

.adv-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}

.adv-body p {
  color: var(--color-text-2);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* Patent certificates carousel */
.patent-carousel {
  margin-top: 70px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.patent-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: patentScroll 45s linear infinite;
  will-change: transform;
}

.patent-carousel:hover .patent-track,
.patent-track:hover {
  animation-play-state: paused;
}

.patent-track img {
  height: 240px;
  width: auto;
  aspect-ratio: 10 / 14;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 44px rgba(0,0,0,0.38);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes patentScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .patent-carousel { margin-top: 48px; }
  .patent-track { gap: 16px; }
  .patent-track img { height: 180px; border-radius: 8px; }
}

/* Global */
.global-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.globe-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: 12px;
}

/* Global map — Beijing-centric radiation (dot-matrix world map) */
.globe-svg {
  width: 100%;
  max-width: 760px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

/* City node pulse */
.globe-svg .pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: cityPulse 2.8s ease-out infinite;
}
.globe-svg .city:nth-child(2) .pulse { animation-delay: 0.35s; }
.globe-svg .city:nth-child(3) .pulse { animation-delay: 0.7s; }
.globe-svg .city:nth-child(4) .pulse { animation-delay: 1.05s; }
.globe-svg .city:nth-child(5) .pulse { animation-delay: 1.4s; }
.globe-svg .city:nth-child(6) .pulse { animation-delay: 1.75s; }
.globe-svg .city:nth-child(7) .pulse { animation-delay: 2.1s; }

@keyframes cityPulse {
  0%   { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Radiation arcs — flowing dash */
.globe-svg .map-arc {
  stroke-dasharray: 5 90;
  stroke-dashoffset: 95;
  animation: arcFlow 2.6s linear infinite;
}
@keyframes arcFlow {
  0%   { stroke-dashoffset: 95; opacity: 0; }
  12%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { stroke-dashoffset: -95; opacity: 0; }
}

/* Traveling packets (animateMotion + fade sync) */
.globe-svg .map-packet {
  opacity: 0;
  animation: packetFade 2.6s linear infinite;
}
@keyframes packetFade {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Beijing hub — expanding sonar rings */
.globe-svg .hub-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: hubRing 3.6s ease-out infinite;
}
.globe-svg .hub-ring.r2 { animation-delay: 1.2s; }
.globe-svg .hub-ring.r3 { animation-delay: 2.4s; }
@keyframes hubRing {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4.6); opacity: 0; }
}

.globe-svg .hub-glow {
  transform-origin: center;
  transform-box: fill-box;
  animation: hubGlowPulse 4.8s ease-in-out infinite;
}
@keyframes hubGlowPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Subtle floating on the whole map */
.globe-svg { animation: globeFloat 8s ease-in-out infinite; }
@keyframes globeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.global-content .section-title { margin-bottom: 32px; }

.global-list { display: flex; flex-direction: column; gap: 16px; }

.global-item {
  padding: 18px 22px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: all 0.3s var(--ease-out);
}

.global-item:hover {
  border-color: var(--color-border-hover);
  transform: translateX(8px);
}

.gi-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 600;
}

.global-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0;
}

.global-item p { color: var(--color-text-2); font-size: 13px; }

/* Partners: logo wall */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 48px;
  padding: 32px 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 44px;
}

.pr-logo {
  flex: 0 0 auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: opacity 0.35s, transform 0.35s, filter 0.35s;
}

.pr-logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.pr-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  white-space: nowrap;
}

.pr-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 14px rgba(230, 0, 18, 0.4));
}

.partner-categories {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}

.pcat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 180px;
}

.pcat-card:hover {
  border-color: var(--color-red);
  transform: translateY(-5px);
  background: rgba(230, 0, 18, 0.04);
}

.pcat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-2);
  letter-spacing: 0.5px;
  line-height: 1.35;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pcat-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1;
  margin-bottom: 14px;
}

.pcat-logo {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}

.pcat-logo img {
  height: 100%;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.pcat-logo .pr-text {
  font-size: 15px;
  letter-spacing: 0.8px;
}

.pcat-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

.pcat-year {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--color-text-3);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pcat-year-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-red);
}

/* ============ Capability Blocks (5-capability cases) ============ */
.capability-block {
  margin-bottom: 78px;
}
.capability-block:last-child {
  margin-bottom: 0;
}

.capability-header {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.capability-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), transparent);
}

.cap-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(230, 0, 18, 0.75);
  opacity: 0.95;
  flex-shrink: 0;
  padding: 4px 10px 0 0;
  user-select: none;
}

.capability-info {
  min-width: 0;
}

.cap-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-red);
  padding: 7px 16px;
  border: 1px solid rgba(230, 0, 18, 0.55);
  border-radius: 999px;
  background: rgba(230, 0, 18, 0.08);
  margin-bottom: 12px;
}

.capability-info h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
}

.capability-info > p {
  color: var(--color-text-2);
  font-size: 16px;
  line-height: 1.75;
  max-width: 780px;
  margin: 0;
}

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

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.case-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
}

.case-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #000;
}

.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.case-card:hover .case-media img { transform: scale(1.06); }
.case-card:hover .case-media { background: #0a0a0a; }

.case-media .video-poster,
.case-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease, transform 0.8s var(--ease-out);
}

/* Video fades in over the poster once it has loaded data */
.case-media video { opacity: 0; z-index: 1; }
.case-media video.is-loaded { opacity: 1; }

/* Hover zoom only applies to non-panning videos (pan uses its own animation) */
.case-card:hover .case-media .video-poster,
.case-card:hover .case-media video:not(.pan-x):not(.pan-y) { transform: scale(1.04); }

.case-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(230, 0, 18, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}

.case-card:hover .case-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.case-body { padding: 22px; }

.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.capability-info > p:empty { display: none; }

.case-tags span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(230, 0, 18, 0.1);
  color: var(--color-red);
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 5px;
}

.case-sub {
  color: var(--color-red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-body > p:last-child { color: var(--color-text-2); font-size: 13px; line-height: 1.6; }

/* Case expand details */
.case-expand {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 13px;
}

.case-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  color: var(--color-red);
  font-family: var(--font-body, Inter), 'PingFang SC', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out);
}
.case-toggle:hover { color: #ff4750; }
.case-toggle span {
  background: linear-gradient(to right, var(--color-red), #ff4750);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-toggle svg { transition: transform 0.35s var(--ease-out); flex: none; }
.case-card.open .case-toggle svg { transform: rotate(180deg); }

.case-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.case-card.open .case-details { grid-template-rows: 1fr; }
.case-details > div { overflow: hidden; }

.case-details ul {
  list-style: none;
  margin: 14px 0 2px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.case-details li {
  position: relative;
  padding-left: 19px;
  color: var(--color-text-2);
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-line;
}

.case-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--color-red);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Team */
.team { background: linear-gradient(to bottom, var(--color-bg), #0e0506 50%, var(--color-bg)); }

.team-body {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: center;
}

.team-visual {
  width: 100%;
  max-width: 1180px;
}

.team-photo-frame {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  /* 背景渐变匹配新全景合影左右边缘色（左 #941519 → 右 #931519），
     滚动到两端时图片与背景同色系，拼接过渡自然 */
  background: linear-gradient(90deg, #941519 0%, #931519 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  scrollbar-width: thin;
  scrollbar-color: var(--color-red) var(--color-card);
}

.team-photo-frame::-webkit-scrollbar { height: 6px; }
.team-photo-frame::-webkit-scrollbar-track { background: var(--color-card); }
.team-photo-frame::-webkit-scrollbar-thumb { background: var(--color-red); border-radius: 3px; }

.team-photo-frame img {
  height: 360px;
  width: auto;
  max-width: none;
  display: block;
  /* 图片左右两端渐隐，平滑融入容器背景色，避免端部硬切 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}

.team-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 0 12px;
  text-align: center;
  background: linear-gradient(to top, rgba(16,6,8,0.95), transparent);
  pointer-events: none;
}

.team-scroll-hint span {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-2);
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: rgba(7,7,7,0.6);
}

.team-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.team-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.team-desc {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.team-lead {
  font-size: 16px;
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.team-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tc-item {
  padding: 10px 18px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-2);
  transition: all 0.3s var(--ease-out);
}

.tc-item:hover {
  border-color: var(--color-red);
  color: var(--color-text);
  background: rgba(230, 0, 18, 0.08);
  transform: translateY(-3px);
}

/* Contact */
.contact {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #120508 0%, #070707 70%);
}

.contact-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(230,0,18,0.5), transparent);
  transform: translateX(-50%);
  filter: blur(2px);
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.contact-content .section-title { margin-bottom: 20px; }

.contact-content p {
  color: var(--color-text-2);
  font-size: 17px;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 40px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-2);
  font-size: 15px;
}

.ci-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.ci-value {
  color: var(--color-text-2);
  text-decoration: none;
  transition: color 0.25s ease;
  letter-spacing: 0.02em;
}

.ci-value:hover { color: #fff; }

.ft-link {
  color: var(--color-text-2);
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-all;
}

.ft-link:hover { color: #fff; }

/* Footer */
.footer {
  background: #050505;
  padding: 60px 0 24px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p { color: var(--color-text-2); font-size: 14px; }

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-text);
}

.footer-links a, .footer-links p {
  display: block;
  color: var(--color-text-2);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--color-red); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-3);
  font-size: 13px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid, .global-grid { grid-template-columns: 1fr; gap: 40px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .team-photo-frame img { height: 300px; }
}

@media (max-width: 768px) {
  .section-dark { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { letter-spacing: -2px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { padding: 36px 22px 30px; }
  .adv-body h3 { font-size: 19px; }
  .adv-body p { font-size: 14px; }
  .adv-num { font-size: 28px; }
  .timeline-line { left: 20px; }
  .timeline-item { width: 100%; padding-left: 52px; padding-right: 0; text-align: left !important; align-self: flex-start !important; }
  .timeline-item:nth-child(odd) .ti-dot, .timeline-item:nth-child(even) .ti-dot { left: -8px; right: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pt-item { font-size: 20px; }
  .globe-svg { max-width: none; width: 100%; }
  .global-visual { margin: 0 -4vw; width: calc(100% + 8vw); }
  .team-heading { font-size: 22px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-block { margin-bottom: 56px; }
  .capability-header { gap: 14px; }
  .cap-num { font-size: 56px; }
  .cap-label { font-size: 16px; padding: 6px 14px; letter-spacing: 2px; }
  .capability-info h3 { font-size: 24px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .btn { padding: 12px 24px; font-size: 12px; }
  .about-image-accent { display: none; }
  .team-photo-frame { border-radius: 14px; }
  .team-photo-frame img { height: 220px; }
}

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

/* ============ Language Floating Switcher ============ */
@keyframes lsFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-switcher {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 100px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(230, 0, 18, 0);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  animation: lsFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both;
}

.lang-switcher:hover {
  border-color: rgba(230, 0, 18, 0.45);
  box-shadow:
    0 14px 48px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(230, 0, 18, 0.22);
}

.ls-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-2, #9a9a9a);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.ls-btn .ls-globe {
  width: 0;
  height: 15px;
  opacity: 0;
  flex: none;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.lang-switcher:hover .ls-btn .ls-globe { opacity: 0.8; width: 15px; }

.ls-btn.active {
  color: #fff;
  background: var(--color-red, #e60012);
  box-shadow: 0 4px 18px rgba(230, 0, 18, 0.45);
}

.ls-btn.active .ls-globe { opacity: 1; width: 15px; }

.ls-btn:not(.active):hover { color: var(--color-text, #fff); }

.ls-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 2px;
  flex: none;
}

@media (max-width: 768px) {
  .lang-switcher { right: 16px; bottom: 18px; }
  .ls-btn { padding: 8px 13px; font-size: 11px; letter-spacing: 1px; }
  .lang-switcher:hover .ls-btn .ls-globe,
  .ls-btn.active .ls-globe { opacity: 0; width: 0; }
}

/* ============================================================
   PPT Content Enhancement + Better Animations
   ============================================================ */

/* ---------- Exhibition Equipment: static image grid ---------- */
.exhibit-showcase {
  margin-top: 64px;
}

.exhibit-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text);
}

.exhibit-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--color-red);
  margin: 14px auto 0;
  border-radius: 2px;
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.exhibit-card {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.exhibit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}

.exhibit-card:hover img {
  transform: scale(1.05);
}

/* ---------- Cases: era timeline tag ---------- */
.case-era {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-era span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text-3);
  padding-left: 18px;
  position: relative;
}

.case-era span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 8px var(--color-red-glow);
  animation: era-pulse 2s ease-in-out infinite;
}

@keyframes era-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(230, 0, 18, 0); }
}

/* ---------- More Cases section ---------- */
.more-cases { background: var(--color-bg); }

.mc-ticker {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(0,0,0,0.22);
  padding: 20px 0;
}

.mc-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: mcScroll 45s linear infinite;
}

.mc-track:hover,
.mc-track:focus-within {
  animation-play-state: paused;
}

.mc-card {
  flex: 0 0 auto;
  width: 520px;
  height: 220px;
  display: flex;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

.mc-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.42);
}

.more-media {
  position: relative;
  flex: 0 0 75%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.more-media .video-poster,
.more-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease, transform 0.8s var(--ease-out);
}

/* Video fades in over the poster once it has loaded data */
.more-media video { opacity: 0; z-index: 1; }
.more-media video.is-loaded { opacity: 1; }

/* Hover zoom only applies to non-panning videos (pan uses its own animation) */
.mc-card:hover .more-media .video-poster,
.mc-card:hover .more-media video:not(.pan-x):not(.pan-y) { transform: scale(1.04); }

.more-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.more-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.more-body p {
  color: var(--color-text-2);
  font-size: 13px;
  line-height: 1.45;
}

@keyframes mcScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Video pan: long images/videos scroll dynamically ---------- */
.video-poster,
.case-media video,
.more-media video {
  --pan-duration: 14s;
  --pan-shift: -22%;
}

/* Horizontal pan: content is wider than the container */
.video-poster.pan-x,
video.pan-x {
  width: auto;
  height: 100%;
  min-width: 100%;
  max-width: none;
  object-fit: contain;
  animation: videoPanX var(--pan-duration, 14s) linear infinite alternate;
}

/* Vertical pan: content is taller than the container */
.video-poster.pan-y,
video.pan-y {
  width: 100%;
  height: auto;
  min-height: 100%;
  max-height: none;
  object-fit: contain;
  animation: videoPanY var(--pan-duration, 14s) linear infinite alternate;
}

@keyframes videoPanX {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--pan-shift, -22%)); }
}

@keyframes videoPanY {
  0%   { transform: translateY(0); }
  100% { transform: translateY(var(--pan-shift, -22%)); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .video-poster.pan-x,
  .video-poster.pan-y,
  video.pan-x,
  video.pan-y { animation-play-state: paused !important; }
}

/* ---------- Team: three groups ---------- */
.team-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.tg-block {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: left;
  transition: all 0.35s var(--ease-out);
}

.tg-block:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
}

.tg-block h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.tg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tg-tags span {
  padding: 8px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-text-2);
  transition: all 0.3s var(--ease-out);
}

.tg-tags span:hover {
  border-color: var(--color-red);
  color: var(--color-text);
  background: rgba(230, 0, 18, 0.08);
  transform: translateY(-3px);
}

/* ---------- 3D tilt hover (cards) ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.35s;
  will-change: transform;
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0) 55%);
  transform: translateX(-120%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.tilt-card:hover .tilt-shine {
  opacity: 1;
  animation: shineSwipe 0.7s ease-out forwards;
}

@keyframes shineSwipe {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* ---------- Enhanced reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-scale.active { opacity: 1; transform: scale(1); }

/* stagger for grids */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* ---------- Mobile tweaks for new sections ---------- */
@media (max-width: 1024px) {
  .team-groups { grid-template-columns: repeat(2, 1fr); }
  .exhibit-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .mc-card { width: 440px; height: 190px; }
  .more-body { padding: 16px; }
}

@media (max-width: 768px) {
  .partner-row { gap: 18px 28px; padding: 22px 12px; }
  .pr-logo { height: 28px; }
  .pr-text { font-size: 14px; }
  .partner-categories { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcat-card { padding: 14px 8px; min-height: 150px; }
  .pcat-label { font-size: 10px; min-height: 36px; }
  .pcat-logo { height: 26px; }
  .pcat-logo .pr-text { font-size: 12px; }
  .team-groups { grid-template-columns: 1fr; }
  .exhibit-showcase { margin-top: 48px; }
  .exhibit-title { font-size: 18px; margin-bottom: 22px; }
  .exhibit-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .exhibit-card { border-radius: 10px; }
  .mc-card { width: 340px; height: 150px; border-radius: 12px; }
  .more-body { padding: 12px; }
  .more-body h4 { font-size: 14px; }
  .more-body p { font-size: 11px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .partner-categories { grid-template-columns: repeat(4, 1fr); }
}

/* ==== 图片加载微光占位（感知速度优化）=========================
   图片解码完成前显示流动微光，完成后由 main.js initMediaShimmer()
   移除 .media-loading，动画随之停止，不常驻消耗 CPU。 */
.case-media.media-loading::after,
.team-photo-frame.media-loading::after,
.more-media.media-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.055) 50%, transparent 75%);
  background-size: 220% 100%;
  animation: mediaShimmer 1.3s linear infinite;
  pointer-events: none;
}

.case-media img,
.more-media img { z-index: 2; }

@keyframes mediaShimmer {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .case-media.media-loading::after,
  .team-photo-frame.media-loading::after,
  .more-media.media-loading::after { animation: none; }
}
