@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #000000;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.content-wrap {
    position: relative;
    z-index: 1;
}

.font-tech {
    font-family: 'Orbitron', sans-serif;
}

/* 导航栏毛玻璃 */
.nav-blur {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(25, 195, 255, 0.2);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #19c3ff 0%, #0093ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 发光按钮 */
.btn-glow {
    position: relative;
    background: linear-gradient(135deg, #19c3ff, #0093ff);
    box-shadow: 0 0 20px rgba(25, 195, 255, 0.4), 0 0 40px rgba(0, 147, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(25, 195, 255, 0.6), 0 0 60px rgba(0, 147, 255, 0.3);
}

.btn-outline {
    border: 1px solid rgba(137, 137, 137, 0.35);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(25, 195, 255, 0.6);
    background: rgba(25, 195, 255, 0.08);
}

/* 卡片悬浮 */
.feature-card {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(89, 129, 183, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 195, 255, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 147, 255, 0.3);
    background: rgba(30, 30, 30, 0.7);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(25, 195, 255, 0.15), rgba(0, 147, 255, 0.15));
    border: 1px solid rgba(25, 195, 255, 0.3);
}

/* 下载卡片 */
.download-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(89, 129, 183, 0.25);
}

/* 界面预览卡片 */
.showcase-card {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(89, 129, 183, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 195, 255, 0.5);
    box-shadow: 0 15px 30px -10px rgba(0, 147, 255, 0.3);
}

/* 发光边框动画 */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(25, 195, 255, 0.3); }
    50% { border-color: rgba(0, 147, 255, 0.6); }
}

.glow-border {
    animation: borderGlow 3s ease-in-out infinite;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* 统计数字 */
.stat-number {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #9fb4cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #19c3ff, #0093ff);
    border-radius: 4px;
}

/* 导航链接下划线效果 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #19c3ff, #0093ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 模版02 风格：胶囊按钮 */
.btn-p a {
    font-size: 14px;
    color: #FFFFFF;
    padding: 10px 30px;
    border-radius: 30px;
    margin: 0 10px;
    background: rgba(29, 29, 29, 0.5);
    border: 1px solid rgba(89, 129, 183, 0.2);
    transition: all 0.3s ease;
}

.btn-p a:hover {
    color: #FFFFFF;
    background: linear-gradient(left, #19c3ff, #0093ff);
    background: -webkit-linear-gradient(left, #19c3ff, #0093ff);
    background: -o-linear-gradient(left, #19c3ff, #0093ff);
    background: -moz-linear-gradient(left, #19c3ff, #0093ff);
}

/* 模版02 风格：标语文字 */
.txt-w {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 11px;
    font-weight: 100;
    padding-left: 20px;
}

/* 使用文档卡片 */
.doc-card {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(89, 129, 183, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover {
    border-color: rgba(25, 195, 255, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 147, 255, 0.3);
    background: rgba(30, 30, 30, 0.7);
}

/* 图片放大遮罩层（lightbox） */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(25, 195, 255, 0.3);
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
