:root {
    --bg-base: #070a12;
    --bg-surface: rgba(20, 26, 38, 0.55);
    --bg-card: rgba(24, 30, 44, 0.62);
    --border-soft: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(106, 184, 255, 0.35);
    --accent-cyan: #6ab8ff;
    --accent-violet: #a78bfa;
    --accent-teal: #5eead4;
    --text-main: #e8edf5;
    --text-muted: #8b9bb0;
    --text-dim: #6b7a90;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-deep: 0 24px 48px -16px rgba(0, 0, 0, 0.65);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "微软雅黑", "Helvetica Neue", sans-serif;
}

html, body {
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    scroll-behavior: smooth;
}

body {
    background-image:
        radial-gradient(circle at 18% 22%, rgba(106, 184, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 82% 70%, rgba(167, 139, 250, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(94, 234, 212, 0.08) 0%, transparent 55%);
    position: relative;
}

.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: orbFloat 18s ease-in-out infinite;
}

.aurora-orb.orb-1 {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(106, 184, 255, 0.45), transparent 70%);
}

.aurora-orb.orb-2 {
    width: 520px;
    height: 520px;
    bottom: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4), transparent 70%);
    animation-delay: -6s;
    animation-duration: 22s;
}

.aurora-orb.orb-3 {
    width: 360px;
    height: 360px;
    top: 40%;
    left: 55%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 70%);
    animation-delay: -3s;
    animation-duration: 26s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-30px, 40px) scale(0.96); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.sidebar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 24px);
    height: auto;
    margin: 0;
    padding: 10px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, rgba(24, 30, 44, 0.5), rgba(10, 14, 22, 0.38));
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 18px 40px -12px rgba(0, 0, 0, 0.6);
    z-index: 200;
}

.logo-area {
    display: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    position: relative;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    background: transparent;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
    text-align: center;
    width: auto;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-item:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.5);
}

.nav-item.active::before {
    opacity: 0;
}

.nav-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    height: auto;
    left: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.09));
    border-radius: 999px;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: url(#liquidDrop) blur(2px) saturate(160%);
    transition: left 0.7s cubic-bezier(0.34, 1.8, 0.34, 1), width 0.7s cubic-bezier(0.34, 1.8, 0.34, 1);
    pointer-events: none;
    z-index: 1;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(255, 255, 255, 0.15),
        inset 2px 0 3px -2px rgba(255, 255, 255, 0.35),
        inset -2px 0 3px -2px rgba(255, 255, 255, 0.35),
        0 6px 16px -8px rgba(0, 0, 0, 0.4);
}

.nav-slider.morphing {
    animation: liquidMorph 0.7s cubic-bezier(0.3, 0.6, 0.2, 1);
}

@keyframes liquidMorph {
    0% { transform: scaleX(1) scaleY(1); }
    22% { transform: scaleX(0.7) scaleY(1.32); }
    48% { transform: scaleX(1.24) scaleY(0.8); }
    72% { transform: scaleX(0.9) scaleY(1.1); }
    88% { transform: scaleX(1.04) scaleY(0.97); }
    100% { transform: scaleX(1) scaleY(1); }
}

.main-content {
    flex: 1;
    padding: 30px 36px 130px 36px;
    overflow-y: auto;
    scroll-behavior: smooth;
    position: relative;
    z-index: 2;
}

.page-view {
    display: none;
}

.page-view.active-page {
    display: block;
    animation: pageEnter 0.55s cubic-bezier(0.2, 0.9, 0.4, 1.15) forwards;
}

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.card-pane {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        var(--shadow-deep);
    padding: 30px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.card-pane::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.page-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #ffffff;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 20px;
}

.page-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
    box-shadow: 0 0 12px rgba(106, 184, 255, 0.6);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
    margin: 20px 0 15px;
}

.software-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(42px);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2), border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    will-change: transform, opacity;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.software-card.rising {
    animation: cardFloatUp 0.85s cubic-bezier(0.2, 0.85, 0.4, 1.1) forwards;
}

