body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC",
        "PingFang SC", sans-serif;
    background-color: #020617;
}

.gradient-hero {
    position: relative;
    background:
        radial-gradient(circle at top left, #1d4ed8 0, transparent 55%),
        radial-gradient(circle at bottom right, #0f766e 0, transparent 55%),
        linear-gradient(135deg, #020617, #020617);
    overflow: hidden;
}

.gradient-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg,
            rgba(56, 189, 248, 0.08),
            rgba(129, 140, 248, 0.28),
            rgba(52, 211, 153, 0.12),
            rgba(56, 189, 248, 0.08));
    opacity: 0.45;
    mix-blend-mode: screen;
    filter: blur(40px);
    animation: gradientSpin 32s linear infinite;
    pointer-events: none;
}

@keyframes gradientSpin {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(-4%, 2%, 0) rotate(180deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(360deg);
    }
}

.glass-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.8),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    transition:
        transform 0.32s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 0.32s cubic-bezier(0.19, 1, 0.22, 1),
        border-color 0.22s ease-out,
        background 0.25s ease-out;
}

.glass-card-hover:hover {
    transform: translateY(-6px) translateZ(0) scale(1.01);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(37, 99, 235, 0.42);
    border-color: rgba(59, 130, 246, 0.6);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 60%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 55%),
        rgba(15, 23, 42, 0.96);
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeSlide 20s linear infinite;
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 8px));
    }
}

.orb {
    position: absolute;
    border-radius: 999px;
    opacity: 0.75;
    filter: blur(18px);
    mix-blend-mode: screen;
    pointer-events: none;
}

.orb-blue {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.7), transparent 60%);
    animation: floatOrbBlue 26s ease-in-out infinite;
}

.orb-emerald {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.6), transparent 60%);
    animation: floatOrbEmerald 30s ease-in-out infinite;
}

@keyframes floatOrbBlue {
    0% {
        transform: translate3d(-10%, 10%, 0) scale(1);
    }

    50% {
        transform: translate3d(10%, -5%, 0) scale(1.2);
    }

    100% {
        transform: translate3d(-10%, 10%, 0) scale(1);
    }
}

@keyframes floatOrbEmerald {
    0% {
        transform: translate3d(8%, 25%, 0) scale(1.1);
    }

    50% {
        transform: translate3d(-6%, -15%, 0) scale(0.9);
    }

    100% {
        transform: translate3d(8%, 25%, 0) scale(1.1);
    }
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
    transition-delay: 0.06s;
}

.reveal-delay-2 {
    transition-delay: 0.12s;
}

.reveal-delay-3 {
    transition-delay: 0.18s;
}

.reveal-delay-4 {
    transition-delay: 0.24s;
}
.reveal-delay-5 {
    transition-delay: 0.30s;
}

.vault-scene {
    position: relative;
    height: 270px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.45), transparent 60%),
        radial-gradient(circle at 85% 100%, rgba(45, 212, 191, 0.25), transparent 60%),
        radial-gradient(circle at center, rgba(15, 23, 42, 1) 0, rgba(15, 23, 42, 1) 56%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(30, 64, 175, 0.7);
}

.vault-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(51, 65, 85, 0.75) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(51, 65, 85, 0.75) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.16;
    transform: perspective(900px) rotateX(52deg);
    transform-origin: top;
    top: 28%;
    mask-image: linear-gradient(to bottom, transparent, black 35%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 35%, black 80%, transparent);
}

.vault-shell {
    position: absolute;
    inset: 20px 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.5), transparent 70%);
    box-shadow:
        0 0 0 1px rgba(30, 64, 175, 0.45),
        0 0 60px rgba(30, 64, 175, 0.6);
    backdrop-filter: blur(16px);
}

.vault-ring {
    position: absolute;
    inset: 28px 46px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    overflow: hidden;
}

.vault-ring::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 220deg,
            transparent 0deg,
            rgba(56, 189, 248, 0.9) 40deg,
            transparent 80deg,
            transparent 200deg,
            rgba(16, 185, 129, 0.9) 240deg,
            transparent 280deg);
    animation: spinSweep 10s linear infinite;
    opacity: 0.9;
}

@keyframes spinSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vault-orbit-outer,
.vault-orbit-inner {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    opacity: 0.8;
}

.vault-orbit-outer {
    inset: 40px 58px;
    animation: spinOrbitOuter 32s linear infinite;
}

.vault-orbit-inner {
    inset: 58px 76px;
    animation: spinOrbitInner 26s linear infinite;
}

@keyframes spinOrbitOuter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes spinOrbitInner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vault-orbit-outer::before,
.vault-orbit-outer::after,
.vault-orbit-inner::before,
.vault-orbit-inner::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #e5e7eb, #22c55e);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.9);
}

