/* GANx Labs — 参考 Apple 产品营销页（如 MacBook Pro）：层次灰阶、色带交替、链接蓝 */
:root {
  --bg: #fbfbfd;
  --bg-elevated: #f5f5f7;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-tertiary: #86868b;
  --text-on-dark: #f5f5f7;
  --text-on-dark-muted: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-dim: rgba(0, 113, 227, 0.08);
  --accent-promo: #bf4800;
  --border: #d2d2d7;
  --link: #06c;
  --link-hover: #0077ed;
  --success: #34c759;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: var(--font-sans);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 980px;
  --header-h: 64px;
  --container: min(980px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 固定顶栏：/hash 锚点与 scrollIntoView 时预留顶栏高度，避免标题贴顶或被遮挡 */
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  box-sizing: border-box;
  background: #ffffff;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0; /* 容错：避免文字残留占位（实际为 logo-img） */
  position: relative;
  left: 80px; /* 让 logo 更靠近中间导航列表 */
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.header-mobile-logo {
  display: none;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  font-size: 0;
  position: relative;
  z-index: 103;
}

.header-mobile-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.nav {
  position: absolute;
  left: 50%;
  top: calc(50% + 6px);
  transform: translate(-50%, -50%);
  width: auto;
  max-width: calc(100vw - 320px);
  overflow-x: hidden; /* 不要横向滚动条：不够就自动折叠菜单 */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-lang {
  margin-left: 8px;
}

.lang-select {
  padding: 8px 28px 8px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: #000;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23444444' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: color 0.2s, border-color 0.2s;
}

.lang-select:hover,
.lang-select:focus {
  color: #000;
  border-color: var(--text);
  outline: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-logo-li {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 8px; /* 固定高度+flex居中，避免上下留白不一致 */
}

.nav-logo-link {
  font-size: 0; /* 仅作为图标导航，不展示文字 */
}

.nav-logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.nav-list > li > a,
.nav-list .nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 400;
  color: #000;
  transition: color 0.2s, background 0.2s;
  border-radius: var(--radius);
  white-space: nowrap;
  line-height: 1; /* 保证文字上下留白视觉一致 */
  height: 44px; /* 强制每个导航项同高度，从根上保证上下留白一致 */
}

.nav-list a:hover,
.nav-trigger:hover {
  color: #000;
}

.nav-list > li > a.is-active {
  color: #000;
  background: rgba(0, 113, 227, 0.12);
}

.nav-list > li > a.is-active:hover {
  color: #000;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  color: #000;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.dropdown li a:hover {
  color: #000;
  background: var(--accent-dim);
}

.dropdown-cases {
  min-width: 180px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  position: relative;
  z-index: 101;
  margin-left: auto; /* logo removed: keep hamburger on the right */
}

/* 当导航文字放不下时，自动折叠（不依赖屏幕宽度） */
.header.nav-collapse .menu-toggle {
  display: flex;
}

.header.nav-collapse .header-mobile-logo {
  display: inline-flex;
}

.header.nav-collapse .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  min-height: 100vh;
  z-index: 98;
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0) + 20px) 24px 28px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.32s ease, visibility 0s linear 0.32s;
  max-width: none;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.header.nav-collapse .nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.32s ease, visibility 0s;
}

.header.nav-collapse .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  width: 100%;
  padding-top: 8px;
}

.header.nav-collapse .nav-logo-li {
  display: none;
}

.header.nav-collapse .nav-list > li > a,
.header.nav-collapse .nav-list .nav-trigger {
  padding: 16px 18px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.15;
  height: auto;
  color: #000;
  border-radius: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s ease, transform 0.34s ease, color 0.2s ease, background-color 0.2s ease;
}

.header.nav-collapse .nav.is-open .nav-list > li > a,
.header.nav-collapse .nav.is-open .nav-list .nav-trigger {
  opacity: 1;
  transform: translateY(0);
}

.header.nav-collapse .nav-list > li > a:hover,
.header.nav-collapse .nav-list > li > a:focus-visible,
.header.nav-collapse .nav-list .nav-trigger:hover,
.header.nav-collapse .nav-list .nav-trigger:focus-visible,
.header.nav-collapse .nav-list > li > a.is-active {
  background: rgba(0, 113, 227, 0.08);
  outline: none;
}

.header.nav-collapse .nav.is-open .nav-list > li:nth-child(1) > a,
.header.nav-collapse .nav.is-open .nav-list > li:nth-child(1) > .nav-trigger {
  transition-delay: 0.04s;
}

