/* ========================================
   WUCE Spatial — Official Website Styles
   Dark / Tech-forward / Premium
   Inspired by worldlabs.ai
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --bg: #09090b;
  --bg-card: #141417;
  --bg-card-h: #1a1a1f;
  --surface: #18181b;
  --border: #27272a;
  --text: #e4e4e7;
  --text-dim: #a1a1aa;
  --accent: #3b82f6;
  --accent-h: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --nav-gradient: linear-gradient(135deg, #4080F6 0%, #875EF6 100%);

  /* Typography */
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", var(--font-cn);

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container: 1200px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Nav scrolled bg */
  --nav-scrolled-bg: rgba(9, 9, 11, 0.85);
  --mobile-menu-bg: rgba(9, 9, 11, 0.97);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --bg-card-h: #f1f3f6;
  --surface: #f0f2f5;
  --border: #d4d7de;
  --text: #1a1a2e;
  --text-dim: #5a5d6b;
  --accent: #2563eb;
  --accent-h: #3b82f6;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --nav-scrolled-bg: rgba(248, 249, 251, 0.88);
  --mobile-menu-bg: rgba(248, 249, 251, 0.97);
}

[data-theme="light"] .hero__stat-num,
[data-theme="light"] .timeline__year {
  color: var(--text);
}

[data-theme="light"] .nav__logo {
  color: var(--text);
}
[data-theme="light"] .nav__logo:hover {
  color: var(--text);
}

[data-theme="light"] .btn--outline {
  color: var(--text);
}
[data-theme="light"] .btn--outline:hover {
  color: var(--accent);
}

[data-theme="light"] .nav__links a:hover,
[data-theme="light"] .partners__track span:hover {
  color: var(--accent);
}

[data-theme="light"] a:hover {
  color: var(--accent);
}

[data-theme="light"] .showcase__item {
  background: linear-gradient(145deg, var(--bg-card) 0%, #eef0f4 100%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* nav height (72px) + 20px gap */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent-h);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hide-mobile {
  display: inline;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-cn);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
  color: #fff;
}

/* Hero section "探索产品" button hover — white text with subtle glow */
.hero__actions .btn--primary:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* Page summary "预约演示" button hover — white text with subtle glow */
.summary__actions .btn--primary:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn--full {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 0;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0.45;
  transition:
    opacity 0.3s,
    color 0.3s;
}
.theme-toggle:hover {
  opacity: 1;
  color: var(--accent-h);
}
.theme-toggle__icon {
  width: 18px;
  height: 18px;
}
/* Dark mode: show sun, hide moon */
.theme-toggle__moon {
  display: none;
}
.theme-toggle__sun {
  display: block;
}
[data-theme="light"] .theme-toggle__moon {
  display: block;
}
[data-theme="light"] .theme-toggle__sun {
  display: none;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 22px;
  color: #fff;
  /* Use clear, high-tech English font for logo; keep Chinese part separate */
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
  backface-visibility: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo:hover {
  color: #fff;
}
.nav__logo-img {
  display: block;
  height: 36px;
  width: auto;
  background: none;
  flex-shrink: 0;
  margin-right: 8px;
  object-fit: contain;
}
.nav__logo-zh {
  font-size: 20px;
  font-family: var(--font-cn);
  font-weight: 700;
}
.nav__logo-sep {
  margin: 0 8px;
  color: var(--border);
  font-weight: 300;
}
.nav__logo-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text);
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
  max-width: calc(100% - 320px);
}
.nav__links > li {
  display: flex;
  align-items: center;
  flex: none;
  justify-content: center;
  min-width: 0;
  padding: 0 6px;
}
.nav__links > li > a,
.nav__links > li > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  text-align: center;
  white-space: nowrap;
  padding: 0 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-cn);
}
.nav__links > li > a:hover,
.nav__links > li > button:hover {
  background: var(--nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Language toggle special styling */
.lang-toggle {
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: var(--font-en);
  background: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--text-dim) !important;
  -webkit-text-fill-color: var(--text-dim) !important;
}
.lang-toggle:hover {
  background: none !important;
  -webkit-text-fill-color: var(--accent-h) !important;
  border-color: var(--accent);
}

/* ---------- Nav dropdowns ---------- */
.nav__item {
  position: relative;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border: 1px solid #333;
  border-radius: 10px;
  min-width: 220px;
  padding: 6px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none;
  z-index: 300;
}
.nav__dropdown li { list-style: none; }
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  color: #ffffff !important;
  font-size: 14px;
  text-align: center;
  -webkit-text-fill-color: #ffffff !important;
}
.nav__dropdown a {
  transition: color 0.15s var(--ease), transform 0.12s var(--ease);
  transform-origin: left center;
  will-change: transform, color;
}
.nav__dropdown a:hover,
.nav__dropdown a:focus {
  background: rgba(64, 128, 246, 0.15);
  color: #ffffff;
  transform: none;
}

/* ---------- Nav dropdown auto-hide: use JS-driven .dropdown-open class ---------- */
.nav__item.dropdown-open .nav__dropdown {
  display: block;
}

/* Desktop: .nav__links.open is not used (always visible). The class is only for mobile. */
/* allow explicit expanded state for touch devices */
.nav__has-dropdown.expanded .nav__dropdown {
  max-height: 500px !important;
  opacity: 1 !important;
  padding: 4px 0 !important;
  margin: 4px 0 4px 28px !important;
}

/* Mobile nav close button */
.nav__close-item {
  display: none;
}
.nav__close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.nav__close-btn:hover {
  color: #fff;
}
/* Mobile accordion arrow indicator */
.nav__has-dropdown > a .nav__arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  transition: transform 0.25s ease;
}
.nav__has-dropdown.expanded > a .nav__arrow {
  transform: rotate(180deg);
}
@media (min-width: 641px) {
  .nav__close-item {
    display: none !important;
  }
}


.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* When nav is overlaying the dark hero, force nav text/icons to light */
.nav.on-hero-dark .nav__logo,
.nav.on-hero-dark .nav__links a,
.nav.on-hero-dark .lang-toggle {
  color: #ffffff;
}
.nav.on-hero-dark .nav__toggle span {
  background: #ffffff;
}

/* ========================================
   ZhenFei Secondary Page (了解圳飞)
   ======================================== */

/* ---------- ZF Hero ---------- */
.zf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.zf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.zf-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.zf-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0.78) 100%),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(59, 130, 246, 0.18) 0%,
      transparent 70%
    );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
[data-theme="light"] .zf-hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(248, 249, 251, 0.5) 0%,
      rgba(248, 249, 251, 0.78) 100%
    ),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(37, 99, 235, 0.12) 0%,
      transparent 70%
    );
}
.zf-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
}
.zf-hero__brand {
  margin-bottom: 48px;
}
.zf-hero__brand-tag {
  display: inline-block;
  font-size: 15px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.zf-hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.zf-hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}