.vault-orbit-outer::before {
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

.vault-orbit-outer::after {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.vault-orbit-inner::before {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle at center, #e5e7eb, #38bdf8);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
}

.vault-orbit-inner::after {
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    background: radial-gradient(circle at center, #e5e7eb, #facc15);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.9);
}

.vault-core {
    position: absolute;
    inset: 72px 90px;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(8, 47, 73, 0.9), #020617 55%, #020617 100%);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.5),
        0 0 40px rgba(52, 211, 153, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 16px 10px;
    overflow: hidden;
}

.vault-core-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 20% 0%, rgba(129, 140, 248, 0.5), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(45, 212, 191, 0.4), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
    pointer-events: none;
}

.vault-core-header,
.vault-core-footer {
    position: relative;
    z-index: 1;
}

.vault-core-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
    align-items: center;
}

.vault-core-title {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a5b4fc;
    display: flex;
    align-items: center;
    gap: 6px;
}
html.light .vault-status-dot{
    background: #0168FF;
    box-shadow: 0 0 12px rgba(1,104,255,0.9);
}
.vault-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
    position: relative;
}

html.light .vault-status-dot::after{
    border: 1px solid rgba(1,104,255,0.6);
}
.vault-status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.6);
    opacity: 0.4;
    animation: pulseStatus 2.4s ease-out infinite;
}

@keyframes pulseStatus {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.vault-core-value {
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
}

.vault-core-sub {
    font-size: 11px;
    color: #9ca3af;
}

.vault-core-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 2px 8px;
    background: rgba(22, 163, 74, 0.25);
    color: #bbf7d0;
    font-size: 10px;
}

.vault-core-badge-arrow {
    font-size: 10px;
}

.vault-core-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    font-size: 10px;
}

.vault-core-metric {
    padding: 5px 6px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(51, 65, 85, 0.9);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vault-core-metric-label {
    color: #9ca3af;
}

.vault-core-metric-value {
    color: #e5e7eb;
    font-weight: 500;
}

.vault-core-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    color: #9ca3af;
}

.vault-core-footer-pill {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.9);
    background: rgba(15, 23, 42, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #e5e7eb;
}

.vault-core-footer-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.asset-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 10px;
    color: #e5e7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    white-space: nowrap;
}

.asset-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #e5e7eb, #38bdf8);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.9);
}

.asset-chip-badge {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.22);
    color: #bbf7d0;
}

.asset-chip-1 {
    top: 10px;
    left: 16px;
    animation: floatAsset1 9s ease-in-out infinite;
}

.asset-chip-2 {
    top: 30px;
    right: 16px;
    animation: floatAsset2 10.5s ease-in-out infinite;
}

.asset-chip-3 {
    bottom: 35px;
    left: 18px;
    animation: floatAsset3 8.2s ease-in-out infinite;
}

.asset-chip-4 {
    bottom: 20px;
    right: 20px;
    animation: floatAsset4 11s ease-in-out infinite;
}

@keyframes floatAsset1 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(8px, 5px, 0);
    }
}

@keyframes floatAsset2 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-8px, 4px, 0);
    }
}

@keyframes floatAsset3 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(6px, -6px, 0);
    }
}

@keyframes floatAsset4 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-6px, -4px, 0);
    }
}

.data-stream {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, transparent, rgba(56, 189, 248, 0.9), transparent);
    opacity: 0.7;
    filter: blur(0.2px);
}

.data-stream-1 {
    top: 32%;
    left: -30%;
    width: 60%;
    animation: streamMove 7s linear infinite;
}

.data-stream-2 {
    top: 44%;
    left: -40%;
    width: 70%;
    animation: streamMove 9s linear infinite;
    opacity: 0.5;
}

.data-stream-3 {
    top: 58%;
    left: -50%;
    width: 75%;
    animation: streamMove 8s linear infinite;
    opacity: 0.4;
}

@keyframes streamMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(220%);
    }
}

/* ===== i18n anti-layout-shift ===== */

/* 统一数字宽度，避免中英文/千分位切换导致抖动 */
.tabular-nums {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* 预留两种语言中“更高的一种”的高度 */
.i18n-title-2line {
    min-height: calc(1.2em * 2);
    /* 两行标题高度 */
    line-height: 1.2;
}

.i18n-desc-3line {
    min-height: calc(1.6em * 3);
    /* 三行正文高度 */
    line-height: 1.6;
}

/* 用 clamp 固定最大行数，超出省略，保证高度一致 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 切换时淡入淡出 */
.i18n-fade {
    transition: opacity .12s ease;
}

.i18n-fade.is-switching {
    opacity: 0;
}



/* ===== light / dark theme (refined light) ===== */
html.light body {
    background-color: #f6f8fb;
    /* cool off-white */
    color: #0b1220;
}

/* hero background becomes airy but still tech-finance */
html.light .gradient-hero {
    /* background:
        radial-gradient(900px circle at 0% -10%, rgba(37, 99, 235, 0.16) 0%, transparent 55%),
        radial-gradient(800px circle at 100% 110%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #f7f9fc 0%, #f1f5f9 55%, #eef2f7 100%); */
        background: 
            radial-gradient(900px circle at 0% -10%, rgba(37, 99, 235, 0.35) 0%, transparent 55%),
            radial-gradient(800px circle at 100% 110%, rgba(16, 185, 129, 0.25) 0%, transparent 55%),
            linear-gradient(180deg, #e6eaf2 0%, #dce4ef 55%, #c9d5e6 100%);
}

html.light .gradient-hero::before {
    opacity: 0.18;
    mix-blend-mode: normal;
    filter: blur(70px);
}

/* header/nav */
html.light header {
    background: rgba(247, 249, 252, 0.9) !important;
    border-color: rgba(226, 232, 240, 1) !important;
}

html.light header .text-slate-300,
html.light header .text-slate-200,
html.light header .text-slate-400 {
    color: #334155 !important;
}

html.light header .hover\:text-blue-400:hover {
    color: #2563eb !important;
}

/* glass cards: white with soft depth */
html.light .glass-card {
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(59, 130, 246, 0.04), transparent 45%),
        radial-gradient(120% 160% at 100% 100%, rgba(16, 185, 129, 0.04), transparent 45%),
        rgba(255, 255, 255, 0.98);
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(10px);
}

html.light .glass-card-hover:hover {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.10),
        0 0 0 1px rgba(37, 99, 235, 0.22);
    background:
        radial-gradient(140% 180% at 0% 0%, rgba(37, 99, 235, 0.06), transparent 50%),
        radial-gradient(140% 180% at 100% 100%, rgba(16, 185, 129, 0.06), transparent 55%),
        rgba(255, 255, 255, 1);
}