.header.nav-collapse .nav.is-open .nav-list > li:nth-child(2) > a,
.header.nav-collapse .nav.is-open .nav-list > li:nth-child(2) > .nav-trigger {
  transition-delay: 0.08s;
}

.header.nav-collapse .nav.is-open .nav-list > li:nth-child(3) > a,
.header.nav-collapse .nav.is-open .nav-list > li:nth-child(3) > .nav-trigger {
  transition-delay: 0.12s;
}

.header.nav-collapse .nav.is-open .nav-list > li:nth-child(4) > a,
.header.nav-collapse .nav.is-open .nav-list > li:nth-child(4) > .nav-trigger {
  transition-delay: 0.16s;
}

.header.nav-collapse .nav.is-open .nav-list > li:nth-child(5) > a,
.header.nav-collapse .nav.is-open .nav-list > li:nth-child(5) > .nav-trigger {
  transition-delay: 0.2s;
}

.header.nav-collapse .nav-list .nav-lang {
  margin-top: 20px;
  padding-top: 10px;
}

.header.nav-collapse .nav-list .lang-select {
  padding: 0 32px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(29, 29, 31, 0.72);
  width: auto;
  min-width: 84px;
  height: 24px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-position: right 2px center;
  background-size: 10px 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s ease, transform 0.34s ease, color 0.2s ease;
}

.header.nav-collapse .nav.is-open .nav-list .lang-select {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.header.nav-collapse .nav-list .lang-select:hover,
.header.nav-collapse .nav-list .lang-select:focus {
  color: #000;
  border-color: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0)) 24px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f5f7 0%, #fbfbfd 45%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* 多色星尘：蓝色冷光 + 金色暖光 + 重复粒子点阵（接近苹果产品页的“质感背景”） */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 113, 227, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 55%, rgba(255, 190, 90, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 60%, rgba(191, 72, 0, 0.10) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 113, 227, 0.40) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 190, 90, 0.35) 0 1px, transparent 1.8px);
  background-size:
    auto, auto, auto,
    110px 110px,
    160px 160px,
    210px 210px;
  background-position:
    center,
    center,
    center,
    20px 35px,
    50px 80px,
    10px 20px;
  background-repeat:
    no-repeat, no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: min(692px, 92vw);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-promo);
  margin: 0 0 12px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(16px);
}

.hero.hero-in .hero-eyebrow {
  animation: hero-slide-in 0.75s ease-out 0.05s forwards;
}

/* 中文环境取消全大写时仍保持字距 */
:lang(zh-CN) .hero-eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 11vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 18px;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
}

.hero.hero-in h1 {
  animation: hero-title-in 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.12s forwards;
}

@keyframes hero-title-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 16px;
  min-height: 1.35em;
  opacity: 0;
  transform: translateY(24px);
}

/* 副标题由 JS 逐字打出；开始打字时出现 */
.hero.hero-in.hero-tagline-typing .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text-tertiary);
  margin: 0 0 36px;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(24px);
}

/* 副标题打字完成后：描述与按钮再滑入 */
.hero.hero-in.hero-tagline-done .hero-desc {
  animation: hero-slide-in 0.9s ease-out forwards;
}

.hero.hero-in.hero-tagline-done .hero-cta {
  animation: hero-slide-in 0.9s ease-out 0.33s forwards;
}

@keyframes hero-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  font-family: var(--font-body);
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
}

.hero-cta .btn {
  font-family: var(--font-body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

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

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

.btn-white {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--accent);
}

.btn-white:hover {
  border-color: var(--accent);
  background: #ffffff;
  color: var(--accent-hover);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: 1px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections — 与 Apple 产品页类似的纵向节奏与色带 */
.section {
  padding: 100px 24px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.scroll-in {
  opacity: 1;
  transform: translateY(0);
}

.section:last-of-type {
  margin-bottom: 0;
}

/* Two-column layout: Career + Academy */
.two-col-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 0;
  max-width: none;
  width: 100%;
  margin: 0 auto 24px;
}

/* Six main panels: add white frame */
#services,
#cases,
#academy,
#network,
#career,
#contact {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0 !important;
  background-clip: padding-box;
}

/* 缩小相邻板块间空白：服务 -> GANx Academy/Network */
#services-cases,
#contact-network,
#career-academy {
  margin-bottom: 24px !important;
}

/* 首页（Hero）与「服务体系 + 成功案例」之间留白，与其它外框组之间的 24px 节奏一致 */
#services-cases {
  margin-top: 24px !important;
  /* 导航点到「服务与案例」时：在顶栏避让之外再多留一行与区块间一致的留白，落在间隙一带而不是直接顶住卡片 */
  scroll-margin-top: 24px;
}

