:root {
    --bg0: #050915;
    --bg1: #070b18;
    --card: rgba(255, 255, 255, .06);
    --card2: rgba(255, 255, 255, .08);
    --text: #eef3ff;
    --muted: rgba(238, 243, 255, .72);
    --muted2: rgba(238, 243, 255, .55);
    --accent: #4ea1ff;
    --accent2: #9b5cff;
    --good: #22c55e;
    --border: rgba(255, 255, 255, .14);
    --shadow: 0 18px 60px rgba(0, 0, 0, .45);
    --max: 1120px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--text);
    background: radial-gradient(1200px 800px at 70% -20%, rgba(78, 161, 255, .20), transparent 55%),
        radial-gradient(900px 700px at 10% 10%, rgba(155, 92, 255, .18), transparent 60%),
        linear-gradient(180deg, var(--bg0), var(--bg1) 45%, #040713);
    overflow-x: hidden;
}

html[lang="zh"] body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    opacity: .95
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px
}

/* ---------- Fancy background layers ---------- */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(900px 600px at 20% 15%, rgba(78, 161, 255, .16), transparent 60%),
        radial-gradient(800px 500px at 80% 25%, rgba(155, 92, 255, .14), transparent 60%),
        radial-gradient(900px 600px at 50% 110%, rgba(34, 197, 94, .10), transparent 60%);
    pointer-events: none;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.bg-grid {
    position: fixed;
    inset: -1px;
    z-index: -1;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(700px 420px at 50% 10%, #000 55%, transparent 85%);
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: rgba(6, 10, 22, .92);
    backdrop-filter: blur(8px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    letter-spacing: .6px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 18px 40px rgba(78, 161, 255, .22);
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted2);
    font-weight: 650;
    letter-spacing: .3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

.nav-links a {
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 12px;
}

.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    font-weight: 750;
}

.btn.primary {
    border-color: rgba(78, 161, 255, .40);
    background: linear-gradient(135deg, rgba(78, 161, 255, .95), rgba(155, 92, 255, .85));
    box-shadow: 0 18px 45px rgba(78, 161, 255, .18);
}

.btn.green {
    border-color: rgba(34, 197, 94, .45);
    background: linear-gradient(135deg, rgba(34, 197, 94, .92), rgba(14, 165, 233, .58));
}

.btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 60px 0 22px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(120deg, rgba(5, 9, 21, .85) 5%, rgba(5, 9, 21, .45) 55%, rgba(5, 9, 21, .92) 95%),
        url("assets/hero-warehouse.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -60px -40px;
    background: radial-gradient(500px 320px at 65% 25%, rgba(78, 161, 255, .25), transparent 70%),
        radial-gradient(520px 360px at 35% 35%, rgba(155, 92, 255, .22), transparent 70%);
    animation: floatGlow 9s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes floatGlow {
    from { transform: translate3d(0, -6px, 0); }
    to { transform: translate3d(0, 6px, 0); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: stretch;
}

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

.h1 {
    font-size: 46px;
    line-height: 1.02;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.sub {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
    margin: 0 0 18px
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 20px
}

.badge {
    font-size: 13px;
    color: rgba(238, 243, 255, .78);
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.card {
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(14px);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 18px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7
}

hr.sep {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin: 16px 0
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

@media (max-width:650px) {
    .kpi {
        grid-template-columns: 1fr
    }
}

.kpi .box {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
}

.kpi .num {
    font-weight: 900;
    font-size: 18px
}

.kpi .lab {
    color: var(--muted2);
    font-size: 13px;
    margin-top: 4px
}

/* ---------- Sections ---------- */
.section {
    padding: 32px 0
}

.section h2 {
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: -.2px
}

.section .lead {
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.7
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

@media (max-width:900px) {
    .grid3 {
        grid-template-columns: 1fr
    }
}

.list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.75
}

/* Fancy “photo band” between sections */
.photo-band {
    position: relative;
    margin: 10px 0 26px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--shadow);
}

.photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 9, 21, .92), rgba(5, 9, 21, .45), rgba(5, 9, 21, .92)),
        url("assets/hero-transport.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
}

.photo-band .inner {
    position: relative;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.photo-band strong {
    font-size: 18px
}

.photo-band span {
    color: var(--muted)
}

/* CTA */
.cta {
    margin: 26px 0 8px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: radial-gradient(900px 240px at 20% 20%, rgba(78, 161, 255, .22), transparent 60%),
        radial-gradient(900px 240px at 80% 30%, rgba(155, 92, 255, .18), transparent 60%),
        rgba(255, 255, 255, .05);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: rgba(6, 10, 22, .45);
    backdrop-filter: blur(12px);
    padding: 22px 0;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 14px
}

@media (max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
}

.footer a {
    color: var(--text)
}

.small {
    font-size: 13px;
    color: var(--muted2)
}

/* Forms */
.form {
    display: grid;
    gap: 10px;
    margin-top: 10px
}

.input,
select,
textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical
}

.label {
    font-size: 13px;
    color: var(--muted2);
    margin-bottom: 4px
}

.notice {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65
}

/* ---------- Scroll reveal (GPU-friendly: opacity + transform only) ---------- */
.reveal {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity .35s ease-out, transform .35s cubic-bezier(.25, .46, .45, .94);
}

.reveal.in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal.d1 { transition-delay: .03s }
.reveal.d2 { transition-delay: .06s }
.reveal.d3 { transition-delay: .09s }
.reveal.d4 { transition-delay: .12s }

/* ---------- Bilingual UI polish ---------- */
.lang-btn {
    min-width: 56px;
    position: relative;
    overflow: hidden;
    transition: transform .15s ease-out;
}

.lang-btn:hover {
    transform: scale(1.04);
}

.lang-btn:active {
    transform: scale(.96);
}

/* Ripple effect on click - originates from click position */
.lang-btn::after {
    content: "";
    position: absolute;
    left: var(--rx, 28px);
    top: var(--ry, 18px);
    width: 120px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    background: radial-gradient(circle, rgba(255, 255, 255, .6) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    border-radius: 50%;
}

.lang-btn.ripple::after {
    animation: rippleOut .4s ease-out forwards;
}

@keyframes rippleOut {
    0% { opacity: 1; transform: scale(0); }
    100% { opacity: 0; transform: scale(2.5); }
}

.lang-btn.switched {
    animation: langPop .35s cubic-bezier(.34, 1.2, .64, 1) forwards;
}

@keyframes langPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ---------- Fancy page animations ---------- */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translate3d(0, 16px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hero entrance */
.hero .hero-grid > div:first-child .h1 {
    animation: heroFadeIn .5s cubic-bezier(.25, .46, .45, .94) forwards;
}

.hero .hero-grid > div:first-child .sub {
    animation: heroFadeIn .5s cubic-bezier(.25, .46, .45, .94) .05s forwards;
    opacity: 0;
}

.hero .hero-grid > div:first-child .badges {
    animation: heroFadeIn .5s cubic-bezier(.25, .46, .45, .94) .1s forwards;
    opacity: 0;
}

.hero .hero-grid > div:first-child .btn-row {
    animation: heroFadeIn .5s cubic-bezier(.25, .46, .45, .94) .15s forwards;
    opacity: 0;
}

.hero .hero-grid .card {
    animation: floatIn .5s cubic-bezier(.25, .46, .45, .94) .2s forwards;
    opacity: 0;
}

/* Card hover - transform only (GPU-friendly) */
.card {
    transition: transform .2s ease-out;
}

a.card:hover,
.card:hover {
    transform: translateY(-4px);
}

/* Button hover - transform only */
.btn {
    transition: transform .15s ease-out;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Badge hover */
.badge {
    transition: transform .15s ease-out;
}

.badge:hover {
    transform: scale(1.03);
}

/* Nav link hover */
.nav-links a {
    transition: background .15s ease-out, color .15s ease-out;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
}

/* CTA hover */
.cta {
    transition: transform .2s ease-out;
}

.cta:hover {
    transform: translateY(-2px);
}

/* Photo band hover */
.photo-band {
    transition: transform .2s ease-out;
}

.photo-band:hover {
    transform: translateY(-2px);
}

/* Logo hover */
.brand .logo {
    transition: transform .2s ease-out;
}

.brand:hover .logo {
    transform: scale(1.04);
}

/* KPI box hover */
.kpi .box {
    transition: transform .15s ease-out, background .15s ease-out;
}

.kpi .box:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .08);
}

/* Form input focus */
.input:focus,
select:focus,
textarea:focus {
    border-color: rgba(78, 161, 255, .5);
    box-shadow: 0 0 0 3px rgba(78, 161, 255, .15);
}

/* Navbar */
.navbar {
    animation: heroFadeIn .5s ease forwards;
}