.zf-hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
}
.zf-hero__stat {
  text-align: center;
}
.zf-hero__stat-num {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
}
.zf-hero__stat-plus {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--accent-h);
  font-weight: 600;
}
.zf-hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
[data-theme="light"] .zf-hero__stat-num {
  color: var(--text);
}

/* ---------- ZF About ---------- */
.zf-about {
  background: var(--bg);
}
.zf-about__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.zf-about__text {
  max-width: 780px;
  text-align: center;
}
.zf-about__text p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.9;
}
.zf-about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
}
.zf-about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, background 0.3s;
  text-align: center;
}
.zf-about__card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
}
.zf-about__card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.zf-about__card-icon svg {
  width: 100%;
  height: 100%;
}
.zf-about__card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.zf-about__card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- ZF Products ---------- */
.zf-products {
  background: var(--surface);
}
.zf-products__intro {
  text-align: center;
  max-width: 640px;
  margin: -32px auto 40px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}
.zf-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zf-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.zf-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}
.zf-product-card--featured {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
}
.zf-product-card--featured:hover {
  border-color: var(--accent);
}
.zf-product-card__badge {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.zf-product-card__badge--hot {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  border-color: transparent;
}
.zf-product-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent-h);
  margin-bottom: 16px;
}
.zf-product-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-product-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.zf-product-card__tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.zf-product-card > p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 16px;
}
.zf-product-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.zf-product-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}
.zf-product-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ---------- ZF Industries ---------- */
.zf-industries {
  background: var(--bg);
}
.zf-industries__intro {
  text-align: center;
  max-width: 640px;
  margin: -32px auto 40px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}
.zf-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.zf-industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.zf-industry-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.zf-industry-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 14px;
}
.zf-industry-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-industry-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.zf-industry-card__tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent-h);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.zf-industry-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- ZF Tech Advantages ---------- */
.zf-tech {
  background: var(--surface);
}
.zf-tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.zf-tech__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.zf-tech__item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.zf-tech__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.zf-tech__item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.zf-tech__item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- Active nav link for ZhenFei page ---------- */
.nav__link--active {
  background: var(--nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 600 !important;
}

/* ---------- ZF page responsive ---------- */
@media (max-width: 960px) {
  .zf-about__highlights {
    grid-template-columns: 1fr;
  }
  .zf-products__grid {
    grid-template-columns: 1fr;
  }
  .zf-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zf-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .zf-industries__grid {
    grid-template-columns: 1fr;
  }
  .zf-tech__grid {
    grid-template-columns: 1fr;
  }
  .zf-hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .zf-hero__stat {
    min-width: 100px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.72) 100%),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 70%
    );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

[data-theme="light"] .hero__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(248, 249, 251, 0.4) 0%,
      rgba(248, 249, 251, 0.72) 100%
    ),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 70%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
}

.hero__tag {
  display: inline-block;
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero__title--accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
}

.hero__stat {
  text-align: center;
}
.hero__stat-num {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
}
.hero__stat-plus {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--accent-h);
  font-weight: 600;
}
.hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* =========================
   Hero 永久暗色（不参与主题切换）
   ========================= */
.hero.hero--dark {
  --bg: #09090b;
  --bg-card: #141417;
  --surface: #18181b;
  --border: #27272a;
  --text: #e4e4e7;
  --text-dim: #a1a1aa;
  --accent: #3b82f6;
  --accent-h: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* 兜底背景，防止视频加载失败 */
.hero.hero--dark {
  background-color: #09090b;
}

/* overlay 强制暗色（覆盖 light 主题） */
.hero.hero--dark .hero__overlay {
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.72) 100%),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 70%
    );
}

/* 防止 light 主题覆盖文字颜色 */
.hero.hero--dark .hero__desc,
.hero.hero--dark .hero__stat-label {
  color: var(--text-dim);
}

.hero.hero--dark .hero__stat-num {
  color: #fff;
}

/* ---------- Sections Common ---------- */
.section {
  padding: var(--section-py) 0;
}

.section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section__subtitle {
  text-align: center;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 56px;
}

/* ---------- About ---------- */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.about__text {
  max-width: 780px;
  text-align: center;
}

.about__text p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.9;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.about__card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
}
.about__card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--accent);
}
.about__card-icon svg {
  width: 100%;
  height: 100%;
}
.about__card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.about__card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services {
  background: var(--surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 2x2 grid for services */
.services__grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

/* Allow wrapping service-card in an <a> tag */
a.service-card--linked {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.service-card--linked:hover {
  cursor: pointer;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent-h);
  margin-bottom: 20px;
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

.service-card__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 2px 10px;
  border-radius: 20px;
}

/* Center a specific service card in the three-column services grid */
.service-card--center {
  grid-column: 2 / 3;
  justify-self: center;
}

/* Product highlights (anchors for dropdown targets) */
.services__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.service-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.service-feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.service-feature p {
  color: var(--text-dim);
  margin-bottom: 10px;
}

/* ---------- Scenario Grid (应用场景, 5 cards, 3+2 layout) ---------- */
.scenarios {
  background: var(--bg);
}
.scenario__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.scenario__card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.scenario__card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.scenario__card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 10px;
}
/* 3+2 layout: first row 3 items via grid, second row via centered flex container */
.scenario__grid-center {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.scenario__grid-center .scenario__card {
  width: calc((100% - 48px) / 3);
  max-width: 380px;
  min-width: 0;
}

/* ---------- Showcase ---------- */
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 4 items grid */
.showcase__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.showcase__item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--bg-card) 0%, #111114 100%);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.showcase__item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.showcase__play {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.25s,
    transform 0.25s;
  pointer-events: none;
}
.showcase__item:hover .showcase__play {
  opacity: 1;
  transform: scale(1);
}

[data-theme="light"] .showcase__item {
  background: linear-gradient(145deg, var(--bg-card) 0%, #eef0f4 100%);
}

.showcase__item-inner {
  padding: 32px 28px;
}
.showcase__item-inner h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.showcase__item-inner p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

.showcase__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
}

/* Showcase categories */
.showcase__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.showcase__cat {
  background: transparent;
  padding: 12px 8px;
}
.showcase__cat h4 { margin-bottom: 6px; font-size: 15px; }
.showcase__cat p { color: var(--text-dim); font-size: 13px; margin-bottom: 6px; }

