/* ========================================
   全局样式 - 深色导航 + 明亮蓝白背景
   适用：全站 5 个页面
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(145deg, #c4dfff 0%, #a8c8f0 30%, #8ab0e0 60%, #6a98d0 100%);
    min-height: 100vh;
    color: #003366;
    line-height: 1.6;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   星光粒子背景
   ============================================ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.navbar,
main,
footer,
.container {
    position: relative;
    z-index: 10;
}

/* ============================================
   深色导航栏（全站统一）
   ============================================ */
.navbar {
    background: rgba(10, 30, 60, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #66b5ff, #3399ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.nav-links a.active {
    background: linear-gradient(135deg, #0066cc, #3399ff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 100, 200, 0.35);
}

.nav-links a.active:hover {
    background: linear-gradient(135deg, #0077dd, #44aaff);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 16px;
        gap: 6px;
        background: rgba(10, 30, 60, 0.98);
        border-radius: 16px;
        padding: 12px 0;
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        color: rgba(255, 255, 255, 0.7);
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.06);
    }
}

/* ============================================
   页面标题
   ============================================ */
.page-header {
    text-align: center;
    padding: 50px 0 30px 0;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #004d99, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.page-header p {
    color: rgba(0, 51, 102, 0.65);
    font-size: 1.1rem;
    margin-top: 8px;
}

/* ============================================
   通用毛玻璃卡片
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 40px 44px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    box-shadow: 0 16px 48px -12px rgba(0, 40, 80, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px -12px rgba(0, 40, 80, 0.25);
}

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #004d99, #0066cc);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 60, 140, 0.30);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0055aa, #0077dd);
    box-shadow: 0 8px 32px rgba(0, 60, 140, 0.40);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.50);
    color: #003366;
    border: 1px solid rgba(0, 60, 140, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 80, 180, 0.35);
    transform: translateY(-3px);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(0, 60, 140, 0.12);
    color: #003366;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 80, 180, 0.30);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 60, 140, 0.10);
}

.btn-download i {
    color: #0066cc;
}

/* ============================================
   底部
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 0 20px 0;
    color: rgba(0, 51, 102, 0.30);
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    margin-top: 20px;
}

.footer a {
    color: rgba(0, 51, 102, 0.50);
    transition: color 0.2s;
}

.footer a:hover {
    color: #004d99;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    .glass-card {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
}