@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --bg: #e9effa;
  --fg: #0d1a33;
  --muted: #50658f;
  --brand: #2f80ff;
  --brand-2: #1f65e6;
  --line: rgba(75, 106, 162, 0.2);
  --panel: rgba(255, 255, 255, 0.72);
  --container: min(1260px, 92vw);
  --nav-h: 62px;
  --grid-line: rgba(95, 122, 172, .08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 26px);
  opacity: .38;
}

html.is-snap-mode {
  scroll-snap-type: y mandatory;
}

body.menu-open,
body.video-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.snap-panel {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

.hero.snap-panel {
  scroll-margin-top: 0;
}

/* Header */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  padding: 8px 0;
  transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}

.topbar.is-solid {
  background: rgba(246, 250, 255, .85);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(15, 37, 79, .09);
}

.topbar.is-hero .main-nav,
.topbar.is-hero .lang-switch,
.topbar.is-hero .menu-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.topbar:not(.is-solid) .main-nav a {
  color: rgba(241, 247, 255, .9);
}

.topbar:not(.is-solid) .main-nav a::after {
  background: linear-gradient(90deg, rgba(145, 214, 255, .95), rgba(132, 170, 255, .95));
}

.topbar:not(.is-solid) .lang-switch button,
.topbar:not(.is-solid) .lang-switch a {
  color: #edf5ff;
  border-color: rgba(212, 228, 255, .48);
  background: rgba(24, 41, 74, .42);
}

.topbar:not(.is-solid) .lang-switch .is-active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.topbar:not(.is-solid) .menu-toggle {
  border-color: rgba(205, 224, 255, .45);
  background: rgba(26, 44, 76, .45);
}

.topbar:not(.is-solid) .menu-toggle span {
  background: #ecf4ff;
}

.topbar-inner {
  width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 172px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #20365f;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: transform .22s ease;
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

/* 二级菜单下拉 */
.main-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav .nav-item.has-children > a::before {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  float: right;
  margin-top: 4px;
}

.main-nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 148px;
  padding: 10px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(31, 102, 231, .12);
  box-shadow: 0 16px 30px rgba(15, 37, 79, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 40;
}

.main-nav .nav-item:hover .nav-dropdown,
.main-nav .nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.topbar .main-nav .nav-dropdown a {
  display: block;
  padding: 8px 18px;
  color: #20365f;
  white-space: nowrap;
}

.topbar .main-nav .nav-dropdown a::after {
  display: none;
}

.topbar .main-nav .nav-dropdown a:hover {
  background: rgba(31, 102, 231, .08);
  color: #1f66e7;
}

/* 展开菜单里的二级链接 */
.menu-links a.menu-sub-link {
  font-size: clamp(15px, 2.4vw, 19px);
  font-weight: 600;
  opacity: .85;
  padding-left: 22px;
}

.lang-switch {
  margin-left: 12px;
  display: inline-flex;
  gap: 6px;
}

.lang-switch button,
.lang-switch a {
  border: 1px solid rgba(40, 86, 170, .23);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  color: #3a578b;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  cursor: pointer;
  line-height: 1.4;
}

.lang-switch .is-active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.menu-toggle {
  width: 40px;
  height: 36px;
  border: 1px solid rgba(54, 96, 174, .28);
  border-radius: 10px;
  background: rgba(255, 255, 255, .68);
  display: none;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: #36578b;
}

/* Right page indicator */
.page-indicator {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 48;
  display: grid;
  gap: 7px;
  align-items: center;
}

.panel-dot {
  width: 34px;
  height: 20px;
  border: 0;
  background: transparent;
  color: rgba(50, 78, 128, .45);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.panel-dot.is-active {
  color: #2f6fd9;
  transform: translateX(-3px);
}

.panel-line {
  display: block;
  width: 1px;
  height: 64px;
  margin: 6px auto 0;
  background: linear-gradient(180deg, rgba(53, 95, 169, .8), rgba(53, 95, 169, .15));
}

/* Menu Panel */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.menu-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 34, .52);
  opacity: 0;
  transition: opacity .35s ease;
}

