/* ============================================================
   GENERATED FILE — DO NOT EDIT DIRECTLY
   源文件: public/css/global.src.css
   构建命令: npm run build:css
   生成时间: 2026-08-04T02:01:31.807Z
   ============================================================ */

/* ============================================================
   global.src.css — 全站样式聚合入口 (开发源文件)
   基础层（foundation）+ 组件层 + 全局响应式

   注意: 本文件是构建源。请运行 `npm run build:css` 生成
   public/css/global.css (浏览器实际加载的单文件产物)。
   不要直接编辑 global.css,改动会被下次构建覆盖。
   ============================================================ */

/* >>> ./foundation.css */
/* ============================================================
   foundation.css — 基础层（设计令牌 + 重置 + 元素基线 + 布局）
   合并自 00-tokens.css / 01-reset.css / 02-base.css / 03-layout.css
   ============================================================

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */

/* ===== 1. Design Tokens — CSS 自定义属性 ===== */
:root {
  --color-black: #000000;
  --color-dark: #0a0a0a;
  --color-charcoal: #111111;
  --color-gray-900: #1a1a1a;
  --color-gray-800: #2a2a2a;
  --color-gray-700: #3a3a3a;
  --color-gray-500: #666666;
  --color-gray-400: #888888;
  --color-gray-300: #aaaaaa;
  --color-white: #ffffff;
  --color-gold: #c9a96e;
  --color-gold-light: #d4b87a;
  --color-gold-dark: #a0854a;

  --font-sans: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 1.2s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1440px;
  --container-padding: 24px;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 48px;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-padding: 80px;
  }
}

/* ===== 2. Reset — 浏览器默认样式清除 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 3. Base — 元素默认基线 ===== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== 4. Layout — 容器与工具类 ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* about 系列页面主内容容器 (about-mission / about-tech / careers-positions 共用) */
.about-main {
  min-height: 50vh;
  padding-top: 68px;
}

@media (min-width: 1024px) {
  .about-main {
    padding-top: 78px;
  }
}

.text-gold {
  color: var(--color-gold);
}

.text-gray {
  color: var(--color-gray-400);
}

.text-center {
  text-align: center;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

@media (min-width: 1280px) {
  .section-padding {
    padding-top: 180px;
    padding-bottom: 180px;
  }
}
/* <<< ./foundation.css */

/* >>> ./components/reveal.css */
/* ============================================================
   components/reveal.css — LUXURY SCROLL REVEAL SYSTEM — 滚动揭幕动效
   从 style1.css 拆分 (2026-07-13)

   性能说明:
   - 基础 .reveal 只 transition transform + opacity (合成层, GPU 加速)
   - 昂贵属性 (filter / clip-path) 只在对应变体上单独 transition,
     避免污染所有 reveal 元素
   ============================================================

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */

/* Only hide elements when JS is enabled; noscript fallback ensures visibility without JS */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(56px);
  will-change: transform, opacity;
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
}

/* Direction variants */
.js-enabled .reveal-up {
  transform: translateY(80px);
}
.js-enabled .reveal-down {
  transform: translateY(-40px);
}
.js-enabled .reveal-left {
  transform: translateX(80px);
}
.js-enabled .reveal-right {
  transform: translateX(-80px);
}

/* Scale */
.js-enabled .reveal-scale {
  transform: scale(0.88);
}

