/* 全局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
}

/* 粒子画布（浅色透明） */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* ===== 导航栏（浅色玻璃，修正对齐） ===== */
.navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s;
    height: 64px;
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.navbar .container-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* logo区域 */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
}
.logo-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.15rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
}

/* 导航链接列表 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 1rem;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.nav-link i {
    font-size: 0.875rem;
    color: #64748b;
}
.nav-link:hover {
    color: #0f172a;
    border-bottom-color: #3b82f6;
}
.nav-link:hover i {
    color: #3b82f6;
}
.nav-link.active {
    color: #0f172a;
    border-bottom-color: #8b5cf6;
}
.nav-link.active i {
    color: #8b5cf6;
}

/* 右侧下载按钮 */
.nav-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.45rem 1.2rem;
    border-radius: 0.75rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.nav-download-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
    color: #fff;
}
.nav-download-btn i {
    font-size: 0.875rem;
}

/* 移动端适配 */
@media (max-width: 980px) {
    .navbar .container-nav {
        padding: 0 1rem;
    }
    .nav-links {
        gap: 0.75rem;
        margin: 0 0.5rem;
    }
    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    .nav-link i {
        font-size: 0.75rem;
    }
    .logo-text {
        font-size: 1rem;
    }
    .nav-download-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}
@media (max-width: 640px) {
    .nav-links {
        gap: 0.4rem;
        margin: 0 0.2rem;
    }
    .nav-link {
        font-size: 0.65rem;
        gap: 0.15rem;
    }
    .nav-link i {
        font-size: 0.65rem;
    }
    .logo-text {
        font-size: 0.9rem;
    }
    .logo-badge {
        font-size: 0.5rem;
        padding: 0.1rem 0.5rem;
    }
    .nav-download-btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        border-radius: 0.5rem;
    }
    .nav-download-btn i {
        font-size: 0.65rem;
    }
}

/* 按钮 */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}
.btn-outline {
    background: transparent;
    color: #1e293b;
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: rgba(59, 130, 246, 0.06);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

/* 卡片（浅色阴影） */
.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.1);
}
.card-glow {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.3s ease;
}
.card-glow:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
}

/* 功能卡片 */
.func-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.func-card:hover {
    transform: translateY(-6px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}
.func-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
    color: #3b82f6;
}
.func-card .icon-wrap i {
    font-size: 24px;
}

/* 优势编号 */
.num-grad {
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25;
    line-height: 1;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #f1f5f9;
}
.faq-q {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    transition: color 0.2s;
}
.faq-q:hover {
    color: #0f172a;
}
.faq-q i {
    color: #3b82f6;
    transition: transform 0.35s ease;
    font-size: 16px;
}
.faq-q i.open {
    transform: rotate(180deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
    padding: 0 0 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}
.faq-a.open {
    max-height: 260px;
    opacity: 1;
    padding: 0 0 18px 0;
}

/* 版本标签 */
.version-tag {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

/* 功能列表 */
.feature-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list-clean li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 4px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}
.feature-list-clean li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 600;
}
.feature-cat {
    color: #2563eb;
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
}
.feature-cat:first-of-type {
    margin-top: 0;
}

/* 窗口模拟 */
.win-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}
.win-dots .d-red {
    background: #ef4444;
}
.win-dots .d-yellow {
    background: #f59e0b;
}
.win-dots .d-green {
    background: #22c55e;
}

/* 脉冲动画 */
@keyframes pulse-ring {
    0%,
    100% {
        box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.35);
    }
}
.pulse-ring {
    animation: pulse-ring 2.8s infinite ease-in-out;
}

/* 装饰气泡（浅色） */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.04);
    animation: floatBubble 14s infinite alternate ease-in-out;
}
@keyframes floatBubble {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate(30px, -24px) scale(1.5);
        opacity: 0.6;
    }
}

/* 文字渐变 */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
