
/* 基础样式和全局设置 */
body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    background-color: #1A1A40;
    color: #ffffff;
    overflow-x: hidden; /* 避免水平滚动条 */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FF5733; /* 强调色 */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

p {
    line-height: 1.7;
    margin-bottom: 1.2em;
    color: #f0f0f0;
}

a {
    color: #808080; /* 银灰色链接 */
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

/* 容器和布局 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* 防止 skewX 溢出 */
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1A1A40, #000000);
    opacity: 0.9; /* 叠加渐变背景，增强层次感 */
    z-index: -1;
}

.skew-bg {
    transform: skewX(-10deg);
    margin-left: -5%;
    margin-right: -5%;
    padding: 40px 5%;
    background-color: rgba(0, 0, 0, 0.2); /* 倾斜背景，增加视觉层次 */
}

.skew-bg > * {
    transform: skewX(10deg); /* 反向倾斜内容，保持水平 */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #000000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    padding: 30px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid #0B6623; /* 墨绿色边框，增强科技感 */
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #808080; /* 银灰色图标边框 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: #FF5733; /* 图标颜色 */
}

.card h3 {
    margin-bottom: 15px;
    color: #FF5733;
}

.card p {
    color: #f0f0f0;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to right, #FF5733, #808080); /* 橙红到银灰渐变按钮 */
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.button:hover {
    background: linear-gradient(to right, #808080, #FF5733); /* 悬停时反向渐变 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* 代码块样式 */
pre {
    background-color: #0B6623; /* 墨绿色代码块背景 */
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto; /* 水平滚动条，如果代码过长 */
    tab-size: 4;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    line-height: 1.6;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5em;
    white-space: pre-wrap; /* 代码自动换行 */
}

code {
    font-family: 'Fira Code', monospace;
    color: #ffffff;
}

/* 列表样式 */
ul, ol {
    margin-bottom: 1.5em;
    padding-left: 25px;
}

li {
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 0.5em;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden; /* 隐藏表格边框溢出 */
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #222222; /* 表格分隔线颜色 */
}

th {
    background-color: #0B6623; /* 表头背景色 */
    color: #ffffff;
    font-weight: bold;
}

td {
    color: #f0f0f0;
}

tr:last-child td {
    border-bottom: none; /* 最后一行的底部边框 */
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 0;
    color: #808080;
    border-top: 1px solid #222222;
    margin-top: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px 0;
    }

    .section {
        padding: 40px 0;
    }

    .card-grid {
        grid-template-columns: 1fr; /* 移动端卡片垂直排列 */
    }

    .card {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }
}

/* 额外视觉元素和细节强化 */
.highlight-text {
    color: #FF5733; /* 橙红色高亮文本 */
    font-weight: bold;
}

.data-flow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.gptkong.com/demo/sample9.png'), url('https://images.gptkong.com/demo/sample10.png'); /* 数据流纹理背景 */
    background-size: 200px, 300px;
    background-repeat: repeat, repeat;
    background-position: 0 0, 50% 50%;
    opacity: 0.1;
    z-index: -2;
    animation: dataFlow 20s linear infinite; /* 数据流动动画 */
}

@keyframes dataFlow {
    0% {
        background-position: 0 0, 50% 50%;
    }
    100% {
        background-position: 200px 200px, 150% 150%;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0B6623; /* 墨绿色标题下划线 */
}

/* 卡片内图片样式 */
.card-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05); /* 悬停时图片轻微放大 */
}

/* 辅助类，用于添加内边距 */
.content-padding {
    padding: 0 30px;
}

/* 提示信息样式 */
.reference-tip {
    text-align: center;
    color: #808080;
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* 强调色块装饰 */
.accent-block {
    position: absolute;
    right: 0;
    top: 20%;
    width: 100px;
    height: 100px;
    background-color: #FF5733;
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

.accent-block-left {
    position: absolute;
    left: 0;
    bottom: 10%;
    width: 80px;
    height: 80px;
    background-color: #0B6623;
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
}

