
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #4c52ff;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.button {
    background-color: #4c52ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.button:hover {
    background-color: #2e33a8;
    transform: scale(1.1);
}

.parallax {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.grid-item {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.icon {
    width: 48px;
    height: 48px;
    fill: #4c52ff;
    transition: fill 0.3s ease;
    margin: 0 auto 20px;
}

.icon:hover {
    fill: #a7ffeb;
}

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

    h1 {
        font-size: 24px;
    }

    .parallax {
        height: 300px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .button {
        width: 100%;
        text-align: center;
    }
}