/* Blur - signature luxury feel (filter transition 仅作用于此变体) */
.js-enabled .reveal-blur {
  filter: blur(8px);
  transform: scale(1.04);
  will-change: transform, opacity, filter;
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Perspective rotations */
.js-enabled .reveal-rotate-x {
  transform: perspective(1200px) rotateX(18deg) translateY(60px);
  transform-origin: center bottom;
}
.js-enabled .reveal-rotate-y-left {
  transform: perspective(1200px) rotateY(-16deg) translateX(-60px);
  transform-origin: right center;
}
.js-enabled .reveal-rotate-y-right {
  transform: perspective(1200px) rotateY(16deg) translateX(60px);
  transform-origin: left center;
}

/* Image mask reveals — 不用位移,避免与 clip-path 叠加导致内容不可见
   clip-path transition 仅作用于此变体 */
.js-enabled .reveal-mask,
.js-enabled .reveal-luxury-image {
  transform: none;
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal-mask {
  clip-path: inset(0 100% 0 0);
}

/* Line expand */
.js-enabled .reveal-line {
  transform: scaleX(0);
  opacity: 1;
  transform-origin: left center;
}
.js-enabled .reveal-line-center {
  transform: scaleX(0);
  opacity: 1;
  transform-origin: center center;
}

/* Active state - reset all transforms */
.reveal.is-visible,
.reveal.is-visible.reveal-up,
.reveal.is-visible.reveal-down,
.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right,
.reveal.is-visible.reveal-scale,
.reveal.is-visible.reveal-rotate-x,
.reveal.is-visible.reveal-rotate-y-left,
.reveal.is-visible.reveal-rotate-y-right {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
}

.reveal.is-visible.reveal-blur {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.reveal.is-visible.reveal-mask,
.reveal.is-visible.reveal-luxury-image {
  opacity: 1;
  transform: none;
  clip-path: none;
}

.reveal.is-visible.reveal-line,
.reveal.is-visible.reveal-line-center {
  transform: scaleX(1);
}

/* Auto-stagger system via data-stagger parent */
[data-stagger] > .reveal:nth-child(1) { transition-delay: 0s; }
[data-stagger] > .reveal:nth-child(2) { transition-delay: 0.14s; }
[data-stagger] > .reveal:nth-child(3) { transition-delay: 0.28s; }
[data-stagger] > .reveal:nth-child(4) { transition-delay: 0.42s; }
[data-stagger] > .reveal:nth-child(5) { transition-delay: 0.56s; }
[data-stagger] > .reveal:nth-child(6) { transition-delay: 0.70s; }
[data-stagger] > .reveal:nth-child(7) { transition-delay: 0.84s; }
[data-stagger] > .reveal:nth-child(8) { transition-delay: 0.98s; }
[data-stagger] > .reveal:nth-child(9) { transition-delay: 1.12s; }

/* Manual delays */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }
.reveal-delay-6 { transition-delay: 0.72s; }
.reveal-delay-7 { transition-delay: 0.84s; }
.reveal-delay-8 { transition-delay: 0.96s; }
/* <<< ./components/reveal.css */
/* >>> ./components/navbar.css */
/* ============================================================
   components/navbar.css — Navigation 导航栏

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */
:root {
  --nav-accent: var(--color-gold, #c9a96e);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  transition: box-shadow 0.3s ease-in-out;
  padding: 0;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: 16px;
}

@media (min-width: 1024px) {
  .navbar-inner {
    height: 78px;
  }
}

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

@media (min-width: 1024px) {
  .nav-left {
    gap: 24px;
    padding-left: 0;
  }
}

@media (min-width: 1280px) {
  .nav-left {
    gap: 48px;
  }
}

.nav-right {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--nav-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

/* 顶栏 Logo（原始 109×25，整体 +30% → 142×33；勿用 CSS 变量，避免被全局 img 规则干扰） */
.logo-redbox {
  padding: 6px 13px 6px 0;
  border-radius: 6px;
  background: transparent;
  flex-shrink: 0;
}

.logo-redbox:hover {
  box-shadow: none;
}

.navbar .logo-redbox .logo-img {
  display: block;
  width: 142px;
  height: 33px;
  max-width: none;
  object-fit: contain;
  filter: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  color: #131313;
  transition: color 0.15s ease-in-out;
  position: relative;
}

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

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

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg) translateY(-2px);
  transition: transform 0.15s ease-in-out;
  opacity: 0.6;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(135deg) translateY(2px);
  opacity: 1;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-size: 1rem;
  color: #545454;
  transition: color 0.15s ease-in-out;
  white-space: nowrap;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 3px;
  height: 80%;
  background: var(--nav-accent);
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.dropdown-item:hover {
  color: var(--nav-accent);
  background: transparent;
}

.dropdown-item:hover::before {
  opacity: 1;
}

/* Mega Menu */
.mega-menu {
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: max-content;
  min-width: 820px;
  max-width: 960px;
  padding: 32px 40px;
  border-radius: 8px;
}

.dropdown.mega:hover .mega-menu {
  transform: translateX(-50%) translateY(0);
}

/* 中文环境下 mega-menu 文案较短，收窄容器与列宽，避免过度空旷 */
html:lang(zh-CN) .mega-menu,
html:lang(zh) .mega-menu {
  min-width: 560px;
  padding: 28px 32px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px 40px;
}

html:lang(zh-CN) .mega-menu-grid,
html:lang(zh) .mega-menu-grid {
  grid-template-columns: repeat(3, minmax(140px, max-content));
  gap: 20px 28px;
}

@media (min-width: 768px) {
  .mega-menu-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (min-width: 1024px) {
  .mega-menu-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

.mega-menu-title {
  font-size: 1rem;
  font-weight: 600;
  color: #131313;
  margin-bottom: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
  border-bottom: 1px solid #eaeaea;
}

.mega-menu-title a {
  color: inherit;
  text-decoration: none;
}

.mega-menu-col .dropdown-item {
  padding: 8px 0 8px 12px;
  white-space: nowrap;
}

/* Language Switcher — Longi change-language-button 1:1 */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  height: 68px;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  color: #131313;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: border-bottom-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
  color: var(--nav-accent);
}

.lang-switcher.is-open .lang-toggle,
.lang-toggle[aria-expanded="true"] {
  border-bottom-color: var(--nav-accent);
}

.lang-globe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.lang-globe svg {
  width: 24px;
  height: 24px;
}

.lang-english-name,
.lang-language-name {
  line-height: 24px;
}

.lang-separator {
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.35;
  margin: 0 10px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  right: auto;
  min-width: 200px;
  padding: 10px 0;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0.25s;
  z-index: 1001;
}

.lang-switcher.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lang-dropdown-inner {
  padding: 0;
}

.lang-dropdown-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-group:last-child {
  border-bottom: none;
}

.lang-country {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  text-decoration: none;
}

.lang-country-name {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.lang-country-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.lang-country-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-language-label {
  display: block;
  position: relative;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 12px;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.lang-language-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 3px;
  height: 80%;
  background: var(--nav-accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-country:hover .lang-language-label,
.lang-country.is-active .lang-language-label {
  color: var(--nav-accent);
  background: transparent;
  font-weight: 600;
}

.lang-country:hover .lang-language-label::before,
.lang-country.is-active .lang-language-label::before {
  opacity: 1;
}

.lang-country:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: -2px;
}

@media (min-width: 1024px) {
  .lang-toggle {
    height: 78px;
  }
}

/* Dark navbar adaptations */
.navbar-dark .lang-toggle {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .lang-toggle:hover {
  color: var(--nav-accent);
}

/* Mobile menu */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #131313;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background 0.3s ease-in-out;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4px;
  padding: calc(var(--navbar-height, 80px) + 16px) 24px 40px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__item {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu__link,
.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #131313;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.15s ease-in-out;
}

.mobile-menu__link:hover,
.mobile-menu__toggle:hover {
  color: var(--nav-accent);
}

.mobile-menu__chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease-in-out;
  flex-shrink: 0;
}

.mobile-menu__item.is-open .mobile-menu__chevron {
  transform: rotate(-135deg);
}

.mobile-menu__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

.mobile-menu__item.is-open .mobile-menu__sub {
  grid-template-rows: 1fr;
}

.mobile-menu__sub-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-left: 16px;
}

.mobile-menu__group {
  display: flex;
  flex-direction: column;
  padding: 10px 0 12px;
}

.mobile-menu__group + .mobile-menu__group {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu__group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #131313;
  padding: 0 0 6px;
  letter-spacing: 0.02em;
}

.mobile-menu__group-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--nav-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.mobile-menu__sub-link {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(19, 19, 19, 0.75);
  transition: color 0.15s ease-in-out;
}

.mobile-menu__sub-link:hover {
  color: var(--nav-accent);
}

.mobile-menu__sub-link--overview {
  color: var(--nav-accent);
  font-weight: 500;
}

.mobile-menu__item--has-sub:last-child,
.mobile-menu__item:last-child {
  border-bottom: none;
}

/* ===== Dark Navbar Theme ===== */
.navbar-dark {
  background-color: #232323;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-dark.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-dark .logo {
  --brand-color: var(--color-white);
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .nav-link:hover {
  color: var(--nav-accent);
}

.navbar-dark .dropdown-menu {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.navbar-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .dropdown-item:hover {
  color: var(--nav-accent);
  background: transparent;
}

.navbar-dark .mega-menu-title {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-dark .mobile-toggle span {
  background: #ffffff;
}

.navbar-dark .mobile-menu {
  background: #232323;
}

.navbar-dark .mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .mobile-menu a:hover {
  color: var(--nav-accent);
}
/* <<< ./components/navbar.css */
/* >>> ./components/footer.css */
/* ============================================================
   components/footer.css — Footer — 页脚
   从 style1.css 拆分 (2026-07-13)
   ============================================================

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */

.footer {
  position: relative;
  background: linear-gradient(180deg, #1c1c1c 0%, #181818 50%, #141414 100%);
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-gold-light), var(--color-gold), transparent);
  box-shadow: 0 0 24px rgba(201, 169, 110, 0.35);
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  margin-bottom: 80px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 56px;
  }
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand p {
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 300;
  max-width: 320px;
}

.footer-title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: 1rem;
  color: #c0c0c0;
  transition: color var(--transition-fast);
  font-weight: 300;
}

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

.footer-links .footer-social-qr-btn {
  font-size: 1rem;
  color: #c0c0c0;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 300;
  font-family: inherit;
  transition: color var(--transition-fast);
}

.footer-links .footer-social-qr-btn:hover {
  color: var(--color-gold);
}

.footer-links .text-secondary {
  font-size: 1rem;
  color: #c0c0c0;
  font-weight: 300;
}

.footer-qr-hidden {
  display: none !important;
}

.footer-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.footer-qr-modal.is-open {
  display: flex;
}

.footer-qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.footer-qr-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 360px);
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-qr-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  color: #aaa;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.footer-qr-modal-title {
  margin: 0 0 16px;
  font-size: 1.125rem;
  color: #fff;
}

.footer-qr-modal-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  background: #fff;
  border-radius: 8px;
}

.footer-qr-modal-empty {
  margin: 0;
  color: #999;
  font-size: 0.9375rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: #888888;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: #888888;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #c0c0c0;
}


/* Footer brand logo (replaces inline style) */
.footer-logo-img {
  height: 33px;
  width: auto;
}
/* <<< ./components/footer.css */
/* >>> ./components/back-to-top.css */
/* ============================================================
   components/back-to-top.css — Back to Top — 返回顶部
   从 style1.css 拆分 (2026-07-13)
   ============================================================ */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: calc(10vh + 84px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.92);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 169, 110, 0.1) inset;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(201, 169, 110, 0.18);
  border-color: var(--color-gold-light);
  color: var(--color-white);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.back-to-top:active {
  transform: scale(0.94);
}

.back-to-top__progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top__progress circle {
  fill: none;
  stroke-width: 2.5;
}

.back-to-top__track {
  stroke: rgba(201, 169, 110, 0.18);
}

.back-to-top__bar {
  stroke: var(--color-gold);
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.15s linear;
}

.back-to-top__icon {
  position: relative;
  width: 22px;
  height: 22px;
  z-index: 1;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .back-to-top__icon {
    width: 20px;
    height: 20px;
  }

  .back-to-top__bar {
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }

  .back-to-top__bar {
    transition: none;
  }
}
/* <<< ./components/back-to-top.css */

/* >>> ./components/section-header.css */
/* ============================================================
   components/section-header.css — Section Header — 区块标题
   从 style1.css 拆分 (2026-07-13)
   ============================================================

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */

.section-header {
  margin-bottom: 80px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-400);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}
/* <<< ./components/section-header.css */
/* >>> ./components/utilities.css */
/* ============================================================
   components/utilities.css — 工具类（滚动进度 / 装饰 / 按钮 / 滚动条）
   ============================================================

   ⚠️ 本文件被 global.src.css 通过 @import 引用,会合并到 public/css/global.css
      编辑后请运行 `npm run build:css` 重新生成。不要直接编辑 global.css。
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s linear;
}

/* ===== Decorative Elements ===== */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 24px auto;
}

