
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgba(10,31,68,1) 0%, rgba(140,82,255,0.8) 50%, rgba(0,191,165,0.6) 100%);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 31, 68, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFD700;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6F61;
}

/* Banner */
.banner {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: aurora-move 15s linear infinite;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,31,68,0.7), transparent);
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.banner h1 {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
    animation: fadeInDown 2s ease-in-out;
}

.banner p {
    font-size: 1.2rem;
    color: #ffffff;
    animation: fadeInUp 2s ease-in-out;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 主要内容 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px 20px;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2.5rem;
    color: #8C52FF;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: rgba(10, 31, 68, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 calc(33.33% - 40px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

.card p {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .card {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
    }
}

/* 示例展示 */
.sample-display {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.sample-display h2 {
    color: #FF6F61;
    margin-bottom: 20px;
}

.sample-display article {
    max-height: 600px;
    overflow-y: auto;
}

.sample-display pre {
    background: #0A1F44;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 15px;
}

.sample-display code {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.sample-display img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

/* 提示 */
.reference-note {
    text-align: center;
    font-size: 1rem;
    color: #FFD700;
    margin-top: 20px;
}

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

    .banner p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .card p {
        font-size: 1rem;
    }
}

/* 动态数据展示 */
.dynamic-chart {
    width: 100%;
    height: 400px;
    background: rgba(10, 31, 68, 0.8);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.dynamic-chart canvas {
    width: 100%;
    height: 100%;
}

/* 按钮样式 */
.button {
    background: #FF6F61;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.button:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.button:active {
    transform: scale(0.95);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 31, 68, 0.8);
    border-radius: 10px;
    margin-top: 50px;
}

.footer p {
    color: #ffffff;
    font-size: 1rem;
}

