* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
  /* Typography scale */
  --fs-display: 64px;
  --fs-h1: 44px;
  --fs-h2: 28px;
  --fs-h3: 20px;
  --fs-h4: 16px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 13px;
  --fs-tiny: 12px;
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  /* Nav height variable */
  --nav-h: 56px;
  /* Line heights */
  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-normal: 1.6;
  --lh-relaxed: 1.7;
  --lh-loose: 1.8;
  /* Colors */
  --color-bg: #0a0e17;
  --color-text: #e0e6ed;
  --color-text-secondary: #8892b0;
  --color-text-muted: #4a5568;
  --color-accent: #00d4ff;
  --color-accent-2: #7b2ff7;
  --color-success: #00ff88;
  --color-warning: #ffaa00;
  --color-danger: #ff6b6b;
}
body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Segoe UI', system-ui, -apple-system, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans Devanagari', 'Noto Sans Hindi', sans-serif;
  overflow-x: hidden;
  line-height: var(--lh-normal);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 { transition-delay: 0s !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.nav-link { transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease; }
.nav-link:hover { transform: translateY(-1px); }

.card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,212,255,0.08); }

.stats-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stats-card:hover { transform: translateY(-2px); }
.stats-card > div:first-child { transition: transform 0.4s ease; }
.stats-card:hover > div:first-child { transform: scale(1.06); }

.grid-4 .card > div:first-child, .grid-2 .card > div:first-child { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.grid-4 .card:hover > div:first-child, .grid-2 .card:hover > div:first-child { transform: scale(1.06) rotate(-2deg); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0e17; }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.5); }

