@font-face { font-family: "HarmonyOS Sans"; src: url("../font/HarmonyOS-Sans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HarmonyOS Sans"; src: url("../font/HarmonyOS-Sans-Medium.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "HarmonyOS Sans"; src: url("../font/HarmonyOS-Sans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url("../font/Montserrat.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi 3"; src: url("../font/AlibabaPuHuiTi-3-55-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi 3"; src: url("../font/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi 3"; src: url("../font/AlibabaPuHuiTi-3-85-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    color-scheme: dark;
    --u: min(1px, .052083333vw);
    --content: 1600px;
    --gutter: max(24px, 8.333333vw);
    --header-height: max(56px, calc(80 * var(--u)));
    --text: #f7f8fb;
    --muted: #a8afbd;
    --blue: #4354f8;
    --accent: #4b73ff;
    --label-blue: #2b59ff;
    --section-bg: #08090c;
    --card-bg: #0e1117;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --body-font: "HarmonyOS Sans", "Segoe UI", Arial, sans-serif;
    --number-font: "Montserrat", "HarmonyOS Sans", "Segoe UI", sans-serif;
    --body-leading: 1.7;
    --heading-leading: 1.21;
    --body-tracking: .012em;
    --heading-tracking: .008em;
}
:root:lang(zh-CN) {
    --body-font: "Alibaba PuHuiTi 3", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    --number-font: var(--body-font);
    --body-leading: 1.76;
    --heading-leading: 1.26;
    --body-tracking: .025em;
    --heading-tracking: .035em;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #414857 #090a0d; }
body { margin: 0; background: #000; color: var(--text); font: 400 16px/var(--body-leading) var(--body-font); letter-spacing: var(--body-tracking); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); }
button { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
input, select, textarea { letter-spacing: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.company-profile-ticker { text-decoration: underline; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #99aaff; outline-offset: 4px; }
::selection { background: #3b4fea; color: #fff; }
[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 110; top: 12px; left: 12px; padding: 10px 14px; background: #fff; color: #000; border-radius: 4px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section-label { display: inline-flex; align-items: center; gap: max(6px, calc(9 * var(--u))); color: var(--label-blue); font-size: max(12px, calc(16 * var(--u))); line-height: 1.35; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.section-label img { flex: none; width: max(16px, calc(21 * var(--u))); height: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(13, 15, 21, .82); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; height: var(--header-height); align-items: center; }
.brand { justify-self: start; }
.brand img { width: max(108px, calc(147 * var(--u))); height: auto; }
.primary-nav { display: flex; align-items: center; gap: max(25px, calc(60 * var(--u))); }
.primary-nav a, .footer-nav a { position: relative; color: var(--muted); transition: color .2s; }
.primary-nav a { font-size: max(12px, calc(16 * var(--u))); }
.primary-nav a:hover, .primary-nav a[aria-current], .footer-nav a:hover, .footer-nav a:first-child { color: #fff; }
.primary-nav a[aria-current], .footer-nav a:first-child { font-weight: 600; }
.primary-nav a::after, .footer-nav a::after { position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: left; transition: transform .23s; }
.primary-nav a:hover::after, .footer-nav a:hover::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: max(12px, calc(33 * var(--u))); }
.language-menu { position: relative; z-index: 2; }
.language { display: inline-flex; gap: 4px; align-items: center; justify-content: center; min-width: 42px; min-height: 36px; padding: 3px; background: transparent; border: 0; border-radius: 5px; font-size: max(12px, calc(14 * var(--u))); white-space: nowrap; }
.language:hover { color: #b8c6ff; }
.language img { width: 9px; height: auto; }
.language-options { position: absolute; top: calc(100% + 6px); right: 0; display: grid; gap: 3px; min-width: 120px; padding: 5px; border: 1px solid #2b3140; border-radius: 8px; background: #11141b; box-shadow: 0 7px 20px #0009; }
.language-options button { min-height: 36px; padding: 6px 10px; border: 0; border-radius: 4px; background: transparent; text-align: start; white-space: nowrap; color: #d4dae6; font-size: 14px; }
.language-options button:is(:hover,[aria-pressed="true"]) { background: #222a3d; color: #fff; }
.menu-toggle { display: none; }

/* 用户菜单（登录后左上角显示用户名 + 下拉退出登录） */
.account-menu { position: relative; z-index: 2; }
.account-trigger { display: inline-flex; gap: 5px; align-items: center; justify-content: center; min-height: 36px; padding: 3px 8px; background: transparent; border: 0; border-radius: 99px; color: #fff; font-size: max(12px, calc(14 * var(--u))); line-height: 1.3; white-space: nowrap; cursor: pointer; }
.account-trigger:hover, .account-trigger:focus-visible { color: #b8c6ff; }
.account-trigger img { width: 9px; height: auto; transform: rotate(90deg); transition: transform .2s; }
.account-trigger[aria-expanded="true"] img { transform: rotate(-90deg); }
.account-dropdown { position: absolute; top: 100%; right: 0; display: grid; gap: 3px; min-width: 132px; padding: 8px 5px 5px; border: 1px solid #2b3140; border-radius: 8px; background: #11141b; box-shadow: 0 7px 20px #0009; }
.account-dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.account-logout { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 4px; background: transparent; text-align: start; white-space: nowrap; color: #d4dae6; font-size: 14px; cursor: pointer; }
.account-logout:hover { background: #222a3d; color: #fff; }
.account-logout:disabled { opacity: .6; cursor: default; }


.art-button { position: relative; display: inline-grid; width: max(var(--button-min, 118px), calc(var(--button-width) * var(--u))); border: 0; border-radius: 99px; background: transparent; padding: 0; color: #fff; flex: none; vertical-align: middle; transition: transform .22s var(--ease-out); }
.art-button img { grid-area: 1 / 1; width: 100%; height: auto; pointer-events: none; }
.art-button img:has(+ img), .art-button img + img, .action-button::before, .action-button::after { transition: clip-path .38s cubic-bezier(.3,.7,.3,1); }
.art-button img:has(+ img), .action-button::before { clip-path: inset(0); }
.art-button img + img, .action-button::after { clip-path: inset(0 100% 0 0); }
.art-button:is(:hover,:focus-visible) { transform: translateY(-2px); }
.art-button:is(:hover,:focus-visible) img:has(+ img), .action-button:is(:hover,:focus-visible)::before { clip-path: inset(0 0 0 100%); }
.art-button:is(:hover,:focus-visible) img + img, .action-button:is(:hover,:focus-visible)::after { clip-path: inset(0); }
.art-button:active { transform: translateY(1px); }
.action-button { isolation: isolate; width: fit-content; max-width: 100%; min-width: 110px; min-height: max(44px, calc(50 * var(--u))); align-content: center; padding: 8px 47px 8px 24px; font-size: max(13px, calc(16 * var(--u))); line-height: 1.4; text-align: start; }
.action-button::before, .action-button::after { position: absolute; inset: 0; content: ""; z-index: -1; pointer-events: none; border: solid transparent; border-width: 0 49px; border-image: var(--action-art) 0 49 fill / 0 49px; }
.action-button::before { --action-art: url("../images/svg/button-art/button-route-idle.svg"); }
.action-button::after { --action-art: url("../images/svg/button-art/button-route-hover-accent.svg"); }
.art-button-label { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; place-items: center; padding-inline: 10px 30px; font-size: max(11px, calc(16 * var(--u))); line-height: 1.32; white-space: nowrap; pointer-events: none; transition: color .24s; }
.login-button .art-button-label, .contact-button .art-button-label { padding-inline: 6px; }
.contact-button .art-button-label { color: var(--muted); }
.visit-white .art-button-label, .contact-button:is(:hover,:focus-visible) .art-button-label { color: #14161b; }
.login-button { --button-width: 82; --button-min: 65px; }
.route-button { --button-width: 175; }
.visit-button, .contact-button { --button-width: 173; }
.products-button { --button-width: 183; }
.details-button { --button-width: 168; }
.about-button { --button-width: 226; --button-min: 144px; }

.site-footer { position: relative; padding-top: calc(74 * var(--u)); background: #0a0a0a; }
.footer-head, .footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-head { padding-bottom: calc(37 * var(--u)); border-bottom: 1px solid #2d2e30; }
.footer-brand { display: flex; align-items: flex-end; gap: 10px; }
.footer-brand img { width: max(126px, calc(228 * var(--u))); height: auto; }
.footer-brand p { margin-bottom: 2px; padding-left: 9px; border-left: 1px solid #52545b; font-size: max(10px, calc(16 * var(--u))); line-height: 1.42; color: var(--muted); }
.footer-nav { display: flex; gap: clamp(14px, 4.55vw, 90px); padding-right: 4%; font-size: max(12px, calc(16 * var(--u))); }
.footer-contact { display: grid; grid-template-columns: minmax(0,1fr) auto; padding-block: calc(55 * var(--u)) calc(76 * var(--u)); align-items: start; }
.footer-contact p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: max(13px, calc(20 * var(--u))); }
.footer-contact p img { width: max(26px, calc(40 * var(--u))); aspect-ratio: 1; }
.footer-contact > div > a { display: inline-block; margin-top: 3px; font: 500 max(16px, calc(32 * var(--u)))/1.4 var(--number-font); }
.footer-contact > div > a:hover, .footer-legal a:hover { color: #8798ff; }
.footer-contact a[href^="mailto:"] { text-transform: lowercase; overflow-wrap: anywhere; }
.footer-contact .social-links { position: relative; display: flex; gap: 10px; align-items: center; }
.social-links button { display: grid; place-items: center; background: transparent; border: 0; margin: 0; padding: 0; width: max(34px, calc(46 * var(--u))); min-height: 36px; transition: transform .2s, filter .2s; }
.social-links button:hover { filter: brightness(1.6); transform: translateY(-2px); }
.social-qr { position: absolute; right: 0; bottom: 100%; z-index: 12; width: min(210px, calc(100vw - 36px)); padding-bottom: 10px; }
.social-qr figure { margin: 0; padding: 12px; border: 1px solid #303744; border-radius: 12px; background: #11141b; box-shadow: 0 8px 24px #0008; }
.social-qr img { width: 100%; height: auto; aspect-ratio: 1; background: #fff; image-rendering: pixelated; }
.social-qr figcaption { margin-top: 8px; text-align: center; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: calc(29 * var(--u)) 0; border-top: 1px solid #17171a; color: var(--muted); font-size: max(10px, calc(14 * var(--u))); }
.footer-legal span { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.footer-legal img { width: 13px; height: auto; }
.back-top { position: fixed; right: max(14px, calc(22 * var(--u)), env(safe-area-inset-right)); bottom: max(20px, 4vh, env(safe-area-inset-bottom)); z-index: 7; display: grid; place-items: center; width: max(44px, calc(47 * var(--u))); min-height: 44px; border-radius: 30px; opacity: 0; visibility: hidden; pointer-events: none; translate: 0 9px; transition: opacity .26s ease, translate .32s var(--ease-out), transform .32s var(--ease-out), visibility .26s; }
.back-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; }
.back-top:hover { transform: translateY(-4px); }
.back-top img { width: max(36px, calc(47 * var(--u))); height: auto; }

.site-dialog { padding: 0; width: min(560px, calc(100% - 32px)); max-height: 85vh; border-radius: 15px; border: 1px solid #303744; background: #101218; color: var(--text); }
.site-dialog::backdrop { background: #000b; backdrop-filter: blur(7px); }
.dialog-close { width: 40px; height: 40px; border: 1px solid #3a404c; border-radius: 50%; background: #181b22; font-size: 25px; line-height: 1; }
.dialog-close:hover { background: var(--blue); }

@media (max-width: 850px) {
    .footer-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
    :root { --gutter: clamp(20px, 5vw, 32px); }
    .header-inner { grid-template-columns: 1fr auto; }
    .primary-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 10px var(--gutter) 15px; background: #101117f5; border-bottom: 1px solid #2a2d35; }
    .primary-nav.is-open { display: grid; gap: 3px; }
    .primary-nav a { min-height: 40px; padding: 8px 0; font-size: 15px; }
    .primary-nav a::after { display: none; }
    .menu-toggle { padding: 0; width: 38px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 6px; background: transparent; border: 0; }
    .menu-toggle span { width: 18px; height: 1px; background: #fff; transition: transform .2s; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .footer-contact { grid-template-columns: 1fr; gap: 18px; }
    .footer-nav { flex-wrap: wrap; gap: 12px 24px; }
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .footer-brand p { padding: 0; border: 0; }
    .footer-legal { padding-right: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .08s !important; }
    .art-button:is(:hover,:focus-visible), .back-top:hover { transform: none; }
}
