/* ================= 1. 基础重置 ================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #01040a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 350vh; 
}

/* ================= 2. 3D 背景容器 ================= */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* ================= 3. 导航栏 (透明 -> 毛玻璃) ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(1, 4, 10, 0); 
}

header.scrolled {
    background: rgba(10, 25, 47, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 210, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    height: 70px;
}

.nav-left, .nav-right { width: 25%; }

.nav-center {
    width: 50%;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffffff, #00d2ff, #ffffff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    animation: gradientFlow 8s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-right { text-align: right; }

#menu-toggle {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
    pointer-events: auto;
    background: none;
    border: none;
    color: #fff;
    outline: none;
}
#menu-toggle:hover { color: #00d2ff; }

.menu-icon { width: 24px; height: 2px; background-color: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; width: 24px; height: 2px; background-color: currentColor; left: 0; transition: all 0.3s;}
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }

/* ================= 4. 全屏遮罩菜单 (Clip-path) ================= */
#fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 4, 10, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: circle(0% at 5% 40px);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#fullscreen-menu.active { clip-path: circle(150% at 5% 40px); }

.close-btn { position: absolute; top: 30px; right: 5%; font-size: 50px; cursor: pointer; color: #fff; transition: transform 0.3s, color 0.3s; background: none; border: none; }
.close-btn:hover { transform: rotate(90deg); color: #00d2ff; }

.menu-content { display: flex; gap: 80px; }
.menu-column h3 { color: #3a7bd5; margin-bottom: 30px; font-size: 16px; letter-spacing: 4px; text-transform: uppercase;}
.menu-column ul { list-style: none; }
.menu-column ul li { font-size: 32px; font-weight: 700; margin-bottom: 20px; cursor: pointer; position: relative; display: block; transition: color 0.3s, transform 0.3s; }
.menu-column ul li:hover { color: #00d2ff; transform: translateX(15px); }

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.badge-online {
    background: linear-gradient(90deg, #00d2ff, #00a8cc);
    color: #fff;
}

.badge-pending {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

/* ================= 5. 首屏英雄区 ================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    pointer-events: none; 
}

.hero h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 10px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    display: inline-flex;
    align-items: center;
}

.hero h1 .cursor {
    display: inline-block;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero p { font-size: 1.5rem; color: #a0aec0; letter-spacing: 6px; text-transform: uppercase;}

/* ================= 6. 滚动内容区 ================= */
.content-section {
    padding: 150px 10%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, transparent, #01040a 10%, #01040a);
}

.text-block {
    max-width: 800px;
    margin: 0 auto 150px auto;
    text-align: center;
}

.text-block h2 { font-size: 3rem; color: #00d2ff; margin-bottom: 30px; }
.text-block p { font-size: 1.2rem; line-height: 2; color: #cbd5e0; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.content-card {
    background: rgba(10, 25, 47, 0.4);
    border: 1px solid rgba(0, 210, 255, 0.15);
    padding: 50px;
    border-radius: 8px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.content-card:hover { transform: translateY(-15px); border-color: #00d2ff; box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1); }
.content-card h3 { font-size: 28px; color: #fff; margin-bottom: 20px; }
.content-card p { font-size: 1.1rem; line-height: 1.8; color: #a0aec0; }

/* ================= 7. 页脚 ================= */
footer {
    background-color: #000;
    padding: 60px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-logo { font-size: 28px; font-weight: bold; color: #fff; }
.footer-beian { font-size: 13px; }
.footer-beian a { color: #718096; text-decoration: none; transition: color 0.3s; }
.footer-beian a:hover { color: #00d2ff; }
.footer-links a { color: #718096; text-decoration: none; margin-left: 40px; transition: color 0.3s; font-size: 14px; letter-spacing: 1px;}
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover { color: #00d2ff; }
