
/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 文字字体设置 */
body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, #1A1A40, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器设置 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 头部样式 */
.header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #6A1B9A, #32CD32);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    animation: gradientAnimation 15s linear infinite;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.header p {
    font-size: 1.2em;
}

/* 动态渐变动画 */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 模块化卡片布局 */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
}

.card {
    background-color: #1A1A40;
    border: 1px solid #333333;
    border-radius: 10px;
    width: 30%;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
}

.card:hover {
    transform: scale(1.05);
    background-color: #333333;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #6A1B9A;
}

.card p {
    font-size: 1em;
    color: #CCCCCC;
}

/* 图片展示 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px 0;
}

.gallery img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

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

/* 示例数据展示 */
.example-data {
    background-color: #000000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.example-data h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #32CD32;
}

.example-data pre {
    background-color: #1A1A40;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    color: #32CD32;
    font-family: 'Fira Sans', sans-serif;
}

/* 文章展示 */
.article {
    background-color: #1A1A40;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.article h2 {
    margin-bottom: 20px;
    color: #6A1B9A;
}

.article h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #32CD32;
}

.article h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #6A1B9A;
}

.article p {
    margin-bottom: 15px;
}

.article pre {
    background-color: #000000;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    color: #32CD32;
    font-family: 'Fira Sans', sans-serif;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background-color: #6A1B9A;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #32CD32;
    transform: scale(1.05);
}

/* 用户评价 */
.testimonials {
    background-color: #000000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #32CD32;
}

.testimonials .testimonial {
    margin-bottom: 20px;
}

.testimonials .testimonial p {
    font-style: italic;
    color: #CCCCCC;
}

.testimonials .testimonial span {
    display: block;
    text-align: right;
    color: #6A1B9A;
}

/* 自定义选项 */
.custom-options {
    background-color: #1A1A40;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.custom-options h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #32CD32;
}

.custom-options ul {
    list-style: none;
}

.custom-options ul li {
    margin-bottom: 10px;
    color: #CCCCCC;
}

/* 安全统计信息 */
.statistics {
    background-color: #000000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.statistics h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #32CD32;
}

.statistics ul {
    list-style: none;
    text-align: center;
}

.statistics ul li {
    margin-bottom: 10px;
    color: #CCCCCC;
}

/* 提示信息 */
.notice {
    text-align: center;
    padding: 20px;
    background-color: #6A1B9A;
    color: #FFFFFF;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 1.2em;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .card, .gallery img {
        width: 45%;
    }
}

@media (max-width: 1200px) {
    .cards, .gallery {
        flex-direction: column;
        align-items: center;
    }
    .card, .gallery img {
        width: 80%;
    }
}

@media (max-width: 1024px) {
    .header h1 {
        font-size: 2em;
    }
    .header p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .card, .gallery img {
        width: 100%;
    }
    .header {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5em;
    }
    .header p {
        font-size: 0.9em;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 1.2em;
    }
    .header p {
        font-size: 0.8em;
    }
    .button {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 光影效果 */
.shadow-effect {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 按钮动画 */
@keyframes aurora-move {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

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

