
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1E2740, #2C3E50);
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部样式 */
.header {
    width: 100%;
    padding: 20px;
    background: rgba(44, 62, 80, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #FF6F61, #FF9A8B);
    -webkit-background-clip: text;
    color: transparent;
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
}

.navbar a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FF6F61;
    transition: width 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

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

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 39, 64, 0.7);
}

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

.banner-content h1 {
    font-size: 48px;
    background: linear-gradient(90deg, #FF6F61, #FF9A8B);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-content .cta-button {
    background: linear-gradient(135deg, #FF6F61, #FF9A8B);
    padding: 15px 30px;
    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.05);
    box-shadow: 0 4px 15px rgba(255, 154, 139, 0.6);
}

/* 内容区样式 */
.content {
    padding: 100px 20px 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #FF6F61;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(44, 62, 80, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card h3 {
    margin-top: 0;
    color: #FF9A8B;
    font-size: 24px;
}

.card p {
    font-size: 16px;
    color: #FFFFFF;
}

/* 示例数据展示 */
.sample-data {
    margin-top: 60px;
    background: rgba(30, 39, 64, 0.9);
    padding: 30px;
    border-radius: 10px;
}

.sample-data h2 {
    font-size: 28px;
    color: #FF6F61;
    margin-bottom: 20px;
}

.sample-data ul {
    list-style: disc;
    padding-left: 20px;
}

.sample-data ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #FFFFFF;
    background: url('https://images.gptkong.com/demo/sample2.png') no-repeat left center;
    padding-left: 30px;
    background-size: 20px 20px;
}

/* 示例文章展示 */
.sample-article {
    margin-top: 60px;
    background: rgba(44, 62, 80, 0.8);
    padding: 30px;
    border-radius: 10px;
}

.sample-article h2, .sample-article h3 {
    color: #FF6F61;
}

.sample-article pre {
    background: #2C3E50;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.sample-article code {
    color: #FF9A8B;
    font-family: 'Courier New', Courier, monospace;
}

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

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

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

.sample-article th {
    background: #FF6F61;
}

.sample-article img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

/* 脚注样式 */
.footer {
    background: rgba(30, 39, 64, 0.9);
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

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

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    .banner-content h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .navbar a {
        margin-left: 15px;
        font-size: 14px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        margin-top: 10px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 10px;
    }

    .navbar a {
        margin-left: 10px;
        font-size: 12px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }
}

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

    .section-title {
        font-size: 18px;
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 8px;
    }

    .navbar a {
        margin-left: 8px;
        font-size: 10px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 12px;
    }

    .sample-data ul li {
        font-size: 14px;
    }

    .sample-article h2 {
        font-size: 24px;
    }

    .sample-article h3 {
        font-size: 20px;
    }
}

