
/* 全局样式设置 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: linear-gradient(135deg, #f9fafb, #e8f3ff);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #0074c8;
}
p {
    line-height: 1.6;
    letter-spacing: 0.5px;
}
a {
    text-decoration: none;
    color: #ff9800;
    transition: color 0.3s ease;
}
a:hover {
    color: #e65100;
}
ul, ol {
    margin-left: 20px;
}
pre {
    background-color: #2d3748;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 导航栏设计 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #0074c8, #00bcd4);
    color: white;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.header nav a {
    margin: 0 15px;
    color: white;
    font-size: 1rem;
}
.header nav a:hover {
    color: #ff9800;
}

/* 主视觉区域 */
.hero {
    position: relative;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 116, 200, 0.8), transparent), url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.1) 10px, transparent 10px, transparent 20px);
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}
.hero h1 {
    font-size: 3rem;
    z-index: 1;
}
.hero p {
    font-size: 1.2rem;
    z-index: 1;
}

/* 卡片式布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}
.card {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #ff5722, #ff9800);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .header {
        flex-direction: column;
        text-align: center;
    }
    .grid-container {
        padding: 15px;
    }
}

/* 动画与交互动效 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

