
/* 基础样式设置 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    color: #4c6ef5;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
a {
    text-decoration: none;
    color: #33d6ab;
    transition: color 0.3s ease;
}
a:hover {
    color: #4c6ef5;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
.hero-section {
    background: linear-gradient(to bottom, #4c6ef5, #33d6ab);
    color: white;
    text-align: center;
    padding: 80px 20px;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: white;
    color: #4c6ef5;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: #4c6ef5;
    color: white;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
}
.grid-item {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
}
.features-section {
    background-color: #f9fafb;
    padding: 60px 0;
}
.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
}
.feature-card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #4c6ef5;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}
.feature-content {
    flex-grow: 1;
}
.parallax {
    background-image: url('https://images.gptkong.com/demo/sample1.png'), linear-gradient(to bottom, #4c6ef5, #33d6ab);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    position: relative;
}
.parallax-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 2rem;
}
.article-section {
    padding: 60px 0;
    background-color: #fff;
}
.article-section h2 {
    text-align: center;
    margin-bottom: 40px;
}
.article-section pre {
    background-color: #f5f7fa;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.footer {
    background-color: #4c6ef5;
    color: white;
    text-align: center;
    padding: 30px 0;
}
.footer a {
    color: white;
    margin: 0 10px;
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