/* 导航点到「学院与网络 / 职业与合作」时：落点同样避开卡片顶端，停在留白外框区域 */
#contact-network,
#career-academy {
  margin-top: 24px !important;
  scroll-margin-top: 24px;
}

.two-col-sections .section {
  margin-bottom: 0 !important;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* GANx Academy 顶部留白减少一半 */
#career-academy .section-academy {
  padding-top: 24px;
}

@media (max-width: 900px) {
  .two-col-sections {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
  }
  .two-col-sections .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.07;
  margin: 0 0 14px;
  text-align: center;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.5;
  max-width: 38em;
  margin: 0 auto 52px;
}

/* Services grid */
.section-services {
  background: var(--bg-elevated);
  background-image:
    radial-gradient(ellipse 60% 60% at 15% 15%, rgba(0, 113, 227, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 85% 65%, rgba(255, 190, 90, 0.16) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 113, 227, 0.65) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    100px 100px,
    150px 150px;
  background-position:
    center,
    center,
    20px 30px,
    70px 90px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  font-family: var(--font-body);
}

.section-services .section-title,
.section-services .section-subtitle {
  font-family: var(--font-body);
}

/* 词云图：关键字大小不一、流式排列，点击弹出服务卡片，一行约 5–6 个词 */
.services-wordcloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px;
}

.service-keyword {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  border-radius: var(--radius);
  opacity: 0;
  /* 入场仅用 opacity，避免与内层 transform 缩放冲突；悬停放大见 .service-keyword-inner */
  transition: opacity 0.35s ease;
}

.service-keyword-inner {
  display: inline-block;
  transform-origin: center center;
  color: inherit;
  transition:
    color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* 入场结束后再允许悬停放大（由 JS 添加 .service-keyword-ready，并有 MutationObserver 兜底） */
.service-keyword.service-keyword-ready:hover {
  z-index: 2;
}

.service-keyword.service-keyword-ready:hover .service-keyword-inner,
.service-keyword.service-keyword-ready:focus-visible .service-keyword-inner {
  color: var(--accent);
  transform: scale(1.12);
}

.service-keyword.service-keyword-ready:active .service-keyword-inner {
  transform: scale(1.06);
  transition-duration: 0.15s;
}

.section-services.scroll-in .service-keyword:nth-child(odd) {
  animation: service-kw-fade-in 0.5s ease-out forwards;
}

.section-services.scroll-in .service-keyword:nth-child(even) {
  animation: service-kw-fade-in 0.5s ease-out forwards;
}

.section-services.scroll-in .service-keyword:nth-child(1) { animation-delay: 0s; }
.section-services.scroll-in .service-keyword:nth-child(2) { animation-delay: 0.08s; }
.section-services.scroll-in .service-keyword:nth-child(3) { animation-delay: 0.16s; }
.section-services.scroll-in .service-keyword:nth-child(4) { animation-delay: 0.24s; }
.section-services.scroll-in .service-keyword:nth-child(5) { animation-delay: 0.32s; }
.section-services.scroll-in .service-keyword:nth-child(6) { animation-delay: 0.4s; }
.section-services.scroll-in .service-keyword:nth-child(7) { animation-delay: 0.48s; }
.section-services.scroll-in .service-keyword:nth-child(8) { animation-delay: 0.56s; }
.section-services.scroll-in .service-keyword:nth-child(9) { animation-delay: 0.64s; }
.section-services.scroll-in .service-keyword:nth-child(10) { animation-delay: 0.72s; }
.section-services.scroll-in .service-keyword:nth-child(11) { animation-delay: 0.8s; }
.section-services.scroll-in .service-keyword:nth-child(12) { animation-delay: 0.88s; }
.section-services.scroll-in .service-keyword:nth-child(13) { animation-delay: 0.96s; }
.section-services.scroll-in .service-keyword:nth-child(14) { animation-delay: 1.04s; }
.section-services.scroll-in .service-keyword:nth-child(15) { animation-delay: 1.12s; }
.section-services.scroll-in .service-keyword:nth-child(16) { animation-delay: 1.2s; }

@keyframes service-kw-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 词云：不同字号营造云图效果 */
.service-keyword:nth-child(1) { font-size: 1.88rem; }
.service-keyword:nth-child(2) { font-size: 1.52rem; }
.service-keyword:nth-child(3) { font-size: 1.76rem; }
.service-keyword:nth-child(4) { font-size: 1.4rem; }
.service-keyword:nth-child(5) { font-size: 1.6rem; }
.service-keyword:nth-child(6) { font-size: 1.48rem; }
.service-keyword:nth-child(7) { font-size: 1.36rem; }
.service-keyword:nth-child(8) { font-size: 1.56rem; }
.service-keyword:nth-child(9) { font-size: 1.64rem; }
.service-keyword:nth-child(10) { font-size: 1.44rem; }
.service-keyword:nth-child(11) { font-size: 1.72rem; }
.service-keyword:nth-child(12) { font-size: 1.8rem; }
.service-keyword:nth-child(13) { font-size: 1.52rem; }
.service-keyword:nth-child(14) { font-size: 1.32rem; }
.service-keyword:nth-child(15) { font-size: 1.4rem; }
.service-keyword:nth-child(16) { font-size: 1.6rem; }

/* 服务详情卡片弹窗 */
.service-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.service-detail-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-detail-modal[hidden] {
  display: none !important;
}

.service-detail-modal:not([hidden]).is-open {
  display: flex;
}

.service-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.service-detail-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 28px 28px;
  padding-right: 48px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}