.menu-panel-body {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(440px, 86vw);
  background: linear-gradient(170deg, #f7fbff 0%, #dfeaff 100%);
  border-left: 1px solid rgba(84, 116, 182, .24);
  padding: 24px clamp(18px, 4vw, 34px);
  transform: translateX(106%);
  transition: transform .42s cubic-bezier(.2, .68, .22, 1);
}

.menu-close {
  margin-left: auto;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(63, 95, 153, .3);
  background: rgba(255, 255, 255, .72);
  color: #365184;
  font-size: 22px;
  line-height: 1;
}

.menu-kicker {
  margin: 26px 0 14px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #466194;
  font-weight: 700;
}

.menu-links {
  display: grid;
  gap: 12px;
}

.menu-links a {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .32s ease, transform .32s ease;
}

.menu-meta {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  right: clamp(18px, 4vw, 34px);
  bottom: 22px;
  margin: 0;
  color: #4a6395;
  font-size: 12px;
}

body.menu-open .menu-panel {
  pointer-events: auto;
}

body.menu-open .menu-panel-backdrop {
  opacity: 1;
}

body.menu-open .menu-panel-body {
  transform: translateX(0);
}

body.menu-open .menu-links a {
  opacity: 1;
  transform: translateX(0);
}

body.menu-open .menu-links a:nth-child(1) { transition-delay: .03s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .07s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .11s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .15s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .19s; }

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video-layer,
.hero-bg,
.hero-cases,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video-layer {
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(1.03) contrast(1.05);
}

.hero-bg {
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(.78);
}

.hero-cases {
  z-index: 2;
  overflow: hidden;
  mix-blend-mode: normal;
}

.hero-case-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .75s ease, transform .75s ease;
}

.hero-case-image.is-active {
  opacity: .72;
  transform: scale(1);
}

.hero-overlay {
  z-index: 3;
  background:
    radial-gradient(circle at 52% 40%, rgba(20, 29, 50, .34), rgba(8, 14, 28, .82) 80%),
    linear-gradient(180deg, rgba(7, 12, 24, .58), rgba(7, 12, 24, .86));
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding-top: clamp(150px, 20vh, 210px);
  padding-left: clamp(28px, 4.4vw, 66px);
}

.hero-content--center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 86vw);
  transform: translate(-50%, -46%);
  padding: 0;
  z-index: 4;
}

.hero-content--center::before {
  content: "";
  position: absolute;
  left: 108px;
  top: -24px;
  width: min(280px, 45vw);
  aspect-ratio: 1 / 1.16;
  border: 8px solid rgba(8, 18, 37, .62);
  z-index: -1;
}

.hero-kicker {
  margin: 0;
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(63, 92, 142, .25);
  background: rgba(255, 255, 255, .6);
  color: #2f4f86;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.hero-kicker--hero {
  background: rgba(24, 39, 67, .4);
  border-color: rgba(193, 218, 255, .36);
  color: #ddebff;
}

.hero-word {
  margin: 6px 0 -12px;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .3px;
  color: #86dbff;
  pointer-events: none;
}

.hero .hero-title-en {
  margin: 0;
  font-size: clamp(54px, 7.2vw, 92px);
  line-height: .92;
  letter-spacing: .4px;
  font-weight: 900;
  color: #fff;
  text-transform: none;
  text-shadow: 0 10px 20px rgba(8, 16, 31, .3);
}

.hero .hero-title-en span {
  display: block;
}

.hero .hero-title-en span:nth-child(2),
.hero .hero-title-en span:nth-child(4) {
  color: #86dbff;
}

.hero-play {
  margin-top: 14px;
  width: 56px;
  height: 32px;
  border: 1px solid rgba(231, 243, 255, .52);
  background: rgba(31, 47, 78, .48);
  color: #eef5ff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, .78);
  backdrop-filter: blur(2px);
}

.video-modal-panel {
  position: relative;
  width: min(1080px, 92vw);
  max-height: 88vh;
  z-index: 1;
}

.video-modal-player {
  width: 100%;
  max-height: 88vh;
  display: block;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.video-modal-close {
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(18, 30, 58, .85);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.video-modal-open .video-modal {
  opacity: 1;
  pointer-events: auto;
}

.hero h1 {
  margin: 14px 0 10px;
  max-width: 700px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: .6px;
}

.hero-desc {
  margin: 0;
  max-width: 560px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.8;
  color: #415d8f;
}

.scroll-hint {
  position: absolute;
  right: clamp(24px, 3vw, 40px);
  bottom: 26px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #4a6798;
  font-weight: 700;
}

/* Section shared */
.section {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: var(--nav-h);
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 28px;
}

.section-side-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #6f88b2;
  opacity: .82;
}

.section-main {
  position: relative;
  padding-top: 8px;
}

.section-main::before {
  content: "";
  position: absolute;
  inset: -8px -16px -8px 0;
  border: 1px solid rgba(95, 123, 173, .12);
  border-left-width: 3px;
  pointer-events: none;
  opacity: .42;
}

.section-mark {
  margin: 0;
  color: #5c77a9;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.section-title {
  margin: 8px 0 22px;
  font-size: clamp(34px, 4.3vw, 50px);
  line-height: 1.08;
}

/* Product */
.products {
  position: relative;
  background: #f6f8fc;
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)),
    repeating-linear-gradient(0deg, rgba(51, 76, 125, .045) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(51, 76, 125, .045) 0 1px, transparent 1px 32px);
}

