/* ============================================
   Bauhinia International Group - Main Styles
   紫荆花国际集团 独立站样式
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;700&display=swap');

/* ===== CSS变量 ===== */
:root {
  --purple: #8B5CF6;
  --purple-dark: #6D28D9;
  --purple-light: #A78BFA;
  --gold: #D4AF37;
  --gold-light: #F5D98E;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-card: #1A1A2E;
  --dark-card2: #16162A;
  --gray: #A1A1AA;
  --gray-light: #D1D1D6;
  --light: #F5F5F7;
  --white: #FFFFFF;
  --border: rgba(139,92,246,0.15);
  --border-hover: rgba(139,92,246,0.4);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-purple: 0 20px 60px rgba(139,92,246,0.15);
  --shadow-gold: 0 10px 40px rgba(212,175,55,0.2);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ===== 重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--black);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== 语言切换 ===== */
/* 策略：使用 html:not() 选择器，避免猜测元素的 display 值。
   中文模式（html 无 lang-en 类）→ 隐藏英文；
   英文模式（html 有 lang-en 类）→ 隐藏中文，英文元素恢复自然 display */
html:not(.lang-en) .lang-en,
html:not(.lang-en) .lang-en-block,
html:not(.lang-en) .lang-en-flex { display: none !important; }

html.lang-en .lang-zh { display: none !important; }

/* ===== 语言切换按钮 ===== */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 80px;
  z-index: 1001;
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 4px;
  border: 1px solid rgba(139,92,246,0.3);
}
.lang-btn {
  padding: 6px 18px;
  border-radius: 20px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.lang-btn.active { background: var(--purple); color: white; }
.lang-btn:hover:not(.active) { color: var(--white); }

/* ===== 导航 ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(10,10,10,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 3px;
  display: block;
}
.logo-text-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 4px;
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta {
  padding: 8px 22px;
  border: 1px solid rgba(139,92,246,0.5);
  border-radius: 3px;
  color: var(--purple-light);
}
.nav-links a.nav-cta:hover {
  background: rgba(139,92,246,0.12);
  color: var(--white);
  border-color: var(--purple);
}
.nav-links a.nav-cta::after { display: none; }

/* 移动菜单按钮 */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139,92,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.07) 0%, transparent 60%),
    var(--black);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-up 8s infinite;
}
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1.2); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 0 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  border: 1px solid rgba(139,92,246,0.35);
  border-radius: 30px;
  font-size: 12px;
  color: var(--purple-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
  background: rgba(139,92,246,0.06);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.5); opacity:0.6; }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .cn {
  font-family: 'Noto Serif SC', serif;
  display: block;
  font-size: clamp(24px, 3.5vw, 44px);
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  margin: 0 auto 52px;
  line-height: 1.9;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scroll-anim 2.4s infinite;
}
@keyframes scroll-anim {
  0%   { opacity:1; transform:scaleY(0); transform-origin:top; }
  50%  { opacity:1; transform:scaleY(1); transform-origin:top; }
  51%  { transform-origin:bottom; }
  100% { opacity:0; transform:scaleY(0); transform-origin:bottom; }
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(139,92,246,0.45);
  color: white;
}
.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-3px);
  color: var(--gold);
}
.btn-sm {
  padding: 9px 24px;
  font-size: 11px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--purple-light);
  font-size: 13px;
  letter-spacing: 1px;
  transition: gap 0.3s;
}
.btn-ghost:hover { gap: 12px; color: var(--gold); }
.btn-ghost::after { content: '→'; }

/* ===== Section公共 ===== */
section { padding: 120px 64px; position: relative; }
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: linear-gradient(to right, var(--purple), transparent);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-title .cn {
  font-family: 'Noto Serif SC', serif;
  display: block;
  font-size: 0.62em;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  font-weight: 400;
}
.section-desc {
  font-size: 15px;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.85;
  margin-bottom: 64px;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto 64px;
}
.max-w { max-width: 1200px; margin: 0 auto; }