@media (max-width: 900px) {
  .showcase__categories { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .showcase__categories { grid-template-columns: 1fr; }
}

/* ---------- Deployment Map ---------- */
.deployment-map {
  background: var(--surface);
}

.deployment-map__desc {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 640px;
  margin: -32px auto 40px;
  line-height: 1.8;
}

.china-map {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 650 / 550;
  display: flex;
  align-items: center;
  justify-content: center;
}

.china-map__loading {
  color: var(--text-dim);
  font-size: 14px;
}
.china-map.loaded .china-map__loading {
  display: none;
}

.china-map__svg {
  width: 100%;
  height: 100%;
}

.china-map__fallback {
  color: var(--text-dim);
  font-size: 14px;
  text-align: center;
}

/* Province paths */
.province {
  fill: var(--bg-card);
  stroke: var(--text-dim);
  stroke-width: 0.6;
  stroke-opacity: 0.5;
  transition:
    fill 0.3s,
    stroke 0.3s;
  cursor: default;
}
.province:hover {
  fill: var(--accent);
  fill-opacity: 0.15;
  stroke: var(--accent-h);
  stroke-opacity: 0.6;
}

.province--active {
  fill: var(--accent);
  fill-opacity: 0.35;
  stroke: var(--accent-h);
  stroke-width: 0.9;
  stroke-opacity: 1;
  cursor: pointer;
}
.province--active:hover {
  fill-opacity: 0.5;
  stroke: #fff;
}

/* Province labels */
.province-label {
  fill: #fff;
  font-size: 8px;
  font-family: var(--font-cn);
  font-weight: 500;
  pointer-events: none;
  opacity: 0.85;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .province-label {
  fill: var(--text);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* City markers */
.city-dot {
  fill: var(--accent-h);
}

.city-pulse {
  fill: var(--accent);
  opacity: 0;
  animation: cityPulse 2.4s ease-out infinite;
}

@keyframes cityPulse {
  0% {
    r: 3;
    opacity: 0.6;
  }
  100% {
    r: 14;
    opacity: 0;
  }
}

.city-label {
  fill: var(--text-dim);
  font-size: 10px;
  font-family: var(--font-cn);
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  z-index: 300;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  font-family: var(--font-cn);
}
.map-tooltip.visible {
  opacity: 1;
}
.map-tooltip__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  background: var(--accent);
  color: #fff;
}

/* Legend */
.deployment-map__legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.legend-item em {
  font-style: normal;
}

.legend-item i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.legend-item--active i {
  background: var(--accent);
  opacity: 0.5;
  border-color: var(--accent-h);
}

.legend-item--city i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-h);
  border: none;
}

/* Deployment video — scroll-driven scale to full viewport */
.deployment-map__video {
  margin-top: 564px;
  width: 60%;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  will-change: transform;
}
.deployment-map__video.full-width {
  border: none;
}

.deployment-map__video video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}

/* ---------- Milestones / Timeline ---------- */
.milestones {
  background: var(--surface);
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding: 0 0 40px 24px;
}
.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--surface);
}

.timeline__year {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__item {
  margin-bottom: 28px;
}
.contact__item h4 {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-en);
  margin-bottom: 6px;
}
.contact__item p {
  font-size: 15px;
}
.contact__qrcode-wrap {
  margin-top: 8px;
}
.contact__qrcode {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.contact__phone {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
[data-theme="light"] .contact__phone {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  .contact__qrcode {
    width: 120px;
    height: 120px;
  }
  .contact__phone {
    font-size: 24px;
  }
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-cn);
  transition: border-color 0.2s;
  outline: none;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--accent);
}

.contact__form textarea {
  resize: vertical;
}


/* ========================================
   Booking / Demo Request Page Styles
   ======================================== */

/* ---------- Booking Hero ---------- */
.booking-hero {
  min-height: 80vh;
}
.booking-hero .zf-hero__content {
  padding-top: 140px;
}
.booking-hero .zf-hero__brand {
  margin-bottom: 0;
}
.booking-hero .zf-hero__desc {
  max-width: 560px;
}

/* ---------- Booking Form Section ---------- */
.booking-form-section {
  background: var(--bg);
}
.booking__wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Form columns */
.booking__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.booking__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.booking__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.booking__required {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
}
.booking__optional {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}
.booking__hint {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}
.booking__input,
.booking__textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-cn);
  transition: border-color 0.2s;
  outline: none;
}
.booking__input:focus,
.booking__textarea:focus {
  border-color: var(--accent);
}
.booking__input::placeholder,
.booking__textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

/* Checkbox & Radio groups */
.booking__checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  width: 100%;
  margin-top: 4px;
}
.booking__checkbox,
.booking__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
  padding: 6px 0;
}
.booking__checkbox:hover,
.booking__radio:hover {
  color: var(--text);
}
.booking__checkbox input[type="checkbox"],
.booking__radio input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.booking__time-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: 100%;
  margin-top: 4px;
}

/* Channel section */
.booking__channel-group {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 4px;
  flex-wrap: wrap;
}
.booking__channel-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 180px;
}
.booking__channel-item > span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.booking__channel-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}
.booking__channel-divider {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  padding: 0 4px;
}
.booking__qrcode-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  max-width: 200px;
}
.booking__qrcode-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.booking__qrcode-text {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}
.booking__submit {
  margin-top: 8px;
  padding: 16px 32px;
  font-size: 16px;
}

/* Success message */
.booking__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.booking__success.show {
  display: flex;
}
.booking__success-icon {
  width: 64px;
  height: 64px;
  color: #22c55e;
}
.booking__success-title {
  font-size: 22px;
  font-weight: 700;
}
.booking__success-desc {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 400px;
}

/* ---------- Booking Info Cards (right column) ---------- */
.booking__info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.booking__info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.booking__info-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.booking__info-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}
.booking__info-icon svg {
  width: 100%;
  height: 100%;
}
.booking__info-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.booking__info-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Booking Page Responsive ---------- */
@media (max-width: 960px) {
  .booking__wrapper {
    grid-template-columns: 1fr;
  }
  .booking__info-col {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .booking__checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .booking__info-col {
    grid-template-columns: 1fr;
  }
  .booking__checkbox-group {
    grid-template-columns: 1fr 1fr;
  }
  .booking__time-group {
    flex-direction: column;
    gap: 4px;
  }
  .booking__channel-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .booking__channel-divider {
    align-self: center;
  }
}

/* ---------- Partners ---------- */

.partners__marquee {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
}
.partners__marquee::before,
.partners__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.partners__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.partners__marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.partners__track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.partners__track span {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.partners__track span:hover {
  border-color: var(--accent);
  color: #fff;
}

/* Partner images */
.partners__track--images {
  gap: 32px;
}
.partner-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s var(--ease);
}
.partner-img:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.partner-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s;
}
.partner-img:hover img {
  filter: brightness(1) contrast(1.2);
}

[data-theme="light"] .partner-img {
  background: #fff;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Partners in page summary ---------- */
.summary__partners {
  overflow: hidden;
  position: relative;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.summary__partners-title {
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 12px;
}
.summary__partners-track {
  display: flex;
  gap: 16px;
  animation: qualMarquee 40s linear infinite;
  width: max-content;
}
.summary__partner-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s var(--ease);
  background: var(--bg-card);
}
.summary__partner-img:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.summary__partner-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s;
}
.summary__partner-img:hover img {
  filter: brightness(1) contrast(1.2);
}

/* ---------- Page Summary (brand + nav layout) ---------- */
.page-summary {
  background: var(--surface);
}
/* Always override to dark/night theme - never affected by theme toggle */
.page-summary,
.page-summary * {
  --bg: #09090b;
  --surface: #18181b;
  --border: #27272a;
  --text: #e4e4e7;
  --text-dim: #a1a1aa;
  --accent: #3b82f6;
  --accent-h: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}