.product-shell .section-main {
  padding-top: 0;
}

.product-shell {
  width: min(1680px, 100vw);
  margin-left: 0;
  margin-right: auto;
  padding-left: clamp(10px, 2vw, 28px);
  padding-right: clamp(10px, 2vw, 28px);
  grid-template-columns: 1fr;
}

.product-shell .section-side-label {
  display: none;
}

.product-shell .section-main::before {
  display: none;
}

.product-shell .section-mark {
  color: #8b97ab;
  letter-spacing: 2.8px;
}

.product-shell .section-title {
  margin: 6px 0 18px;
  color: #111a2e;
}

.case-stage {
  border: 1px solid #dbe2ef;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(22, 35, 67, .07);
  width: min(1540px, calc(100vw - 56px));
}

.case-stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, .78fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
}

.case-visual {
  position: relative;
  min-height: 520px;
  background: #eef3fb;
  overflow: hidden;
}

.case-image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(1.28);
  transition: opacity .55s ease, transform 1.3s cubic-bezier(.22, .7, .2, 1);
  will-change: transform, opacity;
}

.case-image.is-active {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1.12);
  animation: caseImageZoomIn 1.1s cubic-bezier(.2, .72, .22, 1) both;
}

.case-info {
  grid-row: 1 / span 2;
  padding: 34px 30px 24px;
  background: #fff;
  border-left: 1px solid #e2e8f3;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 14px;
}

.case-copy {
  display: none;
}

.case-copy.is-active {
  display: block;
  animation: caseTextIn .45s ease both;
}

.case-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.6vw, 56px);
  line-height: 1.08;
  color: #121a2d;
}

.case-copy p {
  margin: 0;
  color: #4f5f79;
  line-height: 1.78;
  font-size: 14px;
}

.case-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.case-links a {
  font-size: 13px;
  font-weight: 700;
  color: #293755;
}

.case-intro-btn {
  margin-top: 10px;
  width: min(220px, 100%);
  height: 54px;
  border: 1px solid #8c97ac;
  background: #fff;
  color: #1e2740;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .9px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.case-intro-btn:hover {
  border-color: #4b79d1;
  box-shadow: 0 8px 18px rgba(53, 90, 163, .18);
  transform: translateY(-1px);
}

.case-intro-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #9caac2;
  font-size: 11px;
  padding-left: 1px;
}

.case-thumbs {
  grid-column: 1 / 2;
  grid-row: 2;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: #f9fbff;
  border-top: 1px solid #dfe6f2;
  border-right: 1px solid #e2e8f3;
  overflow-x: auto;
}

.case-thumb {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 4px;
  border: 1px solid #d0d9e9;
  overflow: hidden;
  padding: 0;
  background: #fff;
  opacity: .75;
  transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-thumb.is-active {
  opacity: 1;
  border-color: #ffd754;
  box-shadow: 0 0 0 2px rgba(255, 215, 84, .33);
}

/* About */
.about-shell .section-main {
  border: 1px solid rgba(74, 109, 175, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .55);
  padding: 22px 28px 28px;
}

.about-tabs {
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
}

.about-tab {
  border: 1px solid rgba(65, 100, 167, .24);
  border-radius: 999px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, .7);
  color: #37588f;
  font-size: 12px;
  font-weight: 700;
}

.about-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.about-panel {
  display: none;
}

.about-panel.is-active {
  display: block;
}

.about-panel h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.about-quote {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 500;
  background: linear-gradient(90deg, #7ad2ff, #84a4ff, #d1a3db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.about-panel h4 {
  margin: 0 0 9px;
  font-size: 18px;
}

.about-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 930px;
}