input::placeholder, textarea::placeholder { color: #4a5568; }
select option { background: #0a0e17; color: #e0e6ed; }

/* ---- Skip link for accessibility ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 8px 16px; background: #00d4ff; color: #000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 20px;
  display: flex; align-items: center;
  background: rgba(10,14,23,0.92); backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(0,212,255,0.15);
  box-shadow: 0 1px 8px rgba(0,0,0,0.3);
  transition: background 0.3s, border-color 0.3s;
  gap: 0;
  flex-wrap: wrap;
  touch-action: manipulation;       /* 禁用 300ms 点击延迟 + 双击缩放 */
  pointer-events: auto !important; /* 确保不被任何覆盖层遮挡 */
}
.nav-title {
  margin: 0;
  display: flex; align-items: center; gap: 12px;
  font-size: 28px; font-weight: 700;
  letter-spacing: 1px; white-space: nowrap;
  flex: 1 1 auto; min-width: 0; line-height: 1.2;
  padding: 0;
  -webkit-text-fill-color: initial;
  color: inherit;
}
.nav-title > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, #ffffff 0%, #b8dcff 40%, #00d4ff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.nav-title > .lang-switch {
  margin-left: auto;
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}
.nav-title > .lang-switch .lang-select {
  -webkit-text-fill-color: initial;
  color: var(--color-accent);
  background: rgba(0,212,255,0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center;
}
.nav-title-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.4));
}
.nav-menu {
  display: flex; gap: 12px; align-items: center;
}
.nav-link {
  color: #6cc8e0; font-size: 12px; font-weight: 500;
  padding: 7px 14px; border-radius: 6px;
  background: transparent;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  letter-spacing: 0.1px;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link:focus-visible {
  color: #00d4ff;
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.3);
}
.nav-link.active {
  color: #00d4ff;
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.nav-toggle { display: none; background: none; border: none; color: #00d4ff; cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.3s; }
.nav-toggle:hover { background: rgba(0,212,255,0.1); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hamburger drawer */
.nav-menu.drawer-open {
  display: flex;
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  right: 12px;
  flex-direction: column;
  gap: 2px;
  background: rgba(10,14,23,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 14px;
  padding: 12px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 99;
}
.nav-menu.drawer-open .nav-link {
  width: 100%;
  text-align: left;
  font-size: 14px;
  padding: 10px 14px;
}
@media (min-width: 901px) {
  .nav-menu.drawer-open { position: static; flex-direction: row; background: none; border: none; box-shadow: none; padding: 0; min-width: 0; top: auto; right: auto; }
}

/* ---- Reusable card ---- */
.card {
  padding: var(--space-xl);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.card-hover { will-change: transform; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.2); }

.badge {
  display: inline-block; padding: 4px 16px; border-radius: 12px;
  font-size: var(--fs-tiny); letter-spacing: 2px; font-weight: 500;
}
.badge-cyan { background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--color-accent); }
.badge-purple { background: rgba(123,47,247,0.08); border: 1px solid rgba(123,47,247,0.2); color: var(--color-accent-2); }
.badge-green { background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); color: var(--color-success); }
.badge-orange { background: rgba(255,170,0,0.08); border: 1px solid rgba(255,170,0,0.2); color: var(--color-warning); }

.section-title {
  font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-tight);
  background: linear-gradient(180deg,#fff,#8892b0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.section-head { text-align: center; margin-bottom: var(--space-3xl); }
.section-head .badge { margin-bottom: var(--space-md); }
.section-head p { color: var(--color-text-secondary); line-height: var(--lh-relaxed); }

.card-title { font-size: var(--fs-h2); color: #fff; font-weight: 700; line-height: var(--lh-snug); }
.card-title .sub { font-size: var(--fs-h4); font-weight: 600; }
.card-desc { font-size: var(--fs-body); color: var(--color-text-secondary); line-height: var(--lh-relaxed); }

.chip { padding: 4px 12px; border-radius: 20px; font-size: var(--fs-tiny); }
.chip-cyan { background: rgba(0,212,255,0.1); color: var(--color-accent); }
.chip-purple { background: rgba(123,47,247,0.1); color: var(--color-accent-2); }
.chip-green { background: rgba(0,255,136,0.1); color: var(--color-success); }
.tag {
  padding: 4px 10px; border-radius: 6px; font-size: var(--fs-tiny);
  background: rgba(255,255,255,0.04); color: var(--color-text-secondary);
  border: 1px solid rgba(255,255,255,0.06);
}

.btn-detail {
  width: 100%; padding: 12px; border-radius: 10px;
  background: rgba(0,212,255,0.05); color: #00d4ff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.3s;
}
.btn-detail:hover, .btn-detail:focus-visible { background: rgba(0,212,255,0.12); }
.btn-detail.purple { background: rgba(123,47,247,0.05); color: #7b2ff7; border: 1px solid rgba(123,47,247,0.3); }
.btn-detail.purple:hover, .btn-detail.purple:focus-visible { background: rgba(123,47,247,0.12); }
.btn-detail.green { background: rgba(0,255,136,0.05); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); }
.btn-detail.green:hover, .btn-detail.green:focus-visible { background: rgba(0,255,136,0.12); }
.btn-detail.red { background: rgba(255,107,107,0.05); color: #ff6b6b; border: 1px solid rgba(255,107,107,0.3); }
.btn-detail.red:hover, .btn-detail.red:focus-visible { background: rgba(255,107,107,0.12); }

/* ---- Form ---- */
.form-label { display: block; font-size: var(--fs-caption); color: var(--color-text-secondary); margin-bottom: var(--space-sm); font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); color: #fff; font-size: var(--fs-body);
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: var(--color-danger); box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}
.form-feedback {
  display: none; margin-top: var(--space-lg); padding: 14px 16px; border-radius: 10px;
  font-size: var(--fs-body);
}
.form-feedback.success { display: block; background: rgba(0,255,136,0.1); color: var(--color-success); border: 1px solid rgba(0,255,136,0.3); }
.form-feedback.error { display: block; background: rgba(255,107,107,0.1); color: var(--color-danger); border: 1px solid rgba(255,107,107,0.3); }

.upload-zone {
  padding: var(--space-lg); border-radius: 12px;
  border: 2px dashed rgba(0,212,255,0.2); background: rgba(0,212,255,0.02);
  text-align: center; cursor: pointer; transition: all 0.3s;
}
.upload-zone:hover, .upload-zone.dragover { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.05); }
.upload-zone .filename { color: var(--color-accent); font-size: var(--fs-caption); margin-top: var(--space-sm); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---- Layouts ---- */
.section { padding: var(--space-4xl) var(--space-lg); max-width: 1200px; margin: 0 auto; }
#recruit, #about, #applyForm { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

.flow-step { flex: 1; text-align: center; padding: var(--space-lg); border-radius: 12px; }
.flow-arrow { color: var(--color-accent); font-size: 20px; }

/* ---- 招募页专用 ---- */
.money-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin: var(--space-lg) 0;
}
.money-card {
  padding: var(--space-xl) var(--space-lg); border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, rgba(0,212,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(0,212,255,0.2);
}
.money-card .amount { font-size: 36px; font-weight: 800; background: linear-gradient(90deg,#00d4ff,#7b2ff7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.5px; }
.money-card .unit { font-size: var(--fs-small); color: var(--color-text-secondary); margin-top: var(--space-xs); line-height: var(--lh-normal); }

.calc-box {
  margin-top: var(--space-lg); padding: var(--space-lg) var(--space-xl); border-radius: 14px;
  background: rgba(0,255,136,0.05); border: 1px solid rgba(0,255,136,0.2);
}

.step-list { counter-reset: step; display: flex; flex-direction: column; gap: var(--space-md); }
.step-list li {
  list-style: none; position: relative; padding: var(--space-md) var(--space-lg) var(--space-md) 64px;
  border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  counter-increment: step; transition: border-color 0.3s, transform 0.3s;
  font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text);
}
.step-list li:hover { border-color: rgba(0,212,255,0.3); transform: translateX(4px); }
.step-list li::before {
  content: counter(step); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg,#00d4ff,#0066ff);
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-list li strong { color: #fff; }
.step-list li .step-tag { display: block; font-size: var(--fs-tiny); color: var(--color-accent); margin-bottom: var(--space-xs); letter-spacing: 1px; font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; margin-top: var(--space-md); font-size: var(--fs-body); }
.data-table th, .data-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.data-table th {
  color: var(--color-accent); font-weight: 600; font-size: var(--fs-tiny); letter-spacing: 2px;
  background: rgba(0,212,255,0.04); text-transform: uppercase;
}
.data-table td { color: var(--color-text); }
.data-table td .num { color: var(--color-success); font-weight: 700; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
.industry-card {
  padding: 0; border-radius: 14px; text-align: center; position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
  min-height: 220px;
  display: flex;
}
.industry-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.3); }
.industry-card .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.industry-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%); z-index: 1; }
.industry-card .card-body { position: relative; z-index: 2; padding: var(--space-xl) var(--space-md) var(--space-md); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; }
.industry-card .title { font-size: var(--fs-small); color: #fff; font-weight: 600; margin-bottom: 6px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.industry-card .desc { font-size: var(--fs-tiny); color: rgba(255,255,255,0.9); line-height: var(--lh-normal); text-shadow: 0 1px 2px rgba(0,0,0,0.6); }

/* ---- 图片展示样式 ---- */
.hero-banner { width: 100%; max-width: 880px; height: auto; border-radius: 20px; margin-top: var(--space-xl); display: block; box-shadow: 0 8px 40px rgba(0,212,255,0.15); border: 1px solid rgba(0,212,255,0.15); }
.split-card { display: flex; gap: var(--space-lg); align-items: center; }
.split-card .split-text { flex: 1; min-width: 0; }
.split-card .split-img { flex: 0 0 42%; max-width: 42%; }
.split-card .split-img img { width: 100%; height: auto; border-radius: 14px; display: block; border: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 768px) {
  .split-card { flex-direction: column; }
  .split-card .split-img { flex: none; max-width: 100%; width: 100%; }
}
.work-banner { width: 100%; max-width: 640px; height: auto; border-radius: 14px; margin: var(--space-lg) auto 0; display: block; border: 1px solid rgba(255,255,255,0.08); }
.industry-banner { width: 100%; max-width: 760px; height: auto; border-radius: 14px; margin: var(--space-lg) auto 0; display: block; border: 1px solid rgba(0,212,255,0.15); box-shadow: 0 4px 24px rgba(0,212,255,0.1); }

.req-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.req-list li {
  padding: var(--space-md) var(--space-lg); border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: var(--space-md); align-items: center; font-size: var(--fs-body); color: var(--color-text); line-height: var(--lh-relaxed);
}
.req-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,255,136,0.15); color: var(--color-success);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}

.quote-box {
  margin-top: var(--space-lg); padding: var(--space-xl); border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(123,47,247,0.06));
  border: 1px solid rgba(0,212,255,0.2); text-align: center;
}
.quote-box .quote-main { font-size: var(--fs-h3); font-weight: 600; color: #fff; line-height: var(--lh-relaxed); }
.quote-box .quote-sub { font-size: var(--fs-small); color: var(--color-text-secondary); margin-top: var(--space-sm); line-height: var(--lh-relaxed); }

.cta-box {
  margin-top: var(--space-lg); padding: var(--space-2xl) var(--space-xl); border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(123,47,247,0.1));
  border: 1px solid rgba(0,212,255,0.3);
}
.cta-template {
  display: inline-block; margin-top: var(--space-lg); padding: 12px var(--space-xl); border-radius: 10px;
  background: rgba(0,0,0,0.3); border: 1px dashed rgba(0,212,255,0.4);
  font-family: 'Consolas', 'Monaco', monospace; font-size: var(--fs-body); color: var(--color-accent);
  letter-spacing: 1px;
}

/* 招募/营销页主转化按钮（含悬停与按压即时反馈） */
.cta-btn {
  display: inline-block; padding: 15px 44px; border-radius: 28px;
  background: linear-gradient(135deg,#0066ff,#003399); color: #fff !important;
  font-size: var(--fs-h4); font-weight: 700; text-decoration: none;
  box-shadow: 0 0 30px rgba(0,102,255,0.35);
  transition: transform 0.18s ease, box-shadow 0.3s ease, filter 0.18s ease;
}
.cta-btn:hover, .cta-btn:focus-visible {
  box-shadow: 0 0 44px rgba(0,102,255,0.6); filter: brightness(1.1);
}
.cta-btn:active { transform: scale(0.95); filter: brightness(0.95); }
@media (max-width: 600px) {
  .cta-btn { display: block; width: 100%; padding: 15px 20px; box-sizing: border-box; text-align: center; }
}

@media (max-width: 900px) {
  .money-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .data-table th, .data-table td { padding: 10px 12px; font-size: var(--fs-small); }
  .cta-box { padding: var(--space-xl); }
  .quote-box { padding: var(--space-lg); }
  .quote-box .quote-main { font-size: var(--fs-h4); }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card { min-height: 160px; }
  .industry-card .card-body { padding: var(--space-md) var(--space-sm); }
  .industry-card .icon { font-size: 24px; }
  .industry-card .title { font-size: 13px; }
  .industry-card .desc { font-size: 11px; }
  .hero-banner { border-radius: 14px; }
  .jobs-grid > div > div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  body { padding-top: 66px; }
  .nav { padding: 12px 12px; gap: 4px; }
  .nav-title { font-size: 20px !important; letter-spacing: 0.6px; gap: 10px; padding: 0; }
  .nav-title-icon { width: 28px; height: 28px; }
  .nav-menu { gap: 8px; }
  .nav-link { font-size: 12px; padding: 6px 12px; white-space: nowrap; flex-shrink: 0; letter-spacing: 0; }
  .section { padding: 48px var(--space-lg) var(--space-2xl); }
  .section-title { font-size: 30px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .jobs-grid { grid-template-columns: 1fr !important; }
  .hero-content { padding: 10px 20px 14px !important; }
  .hero-title { font-size: 32px !important; }
  .hero-badge { margin-bottom: 8px; }
  .hero-title-gradient { padding: 3px 10px !important; box-shadow: none !important; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .about-feature { flex-wrap: wrap; }
  #hero { padding: 0 !important; height: 320px !important; overflow: hidden !important; }
  #apply { padding: 40px var(--space-md) var(--space-md) !important; }
  #app-download { padding: 40px var(--space-md) var(--space-md) !important; }
  .card { padding: var(--space-lg) var(--space-md); border-radius: 16px; }
  .nav-toggle { display: none !important; }
}

@media (max-width: 600px) {
  body { padding-top: 108px; }
  .nav {
    padding: calc(env(safe-area-inset-top) + 12px) 10px 12px;
    gap: 6px; align-items: center; flex-wrap: wrap;
  }
  .nav-title {
    order: 1;
    font-size: 19px !important; font-weight: 700;
    flex: 1 1 100%; min-width: 0;
    margin: 0 !important; padding: 0;
    letter-spacing: 0.5px; line-height: 1.2;
    white-space: nowrap;
  }
  .nav-title-icon { width: 28px; height: 28px; }
  .nav-title .lang-switch .lang-select { padding: 3px 18px 3px 8px; font-size: 11px; height: 26px; border-radius: 13px; background-position: right 5px center; }
  .nav-menu {
    order: 3; width: 100%;
    display: flex !important; gap: 6px; justify-content: flex-start; flex-wrap: wrap;
    margin: 2px 0 0 0; padding: 4px 0 0 0;
    border-top: 1px solid rgba(0,212,255,0.12);
  }
  .nav-link {
    font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0;
    padding: 6px 12px !important; border-radius: 5px !important;
    white-space: nowrap; flex-shrink: 0;
    color: #6cc8e0;
  }
  .nav-link.active {
    color: #00d4ff;
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.4);
    box-shadow: 0 0 12px rgba(0,212,255,0.15);
  }
  .nav-menu.drawer-open .nav-link { padding: 8px 12px !important; font-size: 14px !important; }
  .hero-badge { display: none !important; }
  .hero-title { font-size: 26px !important; letter-spacing: 0; line-height: 1.2; }
  .hero-content { padding: 6px 14px 10px !important; }
  .hero-title-gradient { padding: 3px 10px !important; box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important; }
  #hero { height: 240px !important; padding-top: 0 !important; overflow: hidden !important; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: var(--space-xl); }
  .section-head .badge { margin-bottom: var(--space-sm); }
  .section-head p { margin-top: var(--space-sm) !important; font-size: 15px !important; }
  .card { padding: 18px 16px; border-radius: 14px; }
  .nav-toggle { display: none !important; }
  .grid-2, .grid-3, .grid-4 { gap: var(--space-md); }
  .grid-4 .card [style*="margin:0 auto"] { margin-bottom: var(--space-sm) !important; }
  .grid-4 .card h3 { margin-bottom: var(--space-xs) !important; }
  .grid-2 .card > div:first-child { margin-bottom: var(--space-sm) !important; }
  .grid-2 .card h3 { margin-bottom: var(--space-xs) !important; }
  .section-head + .split-card, .card > div[style*="display:flex;align-items:center"] { gap: var(--space-sm) !important; margin-bottom: var(--space-sm) !important; }
  .section-head + .split-card h3 { font-size: var(--fs-body); }
}

@media (max-width: 420px) {
  body { padding-top: 104px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .money-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px !important; }
  .hero-content { padding: 4px 10px 6px !important; }
  #hero { height: 220px !important; padding-top: 0 !important; overflow: hidden !important; }
  .nav { padding: calc(env(safe-area-inset-top) + 10px) 8px 10px; gap: 4px; align-items: center; flex-wrap: wrap; }
  .nav-title { order: 1; font-size: 17px !important; letter-spacing: 0.4px; line-height: 1.2; padding: 0; flex: 1 1 100%; }
  .nav-title-icon { width: 26px; height: 26px; }
  .nav-title .lang-switch .lang-select { padding: 2px 16px 2px 6px; font-size: 10px; height: 24px; border-radius: 12px; background-position: right 4px center; }
  .nav-menu { order: 3; gap: 4px; margin-top: 2px; padding-top: 3px; width: 100%; flex-wrap: wrap; }
  .nav-link { font-size: 11px !important; padding: 5px 10px !important; border-radius: 5px !important; }
  .hero-badge { display: none !important; }
  .hero-title-gradient { padding: 2px 6px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important; }
  .app.html #qrcode { width: 160px; height: 160px; }
  .section-title { font-size: 24px; }
}

/* ---- Language Switcher ---- */
.lang-switch {
  position: relative;
  margin-left: 0;
  padding-left: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  padding: 5px 24px 5px 10px;
  background: rgba(0,212,255,0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lang-select:hover {
  background-color: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 16px rgba(0,212,255,0.2);
}
.lang-select option {
  background: #0a0e17;
  color: #00d4ff;
  padding: 8px;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  background: rgba(10,14,23,0.95);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,212,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lang-dropdown.open,
#langToggleCheck:checked ~ .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#langToggleCheck:checked ~ #langBtn {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.4);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.lang-option:hover {
  background: rgba(0,212,255,0.1);
  color: #fff;
}
.lang-option.active {
  background: rgba(0,212,255,0.15);
  color: var(--color-accent);
}
.lang-option .flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0,212,255,0.15);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}
@media (max-width: 900px) {
  .lang-select {
    padding: 6px 24px 6px 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Chat widget z-index guard ---- */
#chat-widget, .chat-widget, .chat-fab, #chatFab { z-index: 9999 !important; }

/* ---- Footer nav-link override ---- */
footer .nav-link {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 6px 12px;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}
footer .nav-link:hover {
  background: rgba(0,212,255,0.08);
  box-shadow: none;
  border: none;
  color: #00d4ff;
  transform: none;
}

/* ---- about.html jobs grid mobile ---- */
.jobs-grid { gap: var(--space-lg); }

/* ---- Improve badge contrast ---- */
.badge { text-shadow: 0 0 8px rgba(0,212,255,0.2); }

/* ==================== Hero ==================== */
#hero { height: 420px; overflow: hidden; }

/* ==================== Hero Background Video ==================== */
.hero-video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 1;
  pointer-events: none;              /* 防止误触暂停 */
  background: #0a0e17;              /* 加载前的背景色 */
  /* 简化滤镜：只留 brightness，避免老设备 GPU 过载渲染空白 */
  filter: brightness(1.3);
  -webkit-filter: brightness(1.3);
  /* iOS Safari 13+ / Android 内联播放关键属性 */
  -webkit-video-playable-inline: true;
}
/* 移动端彻底减负：隐藏星空 canvas + 去掉 video GPU 滤镜 */
@media (max-width: 768px) {
  #starfield { display: none !important; }
  .hero-video { filter: none !important; -webkit-filter: none !important; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,14,23,0.10) 0%, rgba(10,14,23,0.22) 50%, rgba(10,14,23,0.55) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(0,102,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* ===== 移动端自动播放被拦截时的兜底覆盖层 ===== */
.hero-play-overlay {
  display: none;                      /* 默认隐藏 */
  position: absolute;
  inset: 0;
  z-index: 2;                         /* 在 video 之上、hero-overlay 之下 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 23, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  pointer-events: auto;               /* 可点击 */
  gap: 12px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-play-btn {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.2);
  border: 2px solid rgba(0, 212, 255, 0.7);
  border-radius: 50%;
  color: #00e5ff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: heroPlayPulse 2s ease-in-out infinite;
}
.hero-play-btn:hover,
.hero-play-overlay:active .hero-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.35);
}
@keyframes heroPlayPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5); }
  50%      { box-shadow: 0 0 0 16px rgba(0, 212, 255, 0); }
}
.hero-play-tip {
  font-size: 14px;
  font-weight: 500;
  color: #00e5ff;
  letter-spacing: 1px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  padding: 4px 14px;
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
}
/* 移动端覆盖层样式微调 */
@media (max-width: 600px) {
  .hero-play-btn { width: 56px; height: 56px; }
  .hero-play-btn svg { width: 36px; height: 36px; }
  .hero-play-tip { font-size: 12px; padding: 3px 12px; }
}

.hero-content { width: 100%; max-width: 960px; }
.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 24px;
  color: #00e5ff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-title { margin-top: 0; }
.hero-title-gradient {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #c5cde0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.hero-subtitle {
  margin-top: 10px;
  font-size: var(--fs-h4);
  color: rgba(220,230,245,0.92);
  max-width: 720px;
  line-height: var(--lh-relaxed);
  padding: 8px 18px;
  background: rgba(5,10,20,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 600px) {
  .hero-video { filter: brightness(1.15); -webkit-filter: brightness(1.15); }
  .hero-title-gradient { padding: 6px 10px; border-radius: 10px; }
  .hero-subtitle { padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 420px) {
  .hero-badge { padding: 4px 12px; font-size: 11px; letter-spacing: 1.5px; }
  .hero-content { padding: 14px 12px 32px !important; }
}
/* 超小屏：保留视频但降低 GPU 负担 */
@media (max-width: 360px) {
  .hero-video { filter: none; -webkit-filter: none; }
  #hero {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(0,102,255,0.18) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 80%, rgba(0,51,153,0.10) 0%, transparent 50%);
  }
}
/* 减少动态效果：只降低滤镜强度，不隐藏视频 */
@media (prefers-reduced-motion: reduce) {
  .hero-video { filter: none !important; -webkit-filter: none !important; }
}


/* Mobile body padding for chat FAB */
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
}

/* ==================== 移动端性能优化 ==================== */
@media (max-width: 768px) {
  /* backdrop-filter 在移动端是 GPU 性能杀手，降低模糊值或用不透明背景替代 */
  .nav { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; }
  .card, .stats-card, [style*="backdrop-filter"] { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero-overlay { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  /* reveal 动画：移动端直接显示，不等滚动触发（减少 JS + 重排） */
  .reveal, .reveal-left, .reveal-right, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  /* 禁用 hover 效果（移动端无 hover，保留会触发卡顿的 transition） */
  .card-hover:hover { transform: none; }
}

/* ============================================================
   首页统一排版 v20260916（仅作用于 index.html）
   目标：统一容器宽度 / 间距节奏 / 字号层级，消除分段拼接感
   ============================================================ */

/* —— Hero 下方品牌标语：去掉全宽渐变分段带与嵌套药丸，回归统一容器 —— */
.hero-sub-bar {
  padding: 28px 24px 4px;
  background: transparent;
  border: 0;
  text-align: center;
}
.hero-sub-bar .hero-subtitle {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #c4d0e2;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .2px;
  text-shadow: none;
}

/* —— 数据指标：与下方内容共用同一 1200 容器与左右边线 —— */
.stats-section { padding: 24px 24px 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.stats-card {
  padding: 26px 12px;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.stats-num {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.stats-label {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 1px;
}

/* —— 公司故事：统一垂直节奏（章节内小间隔，章节间大间隔） —— */
#company { padding: 40px 24px 72px; }
#company .section-head:first-child { margin-bottom: 24px; }
#company > .card { margin-bottom: 20px; }
#company > .grid-2,
#company > .grid-4 { margin-bottom: 20px; }
#company > .card:last-child { margin-bottom: 0; }
#company .in-section-head { margin-top: 48px; margin-bottom: 24px; }

/* —— 起源 + 发展历程：单一连续卡片（时间轴竖线按需求已去除，仅保留节点圆点与图标） —— */
.story-card {
  --pad-l: 56px;          /* 内容左缩进，为图标/节点留安全区 */
  --axis-x: 22px;         /* 图标与节点中心距卡片内左缘 */
  --pad-tb: 28px;
  position: relative;
  padding: var(--pad-tb) 32px var(--pad-tb) var(--pad-l);
  overflow: hidden;       /* 仅本卡：节点发光收在圆角内 */
}
.story-intro-head {
  min-height: 40px;
  display: flex; align-items: center;
  margin-bottom: var(--space-md);
}
.story-icon {
  position: absolute;
  left: calc(var(--axis-x) - 20px);
  top: var(--pad-tb);
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg,#0066ff,#003399);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;             /* 图标压住竖线，轴线从图标下方自然延伸 */
}
.story-intro-head h3 {
  margin: 0; font-size: var(--fs-h3); color: #fff; font-weight: 700;
}
.story-intro-desc {
  margin: 0; font-size: var(--fs-body);
  color: var(--color-text-secondary); line-height: var(--lh-loose);
}
.story-timeline {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.tl-item { position: relative; margin-bottom: 16px; }
.tl-last { margin-bottom: 0; }
.tl-dot {
  position: absolute; top: 4px;
  left: calc(var(--axis-x) - var(--pad-l) - 5px);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 6px rgba(0,212,255,0.45);
  box-sizing: border-box;
  z-index: 1;
}
.tl-dot-green {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(0,255,136,0.4);
}
.tl-year {
  font-size: var(--fs-md); font-weight: 700; color: var(--color-accent);
  margin-bottom: 2px; line-height: 1.3; letter-spacing: 0.02em;
}
.tl-year-green { color: var(--color-success); }
.tl-year-orange { color: var(--color-warning); }
.tl-title {
  margin: 0 0 3px;
  font-size: var(--fs-body-sm); color: #fff; font-weight: 600;
}
.tl-desc {
  margin: 0; color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
}

/* —— 横向时间轴（覆盖 vertical） —— */
.story-timeline.horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;        /* 顶部对齐，保证 year+dot 在同一条基准线 */
  overflow-x: auto;
  overflow-y: visible;
  gap: 0;
  padding: 18px 4px 8px;
  margin-top: 4px;
  border-top: none;
  position: relative;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  contain: layout style;
}
.story-timeline.horizontal::-webkit-scrollbar { height: 0; display: none; }
.story-timeline.horizontal { scrollbar-width: none; }

/* 横向连线 —— 精确对齐圆点中心：
   padding-top 18 + year 18 + gap 6 + dot top 5 = 47? 不，dot 绝对定位 top:24
   容器内联 padding-top:0，所以连线 top = dot top 24 + 半圆点 5 = 29 */
.story-timeline.horizontal::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 80px;
  width: 1448px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,212,255,0.55), rgba(0,102,255,0.18) 50%, rgba(0,255,136,0.55));
  z-index: 0;
  pointer-events: none;
}

.story-timeline.horizontal .tl-item {
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  margin: 0;
  padding: 44px 10px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  contain: layout style;
}
.story-timeline.horizontal .tl-item::after {
  content: '';
  position: absolute;
  top: 29px;
  left: 50%;
  width: 10px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}
.story-timeline.horizontal .tl-last::after { display: none; }

/* 年份 —— 绝对定位，统一字号/字重/行高，颜色按类别区分 */
.story-timeline.horizontal .tl-year {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  white-space: nowrap;            /* 日期保持单行 */
  text-align: center;
  color: var(--color-accent);     /* 默认青色：苹果地图历程 */
}
.story-timeline.horizontal .tl-year-orange { color: var(--color-warning); }   /* 转折点：橙色 */
.story-timeline.horizontal .tl-year-green { color: var(--color-success); }    /* 公司历程：绿色 */

/* 圆点 —— 绝对定位，统一尺寸 */
.story-timeline.horizontal .tl-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: 0;
  transform: translateX(-50%);
  flex-shrink: 0;
  z-index: 1;
  will-change: transform;
}
.story-timeline.horizontal .tl-dot-green {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(0,255,136,0.45);
}

/* 标题 —— 统一白色、字号、行高，双行基线对齐 */
.story-timeline.horizontal .tl-title {
  margin: 12px 0 6px 0;           /* 顶部留出圆点下方间距，确保不遮挡年份 */
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  min-height: 36px;               /* 双行基线对齐，避免参差 */
  display: block;
  text-align: center;
  word-break: break-word;         /* 长标题自动换行，完整展示 */
  overflow-wrap: break-word;
  white-space: normal;
}

/* 描述 —— 统一灰色、字号、行高，完整展示不截断 */
.story-timeline.horizontal .tl-desc {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: visible;
  display: block;
}

/* 公司转折分隔 —— 强制 padding-top:44px 覆盖内联样式的 14px，
   否则标题会上移遮挡年份/圆点；竖虚线已移除 */
.story-timeline.horizontal .tl-item[style*="dashed"] {
  margin-top: 0 !important;
  padding-top: 44px !important;
  border-top: none !important;
}
.story-timeline.horizontal .tl-item[style*="dashed"]::before {
  display: none;                  /* 移除垂直虚线 */
}

/* 时间轴结尾项 —— 卡片式样式，凸显收尾，不与时间轴圆点对齐 */
.story-timeline.horizontal .tl-item.tl-end {
  padding-top: 14px;                /* 无年份/圆点，标题靠上，作为结尾收尾 */
  text-align: center;
  /* 卡片式外观 —— 无框线 */
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,102,255,0.06));
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 14px rgba(0,255,136,0.12);
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 14px;
}
.story-timeline.horizontal .tl-item.tl-end .tl-title {
  margin-top: 0;
  margin-bottom: 8px;
  min-height: auto;                 /* 结尾项不强制双行高度，自然展开 */
  text-align: center;
  display: block;
  color: #aaffcc;                   /* 标题用浅绿色，与卡片呼应 */
  font-size: 14px;
  font-weight: 700;
}
.story-timeline.horizontal .tl-item.tl-end .tl-desc {
  text-align: center;
  display: block;
  color: #b8c5d6;                   /* 描述文字略亮，便于在卡片中阅读 */
}

/* 桌面端更宽 + 更易读 */
@media (min-width: 769px) {
  .story-timeline.horizontal .tl-item { width: 180px; }
  .story-timeline.horizontal .tl-title { font-size: 14px; min-height: 38px; }
  .story-timeline.horizontal .tl-desc { font-size: 12px; }
  .story-timeline.horizontal .tl-year { font-size: 12px; }
  .story-timeline.horizontal::before { left: 90px; width: 1620px; }
}

/* 窄屏微调 */
@media (max-width: 380px) {
  .story-timeline.horizontal .tl-item { width: 150px; padding: 44px 8px 0; }
  .story-timeline.horizontal .tl-title { font-size: 12px; min-height: 32px; }
  .story-timeline.horizontal .tl-desc { font-size: 11px; }
  .story-timeline.horizontal .tl-year { font-size: 11px; }
  .story-timeline.horizontal::before { left: 75px; width: 1350px; }
}

/* —— 底部 CTA —— */
.cta-card { padding: var(--space-2xl); }
.cta-card .cta-btn { margin-top: var(--space-sm); }

/* —— 页脚 —— */
footer {
  padding: 56px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: var(--space-md); flex-wrap: wrap;
}
.footer-brand > span:not(.footer-en) {
  flex-shrink: 1;
  overflow-wrap: anywhere;
}
.footer-en {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(90deg,#00d4ff,#7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-lg); margin-top: var(--space-md);
}

/* 同舟共济故事卡片 —— 文字居中 */
.origin-story p {
  text-align: center;
}

/* —— 价值观卡片统一类 —— 2列布局，图标在上文字在下 */
.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
.value-card .value-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg,#0066ff,#003399);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-sm);
}
.value-card .value-icon svg {
  width: 24px; height: 24px;
}
.value-card .value-title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3); font-weight: 700; color: #fff;
}
.value-card .value-desc {
  margin: 0;
  font-size: var(--fs-small); color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* —— 主营业务卡片统一类 —— */
.business-card { }
.business-card .biz-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg,#0066ff,#003399);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.business-card .biz-title {
  margin: 0 0 var(--space-sm);
  font-size: var(--fs-h3); font-weight: 700; color: #fff;
}
.business-card .biz-desc {
  margin: 0;
  font-size: var(--fs-body); color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* —— Hero 响应式高度已在上方媒体查询链中处理（320px → 240px → 220px）—— */

/* —— 平板 / 手机（≤768px）：统一双列栅格与紧凑节奏 —— */
@media (max-width: 768px) {
  .hero-sub-bar { padding: 24px 16px 0; }
  .hero-sub-bar .hero-subtitle { font-size: 16px; line-height: 1.7; }
  .stats-section { padding: 20px 16px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-card { padding: 22px 10px; border-radius: 14px; }
  .stats-num { font-size: 30px; }
  .stats-label { font-size: 12px; margin-top: 6px; letter-spacing: .5px; }
  #company { padding: 32px 16px 56px; }
  #company > .card { margin-bottom: 16px; }
  #company > .card:last-child { margin-bottom: 0; }
  #company > .grid-2,
  #company > .grid-4 { margin-bottom: 16px; gap: 12px; }
  #company .in-section-head { margin-top: 36px; margin-bottom: 18px; }
  .story-card {
    --pad-l: 48px;
    --axis-x: 20px;
    --pad-tb: 20px;
    padding: var(--pad-tb) 16px var(--pad-tb) var(--pad-l);
  }
  .story-timeline:not(.horizontal) { margin-top: 16px; padding-top: 14px; }
  .story-timeline:not(.horizontal) > .tl-item { margin-bottom: 14px; }
  .story-timeline:not(.horizontal) > .tl-item > .tl-year { font-size: 14px; }
  .story-timeline:not(.horizontal) > .tl-item > .tl-title { font-size: 14px; }
  .story-timeline:not(.horizontal) > .tl-item > .tl-desc { font-size: 13px; }
  .cta-card { padding: 32px 20px; }
  footer { padding: 40px 16px; }
}

/* —— 窄屏手机（≤380px） —— */
@media (max-width: 380px) {
  .hero-sub-bar .hero-subtitle { font-size: 15px; }
  .stats-num { font-size: 26px; }
}