
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #2C3E50);
    color: #F5F7FA;
    line-height: 1.6;
    overflow-x: hidden;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(10, 31, 68, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}
nav a {
    color: #39FF14;
    text-decoration: none;
    margin: 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #39FF14;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease;
}
nav a:hover::after {
    width: 100%;
    left: 0;
}
.main {
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
}
.banner {
    width: 100%;
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center / cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner::before {
    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-family: 'Montserrat', sans-serif;
    font-size: 3em;
    color: #39FF14;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}
.banner p {
    font-size: 1.2em;
    color: #F5F7FA;
    animation: fadeIn 2s ease-in-out 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    pointer-events: none;
    z-index: 0;
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.section {
    padding: 60px 0;
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: #39FF14;
    text-align: center;
    margin-bottom: 40px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.card {
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #39FF14;
    margin-bottom: 15px;
}
.card p {
    font-size: 1em;
    color: #F5F7FA;
}
.article-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.article-section h2, .article-section h3, .article-section h4 {
    font-family: 'Montserrat', sans-serif;
    color: #39FF14;
    margin-bottom: 15px;
}
.article-section p {
    font-size: 1em;
    color: #F5F7FA;
    margin-bottom: 15px;
}
.article-section pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}
.article-section code {
    font-family: 'Source Code Pro', monospace;
    color: #39FF14;
}
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
table, th, td {
    border: 1px solid #39FF14;
}
th, td {
    padding: 10px;
    text-align: left;
}
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 31, 68, 0.8);
    color: #39FF14;
    position: fixed;
    bottom: 0;
    width: 100%;
}
@media (max-width: 1440px) {
    .banner h1 { font-size: 2.5em; }
    .banner p { font-size: 1em; }
}
@media (max-width: 1200px) {
    .card-container { justify-content: space-around; }
}
@media (max-width: 1024px) {
    .card { width: 45%; }
}
@media (max-width: 768px) {
    .card { width: 100%; }
    nav a { margin: 0 10px; }
}
@media (max-width: 480px) {
    .banner h1 { font-size: 2em; }
    .card { padding: 15px; }
    .article-section { padding: 20px; }
}
@media (max-width: 320px) {
    .banner h1 { font-size: 1.5em; }
    nav a { font-size: 0.9em; }
}
.button {
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    background-color: #39FF14;
    color: #0A1F44;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}
.button:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}
.icon {
    width: 24px;
    height: 24px;
    fill: #39FF14;
    border-radius: 4px;
}
.code-preview {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}
.code-preview pre {
    margin: 0;
    font-family: 'Source Code Pro', monospace;
    color: #39FF14;
}

