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

/* 颜色变量定义 */
:root {
    --primary-color: #003366; /* 深蓝色 */
    --secondary-color: #FF9800; /* 亮橙色 */
    --accent-color-1: #4CAF50; /* 绿色 */
    --accent-color-2: #9C27B0; /* 紫色 */
    --background-gradient: radial-gradient(circle, rgba(0, 52, 102, 0.8), transparent);
    --background-color: #F0F0F0; /* 柔和灰色 */
    --text-color: #333333;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --code-background: #272822;
    --code-color: #F8F8F2;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* 全局样式 */
body {
    font-family: var(--body-font);
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    transition: background 0.5s ease;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: var(--secondary-color);
    display: block;
    margin-top: 10px;
    border-radius: 2px;
}

/* 段落样式 */
p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-color);
}

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

th, td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
    text-align: left;
}

th {
    background-color: var(--secondary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 代码块样式 */
pre {
    background-color: var(--code-background);
    color: var(--code-color);
    padding: 15px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #ffcc00;
}

/* 按钮样式 */
button, .button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-size: 1rem;
}

button:hover, .button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

/* 链接样式 */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color-1);
    text-decoration: underline;
}

/* 视觉冲击力元素 */
.hero {
    position: relative;
    background: var(--background-gradient);
    padding: 100px 20px;
    text-align: center;
    color: white;
    border-radius: var(--border-radius);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero .button {
    background-color: var(--accent-color-2);
}

.aurora-move {
    animation: auroraAnimation 15s linear infinite;
}

@keyframes auroraAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 网格系统 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* 非对称设计 */
.asymmetric {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.asymmetric img {
    flex: 1;
    transform: translateY(-20px);
}

.asymmetric .text {
    flex: 1;
    text-align: right;
}

/* 插画与几何图形 */
.geometric-shape {
    width: 100px;
    height: 100px;
    background-color: var(--accent-color-1);
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
}

.geometric-shape::after {
    content: '';
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: 25px;
}

/* 动效与交互 */
.button-ripple {
    position: relative;
    overflow: hidden;
}

.button-ripple::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.5s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .asymmetric {
        flex-direction: column;
        text-align: center;
    }

    .asymmetric img {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    nav .menu-button {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 10px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    button, .button {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* 统计数据展示墙 */
.stats-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.stat {
    background: var(--background-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1 1 calc(33.333% - 40px);
}

.stat h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* 提示信息 */
.notice {
    background-color: var(--accent-color-2);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

