:root {
  --blue: #69c9df;
  --blue-dark: #126b84;
  --blue-active: #1687a0;
  --ink: #101416;
  --muted: #62696c;
  --line: #dfe4e6;
  --paper: #fff;
  --soft: #f4f6f6;
  --brand-tint: #edf5f7;
  --steel-tint: #e8ecee;
  --surface-muted: #f4f6f6;
  --max: 1440px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-float: 0 14px 36px rgba(16,20,22,.1);
  --duration-fast: 180ms;
  --duration-normal: 260ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei UI", sans-serif;
  font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; border: none; background: transparent; }
h1, h2, h3, p { margin-top: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 4px; }

.site-header {
  position: sticky; z-index: 20; top: 0; height: 64px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 72px);
  background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(16,20,22,.07); backdrop-filter: saturate(160%) blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 17px; font-weight: 650; letter-spacing: .14em; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); }
.main-nav a, .header-actions a, .lang-switch { font-size: 14px; transition: color var(--duration-fast) ease, background var(--duration-fast) ease; }

.main-nav > a, .nav-group > a {
  position: relative; padding: 21px 0; color: var(--ink); text-decoration: none;
  transition: color var(--duration-fast) ease;
}

/* Top menu indicator bar - Instant hover color change & underline display with logo theme blue */
.main-nav > a::after,
.nav-group > a::after {
  position: absolute; right: 0; bottom: 12px; left: 0; height: 2px;
  background: var(--blue, #69c9df); content: ""; border-radius: 3px;
  transform: scaleX(0); opacity: 0; transition: transform .2s var(--ease), opacity .2s var(--ease);
  transform-origin: center;
}

.main-nav > a:hover,
.nav-group:hover > a {
  color: var(--blue-active);
}
.main-nav > a:hover::after,
.nav-group:hover > a::after {
  transform: scaleX(1); opacity: 1;
}

/* Selected / Active menu state with company logo theme blue */
.main-nav > a.is-active,
.nav-group.is-active > a {
  color: var(--blue-active); font-weight: 600;
}
.main-nav > a.is-active::after,
.nav-group.is-active > a::after {
  transform: scaleX(1); opacity: 1; background: var(--blue, #69c9df);
}

.nav-group { position: relative; display: flex; align-items: center; }
.nav-group > a { display: block; }

/* Dropdown Menu - Left-aligned to parent title text, ZERO border frame */
.nav-dropdown {
  position: absolute; top: calc(100% - 10px); left: -14px; min-width: 180px; padding: 6px;
  background: rgba(255,255,255,.98); border: 1px solid rgba(16,20,22,.06) !important; border-radius: var(--radius-md); outline: none;
  box-shadow: var(--shadow-float); backdrop-filter: blur(20px);
  transform: translateY(6px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-dropdown::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 16px; content: ""; }
.nav-dropdown a, .nav-dropdown span {
  display: block; padding: 10px 14px; color: var(--ink); font-size: 13px;
  border-radius: var(--radius-sm); white-space: nowrap; transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.nav-dropdown a:hover {
  background: rgba(105,201,223,.12); color: var(--blue-dark); font-weight: 500;
}
.nav-dropdown a.is-active {
  background: rgba(105,201,223,.16); color: var(--blue-dark); font-weight: 600;
}
.nav-dropdown span { color: var(--muted); opacity: .7; cursor: default; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { transform: translateY(0); opacity: 1; visibility: visible; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.contact-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.lang-switch { padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 14px; }
.lang-dropdown { position: relative; display: inline-block; font-size: 14px; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid transparent;
  border-radius: var(--radius-sm, 6px); background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--duration-fast) ease;
}
.lang-trigger:hover, .lang-dropdown.is-open .lang-trigger {
  background: rgba(105,201,223,.12); color: var(--blue-dark); border-color: rgba(105,201,223,.24);
}
.lang-globe-icon { flex-shrink: 0; opacity: .82; }
.lang-current { font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.lang-arrow { font-size: 10px; line-height: 1; transition: transform .2s ease; opacity: .65; }
.lang-dropdown.is-open .lang-arrow { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 120;
  min-width: 130px; margin: 0; padding: 6px; list-style: none;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .1); backdrop-filter: blur(16px);
  transform: translateY(4px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.lang-dropdown.is-open .lang-menu {
  transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
}
.lang-menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; font-size: 13px; color: var(--ink); border-radius: 5px;
  cursor: pointer; user-select: none; transition: background .15s ease, color .15s ease;
}
.lang-menu li:hover { background: rgba(105, 201, 223, .14); color: var(--blue-dark); }
.lang-menu li[aria-selected="true"] {
  font-weight: 600; color: var(--blue-dark); background: rgba(105, 201, 223, .1);
}
.lang-menu li .lang-check {
  font-size: 12px; color: var(--blue-dark); opacity: 0; font-weight: 700;
}
.lang-menu li[aria-selected="true"] .lang-check { opacity: 1; }
.menu-toggle { display: none; border: 0; background: transparent; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 72px); }
.section-heading { max-width: 900px; margin: 0 auto clamp(24px, 3.5vw, 40px); text-align: center; }
.section-heading h2 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 600; }
.section-heading--compact { margin-bottom: 28px; }
.eyebrow { margin-bottom: 14px; color: var(--blue, #69c9df); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(40px, 4.5vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h2 { margin-bottom: 24px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid currentColor; color: inherit; font-size: 14px; font-weight: 600; transition: color var(--duration-fast) ease; }
.text-link span:last-child { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--blue-dark); }
.text-link:hover span:last-child { transform: translateX(4px); }

.site-footer { color: #333; background: #f5f5f5; }
.footer-top, .footer-nav, .footer-bottom { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.footer-top { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #e0e0e0; }
.site-footer > .footer-top { width: 100%; padding-inline: max(20px, calc((100% - var(--max)) / 2)); background: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: .16em; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icon { position: relative; display: grid; width: 36px; height: 36px; padding: 8px; place-items: center; border: 1px solid #d0d5d6; border-radius: 50%; background: #fff; opacity: .76; }
button.social-icon { cursor: pointer; }
.social-icon:hover, .social-icon:focus-visible { border-color: var(--blue-dark); opacity: 1; }
.social-icon > img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); }
.qrcode-popup { position: absolute; z-index: 5; bottom: 48px; left: 50%; width: 150px; padding: 12px; color: var(--ink); background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.24); font-size: 12px; text-align: center; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.qrcode-popup img { width: 112px; height: 112px; margin: 0 auto 8px; }
.wechat-icon:hover .qrcode-popup, .wechat-icon:focus-visible .qrcode-popup { opacity: 1; transform: translate(-50%, 0); }
.back-to-top {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; transition: color .25s ease;
}
.back-to-top:hover { color: var(--blue-dark); }
.back-to-top span:last-child {
  display: grid; width: 34px; height: 34px; place-items: center;
  border-radius: 50%; color: #fff; background: var(--blue, #69c9df);
  border: 1px solid var(--blue, #69c9df); transition: all .25s var(--ease);
}
.back-to-top:hover span:last-child {
  background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(105, 201, 223, .38);
}
.footer-main { border-bottom: 1px solid #d9ddde; background: #f5f5f5; }
.footer-nav { display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; gap: 32px; padding: 54px 0 60px; }
.footer-nav > div { width: max-content; max-width: 100%; }
.footer-nav h3 { margin-bottom: 22px; color: #222; font-size: 15px; font-weight: 600; }
.footer-nav a, .footer-nav div > span { display: block; width: max-content; max-width: 100%; margin: 11px 0; color: #666; font-size: 13px; line-height: 1.6; }
.footer-nav a:hover { color: var(--blue-dark); }
.footer-bottom { width: 100%; min-height: 88px; padding: 20px; display: grid; place-content: center; gap: 8px; color: #666; background: #e0e0e0; font-size: 12px; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { text-align: center; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 840px) {
  .site-header { height: 56px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-inline: 16px 8px; }
  .brand { min-width: 0; gap: 8px; font-size: 15px; letter-spacing: .11em; white-space: nowrap; }
  .brand img { width: 30px; height: 30px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 1px; background: var(--ink); transition: transform .25s ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 56px; left: 0; display: none; width: 100vw; height: calc(100dvh - 56px);
    align-items: flex-start; flex-direction: column; gap: 0; padding: 20px 24px 104px;
    overflow-y: auto; background: #fff;
  }
  .menu-open .main-nav { display: flex; }
  .main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 21px; }
  .main-nav > a::after, .nav-group > a::after { display: none; }
  .nav-group { width: 100%; }
  .nav-dropdown {
    position: static; width: 100%; padding: 0 0 8px 18px; border: 0 !important; border-radius: 0;
    background: transparent; box-shadow: none; backdrop-filter: none;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a, .nav-dropdown span { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; }
  .header-actions { display: none; }
  .menu-open .header-actions {
    position: absolute; z-index: 21; top: calc(100dvh - 72px); left: 0; display: flex; justify-content: space-between;
    width: 100vw; min-height: 72px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: #fff;
  }
  .header-actions .contact-link { display: inline-block; padding: 10px 0; font-size: 14px; }
  .lang-switch { min-width: 64px; min-height: 44px; text-align: right; }
  .lang-dropdown { display: inline-flex; align-items: center; }
  .menu-open .header-actions .lang-trigger { min-height: 44px; padding: 10px 12px; }
  .menu-open .header-actions .lang-menu { bottom: calc(100% + 8px); top: auto; right: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .footer-top { grid-template-columns: 1fr auto; }
  .social-icons { grid-column: 1 / -1; grid-row: 2; justify-self: start; padding-bottom: 24px; }
  .back-to-top { grid-column: 2; grid-row: 1; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); justify-items: start; }
  .footer-nav > div { width: 100%; }
  .footer-bottom { padding: 24px 0; }
  .footer-bottom p:last-child { text-align: center; }
}

@media (max-width: 360px) {
  .brand { font-size: 14px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
