
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(135deg, #121E3B, #03A9F4);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    letter-spacing: 1.5px;
}
a {
    text-decoration: none;
    color: #03A9F4;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FFC107;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
section {
    padding: 60px 0;
    position: relative;
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png'), linear-gradient(135deg, #121E3B, #03A9F4);
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.cta-button {
    background-color: #03A9F4;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.3s ease-in-out;
}
.cta-button:hover {
    transform: scale(1.1);
}
/* 视差滚动效果 */
.parallax {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax:nth-of-type(1) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}
.parallax:nth-of-type(2) {
    background-image: url('https://images.gptkong.com/demo/sample3.png');
}
/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.grid-item:hover {
    transform: scale(1.05);
}
/* 响应式表格与代码块 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    color: #FFC107;
}
/* 示例数据展示 */
.example-data {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}
.example-data ul {
    list-style: none;
    padding: 0;
}
.example-data li {
    margin-bottom: 15px;
}
/* 自适应设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