.service-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.service-detail-close:hover {
  color: var(--text);
}

.service-detail-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
}

.service-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* KOL 申请表单弹窗 */
.kol-form-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.kol-form-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.kol-form-modal[hidden] {
  display: none !important;
}

.kol-form-modal:not([hidden]).is-open {
  display: flex;
}

.kol-form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.kol-form-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  padding-right: 48px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}

.kol-form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.kol-form-close:hover {
  color: var(--text);
}

.kol-form-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 20px;
}

.kol-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kol-form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.kol-form-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
}

.kol-form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.kol-form-message {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  min-height: 1.4em;
}

.kol-form-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Cases */
.section-cases {
  background: var(--bg-card);
  background-image:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(111, 70, 255, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 10% 90%, rgba(255, 190, 90, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(111, 70, 255, 0.55) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    120px 120px,
    170px 170px;
  background-position:
    center,
    center,
    10px 20px,
    90px 120px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  font-family: var(--font-body);
}

.section-cases .case-card {
  /* 入场动画：慢慢滑动转进来 */
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 1s ease-out,
    transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.section-cases.scroll-in .case-card {
  opacity: 1;
  transform: translateX(0);
}

.section-cases .section-title,
.section-cases .section-subtitle {
  font-family: var(--font-body);
}

.cases-carousel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -24px;
}

.cases-carousel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.cases-track {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 24px 24px;
}

.cases-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  padding: 24px;
  margin: 0 8px 0 0;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 0;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}

.cases-track .case-card:last-child {
  margin-right: 24px;
}

.case-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.case-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.case-card-logo {
  display: inline-flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.case-card-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-card-subtitle {
  margin: 0;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.case-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-metric-value {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--success);
  letter-spacing: -0.02em;
}

.case-metric-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.case-card-desc {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  min-height: 0;
}

.case-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.case-card-footer-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.case-card-status-dot.case-status-active {
  background: var(--success);
}

.case-card-status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.case-card-outlink {
  display: inline-flex;
  color: var(--text-muted);
  transition: opacity 0.2s;
}

.case-card-outlink:hover {
  opacity: 0.8;
}

.case-card-outlink img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.cases-nav-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cases-nav-btn:hover {
  color: var(--text);
  border-color: var(--text);
}

.cases-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cases-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.cases-dot:hover {
  background: var(--text-muted);
}

.cases-dot.is-active {
  background: var(--text);
}

/* 案例弹窗 */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

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

.case-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.case-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}

.case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.case-modal-close:hover {
  color: var(--text);
}

.case-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  padding: 24px 24px 0;
  padding-right: 52px;
  letter-spacing: -0.02em;
}

.case-modal-body {
  padding: 16px 24px 24px;
}

.case-modal-panel {
  display: none;
}

.case-modal-panel.is-active {
  display: block;
}

