
/* 全局样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* 使用Roboto字体 */
    color: #ffffff;
    background: linear-gradient(135deg, rgba(14, 52, 92, 0.8), rgba(255, 138, 0, 0.5));
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
}

/* 导航栏样式 */
.navbar {
    position: fixed; /* 固定在顶部 */
    top: 0;
    width: 100%;
    background: rgba(14, 52, 92, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar:hover {
    background: rgba(14, 52, 92, 1);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF8A00; /* 橙色强调 */
}

/* 主要内容容器 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 50px 20px; /* 顶部留出导航栏空间 */
    max-width: 1200px;
    margin: 0 auto;
}

/* 英雄区样式 */
.hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(14, 52, 92, 0.7), rgba(255, 138, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

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

.hero p {
    font-size: 18px;
    max-width: 800px;
    line-height: 1.6;
}

/* 内容区块样式 */
.section {
    width: 100%;
    margin: 50px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #FF8A00; /* 点缀色 */
}

.section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 卡片布局 */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 calc(33.333% - 20px);
    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;
}

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

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0E345C; /* 深蓝色主色 */
}

.card p {
    font-size: 16px;
    color: #ffffff;
}

/* 分屏设计 */
.case-study {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.case-image, .case-content {
    flex: 1 1 50%;
    border-radius: 10px;
    overflow: hidden;
}

.case-image {
    background-size: cover;
    background-position: center;
    height: 300px;
}

.case-content {
    background: rgba(14, 52, 92, 0.6);
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.case-content p {
    font-size: 16px;
}

/* 客户评价滑动组件 */
.slider {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    animation: slideAnimation 15s infinite;
}

.slide-item {
    min-width: 100%;
    padding: 20px;
    color: #fff;
    font-size: 16px;
}

/* 滑动动画关键帧 */
@keyframes slideAnimation {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* 数据可视化图表容器 */
.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgba(14, 52, 92, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 50px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* 插画与图标样式 */
.icon {
    width: 50px;
    height: 50px;
    background: #FF8A00;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transition: transform 0.3s ease;
    margin: 10px;
}

.icon:hover {
    transform: rotate(20deg) scale(1.1);
}

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

code {
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    display: block;
    white-space: pre-wrap;
}

/* 折叠区域样式 */
.collapsible {
    background-color: rgba(255, 138, 0, 0.2);
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.active, .collapsible:hover {
    background-color: rgba(255, 138, 0, 0.4);
}

.content {
    padding: 0 15px;
    display: none;
    overflow: hidden;
    background-color: rgba(14, 52, 92, 0.6);
    border-radius: 5px;
    margin-bottom: 20px;
}

.content p {
    margin: 10px 0;
    font-size: 16px;
}

/* 图片样式 */
.decorative-image {
    width: 320px;
    height: 320px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decorative-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* 底部样式 */
.footer {
    background: rgba(14, 52, 92, 0.8);
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    font-size: 16px;
    margin-bottom: 10px;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    background: #FF8A00;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .card {
        flex: 1 1 calc(50% - 20px);
    }
    .case-study {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    .nav-links a {
        padding: 10px 0;
    }
    .card {
        flex: 1 1 100%;
    }
}