/* ===== 动画 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== 分隔线 ===== */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ===== 数字统计 ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px;
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hero 统计数字（产品资源库页） */
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat .stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== 服务卡片 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 42px 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}
.service-icon {
  width: 50px; height: 50px;
  margin-bottom: 26px;
  color: var(--gold);
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}
.service-card .cn-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 22px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tag {
  padding: 4px 12px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 20px;
  font-size: 11px;
  color: var(--purple-light);
  letter-spacing: 0.5px;
}

/* ===== 案例 Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--dark-card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.portfolio-item:hover { border-color: var(--border-hover); }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-placeholder {
  text-align: center;
  padding: 40px;
}
.portfolio-placeholder .p-icon {
  font-size: 52px;
  margin-bottom: 18px;
  opacity: 0.25;
}
.portfolio-placeholder h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.portfolio-placeholder p { font-size: 13px; color: var(--gray); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 18px; color: var(--white); margin-bottom: 6px; }
.portfolio-overlay p { font-size: 13px; color: var(--gold); }
.portfolio-overlay .tags { display: flex; gap: 8px; margin-top: 12px; }
.portfolio-overlay .tag {
  padding: 3px 10px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 20px;
  font-size: 11px;
  color: rgba(212,175,55,0.8);
}

/* ===== 团队 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.team-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(212,175,55,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}
.team-info .role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===== 新闻 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.news-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}
.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark-card2), rgba(139,92,246,0.1));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.4;
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.5s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 28px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.news-cat {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 3px 10px;
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 20px;
}
.news-date { font-size: 12px; color: var(--gray); }
.news-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.news-card:hover h4 { color: var(--gold); }
.news-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.news-card .read-more {
  font-size: 12px;
  color: var(--purple-light);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 1px;
  transition: gap 0.3s, color 0.3s;
}
.news-card:hover .read-more { gap: 10px; color: var(--gold); }

/* ===== Why Us ===== */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.whyus-item {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.whyus-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}
.whyus-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: rgba(139,92,246,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
}
.whyus-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 10px;
}
.whyus-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