@keyframes cardFloatUp {
    0% {
        opacity: 0;
        transform: translateY(42px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.software-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.software-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 28px 48px -18px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.software-card:hover::after {
    opacity: 1;
}

.software-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px),
        rgba(8, 12, 20, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.45s ease;
}

.software-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.software-card:hover .software-img::after {
    opacity: 1;
}

.software-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    padding: 10px;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.2), filter 0.3s ease;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.software-card:hover .software-img img {
    transform: scale(1.06);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.software-info {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.software-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f3f6fc;
    letter-spacing: 0.2px;
}

.software-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #b3c2d6;
    margin-bottom: 16px;
    flex: 1;
}

.version-meta {
    font-size: 0.74rem;
    color: var(--text-dim);
    margin-bottom: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    letter-spacing: 0.3px;
}

.download-btn {
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.38);
    padding: 11px 22px;
    border-radius: 40px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: flex-start;
    margin-top: 6px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.download-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 10px 24px -6px rgba(0, 0, 0, 0.45);
    color: #ffffff;
}

.download-btn:hover::before {
    left: 130%;
}

.tip-warning {
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--accent-violet);
    padding: 14px 22px;
    border-radius: 14px;
    margin-top: 22px;
    color: #e5edf7;
    font-size: 14px;
    line-height: 1.6;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.announcement-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.announcement-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
    opacity: 0.7;
}

.announcement-item:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 12px 28px -10px rgba(0, 0, 0, 0.5);
}

.announcement-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #eef4ff;
}

.announcement-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.announcement-content {
    font-size: 14px;
    line-height: 1.65;
    color: #cbdbec;
}

.group-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.38);
    padding: 14px 30px;
    border-radius: 40px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.group-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 12px 28px -8px rgba(0, 0, 0, 0.45);
    color: #ffffff;
}

.stat-info {
    display: flex;
    gap: 30px;
    margin: 24px 0 10px;
    flex-wrap: wrap;
}

.stat-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 36px;
    padding: 8px 20px;
    font-size: 15px;
    color: #e2eaf5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-hero {
    text-align: center;
    margin: 30px 0 22px;
}

.home-title {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(130deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-violet) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    margin-bottom: 14px;
    animation: gradientShift 8s ease infinite;
    filter: drop-shadow(0 4px 24px rgba(106, 184, 255, 0.25));
}

.home-sub {
    font-size: 20px;
    color: #bdc9db;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.desc-line {
    font-size: 16px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding-top: 20px;
    margin-top: 20px;
}

.fade-in {
    animation: gentleAppear 0.7s ease;
}

@keyframes gentleAppear {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 14px -4px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.social-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 10px 24px -6px rgba(0, 0, 0, 0.45);
    color: #fff !important;
    text-decoration: none;
}

.social-btn:hover::before {
    left: 130%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    width: 50%;
    margin: 30px auto 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        var(--shadow-deep);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .social-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    .video-wrapper {
        width: 92%;
        padding-bottom: 51.75%;
    }
    .home-title {
        font-size: 40px;
    }
}

@media (max-width: 720px) {
    .sidebar {
        bottom: 10px;
        padding: 8px 12px;
        border-radius: 28px;
    }
    .nav-links {
        width: 100%;
        justify-content: space-evenly;
    }
    .nav-item {
        padding: 9px 16px;
        font-size: 13px;
    }
    .main-content {
        padding: 20px 18px 110px 18px;
        margin-bottom: 0;
    }
    .page-title {
        font-size: 24px;
    }
    .card-pane {
        padding: 22px 18px;
    }
    .download-grid {
        grid-template-columns: 1fr;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0d1119;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a4356, #2a3243);
    border-radius: 10px;
    border: 2px solid #0d1119;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
}

::selection {
    background: rgba(106, 184, 255, 0.3);
    color: #ffffff;
}