.page-summary .section__subtitle {
  margin-bottom: 32px;
}
.summary__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.summary__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.summary__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.summary__logo-img {
  height: 36px;
  width: auto;
}
.summary__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}
.summary__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.summary__wechat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.summary__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.summary__nav-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary__nav-l1 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-h);
  margin-top: 16px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.summary__nav-l1:first-child {
  margin-top: 0;
}
.summary__nav-l1--simple {
  font-weight: 400;
  margin-top: 4px;
}
.summary__nav-l1--simple a {
  color: var(--text);
  text-decoration: none;
}
.summary__nav-l1--simple a:hover {
  color: var(--accent-h);
}
.summary__nav-l2 {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
}
.summary__nav-l2 li {
  margin: 2px 0;
}
.summary__nav-l2 a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.summary__nav-l2 a:hover {
  color: var(--accent-h);
}

/* ---------- Qualifications in page summary (compact tag marquee) ---------- */
.summary__qual-title {
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 12px;
}
.summary__qual {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.summary__qual .qual__track {
  display: flex;
  gap: 12px;
  animation: qualMarquee 50s linear infinite;
  width: max-content;
}
.summary__qual .qual__track--images {
  gap: 10px;
}
.summary__qual .qual-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 84px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s var(--ease);
  background: #000000;
}
.summary__qual .qual-img:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.summary__qual .qual-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.3s;
}
.summary__qual .qual-img:hover img {
  filter: brightness(1) contrast(1.15);
}

/* ---------- Qualifications marquee (shared utilities) ---------- */
.qual__track {
  display: flex;
  gap: 24px;
  animation: qualMarquee 50s linear infinite;
  width: max-content;
}
.qual__track--images {
  gap: 20px;
}
.qual-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s var(--ease);
  background: var(--bg-card);
}
.qual-img:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.qual-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.3s;
}
.qual-img:hover img {
  filter: brightness(1) contrast(1.15);
}

@keyframes qualMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================
   Footer —— 永久暗色（唯一版本）
   ========================= */
.footer {
  background-color: #09090b;
  border-top: 1px solid #27272a;
  padding: 48px 0;
  color: #e4e4e7;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Brand */
.footer__brand span {
  color: #e4e4e7;
}
.footer__brand p {
  font-size: 13px;
  color: #a1a1aa;
  margin-top: 8px;
}

/* Links */
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: 13px;
  color: #a1a1aa;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: #ffffff;
}

/* Copy */
.footer__copy {
  font-size: 12px;
  color: #6b7280;
}

/* ---------- Fade-up animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .about__highlights {
    grid-template-columns: 1fr;
  }
  .services__grid,
  .showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services__grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .showcase__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenario__grid {
    grid-template-columns: 1fr 1fr;
  }
  .scenario__grid-center {
    gap: 16px;
    margin-top: 16px;
  }
  .scenario__grid-center .scenario__card {
    width: calc(50% - 8px);
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 90px 20px 40px;
    gap: 2px;
    transition: right 0.35s var(--ease);
    overflow-y: auto;
    max-width: 90vw;
  }
  .nav__links.open {
    right: 0;
  }
  .nav__links > li {
    display: block !important;
    width: 100%;
    padding: 0;
    margin: 0;
    min-width: 0;
    flex: 0 0 auto;
    border: none;
    align-items: unset;
    justify-content: unset;
  }
  .nav__links > li > a,
  .nav__links > li > button {
    display: block !important;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 400;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    box-sizing: border-box;
    color: var(--text-dim) !important;
    -webkit-text-fill-color: var(--text-dim) !important;
    background: transparent !important;
    background-clip: unset !important;
    border: none;
    cursor: pointer;
    font-family: var(--font-cn);
  }
  .nav__links > li > a:hover,
  .nav__links > li > button:hover {
    -webkit-text-fill-color: transparent !important;
    background: var(--nav-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
  .lang-toggle {
    display: inline-block !important;
    margin: 6px 14px;
    border: 1px solid var(--border) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    background: none !important;
    cursor: pointer !important;
    color: var(--text-dim) !important;
    -webkit-text-fill-color: var(--text-dim) !important;
    text-align: center;
    width: auto;
    justify-content: center;
    background-clip: unset !important;
  }
  .nav__has-dropdown > a .nav__arrow {
    float: right;
    margin-left: 8px;
    margin-top: 4px;
    font-size: 10px;
  }
  .nav__links.open .nav__dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 0 28px !important;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }
  .nav__has-dropdown.expanded .nav__dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-height: 500px !important;
    opacity: 1 !important;
    padding: 4px 0 !important;
    margin: 2px 0 2px 28px !important;
    border: none !important;
    background: transparent !important;
  }
  .nav__links.open .nav__dropdown a {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-dim);
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
  }
  .nav__links.open > li.nav__close-item {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding: 0 4px 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav__close-btn {
    font-size: 22px;
    color: var(--text-dim);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
  }

  .nav__toggle {
    display: flex;
  }
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .services__grid,
  .showcase__grid {
    grid-template-columns: 1fr;
  }
  .services__grid--2x2 {
    grid-template-columns: 1fr;
  }
  .showcase__grid--4 {
    grid-template-columns: 1fr;
  }
  .scenario__grid {
    grid-template-columns: 1fr;
  }
  .scenario__grid-center {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }
  .scenario__grid-center .scenario__card {
    width: 100%;
    max-width: 100%;
  }

  /* Mobile PAGE SUMMARY accordion */
  .summary__nav-l1.summary__nav--has-sub {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    user-select: none;
  }
  .summary__nav-l1.summary__nav--has-sub::after {
    content: "▶";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 10px;
    color: var(--text-dim);
    transition: transform 0.25s ease;
  }
  .summary__nav-l1.summary__nav--has-sub.open::after {
    transform: rotate(90deg);
  }
  .summary__nav-l2 {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
    margin: 0;
  }
  .summary__nav-l2.open {
    max-height: 400px;
    opacity: 1;
  }

  /* On mobile: hide scrolling content per user request */
  .summary__partners,
  .summary__qual {
    display: none;
  }

  .summary__qual .qual-img {
    height: 69px;
    padding: 6px 14px;
  }

  .hero__content {
    padding-top: 80px;
  }
  .hero__tag {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .hero__title {
    margin-bottom: 16px;
  }
  .hero__desc {
    margin-bottom: 24px;
  }
  .hero__actions {
    margin-bottom: 32px;
  }
  .hero__stats {
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
  }
  .hero__stat {
    min-width: 80px;
  }
  .hero__scroll {
    bottom: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .summary__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .summary__nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-img {
    width: 120px;
    height: 60px;
  }
  .qual-img {
    width: 140px;
    height: 90px;
  }
}

/* ---------- Responsive for large screens: ensure equal spacing ---------- */
@media (min-width: 1200px) {
  .nav__links {
    max-width: 65%;
  }
}
@media (min-width: 1400px) {
  .nav__links {
    max-width: 60%;
  } 
}


/* ---------- Video Modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.video-modal.active .video-modal__content {
  transform: translateY(0) scale(1);
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.video-modal__close:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.video-modal__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.video-modal__player {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
}

.video-modal__player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-modal__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.video-modal__placeholder svg {
  opacity: 0.35;
}

/* ---------- Header consistency overrides ---------- */
/* 1) Separator '|' always use light-theme border color */
.nav__logo-sep {
  color: #d4d7de !important;
}

/* 2) `WUCE SPATIAL` always use dark-theme text (light color on dark bg) */
.nav.nav--dark .nav__logo-zh,
.nav.nav--dark .nav__logo-en,
.nav.nav--dark .nav__logo {
  color: #e4e4e7 !important;
}

/* 3) EN button outer border keep white (light-theme look) */
.nav.nav--dark .lang-toggle {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* 4) Header bottom line should follow dark-theme color (avoid white line in light mode) */
.nav.nav--dark.scrolled {
  box-shadow: 0 1px 0 #27272a !important;
}

/* ---------- Hero dark override: keep hero dark even when global theme is light ---------- */
.hero.hero--dark {
  --bg: #09090b;
  --bg-card: #141417;
  --bg-card-h: #1a1a1f;
  --surface: #18181b;
  --border: #27272a;
  --text: #e4e4e7;
  --text-dim: #a1a1aa;
  --accent: #3b82f6;
  --accent-h: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.hero.hero--dark .hero__overlay {
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.72) 100%),
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 70%
    );
}

