
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1e1e2f, #2a2a40);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    color: #1e90ff;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(90deg, #1e90ff, #a020f0);
    padding: 1rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    font-size: 1rem;
    rel: "nofollow";
}

/* 内容卡片样式 */
.card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* 响应式布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
    }
}

/* 动态插画区域 */
.hero-section {
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    height: 400px;
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    border-radius: 8px;
}

.hero-section h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 100px;
    font-size: 2.5rem;
    color: white;
}

/* 数据可视化样式 */
.chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.chart img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 按钮样式 */
button {
    background-color: #1e90ff;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #a020f0;
    transform: scale(1.05);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* 微交互动画 */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.hidden.show {
    opacity: 1;
    transform: translateY(0);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    text-align: left;
}

th {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    color: #1e90ff;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

/* 小屏适配 */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
        padding-top: 50px;
    }

    pre {
        font-size: 0.8rem;
    }
}

