
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #ffffff;
    margin-top: 0;
}
a {
    color: #6dd5ed;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #2980b9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
section {
    position: relative;
    padding: 60px 0;
    z-index: 1;
}
.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat, linear-gradient(135deg, #0f0c29, #302b63);
    z-index: -1;
    filter: blur(4px);
    transform: scale(1.1);
    animation: parallax 10s infinite alternate;
}
@keyframes parallax {
    0% { transform: scale(1.1) translateY(-10px); }
    100% { transform: scale(1.1) translateY(10px); }
}
.foreground-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.foreground-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(109, 213, 237, 0.5);
}
.foreground-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}
.button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6dd5ed, #2980b9);
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}
.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(109, 213, 237, 0.5);
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.feature-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 1rem;
    opacity: 0.8;
}
.feature-card:hover {
    transform: scale(1.05);
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.code-block code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #6dd5ed;
}
@media (max-width: 768px) {
    .foreground-content h2 {
        font-size: 2.5rem;
    }
    .foreground-content p {
        font-size: 1rem;
    }
    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

