:root {
    --bg-void: #050508;
    --glass-surface: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --accent-cyan: #22d3ee;
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --ease-liquid: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: 'Inter Tight', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 滚动条 - 精致细节 */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
    background: rgba(255,255,255,0.08); 
    border-radius: 10px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { 
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue)); 
}

/* 背景环境 - 更柔和的光晕 */
.ambient-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.25; will-change: transform; }
.orb-1 { 
    width: 900px; height: 900px; 
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -30%; left: -15%; 
    animation: flow 25s infinite alternate ease-in-out; 
}
.orb-2 { 
    width: 800px; height: 800px; 
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -20%; right: -15%; 
    animation: flow 30s infinite alternate-reverse ease-in-out; 
}
@keyframes flow { 
    0% { transform: translate(0, 0) scale(1); } 
    50% { transform: translate(30px, 20px) scale(1.05); }
    100% { transform: translate(60px, 40px) scale(1); } 
}

/* ========== 导航栏 - Liquid Glass ========== */
.navbar {
    position: fixed; 
    top: 16px; 
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1400px;
    padding: 16px 28px;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 100;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 100%
    );
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 20px 40px -10px rgba(0,0,0,0.4);
}
/* 导航栏顶部高光 */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
    border-radius: 1px;
}
.brand-logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.logo-box { 
    width: 34px; 
    height: 34px; 
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #000; 
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.log-trigger {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--ease-liquid);
    backdrop-filter: blur(10px);
}
.log-trigger:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}


/* ========== 更新日志侧边栏 - Liquid Glass ========== */
.drawer-mask { 
    position: fixed; 
    inset: 0; 
    background: radial-gradient(ellipse at 70% 50%, rgba(34, 211, 238, 0.02) 0%, rgba(0,0,0,0.85) 70%);
    z-index: 999; 
    opacity: 0; 
    pointer-events: none; 
    transition: 0.6s var(--ease-liquid); 
    backdrop-filter: blur(40px) saturate(180%); 
}
.drawer-mask.active { opacity: 1; pointer-events: auto; }
.drawer { 
    position: absolute; 
    right: 20px; 
    top: 20px; 
    bottom: 20px;
    width: 460px; 
    background: linear-gradient(
        135deg, 
        rgba(255,255,255,0.07) 0%, 
        rgba(255,255,255,0.02) 50%,
        rgba(255,255,255,0.04) 100%
    );
    backdrop-filter: blur(60px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    transform: translateX(120%); 
    transition: 0.6s var(--ease-liquid); 
    padding: 0;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 30px 60px -10px rgba(0,0,0,0.5),
        0 0 80px rgba(34, 211, 238, 0.08);
    overflow: hidden;
}
.drawer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.drawer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.drawer-mask.active .drawer { transform: translateX(0); }
.drawer-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 28px 28px 20px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.drawer-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.drawer-header button { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.08);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: rgba(255,255,255,0.5); 
    font-size: 1.2rem; 
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-header button:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}
.log-area { 
    height: calc(100% - 80px); 
    overflow-y: auto; 
    padding: 20px 28px 28px;
    position: relative;
    z-index: 1;
}
.log-area .version-section {
    margin-bottom: 16px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    position: relative;
    transition: all 0.4s var(--ease-liquid);
    overflow: hidden;
}
.log-area .version-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
}
.log-area .version-section:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-color: rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 0 24px rgba(34, 211, 238, 0.06);
}
.log-area .version-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.log-area .version-title::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.log-area .log-item {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    line-height: 1.7;
    padding-left: 13px;
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}
.log-area .version-section:hover .log-item {
    color: rgba(255,255,255,0.65);
}
.log-area .log-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}


/* ========== Hero 首屏 - Liquid Glass 主卡片 ========== */
.hero-section { 
    min-height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 120px 20px 60px;
}
.liquid-console {
    width: 100%; 
    max-width: 1050px; 
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 50%,
        rgba(255,255,255,0.04) 100%
    );
    backdrop-filter: blur(60px) saturate(200%);
    border-radius: 32px; 
    border: 1px solid var(--glass-border);
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 60px 120px -20px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(34, 211, 238, 0.05);
    position: relative;
}
/* 顶部高光 */
.liquid-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
    z-index: 10;
}
/* 内部光晕 */
.liquid-console::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at 20% 30%, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.left-panel { 
    padding: 70px 55px;
    position: relative;
    z-index: 1;
}
.section-num {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 4px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}
.main-title { 
    font-size: 3rem; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 24px; 
    background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,0.6) 100%); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}
.hero-desc { 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.7;
    max-width: 400px;
}

.right-panel { 
    background: rgba(255, 255, 255, 0.02); 
    border-left: 1px solid rgba(255, 255, 255, 0.06); 
    padding: 70px 55px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    position: relative;
    z-index: 1;
}
/* 下载按钮 - 高能级光影 */
.download-btn { 
    width: 100%; 
    height: 64px; 
    border-radius: 16px; 
    border: none; 
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.95) 100%);
    color: #000; 
    font-size: 1rem; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 26px; 
    cursor: pointer; 
    transition: all 0.4s var(--ease-liquid);
    box-shadow: 
        0 4px 20px rgba(255,255,255,0.1),
        0 20px 40px -10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 30px rgba(255,255,255,0.15),
        0 30px 50px -10px rgba(0,0,0,0.4),
        0 0 40px rgba(34, 211, 238, 0.2);
}
.download-btn:active {
    transform: translateY(0);
}
.download-btn svg {
    opacity: 0.6;
    transition: all 0.3s ease;
}
.download-btn:hover svg {
    opacity: 1;
    transform: translateY(2px);
}

