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

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

body {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

/* 头部样式 */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #6F00FF;
}

header p {
    font-size: 1.2em;
    max-width: 600px;
    line-height: 1.5;
}

header .call-to-action {
    background-color: #00FFB8;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.3s, box-shadow 0.3s;
}

header .call-to-action:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #6F00FF;
}

/* 模块化布局 */
section.module {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

section.module:hover {
    box-shadow: 0 0 15px #6F00FF inset;
}

section.module h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00FFB8;
}

section.module p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

section.module img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 按钮样式 */
button.call-to-action {
    background-color: #00FFB8;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.3s, box-shadow 0.3s;
}

button.call-to-action:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #6F00FF;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin: 20px 0;
}

code {
    color: #6F00FF;
    font-size: 0.95em;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}

table th {
    background-color: rgba(111, 0, 255, 0.2);
}

table td {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 数据可视化图表 */
.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

.chart {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

/* 按钮涟漪效果 */
button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 0.6s ease-out;
    opacity: 0;
}

button:hover::after {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(2);
}

/* 动画关键帧 */
@keyframes ripple {
    from { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    to { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

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

/* 响应式设计 */
@media (max-width: 320px) {
    header h1 {
        font-size: 2em;
    }

    section.module {
        padding: 40px 10px;
    }

    table th, table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.5em;
    }

    section.module h2 {
        font-size: 1.8em;
    }

    button.call-to-action {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 3em;
    }

    section.module h2 {
        font-size: 2em;
    }

    .chart-container {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    header h1 {
        font-size: 4em;
    }

    section.module {
        padding: 80px 40px;
    }

    table th, table td {
        padding: 12px;
        font-size: 1em;
    }
}

@media (min-width: 1200px) {
    header h1 {
        font-size: 4.5em;
    }

    section.module h2 {
        font-size: 2.5em;
    }

    .chart-container {
        height: 500px;
    }
}

@media (min-width: 1440px) {
    header h1 {
        font-size: 5em;
    }

    section.module {
        padding: 100px 60px;
    }

    table th, table td {
        padding: 15px;
        font-size: 1.1em;
    }
}

/* 链接样式 */
a {
    color: #6F00FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