.case-modal-intro {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.case-modal-data {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-line;
}

/* Contact */
.section-contact {
  background: var(--bg-elevated);
  background-image:
    radial-gradient(ellipse 60% 55% at 15% 20%, rgba(0, 209, 255, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 80% 70%, rgba(191, 72, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 209, 255, 0.55) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    110px 110px,
    160px 160px;
  background-position:
    center,
    center,
    40px 40px,
    30px 110px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  font-family: var(--font-body);
  text-align: center;
}

.section-contact .section-title,
.section-contact .section-subtitle,
.section-contact .contact-block p,
.section-contact .contact-note {
  font-family: var(--font-body);
}

.contact-block {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.contact-block p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.contact-email {
  display: inline-block;
  margin: 8px 0 16px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.contact-email:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.contact-email.btn-primary,
.contact-email.btn-primary:hover {
  color: #ffffff;
  text-decoration: none;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Network — 深色通栏，接近 Apple 产品页 CTA 区 */
.section-network {
  background: #1d1d1f;
  background-image:
    radial-gradient(ellipse 65% 55% at 25% 10%, rgba(0, 113, 227, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 80% 75%, rgba(255, 190, 90, 0.18) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 113, 227, 0.25) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    160px 160px,
    240px 240px;
  background-position:
    center,
    center,
    15px 25px,
    80px 110px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
  text-align: center;
  font-family: var(--font-body);
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-network .section-title,
.section-network .section-title-brand {
  color: var(--text-on-dark);
}

.section-network .section-subtitle,
.section-network .network-desc {
  color: var(--text-on-dark-muted);
}

/* Career: 直接与 GANx Network 背景/文字颜色一致（覆盖所有旧规则） */
.section-career {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-career .section-title,
.section-career .section-title-brand {
  color: var(--text-on-dark);
}

.section-career .section-subtitle,
.section-career .career-desc {
  color: var(--text-on-dark-muted);
}

/* Final: force center alignment for the 4 panels */
#contact,
#network,
#career,
#academy {
  text-align: center !important;
}

/* Career card title should be centered inside each card */
#career .career-card {
  text-align: center;
}

/* Career heading/subtitle: 下移 5px */
#career [data-i18n="section_career"],
#career [data-i18n="section_career_sub"] {
  position: relative;
  top: 5px;
}

/* Vertical centering inside each panel's "card length" */
#contact .container,
#network .container,
#career .container,
#academy .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  #contact .container,
  #network .container,
  #career .container,
  #academy .container {
    height: auto;
    justify-content: flex-start;
  }
}

/* Career: 与服务体系同款黑色星空 & 文字深色(on-dark) */
.section-career {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-career .section-title,
.section-career .section-title-brand {
  color: var(--text-on-dark);
}

.section-career .section-subtitle,
.section-career .career-desc {
  color: var(--text-on-dark-muted);
}

/* Career: 跟 GANx Network 同款黑色星空背景（专业感） */
.section-career {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-career .section-title,
.section-career .section-subtitle,
.section-career .career-desc {
  color: var(--text-on-dark-muted);
}

.section-career .section-title {
  color: var(--text-on-dark);
}

.section-network .section-title,
.section-network .section-subtitle,
.section-network .network-desc,
.section-network .network-btn {
  font-family: var(--font-body);
}

.section-title-brand {
  font-family: var(--font-display);
  font-weight: 600;
}

.network-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.network-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.network-btns .network-btn {
  min-width: 160px;
}

/* Career */
.section-career {
  background: var(--bg-card);
  background-image:
    radial-gradient(ellipse 55% 50% at 10% 60%, rgba(52, 199, 89, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 90% 20%, rgba(0, 113, 227, 0.14) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(52, 199, 89, 0.55) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    120px 120px,
    200px 200px;
  background-position:
    center,
    center,
    30px 50px,
    90px 140px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  font-family: var(--font-body);
}

.section-career .section-title,
.section-career .section-subtitle,
.section-career .career-desc {
  text-align: center;
  font-family: var(--font-body);
}

.career-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  line-height: 1.7;
}

.career-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.career-card {
  flex: 1 1 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.career-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.career-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.career-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* 职位详情弹层 */
.career-job-popover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.career-job-popover.is-open {
  opacity: 1;
  visibility: visible;
}

.career-job-popover[hidden] {
  display: none !important;
}

.career-job-popover:not([hidden]).is-open {
  display: flex;
}

.career-job-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.career-job-popover-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 48px 28px 28px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

.career-job-popover-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.career-job-popover-close:hover {
  color: var(--text);
}

.career-job-popover-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.career-job-popover-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  white-space: pre-line;
}

.career-job-popover-apply {
  align-self: flex-end;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  text-decoration: none;
}

/* Academy */
.section-academy {
  background: var(--bg-elevated);
  background-image:
    radial-gradient(ellipse 60% 55% at 70% 20%, rgba(255, 190, 90, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 20% 70%, rgba(0, 113, 227, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 190, 90, 0.55) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    115px 115px,
    185px 185px;
  background-position:
    center,
    center,
    10px 20px,
    120px 90px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  text-align: center;
  font-family: var(--font-body);
}

.section-academy .section-title,
.section-academy .section-subtitle,
.section-academy .academy-desc,
.section-academy .btn {
  font-family: var(--font-body);
}

.academy-desc {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-tertiary);
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}

.section-academy.scroll-in .academy-desc,
.section-contact.scroll-in .academy-desc {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* 保底：不抢动画，直接触发同款 hero-slide-in */
.section.scroll-in .academy-desc {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* Network: 介绍文字慢慢滑入（同 hero-desc） */
.section-network .network-desc {
  opacity: 0;
  transform: translateY(24px);
}

.section-network.scroll-in .network-desc {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* Contact: 联系段落慢慢滑入（同 hero-desc） */
.section-contact .contact-block p[data-i18n="contact_lead"] {
  opacity: 0;
  transform: translateY(24px);
}

.section-contact.scroll-in .contact-block p[data-i18n="contact_lead"] {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* 触发更稳：不依赖 section-contact scroll-in 组合 */
.section.scroll-in .contact-block p[data-i18n="contact_lead"] {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* Career: 职位简介段落慢慢滑入（同 hero-desc） */
.section-career .career-desc {
  opacity: 0;
  transform: translateY(24px);
}

.section-career.scroll-in .career-desc {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

/* Academy 侧：你的英文 contact_lead 实际在 section-academy 里 */
.section-academy .contact-block p[data-i18n="contact_lead"] {
  opacity: 0;
  transform: translateY(24px);
}

.section-academy.scroll-in .contact-block p[data-i18n="contact_lead"] {
  animation: hero-slide-in 0.9s ease-out 0.72s forwards;
}

.academy-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.section-academy .academy-btn {
  font-family: var(--font-body);
}

.academy-coming {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  width: 100%;
}

/* About */
.section-about {
  background: var(--bg-card);
  background-image:
    radial-gradient(ellipse 55% 50% at 15% 15%, rgba(0, 209, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 85% 85%, rgba(52, 199, 89, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 209, 255, 0.55) 0 1px, transparent 1.8px);
  background-size:
    auto,
    auto,
    130px 130px,
    210px 210px;
  background-position:
    center,
    center,
    25px 35px,
    70px 120px;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  background-blend-mode: screen;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
}

.section-about .section-title,
.section-about .section-subtitle,
.section-about .about-content p,
.section-about .founder-role {
  font-family: var(--font-body);
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* 让“关于我们”四段更长行：扩大该区域容器宽度，仅限 about */
#about .container {
  max-width: 1470px;
}

.about-col p {
  margin: 0;
}

.about-col p:last-child {
  margin-bottom: 0;
}

.about-content p {
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.75;
  white-space: pre-line; /* 允许 i18n 文案里的 \n 正常换行 */
  text-indent: 2em; /* 首行缩进 */
  text-align: justify; /* 两端对齐（中英文通用） */
  text-align-last: left; /* 最后一行保持左对齐，避免中英文间距异常 */
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* About：四段依次渐入 */
.section-about .about-content p[data-i18n="about_p1a"],
.section-about .about-content p[data-i18n="about_p1b"],
.section-about .about-content p[data-i18n="about_p2a"],
.section-about .about-content p[data-i18n="about_p2b"] {
  opacity: 0;
  transform: translateY(24px);
}

.section-about.scroll-in .about-content p[data-i18n="about_p1a"] {
  animation: hero-slide-in 1.8s ease-out 0s forwards;
}

.section-about.scroll-in .about-content p[data-i18n="about_p1b"] {
  animation: hero-slide-in 1.8s ease-out 0.24s forwards;
}

.section-about.scroll-in .about-content p[data-i18n="about_p2a"] {
  animation: hero-slide-in 1.8s ease-out 0.48s forwards;
}

.section-about.scroll-in .about-content p[data-i18n="about_p2b"] {
  animation: hero-slide-in 1.8s ease-out 0.72s forwards;
}

.about-founder {
  margin-top: 48px;
  padding-top: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.founder-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}

.founder-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.founder-card {
  max-width: 400px;
  flex: 1 1 320px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.founder-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.founder-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.founder-info {
  flex: 1;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.founder-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.founder-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.founder-link {
  display: inline-flex;
  color: var(--text-muted);
  transition: opacity 0.2s;
}

.founder-link:hover {
  opacity: 0.7;
}

.founder-link img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Founder 简介小卡片 */
.founder-bio-popover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.founder-bio-popover.is-open {
  opacity: 1;
  visibility: visible;
}

.founder-bio-popover[hidden] {
  display: none !important;
}

.founder-bio-popover:not([hidden]).is-open {
  display: flex;
}

.founder-bio-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.founder-bio-popover-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 24px 24px 24px 24px;
  padding-right: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
}

.founder-bio-popover-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.founder-bio-popover-close:hover {
  color: var(--text);
}

/* Founder 微信二维码弹层 */
.founder-wechat-popover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.founder-wechat-popover.is-open {
  opacity: 1;
  visibility: visible;
}

.founder-wechat-popover[hidden] {
  display: none !important;
}

.founder-wechat-popover:not([hidden]).is-open {
  display: flex;
}

.founder-wechat-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.founder-wechat-popover-card {
  position: relative;
  padding: 24px 44px 24px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.founder-wechat-popover-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.founder-wechat-popover-close:hover {
  color: var(--text);
}

.founder-wechat-popover-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}

.founder-wechat-popover-qr {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.founder-bio-popover-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.founder-bio-popover-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  text-indent: 2em;
}

.founder-bio-popover-bio-p {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  margin: 0 0 0.5em;
  text-indent: 2em;
}

.founder-bio-popover-bio-p:last-child {
  margin-bottom: 0;
}

.founder-link-email {
  font-size: 1.25rem;
  line-height: 24px;
  text-decoration: none;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 560px) {
  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .founder-links {
    justify-content: center;
  }
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, border-color 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.back-to-top:hover {
  border-color: var(--text);
}

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

.back-to-top-icon {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
}

/* Footer */
.footer {
  margin-top: 24px;
  padding: 0 24px 32px;
  font-family: var(--font-body);
}

/* 与分割线同宽、同左缘：与 .founder-card 两张卡 + gap 一致（min(824px, 100%)） */
.footer .container {
  max-width: min(824px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.footer .footer-copy {
  font-family: var(--font-body);
}

.footer-inner {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

/* 页脚左侧文字 logo 与导航冲突全局 .logo 样式，且与版权区左对齐需求无关，隐藏避免错位移位 */
.footer-inner > .logo {
  display: none;
}

.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* 页脚分隔符：X (Twitter) | 隐私策略 | 辅助功能 */
.footer-links > *:not(:first-child)::before {
  content: '|';
  margin-right: 20px;
  color: var(--text-tertiary);
}

.footer-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

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

.footer-link-btn {
  appearance: none;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 5ch 0 0; /* 与 X (Twitter)/Privacy Policy/Accessibility 之间增加约 5 个空格宽 */
}

/* 页脚小卡片（隐私策略、辅助功能） */
.footer-card-popover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.footer-card-popover.is-open {
  opacity: 1;
  visibility: visible;
}

.footer-card-popover[hidden] {
  display: none !important;
}

.footer-card-popover:not([hidden]).is-open {
  display: flex;
}

.footer-card-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.footer-card-popover-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 24px 44px 24px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
}

.footer-card-popover-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-card-popover-close:hover {
  color: var(--text);
}

.footer-card-popover-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.footer-card-popover-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  white-space: pre-line;
}

.footer-card-popover-body a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.footer-card-popover-body a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --header-h: 52px;
  }

  .header {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  .header-inner {
    position: relative;
    z-index: 102;
    background: transparent;
    min-height: 40px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .header-inner > .logo {
    position: relative;
    z-index: 103;
    left: 0;
  }

  .header-mobile-logo {
    display: inline-flex;
  }

  .header-mobile-logo-img {
    height: 20px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100vh;
    z-index: 98;
    background: rgba(251, 251, 253, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0) + 20px) 24px 28px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s ease, visibility 0s linear 0.32s;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.28s ease, transform 0.32s ease, visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
    padding-top: 8px;
  }

  .nav-logo-li {
    display: none;
  }

  .nav-list > li > a,
  .nav-trigger {
    padding: 16px 18px;
    font-size: 12px;
    height: auto;
    justify-content: flex-start;
    line-height: 1.15;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.34s ease, transform 0.34s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nav.is-open .nav-list > li > a,
  .nav.is-open .nav-trigger {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list > li > a:hover,
  .nav-list > li > a:focus-visible,
  .nav-trigger:hover,
  .nav-trigger:focus-visible,
  .nav-list > li > a.is-active {
    background: rgba(0, 113, 227, 0.08);
    outline: none;
  }

  .nav.is-open .nav-list > li:nth-child(1) > a,
  .nav.is-open .nav-list > li:nth-child(1) > .nav-trigger {
    transition-delay: 0.04s;
  }

  .nav.is-open .nav-list > li:nth-child(2) > a,
  .nav.is-open .nav-list > li:nth-child(2) > .nav-trigger {
    transition-delay: 0.08s;
  }

  .nav.is-open .nav-list > li:nth-child(3) > a,
  .nav.is-open .nav-list > li:nth-child(3) > .nav-trigger {
    transition-delay: 0.12s;
  }

  .nav.is-open .nav-list > li:nth-child(4) > a,
  .nav.is-open .nav-list > li:nth-child(4) > .nav-trigger {
    transition-delay: 0.16s;
  }

  .nav.is-open .nav-list > li:nth-child(5) > a,
  .nav.is-open .nav-list > li:nth-child(5) > .nav-trigger {
    transition-delay: 0.2s;
  }

  .nav-list .nav-lang {
    margin-top: 20px;
    padding-top: 10px;
  }

  .nav-list .lang-select {
    padding: 0 32px 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(29, 29, 31, 0.72);
    width: auto;
    min-width: 84px;
    height: 24px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    background-position: right 2px center;
    background-size: 10px 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.34s ease, transform 0.34s ease, color 0.2s ease;
  }

  .nav.is-open .nav-list .lang-select {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
  }

  .nav-list .lang-select:hover,
  .nav-list .lang-select:focus {
    color: #000;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 4px 0 4px 16px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: none;
    background: var(--bg-card);
    border-radius: var(--radius);
    transition: max-height 0.3s;
  }

  .has-dropdown.is-open .dropdown {
    max-height: 500px;
    padding: 8px;
    margin-bottom: 12px;
  }

  .dropdown-cases.is-open {
    max-height: 200px;
  }

  .menu-toggle {
    display: flex;
    z-index: 103;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .services-wordcloud {
    gap: 12px 18px;
    padding: 20px 12px;
  }

  .cases-carousel-row {
    margin: 0 -16px;
    gap: 8px;
  }
  .cases-track {
    padding: 8px 16px 24px;
  }
  .cases-track .case-card:last-child {
    margin-right: 16px;
  }
}

@media (max-width: 600px) {
  .services-wordcloud {
    gap: 10px 16px;
  }
  .case-card-metrics {
    gap: 10px 12px;
  }
  .case-metric-value {
    font-size: 1.35rem;
  }
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .section {
    margin-bottom: 14px;
  }
}

/* Unify backgrounds across all sections (match Home) */
.section-services,
.section-cases,
.section-contact,
.section-network,
.section-career,
.section-academy,
.section-about {
  background: linear-gradient(180deg, #f5f5f7 0%, #fbfbfd 45%, #ffffff 100%);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 113, 227, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 55%, rgba(255, 190, 90, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 60%, rgba(191, 72, 0, 0.10) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 113, 227, 0.40) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 190, 90, 0.35) 0 1px, transparent 1.8px);
  background-size:
    auto, auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text);
}

/* Restore dark section text colors to match the light theme */
.section-network .section-title,
.section-network .section-title-brand,
.section-network .section-subtitle,
.section-network .network-desc {
  color: var(--text);
}

.section-network .section-subtitle,
.section-network .network-desc {
  color: var(--text-tertiary);
}

/* Services: 黑色星空（专业感） */
.section-services {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-services .section-title {
  color: var(--text-on-dark);
}

.section-services .section-subtitle {
  color: var(--text-on-dark-muted);
}

.section-services .service-keyword {
  color: var(--text-on-dark);
}

/* Network: 跟服务体系同款黑色星空（专业感） */
.section-network {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-network .section-title,
.section-network .section-title-brand {
  color: var(--text-on-dark);
}

.section-network .section-subtitle,
.section-network .network-desc {
  color: var(--text-on-dark-muted);
}

/* Career: 最终覆盖（与 GANx Network 背景/文字完全一致） */
.section-career {
  background: #000;
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 12%, rgba(0, 113, 227, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 65%, rgba(191, 72, 0, 0.22) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(0, 113, 227, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 190, 90, 0.45) 0 1px, transparent 1.7px);
  background-size:
    auto, auto,
    110px 110px,
    190px 190px,
    260px 260px;
  background-position:
    center, center,
    20px 30px,
    70px 95px,
    120px 40px;
  background-repeat:
    no-repeat, no-repeat,
    repeat, repeat, repeat;
  background-blend-mode: screen;
  color: var(--text-on-dark);
}

.section-career .section-title,
.section-career .section-title-brand {
  color: var(--text-on-dark);
}

.section-career .section-subtitle,
.section-career .career-desc {
  color: var(--text-on-dark-muted);
}