/* ===== 流程 ===== */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0.25;
}
.process-step { text-align: center; padding: 0 16px; }
.process-dot {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 2px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .process-dot {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(212,175,55,0.3);
}
.process-step h4 { font-size: 14px; color: var(--white); margin-bottom: 4px; }
.process-step .cn-step {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.process-step p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ===== 联系表单 ===== */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.3;
}
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 17px;
}
.contact-item h5 {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.contact-item p { font-size: 15px; color: var(--white); }
.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 52px;
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
  border-radius: var(--radius);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  background: rgba(139,92,246,0.05);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-group select option { background: var(--dark); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

/* ===== 页面 Banner ===== */
.page-banner {
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, transparent 50%, rgba(212,175,55,0.06) 100%), var(--dark);
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(139,92,246,0.12) 0%, transparent 60%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  padding: 0 64px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-banner-content .section-label { margin-bottom: 16px; }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-banner h1 .cn {
  font-family: 'Noto Serif SC', serif;
  display: block;
  font-size: 0.5em;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}
.page-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
  border-radius: var(--radius);
}
.pagination a:hover {
  border-color: var(--purple);
  color: var(--purple-light);
}
.pagination .current {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

/* ===== Toast通知 ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: 360px;
  box-shadow: var(--shadow-purple);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(72,199,142,0.4); }
.toast.error { border-color: rgba(246,92,92,0.4); }

/* ===== 关于页面特殊 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-large { width: 320px; height: 320px; position: relative; }
.about-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity:0.5; transform:scale(1); }
  50% { opacity:1; transform:scale(1.08); }
}
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 26px;
  line-height: 1.3;
}
.about-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.9;
  margin-bottom: 20px;
}
.milestones { margin-top: 40px; }
.milestone {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.milestone:last-child { border-bottom: none; }
.milestone-year {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
  width: 80px;
}
.milestone-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.mv-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(139,92,246,0.1), transparent);
  border-radius: 50%;
}
.mv-card .mv-icon { font-size: 40px; margin-bottom: 20px; }
.mv-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}
.mv-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; }

/* ===== Footer ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 72px 64px 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo span {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 16px;
  letter-spacing: 3px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
}
.footer-col h5 {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.f-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 13px;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(139,92,246,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--gray); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
}
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: rgba(255,255,255,0.2); }

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px; height: 44px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--purple); color: white; }

/* ===== 加载动画 ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  animation: loader-pulse 1.5s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%,100% { transform: scale(0.95); opacity:0.6; }
  50% { transform: scale(1.05); opacity:1; }
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 968px) {
  section { padding: 80px 24px; }
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .lang-toggle { top: 16px; right: 80px; }

  .nav-mobile-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: rgba(17,17,17,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 40px;
    gap: 0;
    border-left: 1px solid var(--border);
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 0; font-size: 14px; letter-spacing: 2px; color: var(--light); }
  .nav-links a.nav-cta { border: none; padding: 16px 0; }

  .hero h1 { font-size: clamp(32px, 8vw, 52px); }
  .hero-sub { font-size: 11px; letter-spacing: 2px; }
  .hero-desc { font-size: 14px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 300px; }
  .about-logo-large { width: 220px; height: 220px; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-track::before { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .contact-container { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-banner { height: 320px; }
  .page-banner-content { padding: 0 24px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 540px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
}

/* ============================================================
   产品资源库页面样式（从CRM数据源动态渲染）
   适配紫金暗色主题
   ============================================================ */

/* -- 搜索框 -- */
.search-box-modern {
  display: flex;
  align-items: center;
  background: var(--dark-card);
  border-radius: 50px;
  padding: 4px;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.search-box-modern:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.search-box-modern .form-control {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  padding: 10px 12px 10px 8px;
  font-size: 0.95rem;
  color: var(--white);
}
.search-box-modern .form-control::placeholder { color: var(--gray); }
.search-box-modern .form-control:focus { outline: none; box-shadow: none; }
.search-box-modern .search-icon {
  font-size: 1.1rem;
  color: var(--gray);
  margin-left: 16px;
}
.search-box-modern .btn {
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  flex-shrink: 0;
}

/* -- 筛选芯片 -- */
.filter-scroll-modern {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.filter-scroll-modern::-webkit-scrollbar { height: 4px; }
.filter-scroll-modern::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.filter-chip-modern {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--dark-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.filter-chip-modern:hover { border-color: var(--purple); color: var(--purple-light); }
.filter-chip-modern.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(139,92,246,0.3);
}

/* -- 产品网格 -- */
.product-grid-new {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 576px) { .product-grid-new { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .product-grid-new { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid-new { grid-template-columns: repeat(4, 1fr); } }

/* -- 产品卡片 -- */
.product-card-new {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--border);
}
.product-card-new:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(139,92,246,0.18);
}
.product-card-new:active { transform: translateY(-2px); }
.product-card-img {
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-card2), var(--dark-card));
}
.product-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card-new:hover .product-card-img img { transform: scale(1.08); }
.product-card-placeholder {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.08);
}
.product-card-brand {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
}
.product-card-brand--domestic { background: rgba(139,92,246,0.88); }
.product-card-brand--hongkong { background: rgba(212,175,55,0.9); color: #4a3000; }
.product-card-brand--international { background: rgba(109,40,217,0.88); }
.product-card-brand--other { background: rgba(107,114,128,0.85); }
.product-card-type {
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
}
.product-card-body { padding: 16px 18px 18px; }
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-card-price { font-size: 0.85rem; font-weight: 700; color: var(--gold); }
.product-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}
.product-card-new:hover .product-card-link { opacity: 1; transform: translateX(0); }

/* -- 品牌导航标签 -- */
.brand-nav-modern {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-nav-modern-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.brand-nav-modern-item:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  text-decoration: none;
}
.brand-nav-modern-item.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}
.brand-nav-modern-flag { font-size: 1.2rem; }
.brand-nav-modern-label { white-space: nowrap; }
.brand-nav-modern-count {
  background: rgba(255,255,255,0.1);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.brand-nav-modern-item.active .brand-nav-modern-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* -- 产品分组 -- */
.product-group { margin-bottom: 56px; }
.product-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.product-group-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.product-group-info { flex: 1; }
.product-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.product-group-desc { font-size: 0.85rem; color: var(--gray); margin: 2px 0 0 0; }
.product-group-count {
  background: var(--dark-card2);
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* -- 能力卡片 -- */
.ability-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  display: block;
}
.ability-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.ability-card:hover { transform: translateY(-6px); border-color: var(--purple); }
.ability-card:hover::before { transform: scaleX(1); }
.ability-card--hk::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.ability-card--intl::before { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.ability-card--domestic::before { background: linear-gradient(90deg, var(--purple-dark), #4C1D95); }
.ability-card-icon { font-size: 2.8rem; margin-bottom: 16px; }
.ability-card-title { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ability-card-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.ability-card-count {
  display: inline-block;
  background: var(--dark-card2);
  color: var(--purple-light);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ability-card-link {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.ability-card:hover .ability-card-link { letter-spacing: 1px; }

/* -- 城市卡片网格 -- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.city-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.city-card:hover { transform: translateY(-6px); border-color: var(--purple); }
.city-card-cover { height: 140px; overflow: hidden; }
.city-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.city-card:hover .city-card-cover img { transform: scale(1.08); }
.city-card-placeholder {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card2);
  color: var(--gray);
  font-size: 2rem;
}
.city-card-body { padding: 16px; text-align: center; }
.city-card-name { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 0 0 4px 0; }
.city-card-count { font-size: 0.85rem; color: var(--gray); }

/* -- 产品详情弹窗 -- */
.product-modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1050;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.product-modal-mask.show { display: flex; }
.product-modal-panel {
  background: var(--dark);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .product-modal-mask { align-items: center; }
  .product-modal-panel { border-radius: 20px; max-height: 85vh; }
}
@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.product-modal-close {
  position: sticky;
  top: 12px; right: 12px;
  float: right;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  color: var(--gray);
}
.product-modal-close:hover { background: rgba(255,255,255,0.12); }
.product-modal-hero {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  cursor: zoom-in;
}
.product-modal-hero img { width: 100%; height: 100%; object-fit: cover; max-height: 350px; }
.product-modal-loading { text-align: center; padding: 60px 20px; color: var(--gray); }
.product-modal-body { padding: 24px 28px 36px; }
.product-modal-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.product-modal-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.product-modal-tag.brand { background: rgba(212,175,55,0.15); color: var(--gold); }
.product-modal-tag.type { background: rgba(139,92,246,0.12); color: var(--purple-light); }
.product-modal-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.product-modal-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(212,175,55,0.08);
  border-radius: 8px;
  display: inline-block;
}
.product-modal-summary {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--dark-card);
  border-radius: 12px;
  border-left: 3px solid var(--purple);
}
.product-modal-content { font-size: 0.95rem; color: var(--gray-light); line-height: 1.9; }
.product-modal-content p { margin-bottom: 12px; }
.product-modal-cases { margin-top: 24px; }
.product-modal-cases h4 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 16px; display: flex; align-items: center;
}
.case-show-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-show-img:hover { transform: scale(1.02); }

/* -- 图片灯箱 -- */
.lightbox-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1060;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-mask.show { display: flex; }
.lightbox-mask img {
  max-width: 95%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 4px;
  animation: lightboxZoom 0.25s ease;
}
@keyframes lightboxZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }

/* -- 空态 -- */
.empty-state-icon { opacity: 0.3; }

/* -- 产品页响应式 -- */
@media (max-width: 767.98px) {
  .brand-nav-modern { gap: 8px; }
  .brand-nav-modern-item { padding: 8px 14px; font-size: 0.85rem; }
  .city-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .product-group-header { flex-wrap: wrap; }
  .product-group-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .product-group-title { font-size: 1.1rem; }
}

/* ===== 产品资源库 Hero ===== */
.products-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1030 40%, #0d1a2d 100%);
  overflow: hidden;
  text-align: center;
}
.products-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--purple), transparent);
}
.products-hero .container { position: relative; z-index: 1; }
.products-hero .hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
}
.products-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.products-hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ===== 品牌导航（产品页）===== */
.brand-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.brand-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.brand-nav-item:hover { border-color: var(--purple); color: var(--purple-light); text-decoration: none; }
.brand-nav-item.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}
.brand-nav-flag { font-size: 1.2rem; }
.brand-nav-label { white-space: nowrap; }
.brand-nav-count {
  background: rgba(255,255,255,0.1);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
/* ===== 品牌导航（产品页）===== */
.brand-nav-item.active .brand-nav-count { background: rgba(255,255,255,0.2); }

/* ===== 搜索栏（产品页 · 新，对齐 lxtx search-box-modern）===== */

/* ===== 能力卡片网格（产品页 · 新，使用 Bootstrap row g-4 + col-md-4）===== */

/* ===== 业务分组 Header（产品页）===== */
.product-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.product-group-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.product-group-info { flex: 1; }
.product-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.product-group-desc { font-size: 0.85rem; color: var(--gray); margin: 2px 0 0 0; }
.product-group-count {
  background: var(--dark-card2);
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ===== 产品网格（3列）===== */
.product-grid-new {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 576px) { .product-grid-new { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .product-grid-new { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid-new { grid-template-columns: repeat(4, 1fr); } }

/* ===== CTA Banner（产品页）===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(212,175,55,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 64px;
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--gray); margin-bottom: 24px; }

/* ===== 空态 ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}
.empty-state-icon { font-size: 4rem; opacity: 0.3; margin-bottom: 16px; }
.empty-state-text { font-size: 1.1rem; }
.empty-state-sub { font-size: 0.85rem; opacity: 0.6; margin-top: 8px; }

/* ===== 响应式（产品页）===== */
@media (max-width: 767.98px) {
  .products-hero { padding: 60px 0 48px; }
  .products-hero h1 { font-size: 28px; }
  .brand-nav { gap: 8px; }
  .brand-nav-item { padding: 8px 14px; font-size: 0.85rem; }
  .ability-cards { grid-template-columns: 1fr; }
  .product-search-bar { padding: 4px; }
  .cta-banner { padding: 32px 20px; }
}
@media (max-width: 540px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
}

/* -- Minimal Grid Utilities (no Bootstrap dependency) -- */
.row { display: flex; flex-wrap: wrap; }
.col-lg-6 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 calc(33.333% - 1rem); max-width: calc(33.333% - 1rem); }
  .col-md-6 { flex: 0 0 calc(50% - 1rem); max-width: calc(50% - 1rem); }
}
@media (min-width: 992px) {
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
}
.g-4 { gap: 1.5rem; }
.g-4 > .col-md-4,
.g-4 > .col-md-6,
.g-4 > .col-lg-6 { flex-basis: auto; }
.row.g-4 { margin: 0; }
@media (max-width: 767.98px) {
  .g-4 > .col-md-4,
  .g-4 > .col-md-6 { flex-basis: 100%; }
}
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.gap-3 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.text-primary { color: var(--purple-light); }
.text-muted { color: var(--gray); }
.text-white { color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ===== 间距工具类（对齐 lxtx products.php）===== */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }
.pt-0 { padding-top: 0 !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pt-2 { padding-top: 0.5rem !important; }

/* ===== Page Header（对齐 lxtx .page-header）===== */
.page-header {
  background: linear-gradient(135deg, var(--dark), #0a0a0a);
  padding: 100px 0 50px;
  color: #fff;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

/* ===== Products Hero 变体（对齐 lxtx .products-hero .page-header-sub 等）===== */
.products-hero .page-header-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 2;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}
.products-hero .hero-stats {
  justify-content: center;
}

/* ===== Hero Badge（对齐 lxtx .hero-badge）===== */
.hero-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  color: var(--purple-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ===== Page Header Sub（对齐 lxtx .page-header-sub）===== */
.page-header-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== Search Box Modern（对齐 lxtx .search-box-modern）===== */
.search-box-modern {
  display: flex;
  align-items: center;
  background: var(--dark-card);
  border-radius: 50px;
  padding: 4px;
  box-shadow: var(--shadow-purple);
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.search-box-modern:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.search-box-modern input {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  padding: 10px 12px 10px 8px;
  font-size: 0.95rem;
  color: var(--light);
  width: 100%;
  outline: none;
}
.search-box-modern input::placeholder { color: var(--gray); }
.search-box-modern .search-icon {
  font-size: 1.1rem;
  color: var(--gray);
  margin-left: 16px;
}
.search-box-modern .btn {
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== 能力卡片（对齐 lxtx .ability-card，支持 Bootstrap col-md-4 包裹）===== */
.ability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--dark-card);
  border-radius: 16px;
  padding: 40px 28px;
  color: inherit;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ability-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.ability-card--domestic::after { background: var(--purple); }
.ability-card--hk::after { background: var(--gold); }
.ability-card--intl::after { background: #3b5998; }
.ability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  color: inherit;
  border-color: transparent;
}
.ability-card:hover::after { transform: scaleX(1); }
.ability-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.ability-card--domestic .ability-card-icon { background: rgba(139,92,246,0.12); color: var(--purple-light); }
.ability-card--hk .ability-card-icon       { background: rgba(212,175,55,0.12); color: var(--gold); }
.ability-card--intl .ability-card-icon     { background: rgba(59,89,152,0.15); color: #3b5998; }
.ability-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white) !important;
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
}
.ability-card-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex: 1;
  max-width: 340px;
}
.ability-card-count {
  display: inline-flex;
  align-items: baseline;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.ability-card-count::after {
  content: '个资源';
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  margin-left: 6px;
}
.ability-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-light);
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: auto;
  transition: all 0.3s;
}
.ability-card:hover .ability-card-link { gap: 10px; }

/* ===== 品牌导航（对齐 lxtx .brand-nav）===== */
.brand-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--dark-card);
  border-radius: 16px;
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}
.brand-nav-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--purple);
  color: var(--purple-light);
}
.brand-nav-item.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}
.brand-nav-item.active .brand-nav-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.brand-nav-flag { font-size: 1.3rem; }
.brand-nav-label { font-weight: 600; }
.brand-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--dark-card2);
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 8px;
}

