
/* 全局样式设置 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0d1b2a, #162447);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-top: 0;
}
p {
    color: #e0e0e0;
    font-size: 1rem;
}
a {
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #1e7e34;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(90deg, #1e202a, #2c3e50);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.header .action-button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header .action-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    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));
    color: white;
    min-height: 400px;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #f8f9fa;
}
.feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 50%;
}
.code-block {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .feature-card {
        padding: 15px;
    }
    .code-block {
        font-size: 0.8rem;
    }
}

