
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', Arial, sans-serif;
    color: #002f5d;
}

a {
    text-decoration: none;
    color: #1a75cc;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏样式 */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to right, #002f5d, #1a75cc);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-bar a {
    color: white;
    font-weight: bold;
    margin: 0 15px;
}

.nav-bar a:hover {
    color: #ff9900;
    text-decoration: none;
}

/* 按钮样式 */
.button {
    background: #002f5d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: #1a75cc;
    box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}

/* 主视觉区域 */
.hero-banner {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent), url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 模块化设计 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.module {
    grid-column: span 6;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.module:hover {
    transform: scale(1.05);
}

.module img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .module {
        grid-column: span 12;
    }
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.animation-bg {
    background: linear-gradient(270deg, #002f5d, #1a75cc, #002f5d);
    background-size: 600% 600%;
    animation: aurora-move 15s linear infinite;
}

/* 文章排版 */
.article-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-section pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    color: #002f5d;
    font-family: 'Courier New', Courier, monospace;
}

/* 小屏优化 */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }

    .article-section {
        padding: 20px;
    }
}

