
/* 
全屏潮流AI网页样式设计
作者：资深CSS3前端工程师和网页原型设计专家
日期：2024年4月

本样式表采用HTML5和CSS3新特性，结合渐变色、动态效果和响应式设计，打造一个视觉冲击力强的全屏网页。设计理念基于未来主义色彩方案，主要使用深蓝色(#1A1A40)与紫色(#4B0082)作为主色调，辅以霓虹绿(#39FF14)和亮粉色(#FF1493)进行点缀，营造出科技感与潮流氛围。

整体布局采用全屏分层设计，背景层使用动态粒子效果，增强沉浸式体验。中层展示AI生成的内容卡片，前景设有悬浮导航栏和生成按钮。关键视觉元素包括抽象几何图形、数据可视化元素及AI相关图标，通过3D效果提升立体感。注重微交互设计，如按钮悬停发光、视差滚动及过渡动画，确保用户操作流畅且高效。

以下为具体样式定义：
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1A1A40, #4B0082);
    color: #ffffff;
    overflow-x: hidden;
}

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

.navbar:hover {
    background: rgba(26, 26, 64, 1);
}

.navbar a {
    color: #39FF14;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #FF1493;
    transform: scale(1.1);
}

/* 主要内容区 */
.main {
    padding: 100px 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    margin: 15px 0;
    font-size: 24px;
    color: #39FF14;
}

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

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
    z-index: -1;
}

/* 示例展示区 */
.example-display {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0;
}

.example-display h2 {
    color: #FF1493;
    margin-bottom: 20px;
}

.example-display pre {
    background: #1A1A40;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

.example-display code {
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .navbar {
        padding: 15px 30px;
    }
    .navbar a {
        margin: 0 10px;
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .main {
        padding: 80px 30px;
    }
    .card {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 10px 20px;
    }
    .main {
        padding: 60px 20px;
    }
    .card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar a {
        margin: 5px 0;
    }
    .main {
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 10px;
    }
    .navbar a {
        font-size: 12px;
    }
    .card {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .main {
        padding: 40px 10px;
    }
    .card {
        padding: 15px;
    }
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #39FF14;
    color: #1A1A40;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.button:hover {
    background: #FF1493;
    transform: scale(1.05);
}

/* 视觉提示 */
.visual-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
}

/* 微交互效果 */
.hover-glow:hover {
    box-shadow: 0 0 10px #39FF14;
    transform: scale(1.02);
}

.wave-animation {
    position: relative;
    display: inline-block;
}

.wave-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: #39FF14;
    bottom: 0;
    left: 0;
    animation: wave 2s infinite;
}

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

/* 视差滚动效果 */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-content {
    background: rgba(26, 26, 64, 0.7);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.parallax-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FF1493;
}

.parallax-content p {
    font-size: 18px;
    line-height: 1.6;
}

/* 数据可视化元素 */
.data-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.data-visual .chart {
    width: 45%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.data-visual .chart h3 {
    margin-bottom: 15px;
    color: #39FF14;
}

.data-visual .chart canvas {
    width: 100%;
    height: 200px;
}

/* 3D效果 */
.three-d {
    perspective: 1000px;
    margin: 50px 0;
}

.cube {
    width: 100px;
    height: 100px;
    background-color: #FF6F61;
    transform-style: preserve-3d;
    animation: rotate 5s infinite linear;
    margin: 0 auto;
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.cube::before, .cube::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #FF6F61;
    border: 2px solid #39FF14;
}

.cube::before {
    transform: rotateY(90deg) translateX(50px);
}

.cube::after {
    transform: rotateX(90deg) translateY(50px);
}

/* 表格样式 */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #39FF14;
}

th, td {
    padding: 12px 15px;
    text-align: left;
}

th {
    background: #4B0082;
    color: #ffffff;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

/* 清晰的留白和排版 */
.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 32px;
    color: #FF1493;
    margin-bottom: 20px;
}

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

/* 代码块样式 */
.code-block {
    background: #1A1A40;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

.code-block pre {
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}