.app-meta { 
    margin-top: 28px; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding-top: 20px; 
    display: grid; 
    gap: 10px; 
    font-size: 0.8rem; 
    color: var(--text-muted);
}
.meta-row { 
    display: flex; 
    justify-content: space-between;
    padding: 4px 0;
}
.meta-row span:last-child {
    color: var(--text-secondary);
    font-weight: 500;
}


/* ========== 目录菜单 - 精密机械感 ========== */
.product-tour { 
    padding: 80px 0 200px 0; 
    max-width: 1200px; 
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.tour-container { 
    display: grid; 
    grid-template-columns: 260px 1fr; 
    gap: 80px; 
    position: relative; 
}
.tour-nav { 
    position: sticky; 
    top: 140px; 
    height: fit-content; 
    z-index: 10; 
}
.nav-list { 
    list-style: none; 
    position: relative;
    padding-left: 28px;
}
/* 侧边进度线 */
.nav-list::before { 
    content: ''; 
    position: absolute; 
    left: 8px; 
    top: 24px; 
    bottom: 24px; 
    width: 1px; 
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.08) 15%,
        rgba(255,255,255,0.08) 85%,
        transparent
    );
}
.nav-item { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 14px 0;
    position: relative;
    transition: all 0.4s var(--ease-liquid);
}
.nav-item::before {
    content: '';
    position: absolute;
    left: -20px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}
.nav-item.active::before {
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
}
.nav-dot { 
    font-size: 0.7rem; 
    font-weight: 700; 
    color: rgba(255,255,255,0.25);
    transition: all 0.5s var(--ease-bounce);
    flex-shrink: 0;
    min-width: 28px;
}
.nav-label { 
    font-size: 0.85rem; 
    color: rgba(255,255,255,0.35); 
    font-weight: 500; 
    transition: all 0.4s ease;
    white-space: nowrap;
}
.nav-item.active .nav-dot { 
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 24px rgba(34, 211, 238, 0.6);
}
.nav-item.active .nav-label { 
    color: #fff; 
    font-weight: 600;
}
.nav-item:hover:not(.active) .nav-label {
    color: rgba(255,255,255,0.6);
}

/* ========== 详情内容 ========== */
.tour-section { 
    margin-bottom: 200px; 
    opacity: 0; 
    transform: translateY(50px); 
    transition: all 1s var(--ease-liquid); 
}
.tour-section.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}
.section-header { margin-bottom: 40px; }
.tour-section .section-num { 
    font-size: 0.7rem; 
    color: var(--accent-cyan); 
    letter-spacing: 3px; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 12px;
    opacity: 0.8;
}
.tour-section h2 { 
    font-size: 2.4rem; 
    font-weight: 800; 
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tour-section p { 
    color: var(--text-muted); 
    line-height: 1.8; 
    max-width: 550px; 
    font-size: 0.95rem;
}


/* ========== 轮播图 - Liquid Glass 卡片 ========== */
.slider-wrapper { 
    position: relative; 
    width: 100%; 
    user-select: none; 
}
.slider-viewport { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    padding-bottom: 24px; 
    cursor: grab; 
}
.slider-viewport:active { cursor: grabbing; }
.slider-viewport::-webkit-scrollbar { display: none; }

.slide-card { 
    flex: 0 0 88%; 
    scroll-snap-align: center;
    aspect-ratio: 16/9; 
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.04) 0%,
        rgba(255,255,255,0.01) 100%
    );
    backdrop-filter: blur(20px);
    border-radius: 20px; 
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 30px 60px -15px rgba(0,0,0,0.4);
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative;
    transition: all 0.4s var(--ease-liquid);
}
.slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.slide-card:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 40px 80px -15px rgba(0,0,0,0.5),
        0 0 40px rgba(34, 211, 238, 0.05);
}
.slide-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.4s var(--ease-liquid);
}
.slide-card:hover img {
    transform: scale(1.02);
}

/* 轮播指示器 */
.slider-dots { 
    display: flex; 
    gap: 6px; 
    justify-content: flex-end; 
    margin-top: -8px;
    padding-right: 4px;
}
.dot { 
    width: 24px; 
    height: 3px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 10px; 
    transition: all 0.4s var(--ease-liquid);
    cursor: pointer;
}
.dot:hover {
    background: rgba(255,255,255,0.2);
}
.dot.active { 
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    width: 40px;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* ========== 响应式 ========== */
@media (max-width: 1000px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        padding: 14px 20px;
        border-radius: 16px;
    }
    .tour-container { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .tour-nav { display: none; }
    .liquid-console { 
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
    .left-panel,
    .right-panel {
        padding: 50px 35px;
    }
    .right-panel {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .main-title { font-size: 2.2rem; }
    .tour-section h2 { font-size: 1.8rem; }
    .slide-card { flex: 0 0 95%; }
    .hero-section {
        padding: 100px 16px 40px;
    }
    .drawer {
        width: calc(100% - 20px);
        right: 10px;
        top: 10px;
        bottom: 10px;
    }
}

/* ========== 动画偏好 ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
