
/* 
整体页面样式
采用现代Web技术栈和视觉美学原理，融入模糊透明风和灵感绽放主题。页面布局通过Flexbox和Grid实现响应式设计，确保在各种设备下的良好展示效果。色彩搭配遵循黄金比例，主色为柔和的蓝色和绿色，辅色为亮黄色，点缀色用于突出重点元素。

主体背景采用线性渐变，结合半透明模糊效果，营造深度感和现代感。导航栏固定在顶部，使用阴影和渐变增强视觉层次，菜单项在悬停时显示子菜单，增加交互性。按钮设计采用圆角和阴影效果，悬停时应用微妙的变换和模糊反馈，提升用户体验。

图片部分使用圆角和盒阴影，悬停时添加放大效果和边框高亮，增强视觉吸引力。文章内容区域采用网格布局，卡片式设计模块化展示内容，搭配动态加载动画，提升页面的动态感和互动性。代码示例部分采用不同背景和字体样式，区分于正文内容，确保可读性和美观。

底部区域设计简洁，包含数据可视化图表区域，使用Flex布局排列图表元素，图表在悬停时显示工具提示，提升信息展示的直观性和互动性。整体页面设置流畅的过渡效果和关键帧动画，增强页面的动感和沉浸感。

媒体查询部分确保页面在不同屏幕宽度下的良好适配，调整布局和字体大小，避免水平滚动条和内容遮挡。所有内部链接添加rel="nofollow"属性，遵循SEO最佳实践。页面内保留“这是一个网页样式设计参考”的提示文字，确保用户了解页面用途。

关键CSS样式包括：
1. 主体布局：Flexbox和Grid
2. 色彩与渐变：线性和径向渐变
3. 模糊效果：backdrop-filter
4. 阴影与圆角：box-shadow和border-radius
5. 交互动画：transition和@keyframes
6. 响应式设计：媒体查询

以下是具体的CSS代码实现：
*/

:root {
    --primary-blue: #4A90E2;
    --secondary-green: #50E3C2;
    --accent-yellow: #F5A623;
    --background-gradient: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 227, 194, 0.1));
    --font-family: 'Roboto', sans-serif;
    --text-color: #333;
    --card-background: rgba(255, 255, 255, 0.2);
    --navbar-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: var(--navbar-height);
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(74, 144, 226, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

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

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s ease;
}

.navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.navbar ul li ul {
    position: absolute;
    top: 35px;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    display: none;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar ul li:hover ul {
    display: block;
}

.navbar ul li ul li {
    margin: 5px 0;
}

.navbar ul li ul li a {
    color: #333;
}

.navbar ul li ul li a:hover {
    background: rgba(74, 144, 226, 0.1);
}

/* 主要内容 */
.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.section {
    background: var(--card-background);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

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

.section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.article-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.article-content pre {
    background: #2d2d2d;
    color: #ccc;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 15px 0;
    font-size: 14px;
}

.article-content code {
    font-family: 'Courier New', Courier, monospace;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.article-content table, 
.article-content th, 
.article-content td {
    border: 1px solid #ddd;
}

.article-content th, 
.article-content td {
    padding: 10px;
    text-align: left;
}

.article-content th {
    background-color: var(--primary-blue);
    color: #fff;
}

.button {
    background-color: var(--accent-yellow);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: backdrop-filter 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(0);
}

.button:hover {
    backdrop-filter: blur(5px);
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(1px);
    backdrop-filter: blur(2px);
}

/* 数据可视化图表 */
.chart {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.bar {
    width: 40px;
    background: var(--primary-blue);
    border-radius: 5px 5px 0 0;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    position: relative;
}

.bar:hover {
    transform: scaleY(1.1);
    background: var(--accent-yellow);
}

.bar:hover .tooltip {
    opacity: 1;
}

.tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

/* SVG 动态图标 */
.icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-blue);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.icon:hover {
    transform: rotate(20deg) scale(1.1);
    fill: var(--accent-yellow);
}

.illustration {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 响应式设计 */
@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