.gold-line-left {
  margin: 24px 0;
}


/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-800);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-700);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.05);
}

/* ===== Content Visibility — 折叠下方区块延迟渲染,加快首屏 =====
   用法: 给首屏下方的大区块加 .cv-auto
   原理: 浏览器跳过屏幕外内容的样式/布局/绘制,滚动到视口附近才渲染
   兼容: Chrome/Edge 85+, Safari 18+, Firefox 实验性 (不支持时自动忽略,安全降级)
   注意: 必须搭配 contain-intrinsic-size 提供预估高度,否则滚动条会跳动 */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}
/* <<< ./components/utilities.css */

/* ===== i18n anti-flash: 英文页先隐藏待翻译元素，就绪后淡入 ===== */
html.i18n-pending [data-i18n]:not(.back-to-top),
html.i18n-pending [data-i18n-html]:not(.back-to-top),
html.i18n-pending [data-i18n-attr]:not(.back-to-top) {
  opacity: 0;
}

html.i18n-ready [data-i18n]:not(.back-to-top),
html.i18n-ready [data-i18n-html]:not(.back-to-top),
html.i18n-ready [data-i18n-attr]:not(.back-to-top) {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* ===== Site-wide toast ===== */
.site-toast {
  position: fixed;
  left: 50%;
  top: 88px;
  transform: translateX(-50%) translateY(-12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.95);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-toast__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary, #e60012);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-toast__icon svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 767px) {
  .site-toast {
    top: 98px;
    left: 16px;
    right: 16px;
    transform: translateY(-12px);
  }

  .site-toast.is-visible {
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