/* Ensure hero computes color from its local variables so text becomes light */
.hero.hero--dark {
  color: var(--text);
}

/* ---------- Permanent dark header ---------- */
.nav.nav--dark {
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav.nav--dark .nav__logo,
.nav.nav--dark .nav__links a,
.nav.nav--dark .lang-toggle {
  color: #ffffff;
}

.nav.nav--dark .nav__toggle span {
  background: #ffffff;
}

@media (max-width: 640px) {
  .nav.nav--dark .nav__links {
    background: rgba(9, 9, 11, 0.97);
  }
}

/* Keep nav.scrolled appearance consistent when nav is forced dark */
.nav.nav--dark.scrolled {
  background: rgba(9, 9, 11, 0.92);
  box-shadow: 0 1px 0 var(--border);
}

/* ========================================
   Brochure (ZhenFei secondary page) — full-width seamless
   ======================================== */
.brochure-section {
  padding: 0;
  background: var(--bg);
}

.brochure__pages {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.brochure__page {
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.brochure__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
}

/* Ensure page-summary works for zhenfei page too */
.page-zhenfei .page-summary {
  border-top: 1px solid var(--border);
}

/* ========================================
   ZhenFei Platform (圳飞无人机机场管理平台) Secondary Page
   ======================================== */

/* ---------- ZF Platform Hero (simpler, no video) ---------- */
.page-zf-platform .zf-platform-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .page-zf-platform .zf-platform-hero {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.page-zf-platform .zf-platform-hero__bg {
  display: none;
}
.page-zf-platform .zf-platform-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.page-zf-platform .zf-platform-hero__brand {
  margin-bottom: 24px;
}
.page-zf-platform .zf-platform-hero__brand-tag {
  display: inline-block;
  font-size: 15px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.page-zf-platform .zf-platform-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.page-zf-platform .zf-platform-hero__subtitle {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-zf-platform .zf-platform-hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}
.page-zf-platform .zf-platform-hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
}
.page-zf-platform .zf-platform-hero__stat {
  text-align: center;
}
.page-zf-platform .zf-platform-hero__stat-num {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
}
.page-zf-platform .zf-platform-hero__stat-plus {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--accent-h);
  font-weight: 600;
}
.page-zf-platform .zf-platform-hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
[data-theme="light"] .page-zf-platform .zf-platform-hero__stat-num {
  color: var(--text);
}

/* ---------- ZF Platform Overview ---------- */
.zf-platform-overview {
  background: var(--bg);
}
.zf-platform-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-platform-overview__text p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.9;
}
.zf-platform-overview__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.zf-platform-overview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- ZF Platform Core Capabilities ---------- */
.zf-platform-caps {
  background: var(--surface);
}
.zf-platform-caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zf-platform-cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
  text-align: center;
}
.zf-platform-cap-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.zf-platform-cap-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.zf-platform-cap-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-platform-cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.zf-platform-cap-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- ZF Platform Architecture ---------- */
.zf-platform-arch {
  background: var(--bg);
}
.zf-platform-arch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-platform-arch__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.zf-platform-arch__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.zf-platform-arch__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.zf-platform-arch__item {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s;
}
.zf-platform-arch__item:hover {
  border-color: var(--accent);
}
.zf-platform-arch__num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.zf-platform-arch__item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.zf-platform-arch__item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- ZF Platform Features ---------- */
.zf-platform-features {
  background: var(--surface);
}
.zf-platform-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-platform-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.zf-platform-feature-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.zf-platform-feature-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent-h);
}
.zf-platform-feature-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-platform-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.zf-platform-feature-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- ZF Platform Video ---------- */
.zf-platform-video {
  background: var(--bg);
}
.zf-platform-video__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.zf-platform-video__wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 9;
}
.zf-platform-video__wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.zf-platform-video__desc {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- ZF Platform Brochure ---------- */
.zf-platform-brochure {
  background: var(--surface);
}
.zf-platform-brochure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-platform-brochure__item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.zf-platform-brochure__item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.zf-platform-brochure__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Company / Careers / Jobs Page Summary fix ---------- */
.page-company .page-summary,
.page-careers .page-summary,
.page-job-openings .page-summary {
  border-top: 1px solid var(--border);
}

/* ========================================
   Company Page (公司介绍) Styles
   ======================================== */

/* ---------- Company Hero ---------- */
.page-company .company-hero,
.page-careers .company-hero,
.page-job-openings .company-hero {

  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  background: var(--bg);
}
.page-company .company-hero__bg,
.page-careers .company-hero__bg,
.page-job-openings .company-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.page-company .company-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/company-hero.jpg') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
[data-theme="light"] .page-company .company-hero__bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.page-company .company-hero__overlay,
.page-careers .company-hero__overlay,
.page-job-openings .company-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  opacity: 0.3;
}
.page-company .company-hero__content,
.page-careers .company-hero__content,
.page-job-openings .company-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 60px;
}
.page-company .company-hero__brand-tag,
.page-careers .company-hero__brand-tag,
.page-job-openings .company-hero__brand-tag {
  display: inline-block;
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.page-company .company-hero__title,
.page-careers .company-hero__title,
.page-job-openings .company-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-company .company-hero__subtitle,
.page-careers .company-hero__subtitle,
.page-job-openings .company-hero__subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-dim);
}
.page-company .company-hero__desc,
.page-careers .company-hero__desc,
.page-job-openings .company-hero__desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ---------- Company Overview ---------- */
.company-overview {
  background: var(--surface);
}
.company-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.company-overview__text p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.company-overview__text p:last-child {
  margin-bottom: 0;
}
.company-overview__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.company-overview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Company Stats ---------- */
.company-stats {
  background: var(--bg);
}
.company-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.company-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.company-stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.company-stat-card__num {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.company-stat-card__label {
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- Company Milestones (moved from index) ---------- */
.company-milestones {
  background: var(--surface);
}
.page-company .timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.page-company .timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-h) 100%);
  opacity: 0.3;
}
.page-company .timeline__item {
  position: relative;
  padding: 0 0 40px 32px;
}
.page-company .timeline__item:last-child {
  padding-bottom: 0;
}
.page-company .timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 1;
}
.page-company .timeline__year {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-h);
  margin-bottom: 4px;
  line-height: 1.2;
}
.page-company .timeline__text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Company Responsive ---------- */
@media (max-width: 960px) {
  .company-overview__grid {
    grid-template-columns: 1fr;
  }
  .company-overview__image {
    order: -1;
  }
  .company-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .company-stats__grid {
    grid-template-columns: 1fr;
  }
  .page-company .timeline {
    padding-left: 28px;
  }
  .page-company .timeline__item {
    padding-left: 24px;
  }
  .page-company .timeline__item::before {
    left: -24px;
  }
}

