
/* 通用样式 */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(to bottom, #0a0a23, #000);
    overflow-x: hidden; /* 避免水平滚动条 */
}

section {
    padding: 80px 20px;
    text-align: center;
}

h2, h3 {
    color: #00e676; /* 荧光绿标题 */
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 230, 118, 0.8); /* 标题阴影 */
}

p {
    line-height: 1.8;
    color: #eee;
}

a {
    color: #64b5f6; /* 电光蓝链接色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00bcd4; /* 悬停链接颜色 */
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00e676; /* 荧光绿按钮背景 */
    color: #0a0a23; /* 深蓝按钮文字 */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 230, 118, 0.5); /* 按钮阴影 */
}

.button:hover {
    background-color: #00c853; /* 悬停按钮背景 */
    transform: scale(1.05); /* 悬停放大效果 */
}

/* 代码块样式 */
pre {
    background-color: #1e1e1e; /* 深灰色代码背景 */
    color: #f8f8f2; /* 代码文字颜色 */
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto; /* 水平滚动条，在小屏幕下 */
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap; /* 代码换行 */
    word-wrap: break-word; /* 单词过长时换行 */
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.6); /* 代码块阴影 */
}

code {
    display: block; /* 确保code元素块级显示 */
}


/* 全屏头部样式 */
#header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a0a23 40%, #001529 100%); /* 渐变背景 */
    overflow: hidden; /* 隐藏粒子效果溢出 */
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat; /* 背景图片 */
    opacity: 0.1; /* 背景图片透明度 */
    z-index: -1; /* 背景图片置于底层 */
}


#header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.9); /* 标题更强阴影 */
    letter-spacing: 1.2px;
    color: #fff; /* 确保标题文字颜色为白色 */
}

#header p {
    font-size: 1.2em;
    max-width: 700px;
    margin-bottom: 40px;
    color: #ddd; /* 描述文字颜色 */
}


/* 服务模块样式 */
#services {
    background: linear-gradient(to bottom, #001529, #0a0a23); /* 服务模块渐变背景 */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05); /* 服务卡片背景 */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 卡片阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* 卡片悬停上移 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* 悬停阴影增强 */
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.6); /* 图片阴影 */
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.service-card p {
    font-size: 1.1em;
}


/* 示例数据模块样式 */
#example-data {
    background: linear-gradient(to bottom, #0a0a23, #000); /* 示例数据模块背景 */
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.data-item {
    background-color: rgba(255, 255, 255, 0.05); /* 数据项背景 */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 数据项阴影 */
}

.data-item h4 {
    color: #00bcd4; /* 电光蓝数据标题 */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.data-item p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.data-item strong {
    color: #00e676; /* 荧光绿强调 */
}


/* 示例文章模块样式 */
#example-article {
    background: linear-gradient(to bottom, #000, #001529); /* 示例文章模块背景 */
    padding: 80px 20px;
}

#example-article article {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.03); /* 文章内容背景 */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* 文章内容阴影 */
    text-align: left; /* 文章内容左对齐 */
}

#example-article article h2 {
    text-align: center; /* 文章主标题居中 */
    font-size: 2.8em;
    margin-bottom: 30px;
}

#example-article article h3 {
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 20px;
}

#example-article article p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

#example-article article b {
    color: #64b5f6; /* 电光蓝强调文本 */
    font-weight: bold;
}


/* 页脚样式 */
footer {
    background-color: #000; /* 页脚背景黑色 */
    color: #777; /* 页脚文字灰色 */
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}


/* 响应式设计 */
@media screen and (max-width: 768px) {
    #header h1 {
        font-size: 2.5em;
    }
    #header p {
        font-size: 1em;
    }
    section {
        padding: 60px 15px;
    }
    .services-grid, .data-grid {
        grid-template-columns: 1fr; /* 移动端单列布局 */
    }
    #example-article article {
        padding: 20px;
    }
    #example-article article h2 {
        font-size: 2.2em;
    }
    #example-article article h3 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 480px) {
    #header h1 {
        font-size: 2em;
    }
    #header p {
        font-size: 0.9em;
    }
    section {
        padding: 50px 10px;
    }
}

