
/* 全局样式 */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-weight: bold;
    color: #00ff99;
    text-shadow: 0 2px 4px rgba(0, 255, 153, 0.3);
}
p, li, td {
    color: #dcdcdc;
    font-size: 1rem;
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00cc7a;
}

/* 布局样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.navbar a {
    margin: 0 15px;
    font-size: 1rem;
    color: #00ff99;
}
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover, 
                linear-gradient(135deg, #2c3e50, #1a1a1a);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.cta-button {
    background: #00ff99;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.1);
}

/* 内容模块 */
.module {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
}
.module:nth-child(even) {
    background: linear-gradient(135deg, #2c3e50, #1a1a1a);
}
.module h2 {
    text-align: center;
    margin-bottom: 30px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-10px);
}
.feature-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* 文章样式 */
.article {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}
.article h2 {
    color: #00ff99;
    margin-bottom: 20px;
}
.article code {
    background: #1a1a1a;
    color: #00ff99;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}
.article pre {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article th, .article td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}
.article th {
    background: #00ff99;
    color: #1a1a1a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

