
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000046, #1c1c3c);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #00d8ff;
}

a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00bfff;
}

button {
    background-color: #00d8ff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #00bfff;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* 布局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 70, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #00d8ff;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #39ff14;
}

/* 英雄区 */
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png'), linear-gradient(to right, #000046, #1c1c3c);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
}

/* 视差滚动区域 */
.parallax {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax:nth-child(odd) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

.parallax:nth-child(even) {
    background-image: url('https://images.gptkong.com/demo/sample3.png');
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.parallax h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00d8ff;
    font-size: 36px;
    z-index: 1;
}

/* 内容区块 */
.content-section {
    padding: 50px 20px;
    text-align: center;
}

.content-section h2 {
    margin-bottom: 20px;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto;
}

/* 图文布局 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

/* 底部联系信息 */
.footer {
    background: #000046;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* 自适应设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .parallax h2 {
        font-size: 28px;
    }

    .content-section p {
        font-size: 14px;
    }
}

