
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle, rgba(10,31,68,1) 0%, rgba(255,215,0,1) 100%);
    color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', sans-serif;
    color: #FFD700;
}

p, li, span, a {
    font-family: 'Nunito Sans', sans-serif;
    color: #ffffff;
}

a {
    color: #FFD700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部全屏Banner */
.banner {
    height: 100vh;
    background: radial-gradient(circle, rgba(10,31,68,1) 0%, rgba(255,215,0,1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png'), url('https://images.gptkong.com/demo/sample3.png');
    background-repeat: no-repeat;
    background-size: 320px 320px;
    opacity: 0.2;
}

.banner-content {
    z-index: 1;
}

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

.banner p {
    font-size: 1.5rem;
    animation: fadeIn 3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 模块化卡片展示 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px 0;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin: 20px;
    flex: 1 1 300px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

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

/* 信息栏 */
.footer {
    background: rgba(10,31,68,0.9);
    padding: 20px;
    text-align: center;
    position: relative;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* 示例展示 */
.sample-display {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    margin: 50px 0;
}

.sample-display h2 {
    text-align: center;
    margin-bottom: 30px;
}

.sample-display article {
    max-width: 800px;
    margin: 0 auto;
}

.sample-display pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.sample-display code {
    color: #dcdcdc;
    font-family: 'Roboto Mono', monospace;
}

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

.sample-display table, .sample-display th, .sample-display td {
    border: 1px solid #FFD700;
}

.sample-display th, .sample-display td {
    padding: 10px;
    text-align: left;
}

.sample-display th {
    background: rgba(255, 215, 0, 0.3);
}

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

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #FFD700;
    color: #0A1F44;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 1rem;
}

.button:hover {
    transform: scale(1.1);
    background: #E6C200;
}

/* 加载动画 */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FFD700;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@media (max-width: 1200px) {
    .features {
        flex-direction: column;
        align-items: center;
    }
}

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

@media (max-width: 768px) {
    .banner {
        height: 70vh;
    }
    .card {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 1.5rem;
    }
    .banner p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .banner h1 {
        font-size: 1.2rem;
    }
    .banner p {
        font-size: 0.8rem;
    }
}

/* 微动画效果 */
@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
    50% { background: radial-gradient(circle, rgb(34, 255, 87), transparent); }
    100% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
}

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

/* 内边距 */
.section {
    padding: 60px 20px;
}

/* 图标样式 */
.icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* 数据可视化 */
.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

/* 滚动视差效果 */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* 提示信息 */
.alert {
    background: rgba(255, 215, 0, 0.2);
    padding: 10px;
    border-left: 5px solid #FFD700;
    margin: 20px 0;
}

