/* 让所有元素默认没有边距，方便排版 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 */
:root {
    --bg-color: #0A0A12;
    --primary: #39C5BB;
    --secondary: #FF0045;
    --text-color: #FFFFFF;
}

/* 全局样式 */
body {
    font-family: Noto Sans SC, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; /* 防止横向滚动条出现 */
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 10, 18, 0.95);
    border-bottom: 1px solid rgba(57, 197, 187, 0.3);
    align-items: center;    /* 垂直居中 */
    display: flex;  /* 使用 Flexbox 布局 */
    z-index: 1000;
}

/* 导航栏内容容器 */
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* 水平居中 */
    display: flex;
    justify-content: space-between; /* 左右分散对齐 */
    align-items: center;
    padding: 0 20px;
}

/* 导航菜单 */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* 导航菜单链接 */
.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Logo 样式 */
.logo {
    font-family: 'Orbitron', sans-serif; /* 建议这里也用 Orbitron */
    font-weight: bold;
    font-size: 40px;
    color: white;
    /* 发光效果 offset-x | offset-y | blur-radius | color */
    text-shadow:
            0 0 10px #1098a0,                  /* 第一层：紧贴的亮光 */
            0 0 30px rgba(16, 152, 160, 0.5),  /* 第二层：中间的光晕 */
            0 0 60px rgba(16, 152, 160, 0.5),  /* 第三层：扩散的光晕 */
            0 0 100px rgba(16, 152, 160, 0.1); /* 第四层：最外围的柔光 */
}

/* 对数字 9 进行微调 */
.logo_9 {
    display: inline-block;
    transform: rotate(2deg) translateY(2px);
    margin-left: 5px;
}

/* 导航栏当前页高亮 (Active State) */
.nav-menu a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

/* ========== 主视觉区域 ========== */
.hero-section {
    position: relative;
    height: 100vh; /* 占满全屏 */
    width: 100%;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    text-align: center;
    overflow: hidden;
    padding-top: 80px; /* 避开导航栏的高度 */
}

/* 背景网格 */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 创建网格 */
    background-image:
            linear-gradient(rgba(57, 197, 187, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(57, 197, 187, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    /* 遮罩 */
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    z-index: -1; /* 放在最底层 */
}

/* 内容容器 */
.container {
    z-index: 1;
    padding: 0 20px;
}

/* 主标题 */
.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem; /* 大号字体 */
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: white;
    /* 简单的文字渐变 */
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 50px;
    font-weight: 300;
}

/* 按钮 - 静态样式 */
.btn-neon {
    display: inline-block;
    padding: 12px 36px;
    font-size: 1rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
}

/* 简单的悬停反色效果 */
.btn-neon:hover {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(57, 197, 187, 0.4); /* 柔和发光 */
}

.page-header {
    padding-top: 140px; /* 避开固定导航栏 */
    padding-bottom: 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: white;
}

/* 局部高亮文字颜色 */
.page-header .highlight {
    color: var(--primary);
}

.page-header p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 300;
}