
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #fff;
    margin-top: 0;
}
p {
    margin-bottom: 1.5rem;
}
a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #45a049;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    background: linear-gradient(135deg, #2a5298 0%, #4CAF50 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2rem;
    color: #f0f8ff;
}
.section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.section:nth-child(even) {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    color: #333;
}
.section:nth-child(odd) {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}
.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
.parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.layer-foreground {
    transform: translateZ(0);
    z-index: 3;
}
.layer-midground {
    transform: translateZ(-1px) scale(2);
    z-index: 2;
}
.layer-background {
    transform: translateZ(-2px) scale(3);
    z-index: 1;
}
.button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background-color: #45a049;
    transform: scale(1.1);
}
.image-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}
.image-box img {
    width: 30%;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .image-box img {
        width: 48%;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    .image-box img {
        width: 100%;
    }
}
code {
    background: #f4f4f4;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