.about-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-values li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  border-bottom: 1px dashed rgba(71, 103, 161, .2);
  padding-bottom: 10px;
}

.about-values span {
  font-size: 24px;
  font-weight: 800;
  color: #3c63a5;
  line-height: 1.2;
}

.about-values p {
  margin: 3px 0 0;
}

.about-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-history li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: start;
  border-bottom: 1px dashed rgba(71, 103, 161, .2);
  padding-bottom: 10px;
}

.about-history span {
  font-size: 28px;
  font-weight: 800;
  color: #3c63a5;
}

.about-history p {
  margin: 3px 0 0;
}

/* Careers */
.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
}

.careers-visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(73, 106, 173, .22);
  box-shadow: 0 12px 24px rgba(24, 49, 95, .15);
}

.careers-visual img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.career-cta {
  position: absolute;
  left: 18px;
  right: 18px;
  padding: 10px 14px;
  background: linear-gradient(130deg, rgba(51, 133, 255, .92), rgba(29, 103, 232, .88));
  border: 1px solid rgba(255, 255, 255, .36);
  color: #fff;
  border-radius: 6px;
  display: grid;
  gap: 2px;
}

.career-cta:nth-of-type(1) {
  bottom: 84px;
}

.career-cta:nth-of-type(2) {
  bottom: 22px;
}

.career-cta span {
  font-size: 24px;
  font-weight: 800;
}

.career-cta strong {
  font-size: 11px;
  letter-spacing: .8px;
}

.careers-list {
  display: grid;
  gap: 10px;
}

.careers-list article {
  position: relative;
  padding: 16px 16px 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(73, 108, 175, .2);
  background: rgba(255, 255, 255, .76);
}

.careers-list h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.careers-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.careers-list span {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 32px;
  font-weight: 900;
  color: rgba(58, 94, 161, .24);
}

/* News */
.news-stage {
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.news-copy {
  min-height: 246px;
}

.news-entry {
  display: none;
}

.news-entry.is-active {
  display: block;
}

.news-entry time {
  display: block;
  font-size: 46px;
  font-weight: 300;
  color: #7a8fb8;
  line-height: 1;
}

.news-entry time span {
  font-size: 22px;
}

.news-entry h3 {
  margin: 14px 0 9px;
  font-size: 26px;
  line-height: 1.25;
}

.news-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 14px;
}

.news-entry a {
  margin-top: 14px;
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
}

.news-visual {
  position: relative;
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(75, 109, 176, .22);
  background: #dbe8ff;
}

.news-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .5s ease, transform .5s ease;
}

.news-poster.is-active {
  opacity: 1;
  transform: scale(1);
}

.news-controls {
  margin-top: 12px;
  display: flex;
  gap: 6px;
}

.news-control {
  width: 34px;
  height: 30px;
  border: 1px solid rgba(75, 108, 173, .3);
  background: rgba(255, 255, 255, .74);
  color: #3f5e92;
  font-size: 14px;
}

.news-control.is-active {
  background: #fff;
  border-color: #668ccf;
  color: #1e4d95;
}

.news-more {
  margin-top: 14px;
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(75, 107, 167, .25);
  border-radius: 4px;
  color: #3f5f95;
  font-size: 12px;
}

/* Footer (from A style) */
.site-footer {
  --footer-background: #31B9DD;
  background: var(--footer-background);
  color: #edf4ff;
  margin-top: auto;
  padding: 0 0 16px;
  border-top: 0;
  position: relative;
  overflow: visible;
  min-height: auto;
}

.footer-bubbles {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1rem;
  background: var(--footer-background);
  filter: url("#footerBlob");
  -webkit-filter: url("#footerBlob");
  pointer-events: none;
}

.footer-bubbles .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 50%;
  transform: translate(-50%, 100%);
  animation: footer-bubble-size var(--time, 3s) ease-in infinite var(--delay, 0s),
             footer-bubble-move var(--time, 3s) ease-in infinite var(--delay, 0s);
}

.footer-content {
  position: relative;
  z-index: 2;
  padding-top: 30px;
  background: var(--footer-background);
}

.footer-blob-filter {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  gap: 14px;
}

.footer-col {
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24);
}

.footer-grid h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 14px;
}

.footer-list li + li { margin-top: 6px; }

.footer-list--contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-list--contact .contact-item + .contact-item {
  margin-top: 8px;
}

.contact-icon,
.follow-icon,
.friend-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 11px;
}

