
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #6A5ACD, #0074D9);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
p, li, td, th {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(255, 215, 0, 0.8);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}
.navbar .menu {
    list-style: none;
    display: flex;
    gap: 1rem;
}
.navbar .menu li a {
    color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
.navbar .menu li a:hover {
    background: #FFD700;
    color: #000;
}

/* 首屏背景与卡片 */
.hero-section {
    height: 100vh;
    position: relative;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-section .glass-card {
    background: rgba(106, 90, 205, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: auto;
}
.hero-section .glass-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-section .glass-card p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.hero-section .glass-card button {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-section .glass-card button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

/* 内容模块 */
.content-section {
    padding: 4rem 2rem;
    background: #F8F9FA;
    color: #333;
}
.content-section h2 {
    color: #6A5ACD;
    margin-bottom: 2rem;
}
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}
.content-section pre {
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto;
}
.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.content-section th, .content-section td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}
.content-section th {
    background: #6A5ACD;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section .glass-card {
        padding: 1.5rem;
    }
    .hero-section .glass-card h1 {
        font-size: 2rem;
    }
    .content-section {
        padding: 2rem;
    }
    .navbar .menu {
        flex-direction: column;
        align-items: center;
    }
}

