
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主体容器 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F3D, #6C5CE7);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    text-align: center;
    margin-top: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 36px;
    margin-top: 60px;
}

h3 {
    font-size: 28px;
    margin-top: 40px;
}

/* 段落样式 */
p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    padding: 0 20px;
}

/* 代码块样式 */
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #FFD700;
}

/* 列表样式 */
ul {
    list-style: disc inside;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #FFFFFF;
    padding: 10px;
    text-align: left;
}

th {
    background: linear-gradient(to right, #6C5CE7, #FFD700);
}

td {
    background: rgba(255, 255, 255, 0.1);
}

/* 按钮样式 */
.button-primary {
    background: linear-gradient(to right, #6C5CE7, #FFD700);
    color: #0A1F3D;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 25px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin: 20px;
}

.button-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* 模块样式 */
.section {
    padding: 60px 0;
    background: rgba(10, 31, 61, 0.9);
}

.section:nth-child(even) {
    background: rgba(108, 92, 231, 0.9);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.module-title {
    text-align: center;
    margin-bottom: 40px;
}

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

body {
    background: linear-gradient(-45deg, #0A1F3D, #6C5CE7, #38EF7D, #FFD700);
    background-size: 400% 400%;
    animation: aurora-move 15s linear infinite;
}

/* 视差效果 */
.parallax-background {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 42px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 24px;
    }
    .button-primary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 18px;
    }
    p, li {
        font-size: 14px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 16px;
    }
    .button-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 18px;
    }
    h3 {
        font-size: 14px;
    }
    p, li {
        font-size: 12px;
    }
    .button-primary {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* 图片网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    align-self: flex-start;
}

/* 动画图标 */
.icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}

/* 数据图表 */
.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    margin-top: 40px;
}

.bar {
    width: 20%;
    background-color: #6C5CE7;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    border-radius: 5px 5px 0 0;
    transition: height 0.5s ease-in-out, background-color 0.3s ease-in-out;
}

.bar:hover {
    height: 150px;
    background-color: #FFD700;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 18px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* 全屏模块化布局 */
.fullscreen-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 流动粒子效果 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample2.png') repeat;
    opacity: 0.3;
    animation: moveParticles 20s linear infinite;
}

@keyframes moveParticles {
    from { background-position: 0 0; }
    to { background-position: 10000px 5000px; }
}

/* 轮播图 */
.carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.carousel img {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    border-radius: 10px;
}

/* 多语言切换按钮 */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
}

.lang-switcher button {
    background: #FFD700;
    color: #0A1F3D;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.lang-switcher button:hover {
    background: #6C5CE7;
    color: #FFFFFF;
}

/* 文字阴影 */
.text-shadow {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

