
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgba(11,31,65,1) 0%, rgba(255,255,255,1) 70%);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 31, 65, 0.9);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

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

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
}

.banner {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(11,31,65,0.8) 0%, rgba(255,255,255,0) 70%);
}

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

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

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeIn 3s ease-in-out;
}

.banner-content .cta-button {
    padding: 15px 30px;
    background-color: #4CAF50;
    border: none;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-content .cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0B1F41;
}

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

.grid-item {
    flex: 1 1 calc(33.33% - 20px);
    background: #FFFFFF;
    color: #0B1F41;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.grid-item h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #4CAF50;
}

.grid-item p {
    font-size: 16px;
    margin-top: 10px;
}

.article-section {
    background: #F5F5F5;
    padding: 60px 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.article-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0B1F41;
}

.article-section pre {
    background: #272727;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
}

.article-section code {
    font-size: 14px;
}

.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.article-section table, 
.article-section th, 
.article-section td {
    border: 1px solid #CCCCCC;
}

.article-section th, 
.article-section td {
    padding: 10px;
    text-align: left;
}

.footer {
    background: rgba(11, 31, 65, 0.9);
    color: #FFFFFF;
    padding: 20px 40px;
    text-align: center;
}

.footer .social-icons {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer .social-icons li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer .social-icons li a:hover {
    color: #4CAF50;
}

@keyframes aurora-move {
    0% {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    }
    50% {
        background: radial-gradient(circle, rgb(34, 183, 255), transparent);
    }
    100% {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    }
}

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

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

/* 响应式设计 */
@media (max-width: 1440px) {
    .section-title {
        font-size: 28px;
    }
    .banner-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 15px 30px;
    }
    nav ul li a {
        font-size: 15px;
    }
    .grid-item {
        flex: 1 1 calc(33% - 20px);
    }
}

@media (max-width: 1024px) {
    .grid-item {
        flex: 1 1 calc(50% - 20px);
    }
    .banner-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    header .menu-toggle {
        display: block;
        cursor: pointer;
    }
    .grid-item {
        flex: 1 1 100%;
    }
    .banner-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 20px;
    }
    .banner-content h1 {
        font-size: 24px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .grid-item {
        padding: 15px;
    }
}

@media (max-width: 320px) {
    .banner-content h1 {
        font-size: 20px;
    }
    .banner-content p {
        font-size: 14px;
    }
}

