
/* 全局样式 */
:root {
    --primary-color: #0A2463;
    --secondary-color: #C0C0C0;
    --accent-color: #FF6F61;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color), #000033);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease-in-out;
}

a:hover {
    color: #FFA07A;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(var(--glass-blur));
    background-color: var(--glass-bg);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.hero-section {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, 
                linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

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

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
}

.section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, var(--primary-color), #000033);
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: linear-gradient(to bottom, #000033, var(--primary-color));
}

.section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

pre {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto;
    font-family: var(--font-secondary);
    color: var(--accent-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    text-align: left;
}

footer {
    background: linear-gradient(to bottom, var(--primary-color), #000033);
    padding: 20px;
    text-align: center;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .header nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

