
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(to bottom, #1E293B, #374151);
    color: #F3F4F6;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
h1, h2, h3, h4, h5, h6 {
    color: #F97316;
    margin-bottom: 15px;
}
p {
    font-size: 16px;
    margin-bottom: 15px;
}
a {
    color: #F97316;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #EF4444;
}
button {
    background-color: #F97316;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
button:hover {
    transform: scale(1.1);
}

/* 顶部导航栏 */
.navbar {
    grid-column: span 12;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #F97316;
}
.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
.navbar li a {
    color: #F3F4F6;
    padding: 5px 10px;
    border-radius: 5px;
}
.navbar li a:hover {
    background-color: #F97316;
    color: #1E293B;
}

/* 英雄区 */
.hero-section {
    grid-column: span 12;
    height: 500px;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #F3F4F6;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.6);
    z-index: 1;
}
.hero-section h1 {
    font-size: 48px;
    z-index: 2;
}
.hero-section p {
    font-size: 20px;
    margin-bottom: 20px;
    z-index: 2;
}

/* 功能展示模块 */
.feature-section {
    grid-column: span 6;
    background: #1E293B;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.feature-section img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
.feature-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.feature-section p {
    font-size: 14px;
    color: #D1D5DB;
}

/* 示例数据模块 */
.data-section {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.data-card {
    background: #1E293B;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.data-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
.data-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.data-card p {
    font-size: 14px;
    color: #D1D5DB;
}

/* 文章展示模块 */
.article-section {
    grid-column: span 12;
    background: #1E293B;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}
.article-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.article-section pre {
    background: #374151;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}
.article-section code {
    color: #F97316;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(6, 1fr);
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .feature-section {
        grid-column: span 12;
    }
    .data-section {
        grid-template-columns: 1fr;
    }
}