/* ---------- ZF Platform Page Summary fix ---------- */
.page-zf-platform .page-summary {
  border-top: 1px solid var(--border);
}


/* ========================================
   ZhenFei AI Algorithm Warehouse Secondary Page
   ======================================== */

/* ---------- ZF AI Hero ---------- */
.page-zf-ai .zf-ai-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .page-zf-ai .zf-ai-hero {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.page-zf-ai .zf-ai-hero__bg {
  display: none;
}
.page-zf-ai .zf-ai-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.page-zf-ai .zf-ai-hero__brand {
  margin-bottom: 24px;
}
.page-zf-ai .zf-ai-hero__brand-tag {
  display: inline-block;
  font-size: 15px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.page-zf-ai .zf-ai-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.page-zf-ai .zf-ai-hero__subtitle {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-zf-ai .zf-ai-hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- ZF AI Overview ---------- */
.zf-ai-overview {
  background: var(--bg);
}
.zf-ai-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-ai-overview__text p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.9;
}
.zf-ai-overview__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.zf-ai-overview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- ZF AI Features ---------- */
.zf-ai-features {
  background: var(--surface);
}
.zf-ai-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zf-ai-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.zf-ai-feature-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.zf-ai-feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.zf-ai-feature-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-ai-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.zf-ai-feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- ZF AI Hardware ---------- */
.zf-ai-hardware {
  background: var(--bg);
}
.zf-ai-hardware__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.zf-ai-hardware-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.zf-ai-hardware-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.zf-ai-hardware-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent-h);
}
.zf-ai-hardware-card__icon svg {
  width: 100%;
  height: 100%;
}
.zf-ai-hardware-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-h);
}
.zf-ai-hardware-card .zf-ai-hardware-card__spec {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.zf-ai-hardware-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- ZF AI Scenarios ---------- */
.zf-ai-scenarios {
  background: var(--surface);
}
.zf-ai-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.zf-ai-scenario-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.zf-ai-scenario-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.zf-ai-scenario-item__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--accent-h);
}
.zf-ai-scenario-item__icon svg {
  width: 100%;
  height: 100%;
}
.zf-ai-scenario-item span {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- ZF AI Video ---------- */
.zf-ai-video {
  background: var(--bg);
}
.zf-ai-video__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.zf-ai-video__wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 9;
}
.zf-ai-video__wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.zf-ai-video__desc {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Shared Service Hero ---------- */
.shared-svc-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .shared-svc-hero {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.shared-svc-hero__bg {
  display: none;
}
.shared-svc-hero__overlay {
  display: none;
}
.shared-svc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.shared-svc-hero__brand {
  margin-bottom: 24px;
}
.shared-svc-hero__brand-tag {
  display: inline-block;
  font-size: 15px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.shared-svc-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.shared-svc-hero__subtitle {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.shared-svc-hero__desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Shared Service Overview ---------- */
.shared-svc-overview {
  background: var(--bg);
}
.shared-svc-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.shared-svc-overview__text p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.shared-svc-overview__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.shared-svc-overview__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Shared Service Features ---------- */
.shared-svc-features {
  background: var(--surface);
}
.shared-svc-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shared-svc-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.shared-svc-feature-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.shared-svc-feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.shared-svc-feature-card__icon svg {
  width: 100%;
  height: 100%;
}
.shared-svc-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.shared-svc-feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- Shared Service Dock ---------- */
.shared-svc-dock {
  background: var(--bg);
}
.shared-svc-dock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.shared-svc-dock__image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.shared-svc-dock__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.shared-svc-dock__item {
  margin-bottom: 28px;
  padding-left: 40px;
  position: relative;
}
.shared-svc-dock__item:last-child {
  margin-bottom: 0;
}
.shared-svc-dock__num {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--accent);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.shared-svc-dock__item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.shared-svc-dock__item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- Shared Service Versions ---------- */
.shared-svc-versions {
  background: var(--surface);
}
.shared-svc-versions__table-wrap {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.shared-svc-versions__overlay {
  width: 100%;
}
.shared-svc-versions__img {
  width: 100%;
  height: auto;
  display: block;
}
.shared-svc-versions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shared-svc-version-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.shared-svc-version-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.shared-svc-version-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59,130,246,0.15);
}
.shared-svc-version-card--pro {
  border-color: var(--accent-h);
  box-shadow: 0 0 20px rgba(96,165,250,0.12);
}
.shared-svc-version-card__header {
  padding: 20px 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card-h);
}
.shared-svc-version-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 8px;
}
.shared-svc-version-card__header h3 {
  font-size: 15px;
  font-weight: 600;
}
.shared-svc-version-card__body {
  padding: 16px;
}
.shared-svc-version-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.shared-svc-version-card__spec:last-child {
  border-bottom: none;
}
.spec-label {
  font-size: 13px;
  color: var(--text-dim);
}
.spec-value {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-en);
}
.spec-value--yes {
  color: #22c55e;
}
.spec-value--no {
  color: var(--text-dim);
  opacity: 0.4;
}

/* ---------- Shared Service Scenarios ---------- */
.shared-svc-scenarios {
  background: var(--bg);
}
.shared-svc-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shared-svc-scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.shared-svc-scenario-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.shared-svc-scenario-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--accent-h);
}
.shared-svc-scenario-card__icon svg {
  width: 100%;
  height: 100%;
}
.shared-svc-scenario-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.shared-svc-scenario-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- Shared Service Responsive ---------- */
@media (max-width: 960px) {
  .shared-svc-overview__grid {
    grid-template-columns: 1fr;
  }
  .shared-svc-dock__grid {
    grid-template-columns: 1fr;
  }
  .shared-svc-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shared-svc-versions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shared-svc-scenarios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .shared-svc-features__grid {
    grid-template-columns: 1fr;
  }
  .shared-svc-versions__grid {
    grid-template-columns: 1fr;
  }
  .shared-svc-scenarios__grid {
    grid-template-columns: 1fr;
  }
}