/* text colors */
html.light .text-slate-50,
html.light .text-slate-100,
html.light .text-slate-200 {
    color: #0f172a !important;
}

html.light .text-slate-300 {
    color: #334155 !important;
}

html.light .text-slate-400 {
    color: #475569 !important;
}

html.light .text-slate-500 {
    color: #64748b !important;
}

/* buttons */
html.light .bg-slate-950\/50,
html.light .bg-slate-950\/60,
html.light .bg-slate-950\/85,
html.light .bg-slate-950 {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

html.light .border-slate-500\/80,
html.light .border-slate-600,
html.light .border-slate-700\/80,
html.light .border-slate-800\/70,
html.light .border-slate-800 {
    border-color: rgba(203, 213, 225, 0.9) !important;
}

/* vault scene: keep contrast but lighter */
html.light .vault-scene {
    background:
        radial-gradient(380px circle at 15% 0%, rgba(37, 99, 235, 0.10), transparent 60%),
        radial-gradient(380px circle at 85% 100%, rgba(16, 185, 129, 0.08), transparent 60%),
        radial-gradient(circle at center, #ffffff 0, #f8fafc 60%, #eef2f7 100%);
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(203, 213, 225, 1);
}

html.light .vault-grid {
    opacity: 0.06;
}

html.light .vault-shell {
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.18),
        0 0 40px rgba(59, 130, 246, 0.22);
}

html.light .vault-ring {
    border-color: rgba(37, 99, 235, 0.2);
}

html.light .vault-core {
    background:
        radial-gradient(circle at top, rgba(241, 245, 249, 0.8), rgba(255,255,255,0.8) 55%, rgba(255,255,255,0.8) 100%);
    box-shadow:
        0 0 0 1px rgba(203, 213, 225, 1),
        0 0 24px rgba(16, 185, 129, 0.22);
}

html.light .vault-core-metric {
    background: rgba(248, 250, 252, 1);
    border-color: rgba(226, 232, 240, 1);
}

html.light .vault-core-title {
    color: #1d4ed8;
}

html.light .vault-core-sub {
    color: #475569;
}

/* asset chips */
html.light .asset-chip {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(203, 213, 225, 1);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

html.light .asset-chip-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

/* partners marquee */
html.light .logo-marquee {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(226, 232, 240, 1);
}

html.light .logo-marquee-track>div>div {
    background: rgba(248, 250, 252, 1) !important;
    border-color: rgba(226, 232, 240, 1) !important;
    color: #334155 !important;
}

/* footer */
html.light footer {
    background: #f7f9fc !important;
}



/* ===== light theme text contrast fix ===== */
html.light body,
html.light main,
html.light section,
html.light footer {
    color: #0f172a !important;
}

/* force common Tailwind text utilities to readable palette */
html.light .text-slate-50,
html.light .text-slate-100,
html.light .text-slate-200,
html.light .text-slate-300,
html.light .text-slate-400,
html.light .text-slate-500,
html.light .text-slate-600,
html.light .text-slate-700 {
    color: #0f172a !important;
}

html.light .text-slate-300 {
    color: #1f2937 !important;
}

html.light .text-slate-400 {
    color: #334155 !important;
}

html.light .text-slate-500 {
    color: #475569 !important;
}

/* small captions */
html.light .text-\[11px\],
html.light .text-\[10px\],
html.light .text-\[9px\],
html.light .text-xs,
html.light .text-sm {
    color: inherit !important;
}

/* links and hover states */
html.light a {
    color: #0f172a;
}

html.light a:hover {
    color: #2563eb;
}

/* gradient text headings stay visible */
html.light .bg-clip-text.text-transparent {
    -webkit-text-fill-color: transparent;
}

/* pills/badges */
html.light .vault-core-badge,
html.light .vault-core-footer-pill,
html.light .asset-chip-badge {
    color: #0f172a !important;
}