.contact-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-list a {
  color: #eef8ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
}

.footer-follow-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-follow-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 0;
}

.footer-follow-list a:hover {
  border-color: transparent;
}

.footer-qrcode-group {
  margin-left: 10px;
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.8vw, 34px);
}

.footer-qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qrcode-title {
  margin: 0;
  font-size: 12px;
  color: #eef8ff;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-qrcode,
.footer-qrcode-placeholder {
  width: 84px;
  height: 84px;
}

.footer-qrcode {
  object-fit: contain;
}

.footer-qrcode-placeholder {
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, .58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, .08) 0,
      rgba(255, 255, 255, .08) 6px,
      rgba(255, 255, 255, 0) 6px,
      rgba(255, 255, 255, 0) 12px
    );
}

.footer-list--friends a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0;
}

.footer-list--friends a:hover {
  border-color: transparent;
}

.copyright {
  text-align: center;
  margin: 14px 0 0;
  font-size: 12px;
  color: #dfeeff;
}

@keyframes footer-bubble-size {
  0%, 75% {
    width: var(--size, 4rem);
    height: var(--size, 4rem);
  }
  100% {
    width: 0;
    height: 0;
  }
}

@keyframes caseTextIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caseImageZoomIn {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(1.28);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1.12);
  }
}


@keyframes footer-bubble-move {
  0% { bottom: -4rem; }
  100% { bottom: var(--distance, 6rem); }
}

/* Mobile Dock */
.mobile-dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(67, 102, 168, .24);
  border-radius: 14px;
  background: rgba(244, 248, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 18px rgba(24, 45, 87, .18);
}

.mobile-dock a {
  text-align: center;
  padding: 10px 4px;
  font-size: 12px;
  color: #375889;
  font-weight: 700;
}

.mobile-dock a.is-current {
  color: #1f66e7;
}

body.menu-open .mobile-dock,
body.video-modal-open .mobile-dock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
}