.page-zf-ai .page-summary {
  border-top: 1px solid var(--border);
}

/* ---------- ZF AI Responsive ---------- */
@media (max-width: 960px) {
  .zf-ai-overview__grid {
    grid-template-columns: 1fr;
  }
  .zf-ai-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zf-ai-hardware__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zf-ai-scenarios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .zf-ai-features__grid {
    grid-template-columns: 1fr;
  }
  .zf-ai-hardware__grid {
    grid-template-columns: 1fr;
  }
  .zf-ai-scenarios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- ZF Platform Responsive ---------- */
@media (max-width: 960px) {
  .zf-platform-overview__grid {
    grid-template-columns: 1fr;
  }
  .zf-platform-arch__grid {
    grid-template-columns: 1fr;
  }
  .zf-platform-caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zf-platform-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zf-platform-brochure__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .zf-platform-caps__grid {
    grid-template-columns: 1fr;
  }
  .zf-platform-features__grid {
    grid-template-columns: 1fr;
  }
  .zf-platform-brochure__grid {
    grid-template-columns: 1fr;
  }
  .zf-platform-hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .zf-platform-hero__stat {
    min-width: 100px;
  }
}

/* =============================================
   LOW-ALTITUDE PAGE — 低空安防与全域监控
   ============================================= */


/* ---------- Overview ---------- */
.low-alt-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.low-alt-overview__text p {
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 1rem;
}
.low-alt-overview__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.low-alt-overview__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s var(--ease);
}
.low-alt-overview__img:hover {
  transform: scale(1.03);
}

/* ---------- Core Capabilities ---------- */
.low-alt-caps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.low-alt-cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.low-alt-cap-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(59,130,246,0.1);
}
.low-alt-cap-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}
.low-alt-cap-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.low-alt-cap-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- Cases ---------- */
.low-alt-case {
  margin-top: 64px;
}
.low-alt-case__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.low-alt-case__grid--reverse {
  direction: rtl;
}
.low-alt-case__grid--reverse > * {
  direction: ltr;
}
.low-alt-case__image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.low-alt-case__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s var(--ease);
}
.low-alt-case__img:hover {
  transform: scale(1.03);
}
.low-alt-case__num {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.low-alt-case__text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.low-alt-case__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.low-alt-case__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: rgba(59,130,246,0.1);
  color: var(--accent-h);
  border: 1px solid rgba(59,130,246,0.2);
}
.low-alt-case__text > p {
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.low-alt-case__stats {
  display: flex;
  gap: 32px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.low-alt-case__stat {
  text-align: center;
}
.low-alt-case__stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.low-alt-case__stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.low-alt-case__desc-more {
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* ---------- Data Overview ---------- */
.low-alt-data__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.low-alt-data-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.low-alt-data-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.low-alt-data-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.low-alt-data-card__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.low-alt-data-card__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Application Scenarios ---------- */
.low-alt-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.low-alt-scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.low-alt-scenario-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(59,130,246,0.08);
}
.low-alt-scenario-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
}
.low-alt-scenario-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.low-alt-scenario-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ========================================
   News Page (新闻资讯) Styles
   ======================================== */

/* ---------- News Hero ---------- */
.news-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}
.news-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.6) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
[data-theme="light"] .news-hero__overlay {
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.3) 0%, rgba(248, 249, 251, 0.6) 100%);
}
.news-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 140px;
}
.news-hero__tag {
  display: inline-block;
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-h);
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
}
.news-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-hero__desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- News Videos Grid ---------- */
.news-videos {
  background: var(--bg);
}
.news-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.news-video-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}
.news-video-card__video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.news-video-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
  cursor: pointer;
}
.news-video-card__body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  align-items: center;
}
.news-video-card__desc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.news-video-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
}
.news-video-card__desc span {
  overflow: hidden;
  /* Allow text to wrap on smaller screens for longer descriptions */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 2.8em;

}

/* ---------- News Promotion Matrix (QR codes) ---------- */
.news-promo {
  background: var(--surface);
}
.news-promo__desc {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 480px;
  margin: -32px auto 40px;
  line-height: 1.8;
}
.news-promo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}
.news-promo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.news-promo__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.news-promo__qrcode {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.news-promo__qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.news-promo__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Lightbox for promotion matrix images */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 24px;
  animation: lightboxFadeIn 0.25s ease;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: min(90vw, 600px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 8px 12px;
  z-index: 10000;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- News Page Responsive ---------- */

@media (max-width: 960px) {
  .news-videos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .news-videos__grid {
    grid-template-columns: 1fr;
  }
  .news-promo__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .news-promo__qrcode {
    width: 100px;
    height: 100px;
  }
}

/* ---------- Low-altitude Hero accent ---------- */
.hero__title--accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Low-altitude Responsive ---------- */
@media (max-width: 960px) {
  .low-alt-overview__grid {
    grid-template-columns: 1fr;
  }
  .low-alt-overview__image {
    order: -1;
  }
  .low-alt-caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .low-alt-case__grid {
    grid-template-columns: 1fr;
  }
  .low-alt-case__grid--reverse {
    direction: ltr;
  }
  .low-alt-case__image {
    order: -1;
  }
  .low-alt-data__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .low-alt-scenarios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .low-alt-caps__grid {
    grid-template-columns: 1fr;
  }
  .low-alt-data__grid {
    grid-template-columns: 1fr;
  }
  .low-alt-scenarios__grid {
    grid-template-columns: 1fr;
  }
  .low-alt-case__stats {
    gap: 16px;
    justify-content: center;
  }
}

/* ========================================
   Advantages Page
   ======================================== */

/* ---------- Advantage Block ---------- */
.advantage-block {
  position: relative;
  overflow: hidden;
}

.advantage-block--alt {
  background: var(--bg-card);
}

.advantage-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.advantage-block__grid--reverse {
  direction: rtl;
}
.advantage-block__grid--reverse > * {
  direction: ltr;
}

.advantage-block__number {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
  letter-spacing: 2px;
}

.advantage-block__title {
  margin-bottom: 16px;
}

.advantage-block__lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}

.advantage-block__lead strong {
  color: var(--accent);
  font-weight: 600;
}

.advantage-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-block__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.advantage-block__list-icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 2px;
}

.advantage-block__list li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1rem;
}

.advantage-block__list li p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

.advantage-block__list li p strong {
  display: inline;
  color: var(--accent);
  font-weight: 600;
}

/* Visual side */
.advantage-block__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Icon grid (Advantage 1) */
.advantage-block__icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 360px;
}

.advantage-block__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.advantage-block__svg {
  width: 80px;
  height: 80px;
  color: var(--accent);
  opacity: 0.7;
}

