* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --deep: #08111f;
    --deep-2: #0d1a2b;
    --ink: #101828;
    --text: #344054;
    --muted: #667085;
    --line: #d8dee8;
    --bg: #f5f7fa;
    --panel: #ffffff;
    --primary: #1f5fbf;
    --primary-dark: #174985;
    --primary-soft: #eaf2ff;
    --cyan: #3bb8d9;
    --metal: #dfe5ec;
    --radius: 8px;
    --shadow: 0 18px 42px rgba(16, 34, 58, 0.10);
    --soft-shadow: 0 10px 24px rgba(16, 34, 58, 0.07);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 0.84, 0.34, 1);
    --container: 1200px;
    --gutter: 20px;
    --font-sans: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi 3.0", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

/* ── Skip Link (A11y) ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(216, 222, 232, 0.82);
    box-shadow: 0 10px 28px rgba(16, 34, 58, 0.045);
    backdrop-filter: blur(16px);
    transition: height 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.header.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(31, 95, 191, 0.08), 0 12px 30px rgba(16, 34, 58, 0.06);
}

.logo-container {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-container img {
    width: 124px;
    height: auto;
    flex: 0 0 auto;
}

.company-name {
    margin-left: 14px;
    min-width: 0;
}

.company-name-zh {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.company-name-en {
    margin-top: 3px;
    color: #5b6678;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
}

.nav a {
    position: relative;
    padding: 12px 4px;
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    touch-action: manipulation;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    touch-action: manipulation;
}

.main {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 118px 0 84px;
}

.section {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 82px 0;
}

.eyebrow {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-top: 10px;
    color: var(--ink);
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.15;
    font-weight: 760;
}

.section-heading p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    touch-action: manipulation;
    transition: gap 0.2s ease;
}

.text-link::after {
    content: "→";
    transition: transform 0.25s var(--ease);
}

.text-link:hover {
    gap: 12px;
}

.text-link:hover::after {
    transform: translateX(2px);
}

.surface {
    background: var(--panel);
    border: 1px solid rgba(216, 222, 232, 0.94);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.64s var(--ease-out), transform 0.64s var(--ease-out);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    color: rgba(255, 255, 255, 0.76);
    background:
        linear-gradient(135deg, rgba(31, 95, 191, 0.10), transparent 38%),
        linear-gradient(135deg, #07111f, #101b2b);
    padding: 44px max(var(--gutter), calc((100vw - var(--container)) / 2)) 22px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 95, 191, 0.25), transparent);
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.42fr) minmax(116px, 0.2fr);
    gap: 40px;
    align-items: start;
}

.footer h2,
.footer h3 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 760;
}

.footer p,
.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.78;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

.QRcode {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 2px;
}

.QRcode img {
    width: 112px;
    height: 112px;
    padding: 5px;
    border-radius: var(--radius);
    background: #fff;
}

.copyright {
    max-width: var(--container);
    margin: 32px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    text-align: center;
}

.copyright a {
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(31, 95, 191, 0.30);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-up,
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 860px) {
    :root {
        --gutter: 16px;
    }

    .header {
        height: 70px;
        padding: 0 var(--gutter);
    }

    .logo-container img {
        width: 96px;
    }

    .company-name-zh {
        max-width: calc(100vw - 180px);
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
    }

    .company-name-en {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 8px 16px 16px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--soft-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        padding: 13px 4px;
        text-align: center;
    }

    .main {
        width: calc(100% - 32px);
        padding: 94px 0 64px;
    }

    .section {
        width: calc(100% - 32px);
        padding: 64px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .QRcode {
        justify-content: flex-start;
    }

    .footer {
        padding-top: 36px;
    }
}
