
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #d4af37;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 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;
}
.header .logo {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
}
.header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.header nav ul li a:hover {
    color: #d4af37;
}
.hero-section {
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}
.hero-section h1 {
    font-size: 48px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.hero-section p {
    font-size: 18px;
    margin-top: 20px;
}
.feature-section {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    padding: 40px 0;
}
.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-10px);
}
.feature-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .hero-section p {
        font-size: 16px;
    }
}
.footer {
    background: #1e3c72;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}
.footer p {
    font-size: 14px;
}

