
/* 整个页面的背景采用渐变色，从深蓝到浅蓝，营造科技感 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 固定导航栏，使用Flexbox布局，确保响应式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 71, 161, 0.9);
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 导航链接样式，悬停时颜色变化 */
.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #42a5f5;
}

/* 主页的英雄区域，包含背景图片和中心标题 */
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.7);
}

/* 英雄区域的标题样式 */
.hero h1 {
    position: relative;
    font-size: 48px;
    z-index: 1;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

/* 标题渐变动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 内容区的模块化布局，使用Grid布局 */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 每个服务卡片的样式，包括圆角和阴影 */
.service-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

/* CTA按钮的样式，悬停时颜色加深 */
.cta-button {
    background-color: #00aaff;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0077cc;
}

/* 图片的圆角和阴影效果 */
.image-rounded {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

/* 页脚样式，使用Flexbox布局 */
.footer {
    background-color: #0d47a1;
    color: #ffffff;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer .case-study, .footer .contact-info {
    flex: 1 1 300px;
    margin: 10px;
}

.footer h4 {
    margin-bottom: 15px;
    color: #42a5f5;
}

.footer a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

/* 视差滚动效果的背景层 */
.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    perspective: 1px;
    perspective-origin: 0 0;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.gptkong.com/demo/sample2.png');
    background-size: cover;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.parallax-content {
    position: relative;
    padding: 100px 50px;
    color: #ffffff;
}

/* 数据流动动画 */
.data-stream {
    width: 100%;
    height: 200px;
    background: linear-gradient(270deg, #42a5f5, #0d47a1, #42a5f5);
    background-size: 600% 600%;
    animation: dataFlow 10s linear infinite;
}

@keyframes dataFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 安全模块的样式 */
.security-module {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.security-module:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.security-icon {
    font-size: 40px;
    color: #0d47a1;
    margin-bottom: 15px;
}