/* ===== 产品分组（对齐 lxtx .product-group）===== */
.product-group {
  margin-bottom: 48px;
}
.product-group:last-child { margin-bottom: 0; }
.product-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.product-group-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.product-group-info { flex: 1; }
.product-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.product-group-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 4px 0 0;
}
.product-group-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}

/* ===== 响应式：适配 section-padding ===== */
@media (max-width: 991.98px) {
  .section-padding { padding: 60px 0; }
  .section-padding-sm { padding: 40px 0; }
  .page-header { padding: 80px 0 30px; }
  .page-header h1 { font-size: 1.5rem; }
}
@media (max-width: 767.98px) {
  .section-padding { padding: 40px 0; }
  .section-padding-sm { padding: 24px 0; }
  .ability-card { padding: 32px 20px; }
  .ability-card-icon { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: 18px; }
  .ability-card-title { font-size: 1.05rem; }
  .ability-card-count { font-size: 1.6rem; }
  .product-group { margin-bottom: 36px; }
}

/* ===== 语言切换补充（对齐 lxtx）===== */
.lang-en-block { display: none; }
html.lang-en .lang-en-block { display: block !important; }
.lang-en-flex { display: none; }
html.lang-en .lang-en-flex { display: flex !important; }

/* ===== 工具类补充 ===== */
.d-flex { display: flex; }