.advantage-block__icon-item span {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.advantage-block__deco-line {
  width: 120px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  opacity: 0.4;
}

/* Badge grid (Advantage 2) */
.advantage-block__badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 380px;
}

.advantage-block__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.advantage-block__badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.advantage-block__badge-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.advantage-block__badge span {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Stats grid (Advantage 3) */
.advantage-block__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 360px;
  width: 100%;
}

.advantage-block__stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s var(--ease);
}

.advantage-block__stat-card:hover {
  border-color: var(--accent);
}

.advantage-block__stat-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.advantage-block__stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Map deco */
.advantage-block__deco-map {
  text-align: center;
}

.advantage-block__map-svg {
  width: 200px;
  height: 140px;
  color: var(--accent);
}

.advantage-block__map-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 8px;
}

/* Team deco (Advantage 4) */
.advantage-block__team-deco {
  text-align: center;
}

.advantage-block__team-svg {
  width: 240px;
  height: 160px;
  color: var(--accent);
}

.advantage-block__team-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.advantage-block__team-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Partner logos (Advantage 5) */
.advantage-block__partner-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 360px;
}

.advantage-block__partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.advantage-block__partner-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.advantage-block__partner-svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.advantage-block__partner-item span {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- Careers Form ---------- */
.careers-form {
  background: var(--surface);
}

.careers-form__container {
  max-width: 800px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  transition: border-color 0.3s var(--ease);
}

.careers-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.careers-form__group--full {
  grid-column: 1 / -1;
}

.careers-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.careers-form__label .required {
  color: #ef4444;
  margin-left: 2px;
}

.careers-form__hint {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 4px;
}

.careers-form__input,
.careers-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}

.careers-form__input:focus,
.careers-form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.careers-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.careers-form__multi-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.careers-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  font-size: 14px;
  color: var(--text-dim);
  user-select: none;
}

.careers-form__checkbox-label:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
}

.careers-form__checkbox-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.careers-form__checkbox-label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
}

.careers-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.careers-form__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  font-size: 14px;
  color: var(--text-dim);
  user-select: none;
}

.careers-form__radio-label:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
}

.careers-form__radio-label input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.careers-form__radio-label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
}

.careers-form__submit {
  text-align: center;
  margin-top: 32px;
}

.careers-form__submit .btn {
  min-width: 200px;
  font-size: 16px;
  padding: 14px 32px;
}

/* Existing btn--primary styles (for ref)
   Already defined earlier: .btn, .btn--primary, .btn:hover, etc.
*/
.careers-form__success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.careers-form__success.active {
  display: block;
  animation: fadeUp 0.5s var(--ease) forwards;
}

.careers-form__success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.careers-form__success-icon svg {
  width: 36px;
  height: 36px;
}

.careers-form__success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.careers-form__success-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Careers CTA ---------- */
.careers-cta {
  background: var(--bg);
  text-align: center;
}

.careers-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.careers-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Careers Responsive ---------- */
@media (max-width: 768px) {
  .careers-form__container {
    padding: 28px 20px;
  }
  .careers-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .careers-form__checkbox-label,
  .careers-form__radio-label {
    flex: 1 1 auto;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .careers-form__container {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .careers-form__checkbox-label,
  .careers-form__radio-label {
    min-width: 100%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .advantage-block__grid,
  .advantage-block__grid--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  .advantage-block__grid--reverse > * {
    direction: ltr;
  }
  .advantage-block__visual {
    order: -1;
  }
  .advantage-block__icon-grid,
  .advantage-block__badge-grid,
  .advantage-block__stats-grid,
  .advantage-block__partner-logos {
    max-width: 100%;
  }
  .advantage-block__icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .advantage-block__badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantage-block__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantage-block__partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .advantage-block__icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .advantage-block__svg {
    width: 60px;
    height: 60px;
  }
  .advantage-block__badge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .advantage-block__badge {
    padding: 14px 8px;
  }
  .advantage-block__stats-grid {
    gap: 10px;
  }
  .advantage-block__stat-card {
    padding: 16px 10px;
  }
  .advantage-block__partner-logos {
    gap: 10px;
  }
  .advantage-block__partner-item {
    padding: 14px 8px;
  }
}

/* ========================================
   Job Openings (招聘信息) Page
   ======================================== */

/* ---------- Benefits Section ---------- */
.jobs-benefits {
  background: var(--bg-card);
}

.jobs-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.jobs-benefit__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.jobs-benefit__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.jobs-benefit__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.jobs-benefit__card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.jobs-benefit__card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* Benefits Table */
.jobs-benefits__table-wrap {
  margin-top: 48px;
}

.jobs-benefits__table-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.jobs-benefits__table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jobs-benefits__table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.jobs-benefits__table thead {
  background: var(--gradient);
}

.jobs-benefits__table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jobs-benefits__table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.jobs-benefits__table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent);
}

.jobs-benefits__table tbody tr:hover td {
  background: var(--bg-card-h);
}

/* ---------- Join Section ---------- */
.jobs-join {
  background: var(--bg);
}

.jobs-join__content {
  max-width: 800px;
  margin: 48px auto 0;
}

.jobs-join__content > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.jobs-join__lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.jobs-join__list {
  list-style: none;
  padding: 0;
}

.jobs-join__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.jobs-join__list li:last-child {
  border-bottom: none;
}

.jobs-join__list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* ---------- Apply Section ---------- */
.jobs-apply {
  background: var(--bg-card);
}

.jobs-apply__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

.jobs-apply__boss-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.jobs-apply__info > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.jobs-apply__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobs-apply__step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.jobs-apply__step:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.jobs-apply__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.jobs-apply__step span:last-child {
  font-size: 15px;
  color: var(--text);
}

/* Contact Card */
.jobs-apply__contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}

.jobs-apply__contact-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.jobs-apply__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.jobs-apply__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.jobs-apply__contact-item a {
  color: var(--accent);
  text-decoration: none;
}

.jobs-apply__contact-item a:hover {
  text-decoration: underline;
}

/* ---------- Video Section ---------- */
.jobs-video {
  background: var(--bg);
}

.jobs-video__wrapper {
  max-width: 800px;
  margin: 48px auto 0;
}

.jobs-video__container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.jobs-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
}

.jobs-video__desc {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 20px;
  line-height: 1.6;
}

/* ---------- Jobs Page Responsive ---------- */
@media (max-width: 968px) {
  .jobs-benefits__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .jobs-apply__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jobs-apply__contact-card {
    position: static;
  }
  .jobs-benefits__table th,
  .jobs-benefits__table td {
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .jobs-benefit__card {
    padding: 24px 20px;
  }
  .jobs-join__list li {
    padding: 12px 0;
    font-size: 15px;
  }
  .jobs-apply__step {
    padding: 12px 16px;
  }
  .jobs-apply__contact-card {
    padding: 24px 20px;
  }
  .jobs-video__container {
    border-radius: 12px;
  }
}