/* ===== Tablet / H5 宽屏 ===== */
@media (max-width: 980px) {
  :root {
    --container: min(100%, calc(100vw - 28px));
    --nav-h: 56px;
    --dock-h: 58px;
  }

  html,
  body {
    overflow-x: hidden;
    /* 移动端取消强制整屏吸附，避免内容被裁切、滚动卡顿 */
    scroll-snap-type: none !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html.is-snap-mode {
    scroll-snap-type: none !important;
  }

  .snap-panel {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .page-indicator {
    display: none;
  }

  .topbar {
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding: calc(6px + env(safe-area-inset-top, 0px)) 0 6px;
  }

  .topbar:not(.is-solid) .lang-switch button,
  .topbar:not(.is-solid) .lang-switch a {
    color: #3a578b;
    border-color: rgba(40, 86, 170, .23);
    background: rgba(255, 255, 255, .72);
  }

  .topbar:not(.is-solid) .lang-switch .is-active {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
  }

  .topbar:not(.is-solid) .menu-toggle {
    border-color: rgba(54, 96, 174, .28);
    background: rgba(255, 255, 255, .78);
  }

  .topbar:not(.is-solid) .menu-toggle span {
    background: #36578b;
  }

  /* 移动端首屏也保持导航可见，方便操作 */
  .topbar.is-hero .lang-switch,
  .topbar.is-hero .menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .topbar-inner {
    width: var(--container);
    gap: 10px;
  }

  .menu-panel-body {
    width: min(100vw, 100%);
    padding:
      calc(16px + env(safe-area-inset-top, 0px))
      calc(22px + env(safe-area-inset-right, 0px))
      calc(28px + env(safe-area-inset-bottom, 0px))
      calc(22px + env(safe-area-inset-left, 0px));
  }

  .menu-meta {
    position: static;
    margin-top: 24px;
  }

  .menu-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* 仅首屏保持视口高度，其余区块按内容自然撑开 */
  .hero.snap-panel {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
  }

  .section.snap-panel,
  .site-footer.snap-panel {
    min-height: 0 !important;
  }

  .section {
    min-height: auto;
    padding: calc(var(--nav-h) + 28px) 0 36px;
    align-items: stretch;
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    width: var(--container);
  }

  .section-side-label {
    display: none;
  }

  .product-shell,
  .about-shell,
  .careers-shell,
  .news-shell {
    width: var(--container);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  /* 节目案例：整块卡片在视口内水平居中 */
  .products .section-inner.product-shell {
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
    justify-items: stretch;
  }

  .products .section-main {
    width: 100%;
    max-width: 100%;
  }

  .case-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .case-visual {
    min-height: 42vw;
    min-height: max(220px, 42vw);
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .case-image {
    width: 100%;
    height: 100%;
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }

  .case-image.is-active {
    transform: translate3d(-50%, -50%, 0) scale(1.02);
  }

  .case-info {
    grid-row: auto;
    border-left: 0;
    border-top: 1px solid #e2e8f3;
    padding: 18px 16px 16px;
  }

  .case-thumbs {
    grid-column: 1 / -1;
    grid-row: auto;
    border-right: 0;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .case-thumbs::-webkit-scrollbar {
    display: none;
  }

  .case-intro-btn {
    width: 100%;
    min-height: 48px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-copy h3 {
    font-size: clamp(22px, 5.8vw, 32px);
    margin-bottom: 10px;
  }

  .case-copy p {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .case-links {
    gap: 8px 14px;
  }

  .case-links a {
    font-size: 13px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* 了解我们 */
  .about-shell .section-main {
    padding: 18px 16px 22px;
  }

  .about-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-tab {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .about-values li {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  /* 加入我们 */
  .careers-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .careers-visual img {
    min-height: 260px;
    max-height: 340px;
  }

  .career-cta {
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }

  .career-cta:nth-of-type(1) {
    bottom: 78px;
  }

  .career-cta:nth-of-type(2) {
    bottom: 16px;
  }

  .careers-list article {
    padding: 16px 52px 16px 16px;
  }

  .careers-list span {
    font-size: 24px;
  }

  /* 新闻 */
  .news-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-copy {
    min-height: 0;
  }

  .news-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .news-controls {
    gap: 8px;
  }

  .news-control {
    width: 40px;
    height: 36px;
  }

  .news-more {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-follow-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-qrcode-group {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .site-footer {
    padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom, 0px));
  }

  .footer-content {
    width: var(--container);
  }

  /* 底部快捷导航 */
  .mobile-dock {
    display: grid;
    left: max(8px, env(safe-area-inset-left, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    height: var(--dock-h);
    border-radius: 14px;
    padding: 0 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .92);
  }

  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
  }

  .video-modal-panel {
    width: min(94vw, 640px);
    margin: 0 12px;
  }

  .video-modal-player {
    border-radius: 10px;
    max-height: min(68vh, 68dvh);
  }

  .video-modal-close {
    right: 0;
    top: -40px;
    width: 40px;
    height: 40px;
  }
}

/* ===== 手机竖屏 ===== */
@media (max-width: 760px) {
  :root {
    --container: min(100%, calc(100vw - 20px));
    --nav-h: 52px;
    --dock-h: 56px;
  }

  .topbar {
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding: calc(5px + env(safe-area-inset-top, 0px)) 0 5px;
  }

  .brand img {
    width: 118px;
    height: 33px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .lang-switch button,
  .lang-switch a {
    min-width: 34px;
    min-height: 28px;
    padding: 4px 9px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle {
    width: 38px;
    height: 36px;
    border-radius: 10px;
  }

  .menu-toggle span {
    width: 15px;
  }

  .hero-content {
    padding-top: 98px;
    padding-left: 0;
  }

  .hero-content--center {
    width: min(90vw, 400px);
    transform: translate(-50%, -48%);
  }

  .hero-content--center::before {
    left: 18px;
    top: -10px;
    width: min(140px, 38vw);
    border-width: 3px;
  }

  .hero-word {
    margin: 6px 0 4px;
    font-size: clamp(26px, 8.4vw, 38px);
    line-height: 1.18;
  }

  .hero .hero-title-en {
    font-size: clamp(28px, 9.6vw, 42px);
    line-height: 1;
  }

  .hero-play {
    margin-top: 12px;
    width: 52px;
    height: 34px;
    font-size: 15px;
    border-radius: 8px;
  }

  .scroll-hint {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .section {
    padding: calc(var(--nav-h) + 22px) 0 28px;
  }

  .section-mark {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .section-title {
    margin: 6px 0 14px;
    font-size: clamp(26px, 7.8vw, 32px);
  }

  .case-visual {
    min-height: 200px;
    aspect-ratio: 16 / 11;
  }

  .case-info {
    padding: 16px 14px;
    gap: 10px;
  }

  .case-thumb {
    width: 52px;
    height: 52px;
    border-radius: 6px;
  }

  .case-thumbs {
    padding: 10px 12px;
    gap: 8px;
  }

  .case-intro-btn {
    height: 46px;
    font-size: 11px;
    letter-spacing: .6px;
    gap: 8px;
  }

  .case-intro-icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .about-quote {
    margin-bottom: 14px;
    font-size: clamp(20px, 6.8vw, 28px);
  }

  .about-panel h3 {
    font-size: 19px;
  }

  .about-panel p {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .about-history li,
  .about-values li {
    grid-template-columns: 64px 1fr;
    padding-bottom: 12px;
  }

  .about-history span,
  .about-values span {
    font-size: 20px;
  }

  .about-values p {
    font-size: 13px;
  }

  .careers-visual img {
    min-height: 220px;
  }

  .career-cta span {
    font-size: 17px;
  }

  .career-cta strong {
    font-size: 10px;
  }

  .careers-list h3 {
    font-size: 16px;
  }

  .careers-list p {
    font-size: 13px;
  }

  .news-entry time {
    font-size: 30px;
  }

  .news-entry time span {
    font-size: 16px;
  }

  .news-entry h3 {
    font-size: 20px;
    margin: 12px 0 8px;
  }

  .news-entry p {
    font-size: 13px;
    line-height: 1.7;
  }

  .news-visual {
    aspect-ratio: 16 / 11;
  }

  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-list--contact li,
  .footer-follow-list a,
  .footer-list--friends a {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-item {
    align-items: flex-start;
  }

  .footer-qrcode,
  .footer-qrcode-placeholder {
    width: 76px;
    height: 76px;
  }

  .footer-qrcode-title {
    font-size: 12px;
  }

  .copyright {
    font-size: 11px;
    padding: 0 4px;
    line-height: 1.5;
  }

  .mobile-dock {
    border-radius: 12px;
  }

  .mobile-dock a {
    font-size: 12px;
    padding: 8px 2px;
  }
}

/* ===== 小屏手机 ===== */
@media (max-width: 480px) {
  :root {
    --container: min(100%, calc(100vw - 16px));
  }

  .topbar-inner {
    gap: 8px;
  }

  .brand img {
    width: 104px;
    height: 29px;
  }

  .lang-switch button,
  .lang-switch a {
    min-width: 32px;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .hero-content--center {
    width: min(92vw, 340px);
  }

  .hero-content--center::before {
    left: 12px;
    top: -8px;
    width: min(110px, 32vw);
    border-width: 3px;
  }

  .hero-word {
    font-size: clamp(22px, 7.8vw, 30px);
  }

  .hero .hero-title-en {
    font-size: clamp(24px, 9vw, 36px);
  }

  .hero-play {
    width: 48px;
    height: 32px;
  }

  .section {
    padding-top: calc(var(--nav-h) + 18px);
    padding-bottom: 22px;
  }

  .section-title {
    font-size: clamp(24px, 7.2vw, 30px);
  }

  .case-visual {
    min-height: 180px;
  }

  .case-copy h3 {
    font-size: clamp(20px, 6.2vw, 26px);
  }

  .case-thumb {
    width: 46px;
    height: 46px;
  }

  .about-shell .section-main,
  .careers-list article,
  .footer-col,
  .case-stage {
    border-radius: 10px;
  }

  .about-values li {
    grid-template-columns: 56px 1fr;
  }

  .about-values span {
    font-size: 18px;
  }

  .career-cta:nth-of-type(1) {
    bottom: 70px;
  }

  .career-cta span {
    font-size: 16px;
  }

  .news-entry time {
    font-size: 26px;
  }

  .news-entry h3 {
    font-size: 18px;
  }

  .footer-qrcode,
  .footer-qrcode-placeholder {
    width: 68px;
    height: 68px;
  }

  .footer-qrcode-group {
    gap: 10px;
  }

  .copyright {
    font-size: 10.5px;
  }
}

/* 横屏手机：避免内容过矮被挤压 */
@media (max-width: 980px) and (orientation: landscape) and (max-height: 480px) {
  .hero.snap-panel {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content--center {
    transform: translate(-50%, -46%) scale(.92);
  }

  .hero-content--center::before {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .case-visual,
  .news-visual {
    min-height: 180px;
    aspect-ratio: 21 / 9;
  }

  .careers-visual img {
    min-height: 180px;
  }

  .mobile-dock {
    height: 48px;
  }
}
