
/* 
    网页样式设计 - 模糊透明风与创想无限主题
    设计目标：打造一个融合未来感与高级质感的响应式网页，适用于风险管理与合规科技领域。
    技术栈：HTML5, CSS3（包括 Flexbox, Grid, 动画, 渐变线条, 3D 变换等）。
    颜色搭配：主色调蓝色与灰色，辅色橙色与绿松石色，点缀色荧光绿色。
    布局设计：采用流式布局、Flexbox 和 Grid，确保在320px到1920px屏幕宽度下的完美适配。
    交互效果：按钮悬停放大、微动画、渐变过渡，增强用户体验。
    图片处理：为装饰性图片添加圆角、阴影、悬浮效果，提升视觉美感。
    文字样式：正文字号16px，标题字号18px，使用现代 sans-serif 字体，保证可读性与美观。
    导航栏设计：固定顶部，包含有意义的章节标题，内部链接添加 rel="nofollow" 属性。
    响应式设计：通过媒体查询调整布局，确保移动端与桌面端的优质展示效果。
    动画与过渡：使用 CSS3 动画与过渡效果，提升网页的动态感与互动性。
    视觉层次：利用模糊与透明效果区分不同信息层级，增强深度感与层次感。
    用户体验：简洁明了的导航结构，信息分块展示，确保用户快速找到所需信息。
    无障碍设计：确保模糊与透明效果不影响盲人或视力障碍用户的使用体验，遵循无障碍设计规范。
    代码结构：
        - 全局样式设置
        - 头部导航栏样式
        - 主内容区布局与样式
        - 卡片模块样式
        - 图片展示样式
        - 底部区域样式
        - 响应式调整
    具体样式如下：
*/

/* 全局样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    overflow-x: hidden;
}

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

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    position: relative;
    margin: 0 20px;
}

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

.navbar a:hover {
    color: #00ff00;
}

.navbar li ul {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: rgba(20, 30, 50, 0.9);
    padding: 10px 0;
    border-radius: 5px;
}

.navbar li:hover ul {
    display: block;
    transition: all 0.3s ease;
}

.navbar .search-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    transition: width 0.4s ease;
}

.navbar .search-box:focus {
    width: 200px;
    outline: none;
    background: rgba(255, 255, 255, 0.4);
}

/* 主内容区布局 */
.container {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding: 20px;
}

.section {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    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: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 255, 0, 0.2);
}

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

.card img:hover {
    transform: scale(1.1);
}

.card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #00ff00;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
}

/* 图片展示样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

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

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 255, 0, 0.4);
}

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

.footer .links {
    display: flex;
    gap: 20px;
}

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

.footer a:hover {
    color: #00ff00;
}

.footer .subscription {
    display: flex;
    gap: 10px;
}

.footer .subscription input {
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
}

.footer .subscription button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #00ff00;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer .subscription button:hover {
    background: #00cc00;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        background: rgba(20, 30, 50, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: none;
    }

    .navbar li {
        margin: 10px 0;
    }

    .navbar.active ul {
        display: flex;
    }

    .container {
        padding: 10px;
    }

    .section {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .links, .footer .subscription {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 动画与过渡效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.data-flow {
    animation: flow 10s linear infinite;
    background: rgba(0, 255, 0, 0.2);
    height: 2px;
    width: 100%;
}

/* 高级样式 */
.highlight {
    color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.data-point::after {
    content: '•';
    color: #00ff00;
    margin-left: 5px;
}

/* 代码块样式 */
code {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 4px;
    border-radius: 4px;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
}

/* 折叠区域样式 */
.details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: none;
}

.details.active {
    display: block;
}

.toggle-button {
    background: #00ff00;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-button:hover {
    background: #00cc00;
}

